Commit Graph

89 Commits

Author SHA1 Message Date
Michał Kamoń
fec0f2550f [EGD-5966] Fix unit test build linker error
Problem was created by not extending `VisitorMock`
to mock new method of abstract `GuiVisitor`
2021-03-01 15:17:25 +01:00
Radoslaw Wicik
9d8eff64fc [EGD-5860] Fix build packages
Merging and cleaning cmakes requred cleaning.
2021-02-26 14:20:11 +01:00
Wiktor S. Ovalle Correa
c7b7cc4c27 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:10:32 +01:00
Wiktor S. Ovalle Correa
3b141041e9 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:09:37 +01:00
Lucjan Bryndza
46f9cc7e10 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:07:23 +01:00
Lucjan Bryndza
067ca94835 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:06:30 +01:00
Lucjan Bryndza
e6213e9407 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:02:21 +01:00
Jakub Pyszczak
5ad8a9bc65 [EGD-5145] Fix remove vfs include from UT
Deprecated vfs is no more accessible. Deleted old includes.
2021-02-17 17:02:15 +01:00
Jakub Pyszczak
7e36ee7c19 [EGD-5088] Change new filesystem implementation
Removed deprecated vfs calls from all applications.
2021-02-17 16:06:23 +01:00
Przemyslaw Brudny
4410f42289 [EGD-5774] Fixed text char removal crash
Fixed text char and blocks removal handling and added
tests covering crashes.
2021-02-16 23:15:36 +01:00
mkamonMdt
4c72152c6f [EGD-5597] Fix messages overflowing length
Current sms length is bound by 7*67 characters. This PR
enforce that limit on ApplicationMessages level.
Additionally PR solve:
 - corner case problem with invalid cursor position in TextBackup
 - EGD-4408 fix of label on desktop menuWindow
2021-02-12 13:16:48 +01:00
Przemyslaw Brudny
bc76f7360e [EGD-5684] Add RichText empty line support
Added RichText option to add empty line. Tests added. Fixed
scroll up navigation line first char calculation.
2021-02-10 13:22:05 +01:00
Radoslaw Wicik
bb496101b2 [EGD-4763] Add check if all Unit Tests where run
Catch2 doesn't report some errors in test, and some test are
disabled on porpoise this commit adds set of scripts and changes to CI
that will clearly mark what test haven't been run.
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
6d481b753b [EGD-4763] Fix Unit Tests - db unittest
Fix reqired by CI to work
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
d967f86934 [EGD-4763] Add VFS to gui fontmanager mock
Fix test in gui fontmanager.
2021-02-04 16:45:50 +01:00
Radoslaw Wicik
49548152b6 [EGD-4763] Fix Unit Tests
First attempt, move vfs to be init in tests
2021-02-04 16:45:50 +01:00
Przemyslaw Brudny
fbfd08cfea [EGD-5523] ListView OnPageElement and Options refresh
Added new OnPageElement listView rebuild type. Created new
options refresh. Refactored DisplayLight Setting. BarGraph rector.
Added step render limit for small radius arcs.
2021-02-03 09:57:21 +01:00
Przemyslaw Brudny
8f80126251 [EGD-3434] ListView Scroll bar refactor
Added two new scroll bar types. Fixed for ListView
with equal height elements and PreRendered which
require whole list render - not recommended for big
lists but works with not equal heights elements.
Applied new types to all lists in Pure. Various
cleanups and refactors inside models and listView.
2021-01-29 12:17:52 +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
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
Przemyslaw Brudny
789815859a [EGD-5087] Update Options and replace PageLayout with ListView
PageLayout removed and replaced with ListView.
Options structure and namespace cleanup.
Added ListView ScrollBar type and disable on
construction.
2021-01-15 16:10:26 +01:00
Tomasz Langowski
2714900758 [EGD-5141] Add unit tests for grid layout
Unit tests for grid layout added (one test for borderCallback
behavior).
2021-01-14 13:39:34 +01:00
Krzysztof Móżdżyński
dc99ba52ae [EGD-4590] Change KBD parser to JSON for input keyboard files
Changed keyboard input language parser to parse JSON files.
Removed all KPROF files and added JSON.
Added unit tests for new parser.
Modified document about adding languages.
2021-01-07 14:27:58 +01:00
mkamonMdt
981f9583ae [EGD-4828] Add GUI tests for DOM flow
* `DepthFirstItemTree` tests - basic traverse functionalities
 * `GuiVisitor` tests - basic double dispatch calls
 * DOM serializer tests - basic serialization functionalities
