Commit Graph

59 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
Lefucjusz
3b24ac9e90 [MOS-1047] Fix calling abort() in EnterNumberWindow
* Removed call to abort() method in case
EnterNumberWindow's SwitchData handler
receives message that can't be handled,
what caused the phone to crash.
* Unify ApplicationCall window names
definitions.
* Code cleanup.
2023-10-17 13:29:20 +02:00
Lefucjusz
783ebcbb6c [MOS-183] Fix RT1051 debug build
Fix of multiple issues that resulted
in debug build failing.
2023-06-14 13:12:50 +02:00
Lefucjusz
7d396efc30 [MOS-204] Fix screen ghosting after emoji selection
Fix of the issue of screen ghosting after
emoji selection, visible particularly well
in messages app - changed fast refresh
to deep one on returning from emoji selection
screen to the previous application.

Additionally minor code cleanup.
2023-02-06 16:41:07 +01: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
Maciej Gibowicz
3c06075d56 [MOS-392] Increase the stack size for tasks
Increased stack for:
ApplicationSpecialInput, FileIndexer and ApplicationManager
2022-05-06 08:22:22 +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
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02: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
Wojtek Rzepecki
1e8082e02c [EGD-7570] Add Alarm Clock status bar indicator
Added indicator on status bar if any alarm is on
2021-09-23 13:15:02 +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
Piotr Tański
0079bc9695 [EGD-7238] Fixed applications deinit handers
All apps deinit handlers should call the base function.
2021-09-09 12:51:22 +02:00
Piotr Tański
90e7a48198 [EGD-7362] Merge release/0.76.1 into master
Merge release/0.76.1 into master.
2021-09-02 11:12:59 +02:00
Piotr Tański
53b6186bd4 [EGD-7222] Disable antenna test application
Antenna test application is now disabled.

(cherry picked from commit 8ddc581b84)
2021-08-25 12:21:28 +02:00
Lukasz Skrzypczak
30c42fb67a [BH-377] Liberalize application special input
Liberalize app SI
2021-07-21 09:09:42 +02:00
Przemyslaw Brudny
f463a75a93 [EGD-7164] ListViewEngine separation from ListView
ListViewEngine separation from ListView to support different
scrolls and body ListViews on Bell.
2021-07-19 16:32:10 +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
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
46e0cd3d89 [EGD-6552] Options cleanups and fixes
Fixed options crashes and cleared its structure. All
options returns points to proper list indexes.
2021-04-16 16:49:16 +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
Piotr Tański
4de9970108 [EGD-5952] Changed service stack depths acc. to real usage
Stack depth changed for:
- Application Manager
- Service Bluetooth
- Bluetooth Worker
- Service Eink
- Service GUI
- Application Special Input
2021-03-11 11:15:29 +01:00
Piotr Tański
4f3366ee80 [EGD-4157] Actions queue added
All actions shall be queued in order to process them later.
2021-02-24 14:52:20 +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
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
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
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
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
Piotr Tanski
57c7672f8f [EGD-4366] Global data cleanup. (#999) 2020-11-13 10:16:40 +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
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Przemyslaw Brudny
7eaedae9c0 [EGD-4079] List looping rebuild fix. Draft msg overwriting sms input text. Crush on contact details application exit fix. Special characters inserts no longer call onBeforeShow. 2020-10-16 12:10:28 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +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
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
mozdzyk
57a57805e9 [EGD-3359] Special characters and emoji window 2020-10-01 16:53:47 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
pholat
adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
Alek Rudnik
895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
Adam Dobrowolski
4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
b70bd3aeda EGD-2927 PR applied 2020-03-04 13:19:05 +01:00
Adam Dobrowolski
cb18433c78 [EGD-2927] GridLayout update/fixups to use in DesktopApp 2020-03-04 13:19:05 +01:00