Commit Graph

142 Commits

Author SHA1 Message Date
Lefucjusz
6059ac716e [BH-2034] Various cleanups and refactors across the OS
* Removed some legacy files that were
compiled, but not used anywhere.
* Cleaned-up ImageManager and
FontManager implementations, trying
to use RAII wherever possible.
* Fixed minor bugs in Font.cpp
implementation.
* Removed unused includes.
* Other minor cleanups and refactors.
2024-08-09 09:13:30 +02:00
Lefucjusz
d8293b8254 Revert "[MOS-1064] Fix no input language selected for French/Spanish"
This reverts commit 9ef454085e.
2024-02-21 17:49:30 +01:00
Lefucjusz
9ef454085e [MOS-1064] Fix no input language selected for French/Spanish
* Fix of the issue that choosing French
or Spanish as a system language
resulted in no input language selected.
* Added keyboard input parser unit
tests for French and Spanish input
maps.
* Minor cleanups.
2024-02-20 16:32:46 +01:00
Lukasz Mastalerz
2000c3c2d1 [BH-1764] Fix GridLayoutTesting Border Callback Test
Fix not seting focus to false when all items where removed from parent
2023-09-26 10:08:28 +02:00
Lefucjusz
215e4d96b7 [MOS-783] Fixed Pure unit tests
Fixed (most of the) hardcoded
paths in Pure's unit tests.
2023-01-19 16:41:56 +01:00
Adam Wulkiewicz
49bbaf51a0 [MOS-550] Improve refresh of the display
1. Implement partial refresh.
2. Implement refresh canceling mechanism.
3. Refactor some parts of the gui and display code.

ad 1.
- 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.

ad 2.
- Separate display update and refresh logic.
- Divide image display message handling into two handlers, one updating
  and other one refreshing the screen.
- Add cancel refresh message and use it to cancel refresh during update.
- Store sum of refresh regions gathered during updates to refresh them
  all at once at the end.
