Commit Graph

635 Commits

Author SHA1 Message Date
Wiktor S. Ovalle Correa
43e8b862ac [EGD-6896] Sanitize Tray event handling
Tray events were handled inconsistently with its Message used
in a separate context
2021-06-04 09:38:44 +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
Alek Rudnik
93c4675d1d [EGD-6701] System time usage fixes
Fixed all calls to stdlib time.
Removed all redundant calls to Timestamp treated as time source.
2021-05-27 16:54:44 +02:00
Przemyslaw Brudny
bc737e93f6 [EGD-5885] Added SimLockHandler
Refactored LockWindow TitleBar handling. Added Sim pin request
block on lockedPhone. Added Sim info popup added when pin
changed. Updated assets. Removed old PinLock structures.
Cleared LockBox structures. Removed old settings sim setters.
New CellularMessage adaptation. Cleared Lock structure.
2021-05-26 20:09:33 +02:00
DariuszSabala
2d164b9690 [BH-359] Move TPLIB pugixml to separate dir
Changed submodule directory and updated cmake scripts and include paths
2021-05-26 13:34:18 +02:00
DariuszSabala
339f3d52fa [BH-364] Move TPLIB magic_enum to separate dir
Changed submodule directory and updated cmake scripts and include paths
2021-05-21 11:12:20 +02:00
tomaszkrosnowski
dcd0ebe0a1 [EGD-6338] Fix NAT widget visibility
Make sure that NAT (Network Access Technology) widget is visible on top
bar ONLY during call.
2021-05-21 01:27:54 +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
Piotr Tański
cd2cbbbd70 [EGD-6728] Documentation cleanup
Cleanup acc. to guidelines created in EGD-6632.
2021-05-19 16:29:54 +02:00
Przemyslaw Brudny
3c69244f4d [EGD-6773] Added light BarGraph type and updated UpdateProgress
Added light BarGraph type and updated UpdateProgress Window.
2021-05-19 11:21:55 +02:00
Przemyslaw Brudny
2e2ce205d7 [EGD-5404] Added onBoarding Sim select window
Added onBoarding Sim select window and skip sim select.
Removed old PhoneLock settings selector from settings.
2021-05-18 23:05:30 +02:00
Przemyslaw Brudny
5e8f773d47 [EGD-6772] Fixed failing resize test
Fixed failing resize test caused by Position type change.
2021-05-18 17:40:17 +02:00
Przemyslaw Brudny
bcdaf15ed1 [EGD-6740] Availability and Change handled by PhoneLockHandler
Availability and Change in phoneLock handled by
PhoneLockHandler. Removed old implementation from
onBoarding and Settings. Cleared language assets.
2021-05-14 13:07:49 +02:00
Pawel.Paprocki
db8c1d35e5 [EGD-6739] Fix Enable change of display resolution on simulator
Define screen dimesions in one place
2021-05-14 08:50:11 +02:00
Michał Kamoń
46c57aaa88 [EGD-6599] Add single number call notification
This PR adds proper notification on call notifications coming from
single number. To that end following changes have been introduced:
 * extension of Notification DB record with contact_id filed
 * use of `ContactRecordInterface` in `NotificationsRecordInterface`
 * extension of `Increment` query to require `PhoneNumber::View`
 * multiple minor changes on path from creating/handling
 `NotificationsRecord` to displaying respective notification.
2021-05-06 14:39:53 +02:00
Przemyslaw Brudny
5913999d23 [EGD-6683] Fixed not fitting labels in Calls and Meditation
Fixed not fitting labels in Calls and Meditation.
2021-05-05 18:39:25 +02:00
Tomasz Sobkowiak
0d7bae0a55 [EGD-3109] Use more appropriate type instead of raw types
Position and Length used instead of raw ones
2021-05-05 09:12:29 +02:00
Artur Śleszyński
3ed010cfd3 [EGD-3119] Do not convert InputEvent to numeric if not digit
Make sure InputEvent is a digit key before converting to numeric.
2021-05-04 15:53:16 +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
Przemyslaw Brudny
182f694ac2 [EGD-6637] Cleanup locks structure
Renaming existing locks namespace and created proper directory
structure.
2021-04-27 16:19:02 +02:00
Michał Kamoń
eec4370cdc [EGD-5703] Fix SimCard topBar icon on Desktop
In initial design a `TobBar`'s SimCard icon with number is supposed
to display on the home screen only if there are two cards inserted.
Because of the hardware limitations (there is no way of telling if
there is a single or two cards inserted) the established consensus is
that home screen should not display SimCard widget unless it's
indication error state.

