Commit Graph

67 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +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
4dd045f30f [EGD-3544] Label replacement with OneLine text
Label replacement with OneLine text. Style and usage fixes.
2022-01-20 12:10:31 +01:00
Adam Dobrowolski
0ec9428917 [EGD-7773] Popups stack poc
Stack plus minimum tests added
Updated to master
Removed useless or adressed TODOS
Constants name applied
Renamed searchModel to searchRequestModel
Review applied
We should remove legacy window names
Bell names fixes
2022-01-04 13:01:23 +01:00
Przemyslaw Brudny
29f455d46b [EGD-7998] Pure image assets cleanup and update
Pure image assets cleanup and update.
2021-11-25 18:39:16 +01:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +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
4762248402 [EGD-6951] Removed old header implementation
Removed old header implementation.
2021-06-21 17:42:54 +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
Paweł Joński
a7fba1b343 [BH-374] Librarize application-antenna
Add apps-common, librarize application-antenna
2021-06-17 12:54:02 +02:00
DariuszSabala
c611e3c011 [BH-376] Utils time turned to separate library
Turned module-utils/time folder content into separate library,
cleaned up CMake libs dependencies, fixed include paths
2021-06-09 17:03:29 +02:00
Mateusz Grzegorzek
798a2fb45a [BH-361] Move date to separate directory
Move date to separate directory
2021-05-25 10:21:46 +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
Michał Kamoń
cb1e7e4279 [EGD-6298] Fix Calendar crash on allDatEvent focused
NewEventCheckBoxWithLabel experienced crashes on focusChangedCallback.
2021-03-26 09:06:32 +01:00
Michał Kamoń
b16523e325 [EGD-6222] Fix the App Calendar memory leaks
This PR fixes:
 -several explicit uses of `new` that were not matched by `delete`
 -dangling `CalendarTimeItem`s
 -reset of focus on the `allDayEventCheckBox` check/uncheck
 -exiting the app form `allEventsWindow` on `KEY_RF`
2021-03-22 10:35:04 +01:00
Alek Rudnik
0b9bca2a05 [EGD-6014] Fix top bar includes
This is only clean up of includes, no functional changes
2021-03-05 17:43:19 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Przemyslaw Brudny
312d4a07a6 [EGD-3756] Created generic ListItemWithCallbacks
Added generic template for ListItemWithCallbacks.
Replaced onDimensionsChange with callbacks.
2021-02-15 14:17:04 +01:00
KacperLewandowski
9ff089462e [EGD-5073] Add UI modifications in Calendar after review
Changes mainly concern margins, positions, sizes etc of items in:
- Custom repeat window,
- New/Edit event window,
- No events window.
2021-01-28 12:09:00 +01: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
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
KacperLewandowski
ccc49c7b9c [EGD-3698] Add UT for TimeRangeParser. (#750)
Move TimeRangeParser to module-utils.
2020-11-26 14:40:07 +01:00
tomaszrogala
84e08c242f [EGD-3512] Create ICS Parser (#892)
-Create application desktop endpoints for calendar events
-Modify Calendar Database Interface
-Create ParserICS lib
-Create calendar events endpoints test
-Create UT for ParserICS
2020-11-25 11:05:46 +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
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
KacperLewandowski
faac195015 [EGD-3826] Rework of day events list. (#889)
Use database model in day events list instead of internal model. Extend getFiltered query.

Co-authored-by: Tomas Rogala <rogala.tomasz1@gmail.com>
2020-11-02 13:10:58 +01:00
Adam
91e67f4865 EGD-4102 (#871)
* EGD-4102 Added log to refreshed window and null check

* EGD-4102 Fixed messages crash

* EGD-4102 Fixed calendar crash and some funky code
2020-10-23 13:00:39 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
marek303
585c612f5d [EGD-3315]Review changes: EventReminderWindow - localized date and time; unit tests for SelectFirstUpcoming query 2020-10-15 20:58:45 +02:00
marek303
ae355210a8 [EGD-3315]Review changes (minor) 2020-10-15 20:58:45 +02:00
KacperLewandowski
ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
Tomas Rogala
df87b94b49 [EGD-3469] Rework DB 2020-10-15 20:58:45 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +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
Tomas Rogala
b89d6cca41 [EGD-3700] Time display on rt1051 - rework 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
Radoslaw Wicik
bcb6025168 [EGD-3816] PR buils on CI in release 2020-09-24 12:43:41 +02:00
Tomas Rogala
4942167c0a [EGD-3713] Rework repeat option data flow
-Implement onIsChecked callbacks
-Add Custom repeat functionality
-Prevent from repeated events duplicates
2020-09-23 21:43:26 +02:00
Tomas Rogala
65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
Tomasz Sobkowiak
45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
Przemyslaw Brudny
2d808a9fa3 [EGD-3520] Label margins changed to padding. 2020-08-25 09:53:57 +02:00
KacperLewandowski
f492710e76 [EGD-3314] Develop EventTime and CheckBox items, refactor remaining items 2020-08-14 00:09:43 +02:00
KacperLewandowski
204817a317 [EGD-3314] Develop checkBox widget 2020-08-14 00:09:43 +02:00
KacperLewandowski
4e6e7438a9 [EGD-3314] GUI items refactor 2020-08-14 00:09:43 +02:00