Commit Graph

109 Commits

Author SHA1 Message Date
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +02:00
Adam Dobrowolski
56344b0579 [EGD-6680] Notes crash fix on search
Changed query for all matches to query with limit
2021-05-05 18:13:35 +02:00
Przemyslaw Brudny
1abd6b18e2 [EGD-6641] Added Notifications to LockedPhone popup
Added NotificationsModel to LockedPhone popup window.
2021-04-29 18:21:50 +02:00
Przemyslaw Brudny
25ba341e6c [EGD-5884] Added Lock Screen popup handling
Moved lock screen window to popup. Split DesktopMainWindow into
two parts (popup and regular). Added LockPhoneHandler into
ApplicationManager.
2021-04-29 12:06:59 +02:00
Artur Śleszyński
71465d8990 [EGD-3119] Hide InputEvent's member fields
Use the InputEvent's convenience methods to express intent.
2021-04-29 08:01:18 +02:00
Adam Dobrowolski
940989833f [EGD-6527] Internationalization API unification
Single api to rule i18n
all calls to localistaion in cpp files unified
cut off ass many dependencies in i18n header as possible
2021-04-20 20:07:44 +02:00
Przemyslaw Brudny
fa42d45fb1 [EGD-6555] ListView constants move
ListView constants moved from style to ListView.hpp.
2021-04-19 10:53:06 +02:00
Przemyslaw Brudny
cbd74648d0 [EGD-6494] Application Manager on action switch fix
Application Manager switch on Action no longer causes to
newly opened application main window switch but it
calls declared action handler.
2021-04-13 10:59:29 +02:00
Piotr Tański
81adfe41ab [EGD-6347] Refactored phone modes handling in applications
PhoneModeObserver doesn't work properly in applications.
Applications have to handle the phone mode changes via AppMgr.
Phone mode and tethering handlers separated.
2021-04-12 14:54:55 +02:00
Wiktor S. Ovalle Correa
14a01945b6 [EGD-6485] ServiceDB cleanup
Remove old unused ServiceDB API and deprecate its remains still being
in use.
2021-04-12 13:35:51 +02:00
Bartosz Cichocki
22809d630b [EGD-6208] Add blocking phone mode changes during tethering
When the tethering is enabled, the phone mode shouldn't change,
now, any attempt ends with a notification
2021-04-12 12:56:36 +02:00
Piotr Tański
4f0c3c82af [EGD-6209] Tethering confirmation popup added
Provided a tethering confirmation popup.
The popup shows up once a USB cable is connected to a PC.
2021-04-08 09:26:46 +02:00
Jakub Pyszczak
a21e02f91e [EGD-5743] Added phone modes popup
Implementation of phone modes window.
Minor fixes of previous approach.
2021-03-23 10:24:56 +01:00
Mateusz Grzegorzek
31b24ed4d3 [EGD-5932] Add more queries to Quotes agent
Added queries:
- list quotes from selected category,
- enable/disable category,
- enable/disable single quote,
- list enabled quotes,

Other fixes:
- move `msgHandled` and `msgNotHandled` to `Message.hpp`,
- use `typeid` in `QuotesAgent::registerMessages`,
- change `Quotes::Queries` style,
- make `quotesList` private