Although in the task description there is only home screen mentioned,
the behaviour was established for all `ApplicationDesktop`'s windows.
2021-04-27 08:14:17 +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
Przemyslaw Brudny
3eb630b02d [EGD-6534] TextFixedSize crash on char removal fix
Fixed TextFixedSize character removal crash on single line
space case. Added UT to cover it and other missing TextFixed
sized drawLines cases.
2021-04-15 17:30:11 +02:00
Marek Niepieklo
226e9e4c0b [EGD-6515] Answer/reject calls using headset
Clean up propagation of headset keys events
Clean up volume control with headset keys
Update key mappings for simulator
Use headset OK key to answer/reject calls
2021-04-15 14:19:50 +02:00
Marcin Smoczyński
332aed9365 [EGD-6507] Enable per-module testing
Add per-module:
 - test build
 - test execution
 - coverage reporting (xml/html).

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-04-13 15:16:59 +02:00
Marcin Smoczyński
763cdbf3a0 [EGD-5567] Add code coverage reporting
Add HTML and XML code coverage report generation with gcovr.

Cleanup unittests list - add missing googletest-gui to the unittests
list; remove dead functional tests.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-04-08 23:48:22 +02:00
Przemyslaw Brudny
9f0c945e67 [EGD-6388] Fix TextLine addition and deletion with scroll test
Fixed missing line start condition memorizing on empty blocks
removal.
2021-04-02 13:26:47 +02:00
Piotr Tański
aad6c64a54 [EGD-6415] Do not silently crash on empty image name
Image should not silently crash with empty or incorrect image name.
2021-04-01 15:54:10 +02:00
Sandra Snan
c7ec56a8c9 [EGD-5792] Fix small typos in header comments
Changing some spellings in comments. Item, parent, axis, and position.
2021-03-31 12:15:06 +02:00
Mateusz Grzegorzek
5b0f2aa44a [EGD-6262] Refactor Quotes
- Connect QuotesMainWindow to work with agent,
- Use DatabaseModel in Quotes and Categories models,
- Connect add/edit/remove quotes with agent
2021-03-25 09:17:53 +01:00
tomaszkrosnowski
49de2d2c29 [EGD-6314] Phone mode widget visibility
Phone mode widget will be visible only on main screen, while entering
numbers or in emergency call mode. Also it will be disabled whenever NAT
widget is enabled.
2021-03-24 22:49:26 +01:00
tkros
1860bf210f [EGD-5744] Phone mode status bar widget
Added phone mode widget to top bar. The widget is mutually exclusive
with NAT widget. Phone mode is determined using phone mode observer.
2021-03-23 19:38:57 +01:00
Piotr Tański
efef7dcf7f [EGD-6111] Timers refactored
Deep refactor of system timers.
2021-03-19 14:09:35 +01:00
lblach
3b68d92572 [EGD-6009] Test and repair Update process
Fixes to improve Update process.
2021-03-18 10:30:32 +01:00
Krzysztof Móżdżyński
84c99029d8 [EGD-5449] Add final prompts windows
Added Dialog windows for "configuration successful"
"no configuration" and "update OS" for Onboarding.
Refactor Dialog window implementation and usage of
DialogMetadata in other applications.
2021-03-12 13:03:44 +01:00
Jakub Pyszczak
0e1880a726 [EGD-5624] Added window update
This PR introduces mechanism for passing
data to the currently displayed window by
switch data.
2021-03-12 10:53:56 +01:00
RobertPiet
39e6f1b18a [EGD-5902] Phone Modes Windows
Windows for phone modes created.
Offline:FightMode/messages only ServiceCellularApi created.
ConnectionFrequency and DND options settings throught AppSettings.
2021-03-11 17:38:44 +01:00
Wojtek Rzepecki
776a51e592 [EGD-5969] Add battery charging UI
Battery charging UI modified
according to design
2021-03-10 08:50:27 +01:00
Alek Rudnik
efef3c368c [EGD-6043] Change status bar layout
Status bar is rewritten to use box layout
2021-03-09 22:53:06 +01:00
Alek Rudnik
0b9bca2a05 [EGD-6014] Fix top bar includes
This is only clean up of includes, no functional changes
2021-03-05 17:43:19 +01:00
Przemyslaw Brudny
84095629df [EGD-5883] Added generic button popups attach to applications
Created structure and implementation for popup windows
attachments on button actions into applications. Moved Volume
window to fit into solution. BarGraph refactored.
2021-03-03 22:21:11 +01:00
Alek Rudnik
7ccc68c202 [EGD-5832] Status bar widgets refactor
Status bar SIM widget refactor
Status bar time widget recfactor
Status bar lock widget refactor
Separation of status bar time widget and desktop main window time widget
Fixed issue with wrong calculation of timezone based time
2021-03-03 13:37:11 +01:00
Michał Kamoń
44c717e4a9 [EGD-5059] Fix SMS thread UX issues
This PR correct following global UX issues that were noticed in SMS
threads:
- invalid Nav-bar margins (30px instead of 20px)
- invalid NAv-bar hight (54px instead of 50 px)
This PR corrects following SMS threads UX issues:
- invalid inputText's left margin (10px instead of 0px)
2021-03-02 11:33:22 +01:00
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