Commit Graph

56 Commits

Author SHA1 Message Date
Adam Wulkiewicz
f7771013f9 [MOS-550] Revert - Implement eink partial refresh
This reverts commit 41d6e786b6.
2022-09-27 13:14:54 +02:00
Adam Wulkiewicz
41d6e786b6 [MOS-550] Implement eink partial refresh
Detect parts of the screen changed since last update and merge them into
bigger regions. These regions defines parts of the context sent to the
display.
Refresh the region covering all of the parts since this is the most time
consuming part and the size of the refreshed region doesn't change the
time much.
Refresh the whole screen if deep refresh is requested and previously
fast refresh was used. This is needed to prevent unwanted artifacts in
some cases.

Refactor some parts of the gui and display code.
2022-09-22 15:50:30 +02:00
Adam Wulkiewicz
fe708cdf31 [MOS-670] Change clang-format AlwaysBreakTemplateDeclarations to Yes
Add --all and --fix-all options to style-check-hook
2022-08-26 15:22:39 +02:00
Przemyslaw Brudny
38bc935af9 [EGD-7237] Layout NavBar refactor
Layout NavBar refactor.
2021-10-28 16:10:03 +02:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
Paweł Joński
606e0597e2 [BH-380] Librarize application-calendar
Librarize application-calendar
2021-07-26 09:11:09 +02:00
Wojtek Rzepecki
0e42b0016e [EGD-7044] Strip down calendar code
Stripping the calendar code to provide only
MVP defined functionalities
2021-07-07 09:05:57 +02:00
Przemyslaw Brudny
4685dc07a7 [EGD-6960] Header addition related style cleanups
Header addition related style cleanups.
2021-06-18 13:12:43 +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
Tomas Rogala
80768bf4a5 [EGD-4708] Add backend of multiday events handling
-sql req for multiday events handling
-Add UT
-Add markEventsInDays method
-Add new query for day filter
2021-01-26 06:34:12 +01:00
Hubert Chrzaniuk
fc5ab3a70c [EGD-5325] Remove using namespace directives from headers
"Using namespace" directive should not be added in headers
because this practice pollutes source files.
2021-01-22 11:25:45 +01:00
Tomasz Langowski
8030b273df [EGD-5175] Fix grid layout navigation
Fix grid layout navigation in order to recognize
"not active" items
2021-01-21 16:08:19 +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
tomaszrogala
4b06b003bc [EGD-3842] Modify events records tests and add providers fields to DB (#1138) 2020-12-10 15:22:19 +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
Radoslaw Wicik
998ceac48e [EGD-4217] Convert service-db to library 2020-11-13 12:18:33 +01:00
KacperLewandowski
123c95f9d4 [EGD-3809] Calendar changes after UX redesign (#745)
Add an additional field for date of the event.
Set 'all day' event as a default option when you add a new event.
Change in the design of AllEventsWindow and EventDetailWindow according to UX redesign.
2020-11-06 14:47:18 +01:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
ae355210a8 [EGD-3315]Review changes (minor) 2020-10-15 20:58:45 +02:00
Tomas Rogala
df87b94b49 [EGD-3469] Rework DB 2020-10-15 20:58:45 +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
Tomas Rogala
460885701f [EGD-3700] Switch window rework
-Create application->switchManyWindowsBack() method
-Create equivalent to empty window enum class
-Remove stored prevWindows variables
-Add bottom bar to empty window (equivalent to allEvents)
-Repair going back to previous windows functionality
-Repair switching window (with empty events DB)
-Add EventShift value to event records time
2020-10-06 09:35:14 +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
KacperLewandowski
2aaed62bd8 [EGD-3699] Add notifications handling in calendar. 2020-09-25 15:59:57 +02:00
Tomas Rogala
65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
Bartek Cichocki
91e29f1cac [EGD-3486] Implementation of SMS handling in service-desktop
added message removal method

added message marking as read/unread

added message thread to_json() method, fixed unit test

added template processing except search

added SMS gathering by contactID

added getByText sms query

added template search query
2020-08-15 11:34:18 +02:00
Tomas Rogala
1e603d820d [EGD-3470] Review changes 2020-08-13 23:22:40 +02:00
Tomas Rogala
1a15dcd7d7 [EGD-3470] Date conversion to string and rework month view model 2020-08-13 23:22:40 +02:00
Tomas Rogala
fe54b83450 [EGD-3470] rework month model class, add date.h lib, Develop calendar month view model 2020-08-13 23:22:40 +02:00
Tomas Rogala
78904a6b5d [EGD-3307] Review changes 2020-08-13 21:07:42 +02:00
Tomas Rogala
1e70bd11e0 [EGD-33307] Add unit test, functionality fix 2020-08-13 21:07:42 +02:00
Tomas Rogala
97fdb2cdcd [EGD-3307] Calendar DB interface update
Implement adding record to db
Implement Removing elements from DB functionality
Implement Update element in DB functionality
Implement Get elements by date time period
Add time zone field
2020-08-13 21:07:42 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
f790c75654 [EGD-3437] Navigation row and column fixup in Menu grid. 2020-08-06 16:43:48 +02:00
Tomas Rogala
a90da2fefb [EGD-3437] PR changes 2020-08-06 16:43:48 +02:00
Tomas Rogala
2106bff308 [EGD-3441] Review changes 2020-08-05 17:38:07 +02:00
Tomas Rogala
d1fe873ded [EGD-3441] add switch case 2020-08-05 17:38:07 +02:00
Tomas Rogala
431ce62d98 [EGD-3441] add refresh method 2020-08-05 17:38:07 +02:00
KacperLewandowski
9758c99fb7 [EGD-3309] PR changes 2020-08-03 19:58:08 +02:00
KacperLewandowski
da94a04edf [EGD-3309] Create calendar all events list window and models
Add all events list window.
Create calendar list view based on phonebook list view.
Create customized calendar all events model for list item provider.
Create customized calendar all events item for list view.
2020-08-03 19:58:08 +02:00
Przemyslaw Brudny
b22595dde1 [EGD-3310] DayModel changed to DayEventsModel. 2020-07-22 13:47:22 +02:00
Tomas Rogala
f48e9ebb2c [EGD-3310] Rebase fixes. 2020-07-22 13:47:22 +02:00
Tomas Rogala
7128bbd318 [EGD-3310] PR changes. 2020-07-22 13:47:22 +02:00
Tomas Rogala
7c995ef80f [EGD-3310] Developed day event window and empty window 2020-07-22 13:47:22 +02:00
Tomas Rogala
9e26444368 [EGD-3305] PR changes. 2020-07-21 15:00:57 +02:00
Tomas Rogala
64f7220b52 [EGD-3305] Developed main window with navigation and change month functionality 2020-07-21 15:00:57 +02:00
Adam Dobrowolski
d3faef1101 EGD-2964 application calendar - removed leak, added to menu 2020-05-04 08:45:20 +02:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00