Commit Graph
53 Commits
Author SHA1 Message Date
Lucjan BryndzaandLucjan 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
Przemyslaw Brudny 2af67aa3a7 [EGD-3480] Refactored onDimensionsChange for BoxLayout. 2020-08-04 13:47:48 +02:00
Przemyslaw Brudny 843a449186 [EGD-3446] UT added. 2020-07-24 11:44:51 +02:00
Przemyslaw Brudny 25afb95847 [EGD-3336] Tests added and rebase changes. 2020-07-15 13:07:20 +02:00
Przemyslaw Brudny 5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +02:00
pholat 50a1f97643 [feature] Font handling feature (#527)
* Font renamed to RawFont
* Added gui::Font adapter
2020-07-15 12:15:14 +02:00
pholat 7447fc653b Egd-3407 (#525)
* EGD-3407 gui::Text addded TextFormat class - to store format
* EGD-3407 Added gray text to Icon text in sms
2020-07-15 10:00:02 +02:00
pholat 50a48ddaa4 EGD-3299 (#520)
* EGD-3299 moved cursor at the end of inserted text with sms templates & fixed no cursor after setText(...)
2020-07-10 15:49:08 +02:00
Pawel Olejniczak 8983937ea4 [EGD-3189] Fix gui tests and style 2020-07-08 17:07:31 +02:00
PrzeBrudny 53f47439d8 [EGD-3375] Changed Models pointers to shared_ptr. (#505) 2020-07-08 12:18:16 +02:00
pholat adaf18829e gui::Text rewrite (#483)
* Text refactor added
2020-07-07 14:37:53 +02:00
pholat fb586cb4e9 EGD-3229 (#497)
* EGD-3229 text helper classes added with tests - used in tests, plus misc utils needed

No major actual functionality changed - TextClasses added with this PR
are used in tests only in this commit.
* classes needed to rewrite gui::Text added
* some utilities needed to rewrite gui::Text added
* tests added
2020-07-06 16:19:41 +02:00
Przemyslaw Brudny 531235d5c3 [EGD-3351] Changed old ListView Span tests and added new margin test to BoxLayout. 2020-07-02 16:28:52 +02:00
Przemyslaw Brudny c282b3f449 [EGD-3341] Test case added. 2020-06-24 14:45:54 +02:00
Marcin Smoczyński a9cb37d7f4 tests: add proper catch2 handling
Add proper catch2 support:
 - add catch2 as a submodule
 - add cmake function to add test easily
 - discover each test in test binary
 - remove copies of catch.hpp
 - do not try to process tests for rt1051

Do not test internals of utf8, only public interface (nasty bugs could
occur otherwise).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2020-06-24 10:38:14 +02:00
Przemyslaw Brudny 88164ab40c [EGD-3295] PR changes and BoxLayout tests added. 2020-06-19 15:39:05 +02:00
Przemyslaw Brudny 6aefbea606 [EGD-3278] ListView initial conditions set on clear and test. 2020-06-10 16:08:43 +02:00
Przemyslaw Brudny bbcef6c7b1 [EGD-3269] PR changes, added test, added to make check. 2020-06-09 14:05:20 +02:00
Przemyslaw Brudny c63874a2f4 [EGD-3269] ListView google tests added. 2020-06-09 14:05:20 +02:00
Przemyslaw Brudny 5c26c4efed [EGD-3269] Added google test support. 2020-06-09 14:05:20 +02:00
Przemyslaw Brudny 6b55a9ab66 [EGD-3269] Basic first working test. 2020-06-09 14:05:20 +02:00
Adam Dobrowolski 672aab60b9 EGD-3200 Added minimal unittests for gui::Window callbacks 2020-05-14 09:17:53 +02:00
Adam Dobrowolski 7af85af8f3 EGD-3202 GUI minimal tests added and passing 2020-05-13 17:11:51 +02:00
Adam Dobrowolski ff24defd31 EGD-3202 Tests for GUI restored 2020-05-13 17:11:51 +02:00
Adam Dobrowolski f0c557d86b EGD-3202 Tests GUI added conflicts in progress 2020-05-13 17:11:51 +02:00
Adam Dobrowolski 8ffccd85ed EGD-3202 Fixed all setMinimum / setMaximum sizes 2020-05-13 17:11:51 +02:00
Adam Dobrowolski 99d959c43a EGD-3165 Ellipsis removed not needed Struct - left enum only 2020-04-28 09:50:48 +02:00
Adam Dobrowolski d574354eea EGD-3165 gui::Label setDotsMode renamed to setEllipsis
- renamed function to more proper naming
- added Ellipsis struct instead of bool arguments
2020-04-28 09:50:48 +02:00
Alek Rudnik 895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
Przemyslaw Brudny c0822b6658 [EDG-3019] Moved log.hpp and debug.hpp into main PurePhone repo 2020-03-24 15:55:32 +01:00
Przemyslaw Brudny 8f92715951 [EDG-3019] Segger utils moved to git submodule 2020-03-23 18:37:37 +01:00
Radoslaw Wicik 8dea0d7675 [EGD-2981] Add UT target: check
Clean CMake tests targets
2020-03-20 16:46:11 +01:00
Radoslaw Wicik a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
pholat cec10d0a71 Tests: gui tests improved assets catalog selection 2019-08-26 09:25:40 +02:00
pholat bce6dae667 Tests: gui tests updated to run 2019-08-26 09:25:40 +02:00
Mati 037668ecf0 Added missing changes 2019-06-11 14:07:43 +02:00
Robert Borzecki de8b693e61 Added vector image. 2019-06-06 11:05:15 +02:00