Commit Graph

587 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
Michał Kamoń
8907669795 [EGD-5489] Add Bluetooth pairing test
This PR provides a harness test of a current stage `Bluetooth` pairing
functionality. That is provided a `Bluetooth` device name, test logic:
* navigates to a appropriate window
* scans for devices available
* navigates over appropriate device and check's if it is focused
2021-02-26 08:59:13 +01:00
lblach
203f81977f [EGD-5756] Add Update Window
Create Update Window(s) to control and visualize the MuditaOS update
process on Pure.
2021-02-25 09:28:01 +01:00
Pawel.Paprocki
a3d2c9fead [EGD-5863] Add retry dialog window
Add generic retry dialog window
2021-02-24 17:20:59 +01:00
Wiktor S. Ovalle Correa
fe72169338 [EGD-5737] Merge master into experimental
Synchronize with master before merging
2021-02-23 18:10:52 +01:00
Mateusz Grzegorzek
8f0797218f [EGD-5312] Add Time selection window
- add ChangeDateAndTimeWindow,
- extract EventTimeItem to common widgets folder
  and rename it to TimeWidget,
- extract EventDateItem to common widgets folder
  and rename it to DateWidget,
- replace timeWidget with common TimeWidget
  in NightshiftWindow,
- refactor time setting in
  DesktopMainWindow and TopBar,
- Remove dead code from EventManager
  (GetNextAlarmTimestamp and HandleAlarmTrigger)
2021-02-23 15:59:51 +01:00
Alek Rudnik
dbdcaf3003 [EGD-5821] Add Network Access Technology widget
Created Network Access Technology widget.
2021-02-19 18:58:14 +01:00
Krzysztof Móżdżyński
ba8f0ac32d [EGD-5448] Add EULA window
Added EULA window required for onBoarding procedure.
Onboarding settings added.
2021-02-19 14:53:14 +01:00
Adam Dobrowolski
f724d9074b [EGD-5701] Added DOM dump to harness
* Added generic handler to developerMode
* Added DOM message handling
2021-02-18 16:53:07 +01:00
Wojtek Rzepecki
465159ed15 [EGD-5805] Fix not charging icon
Fix icons behavior in topbar.
When plugged and no charging
regular dischrging icon is
displayed.
2021-02-18 12:06:50 +01:00
Alek Rudnik
076c3cbb8c [EGD-5674] Set battery and GSM signal strength indicators as text
Temporary set battery and GSM signal strength indicators as text.
This is for test purposes only
2021-02-17 23:51:23 +01:00
Alek Rudnik
43148cea15 [EGD-5778] Add signal strength dBM inidcator
Refactored signal strength logic and arranged it
as seprated widget.
Added option to display signal strength as dBM or
bar graph.
2021-02-17 23:51:23 +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
a53bd826c6 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:08:06 +01:00
Tomek Sobkowiak
be66c10888 [EGD-5347] Replace filelength with file_size
Replace use of filelenght with std::filesystem::file_size
sqlite3vfs is using file descriptors so filelength is just renamed
2021-02-17 17:07:41 +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
Lucjan Bryndza
bb06380ca1 [EGD-5737] Merge with master
Keep experimental up to date with changes from master
2021-02-17 17:02:01 +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
Alek Rudnik
6cd0fd35e8 [EGD-5777] Refactored status bar battery indicator
Added an option to display a battery level in percentage
2021-02-17 10:50:28 +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
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
Wojtek Rzepecki
323786c4d2 [EGD-4797] Battery bar as widget
Battery bar now is present as
a separate widget in top bar.
Additionally refactored passing
battery status.
2021-02-15 13:05:56 +01:00
Maciej Janicki
de3b05d64d [EGD-5722] Fix color test scheme change
This commit fixes full white color not being changed by Color Test
window in case of clear command and vector images.
2021-02-12 14:35:40 +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
mkamonMdt
3a86d65b1d [EGD-3633] Fix new message recipient
Known issues with recipient filed fixed:
- on contact, clearing there was leftover data
- on contact, one could keep adding numbers to visible name
- on contact, to delete it one had to delete each visible name char
- `select` in center button was not restored in some edge cases
- wrong recipient label
2021-02-12 10:00:03 +01:00
Alek Rudnik
f609ab9dce [EGD-5295] Fixes in Calllog app
Fixed some Calllog UI issues:
Fixed lack of calllog entry after call aborting
2021-02-11 16:51:40 +01:00
Przemyslaw Brudny
d0200de5d5 [EGD-5398] Added onBoarding application first version
Created first version of onBoarding application. Added welcome
window, configuration start window and adopted language
window. Small Icon GUI refactor. AppManager language copy removed.
2021-02-11 16:37:51 +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
mkamonMdt
e49512bf4f [EGD-5619] Add unified implementation of active icons
This PR provides unified and reusable implementation of active
icons used in windows system-wide.
2021-02-08 12:28:06 +01:00
Przemyslaw Brudny
f609d67212 [EGD-5637] Add RichText returning unhandled nullptr
Added check for unhandled nullptr that causes crashes.
2021-02-05 15:32:35 +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
Maciej Janicki
bb59805a8e [EGD-4822] Add color test window to settings app
Add new window to allow convenient display and globally
change used color intensities  for design and testing purposes.
Changes were introduced to Renderer as well as GUI service
to allow global change of used color scheme.
When using list, screen is deep refreshed each
time the color is changed.
Known issues:
Item focus borders (top,bottom) with changed black intensity
may not render properly, however it doesn't obscure the
target functionality.
2021-02-04 13:34:04 +01:00
Maciej Janicki
e6fdf0e22c [EGD-5333] Change renderer to follow command design pattern
Changes draw command implementation to properly follow
command design pattern. All drawing commands have been
moved to separate inheriting draw commands from renderer.

Other changes:
- New draw methods overloads have been added to pixel renderer.
 Now pixel rendering methods are in one class.
- Simplified draw commands naming.
- Changed variable naming in draw commands to be more verbose.
- Changed {x,y} pairs to Points where possible.
2021-02-03 16:24:48 +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
Tomasz Langowski
b996cff40c [EGD-5176] Documentation update for gui item and gridlayout
Documentation update for gui item and gridlayout
2021-02-01 12:11: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
Piotr Tański
ffc17e74a9 [EGD-5383] Fixed Sim indicator displaying on top bar
Sim indicator should be displayed on desktop main window's top bar.
2021-01-27 11:34:57 +01:00
Mateusz Grzegorzek
b5780f8193 [EGD-5287] Add Languages window
- add LanguagesWindow,
- add GetCurrentDisplayLanguageRequest message used for
  sending request from LanguagesModel,
- add GetCurrentDisplayLanguageResponse message sent by
  ApplicationManager and handled by ApplicationSettingsNew,
- add setFocusOnElement method in ListView so current
  display language can be focused on when entering
  LanguagesWindow
2021-01-25 21:18:05 +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
4e034df4ed [EDG-4743] Add new/options windows to quotes
Add windows for add/edit/delete quotes, use ListView for quote display.
2021-01-19 13:15:21 +01:00
Przemyslaw Brudny
9645fbc278 [EDG-4717] Add screen for brightness control
Window for manual and automatic screen brightness control.
2021-01-19 12:09:36 +01:00