Queries to add in next PR:
- add/read/write quote
2021-03-17 13:55:20 +01:00
Krzysztof Móżdżyński
84c99029d8 [EGD-5449] Add final prompts windows
Added Dialog windows for "configuration successful"
"no configuration" and "update OS" for Onboarding.
Refactor Dialog window implementation and usage of
DialogMetadata in other applications.
2021-03-12 13:03:44 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Przemyslaw Brudny
d0200de5d5 [EGD-5398] Added onBoarding application first version
Created first version of onBoarding application. Added welcome
window, configuration start window and adopted language
window. Small Icon GUI refactor. AppManager language copy removed.
2021-02-11 16:37:51 +01:00
Piotr Tański
bc4d32c7d8 [EGD-5158] Change access to the bus methods
The bus is now accessible only via Service object.
2021-02-08 16:56:42 +01:00
Przemyslaw Brudny
8f80126251 [EGD-3434] ListView Scroll bar refactor
Added two new scroll bar types. Fixed for ListView
with equal height elements and PreRendered which
require whole list render - not recommended for big
lists but works with not equal heights elements.
Applied new types to all lists in Pure. Various
cleanups and refactors inside models and listView.
2021-01-29 12:17:52 +01:00
Piotr Tański
4c61595a27 [EGD-4801] Add application-wide top bar manager
Applications configure the top bar once for all their windows.
Sometimes, windows need to configure top bars with its configuration.
2021-01-21 10:46:57 +01:00
Przemyslaw Brudny
789815859a [EGD-5087] Update Options and replace PageLayout with ListView
PageLayout removed and replaced with ListView.
Options structure and namespace cleanup.
Added ListView ScrollBar type and disable on
construction.
2021-01-15 16:10:26 +01:00
Piotr Tański
6c900d7b38 [EGD-5166] Add query-callback synchronization mechanism
Receiver object cancels the callbacks at the end of its lifecycle.
2021-01-13 12:11:56 +01:00
jimmorrisson
14918dc4f9 [EGD-4925] Change new filesystem handling implementation in module-gui. (#1193)
Due to vfs deprecation there is need to remove all vfs calls from code. This PR covers module gui. There are some modifications in other modules included which are necessary because of build system issues.
2020-12-16 15:23:11 +01:00
PrzeBrudny
d46139195c [EGD-3442] Fix list empty window unhandled behaviours, in place rebuild handling, notes rebuild on note deletion and changed call Icon name to stateIcon. (#1160) 2020-12-14 21:56:11 +01:00
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
PrzeBrudny
31e60282d2 [EGD-3499] Text scrolling added and its usage updated in widgets. (#1079)
Add Text scrolling, Add text starting position,

Added text scrolling, updated TextLine line endings, TextBlocks newline handling, updated SMS Bubble and Notes text items. Added tests for scrolling.
2020-12-03 21:04:51 +01:00
Piotr Tanski
a261a132a6 [EGD-4554] Set the limit of a note text to 4'000 characters. (#1123)
* [EGD-4554] Notes file cleanup; They're not used anymore.
* [EGD-4554] Set the limit of a note text to 4'000 characters.
2020-12-03 09:01:12 +01:00
Piotr Tanski
06b2175226 [EGD-4561] Fixed displaying the special characters in a note title. (#1124) 2020-12-03 08:56:40 +01:00
Piotr Tanski
5d757a6dc0 [EGD-4553] Notes search engine implemented. (#1112) 2020-12-01 10:30:38 +01:00
Piotr Tanski
c8c4f82080 [EGD-4487] Application notes implemented. (#1094)
* [EGD-4487] Implementation of notes application.
2020-11-30 13:48:05 +01:00
Krzysztof Mozdzynski
0ef0d615f3 [EGD-4150] Change filename i18 to i18n (#1108)
Change filename of internationalization files from i18 to i18n.

I18n should stand for internationalization, not i18. That's why I changed in 'module-utils' name of the folder 'i18' and both .cpp and .hpp files to 'i18n'.
2020-11-27 18:31:00 +01:00
RobertPiet
675dc59c9a [EGD-3572] SettingsTable exchanged to settings::Settings (#968) (#1044)
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] Application is the owner of Settings handling for its windows/widgets
[EGD-3572] Settings header moved to service-db public section
2020-11-27 15:38:19 +01:00
RobertPiet
c25ad79421 Revert "[EGD-3572] SettingsTable exchanged to Settings::Settings (#968)" (#1035)
This reverts commit f11bc1f0d0.

Co-authored-by: Hubert Chrzaniuk <hubert.chrzaniuk@mudita.com>
2020-11-18 12:17:08 +01:00
RobertPiet
f11bc1f0d0 [EGD-3572] SettingsTable exchanged to Settings::Settings (#968)
[EGD-3572] Application has an instance of Settings - removed from derived apps
[EGD-3572] review issues resolved
[EGD-3572] shared_ptr -> unique_ptr
[EGD-3572] Primary Key for settings_tab:path
[EGD-3572] empty values handling
2020-11-18 10:40:29 +01:00
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
Piotr Tanski
22102c4ba5 [EGD-4200] Message handling refactored. (#974) 2020-11-06 15:24:59 +01:00
Marcin Smoczyński
486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
Radosław Wicik
57f6c267ee [EGD-4213] Convert service-appmgr to library - library (#960) 2020-11-04 15:59:45 +01:00
Piotr Tanski
299be4daf6 [EGD-4151] Application manager actions introduced. (#905)
* [EGD-4151] Application manifest structure defined.
* [EGD-4156] Applications registry and basic action handler implemented.
2020-11-04 10:24:35 +01:00
Przemyslaw Brudny
e131dae68f [EGD-3743] Removed old doxygen copyright statements from project. 2020-10-20 12:55:10 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Adam Dobrowolski
7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
Przemyslaw Brudny
0eb1fd03e5 [EGD-3985] Removed unique_ptr to vector for DatabaseModel updateRecords Method. 2020-10-13 12:23:34 +02:00
Adam
f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
Przemyslaw Brudny
fecf27b2f5 [EGD-3451] Simplified updateRecords. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +02:00
Szymon Mroczek
5b6da60869 [EGD-3427] Style check fix 2020-08-07 11:32:05 +02:00
Szymon Mroczek
67e234eb8e [EGD-3427] AudioServiceAPI::RoutingHeadset is now called from EventManager. Calling in WorkerEvent caused response message loses and timeouts on the Bus. 2020-08-07 11:32:05 +02:00
Bartek Cichocki
f07b337e2d [EGD-3463] Added service-desktop <-> DB interface
added changelog entry

added simple tests

added simple negative tests

fixed empty number contact case, added appropiate test
2020-08-07 09:30:51 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00