2020-12-22 15:53:42 +01:00
Przemyslaw Brudny
97f60737bf [EGD-5010] Fix Text tests leaks
Fixed leaks in gui Text tests.
2020-12-21 12:23:14 +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
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +01:00
PrzeBrudny
31e60282d2 [EGD-3499] Text scrolling added and its usage updated in widgets. (#1079)
Add Text scrolling, Add text starting position,

Added text scrolling, updated TextLine line endings, TextBlocks newline handling, updated SMS Bubble and Notes text items. Added tests for scrolling.
2020-12-03 21:04:51 +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
Krzysztof Mozdzynski
d48d2d8b0d [EGD-4167] Add n display languages loaded from files (#1047) 2020-11-27 02:21:14 +01:00
PrzeBrudny
11f39b1caf [EGD-4517] Added Text Up/Down navigation with tests. (#1089) 2020-11-26 18:42:37 +01:00
PrzeBrudny
782980b261 [EGD-4372] Text addition boundaries added with tests. Removed old bounds checking. Text blocks on newlines split issue fixed. Text widgets cleanups. (#1020) 2020-11-20 02:40:58 +01:00
PrzeBrudny
8d95257271 [EGD-4407] Text backup and restore added. (#1022) 2020-11-17 12:12:52 +01:00
PrzeBrudny
4cc467596e [EGD-4210] Text newline handling, bounds first refactor, Test fixes. (#944) 2020-11-06 14:57:22 +01:00
Krzysztof Mozdzynski
691c2926b9 [EGD-3360] Input and display language separation, input language setting implementation (#920) 2020-11-06 12:05:29 +01:00
Adam
64db7d8327 EDG-3585 Small fixup for refresh & cleanup in buildDrawLists (#916)
* EGD-3585 Minor refresh fixup&  Normalised buildDrawList everywhere
2020-10-30 10:13:47 +01:00
Lucjan Bryndza
bf2609524c [EGD-4075] Use FATFS in the Linux builds (#843)
* [EGD-4075] Use FAT fs in the emulator

Add script for genrate base phone image

* [EGD-4075] Use FreeRTOS-FAT in emulator initial commit

* [EGD-4075] Thread local storage fix

Fixing thread local storage when running on the
Linux platform in the test mode

* [EGD-4075] Improve image generation

Improve image generation script on the linux platform

* [EGD-4075] Fix all test with FAT fs image

Fix all tests with fatfs image

* [EGD-4075] Fix calculator utility test

* [EGD-4075] Image dependencies fix

* Remove uneeded comments

* Missing headers in CR

* [EGD-4075] Fixed whitespaces

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-22 10:34:12 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Tomek Sobkowiak
1e78053bb0 EDG-3409 Check text boundaries on input (#716)
* [EDG-3409] Check text boundaries during input processing
2020-10-19 09:14:41 +02:00
Przemyslaw Brudny
196c02686a [EGD-2395] Added BottomTop orientation support for listView. Created SMSThreadViewWindow and SMSOutputWidget. MessagesStyle moved from global Style.hpp. Fixes in Text. ListView fixes, BoxLayout callback for requestedSize. Added smsInput into list. Drafts handling added. 2020-10-07 19:45:01 +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
Adam
07b243a084 Egd-3408 Rich text (#712)
* EGD-3408 gui::Text Rich text parser added with pugixml tree & tree walker

* EGD-3408 Fitted code in
2020-09-23 21:03:57 +02:00
Przemyslaw Brudny
f4ab64d996 [EGD-3760] ListView added support to rebuild on provided offset. 2020-09-21 17:17:52 +02:00
Michał Kamoń
f2c2c2eb9a fallback font added to RawFont, functionality initialized by FontManager, UITestWindow update to include functionality visual confirmation. An unused argument in Renderer::drawChar removed. Removed unnecessary usage of unique_ptrs that was forcing a lot of glyph copying (#686)
test-gui-TextLine::TextLine - non fitting text fix
2020-09-18 07:37:25 +02:00
Przemyslaw Brudny
5c4c0fb925 [EGD-3746] Deactivate Text test number 65. 2020-09-17 19:59:39 +02:00
Przemyslaw Brudny
2f72244062 [EGD-3182] Implemented on CRUD notification page and on page item focus memory when rebuilding List. Applied for Phonebook and Messages. 2020-09-08 20:24:54 +02:00
Tomasz Sobkowiak
45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
Przemyslaw Brudny
f796bbc1d7 [EGD-3485] Widget names cleanups. Changelog added. Test fixed. 2020-08-13 12:43:22 +02:00
Przemyslaw Brudny
1b109a1158 [EGD-3451] Messages search refactored and misc fixes. 2020-08-07 12:26:44 +02:00
Przemyslaw Brudny
19e1ca696c [EGD-3451] RequestRecordsCount refactor in whole project. 2020-08-07 12:26:44 +02:00