Commit Graph

14 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
Lukasz Mastalerz
f7ad63c951 [BH-1412] Fix services dependencies
Changes in dependecy managment
Replacing state flags with states in ServiceGUI
Unifying some parts of code
2023-08-01 17:22:48 +02:00
rrandomsky
4b8543912a [MOS-30] Fix for Alarm not being handled properly during a phone call
During the phone call, the alarm was not displayed and subsequent alarms
after this scenario did not work. This has now been fixed and the alarm
during a phone call will be automatically snooze.
2023-07-12 10:46:44 +02:00
Adam Wulkiewicz
074b33a645 [MOS-685] Make small improvements in various places of the code
- Forward arguments
- Remove unused code
- Remove auto return type when it's not needed
- Add const to member functions
- Use startsWith and endsWith from utils
- Allow instantiation of operators only for specific types
- Caluclate key mask in compile time
2022-09-02 01:12:47 +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
Wojtek Rzepecki
d0772ab0b7 [EGD-7798] Fix alarms backend with new format
New format of alarm time in database and processing
2021-10-18 12:14:36 +02:00
Przemyslaw Brudny
7e26f5e014 [EGD-7670] Alarm toggle off all alarms
Added toggle all alarms handling with tests.
2021-09-28 12:54:39 +03:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +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
Adam Dobrowolski
1156320af5 [EGD-7502] TimeService Alarms get returns total elements count
We require so that overall alarms count would be returned to properly
use ListView
2021-09-08 20:57:21 +02:00
Adam Dobrowolski
55b89278f1 [EGD-7527] Removed AlarmsEvent from the codebase
We have to use AlarmEventRecord not AlarmsEvent
2021-09-08 20:15:26 +02:00
Adam Dobrowolski
0f03e40484 [EGD-7500] Replaced AlarmsData with AlarmEventData
- We have to use ServiceTime instead of AlarmDB
- Please see full task here: EGD-7311
2021-09-06 15:36:48 +02: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
KacperLewandowski
ba4d547f47 [EGD-4009] alarm clock: add main window (#1100)
Create alarm clock application and add main window.
2020-12-07 10:45:50 +01:00