2022-10-11 20:00:33 +02:00
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
Onufry Pajaczek
0429079f46 [BH-1542] Stabilize the clock position
Third digit fix
2022-08-05 09:24:33 +02:00
Paweł Joński
e833690c8f [MOS-288] Add community build
Add community build
Add targets for community fonts
2022-03-22 12:40:15 +01:00
Maciej Janicki
2b2bb13a49 [MOS-296] Merge remote-tracking branch 'origin/stable'
Merge stable Harmony branch into merge wip branch
2022-03-09 19:27:50 +01:00
Przemyslaw Brudny
b7ecdecb30 [MOS-152] Added "!?" into sentence detection signs
Added "!?" into sentence detection signs.
2022-02-24 11:45:51 +01:00
Przemyslaw Brudny
5c4a5a4aea [MOS-152] Text Abc input mode support added
Text Abc input mode support added with tests.
2022-02-17 20:33:55 +01:00
Bartosz Cichocki
903a6c8017 [EGD-8251] Add DrawCommand unit test
Added test for drawing the vector image
2022-02-03 13:51:26 +01:00
Mateusz Piesta
c1391090c6 [BH-1389] Catch2 unit tests optimization
Removed redundant recompilation of catch2 main
resulted in over 20% speed up of unit tests compilation.
2022-01-26 15:04:23 +01: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
Przemyslaw Brudny
183d1be499 [EGD-3411] Added OneLine Text with Ellipsis
Added OneLine Text with Ellipsis. Text Lines and Cursors
refactor. Added tests.
2022-01-19 10:46:09 +01:00
Przemyslaw Brudny
6309e29ca8 [EGD-7979] TextLine split and cleanup to support SingleLine text
TextLine split and cleanup to support SingleLine text.
2021-12-16 13:08:04 +01:00
Przemyslaw Brudny
bc3e825b77 [EGD-7910] Text directory cleanup
Text directory cleanup. Removed old unused assets
directories.
2021-11-05 00:36:34 +01:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Przemyslaw Brudny
bff70a4ab3 [BH-1029] Refactored Time widgets with colon and content change
Refactored Time widget colon handling to be mapped with used
font. Added contentChange flag and handling to BoxLayout
for dynamic recalculation of child elements.
2021-10-18 18:15:40 +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
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02: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
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
Mateusz Grzegorzek
5de4027e86 [BH-701] Use TimeSetFmtSpinner in Alarm app
Fix default font issue
2021-08-11 15:38:51 +02:00
Przemyslaw Brudny
621304168e [EGD-7203] Added extra space removal in Text draw line ending
Added extra space removal in Text draw line ending.
Fixed crash in Notes.
2021-07-29 19:50:14 +02:00
Maciej Janicki
97b30f8da7 [EGD-7099] Fix text backspace long press
This commit fixes behavior of text field
when backspace is long pressed.
2021-07-29 13:15:17 +02:00
Marcin Smoczyński
74ae1a6589 [EGD-7031] Remove UT deps to the production image
Remove dependency to the production image by creating separate sysroot
for test assets alongside with a test image Test.img.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-27 23:36:37 +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
Wojtek Rzepecki
992b0ea2c3 [EGD-3171] Fix key shortRelease on app switch
Fix of shortRelease on app switch while long
press applied on previous window
2021-07-13 11:03:20 +02:00
Marcin Smoczyński
d5c541bb11 [EGD-7141] Fix GUI googletest
Fix invalidly added GUI gtest. Test dummies moved to individual files to
deal with a bug in cmake test discovery for gtest.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-07-12 15:39:13 +02:00
Przemyslaw Brudny
88a9380ad9 [EGD-6971] TextLine breaking on space or with dash
Added TextLine breaking on space or with dash.
Tests added.
2021-07-08 13:22:39 +02:00
Piotr Tański
2eca1d9b04 [EGD-7047] Fixed navigation down through input texts
Fixed navigation down through input texts while adding a new contact.
2021-07-06 19:36:37 +02:00
Radoslaw Wicik
72ef95d8ef [BH-591] Add Spinner Widget
Adding spinner widget.
2021-06-29 15:09:27 +02:00
Przemyslaw Brudny
694643418f [EGD-7018] Fixed text empty block removal at end
Fixed text empty block removal at end.
2021-06-25 13:11:07 +02:00
Wojtek Rzepecki
f8e05f0b21 [EGD-2949] Fix fallback image
Added fallback image in case
of missing image asset
2021-06-16 14:43:06 +02:00
Lukasz Skrzypczak
7fee0d9cfb [BH-378] Utils move log to library
Moved log to separate library
2021-06-08 12:24:29 +02:00
Radoslaw Wicik
aa1ca514cb [BH-353] Add minimal build target for BH
Introducing changes required for adding BellHybird target without
removing PurePhone.
Adden new targets:
* Pure (builds PurePhone and PurePhone.img)
* Bell (builds BellHybird and BellHybird.img)
* [PurePhone|BellHybrid]-[UpdatePackage|StandaloneImage)
2021-06-07 17:05:29 +02:00
Przemyslaw Brudny
b7e710ef9e [EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
2021-06-04 12:24:30 +02:00
Lucjan Bryndza
325f8696b8 [EGD-6835] Fix UT link errors with inotify
Fix UT linkage error when trying to link with
libiosyscalls with inotify mechanism

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-06-01 13:06:38 +02:00
Przemyslaw Brudny
0a322b878c [EGD-6770] ListView onPageElement rebuild page jump added
ListView onPageElement rebuild page jump added.
2021-05-20 16:59:14 +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
Radoslaw Wicik
80c5d5b4ef [EGD-6642] Fix googletest gui
Fix Unit Tests: googletest-gui.
2021-04-28 13:21:06 +02:00
Michał Kamoń
d0f5f74366 [EGD-6456] ListView based desktop notification
This PR provides following changes in notifications:
- notifications were extracted as widget for pop-up-based
locked-screen implementation
- notifications are ListView based implemented
- the most recent notification is displayed on the top of the list
2021-04-22 15:51:59 +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
Wiktor S. Ovalle Correa
10a2c37969 [EGD-3649] Fix paths in UT
Reorganization of assets left path in UT outdated.
2021-04-20 16:45:27 +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
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