Commit Graph

64 Commits

Author SHA1 Message Date
Przemyslaw Brudny
465b112224 [EGD-3190] WIP - splitting resize and position update to better handling on request resize. 2020-05-12 16:45:15 +02:00
Adam Dobrowolski
5ba2cf7f15 [EGD-3190] Box sizes fixup in progress 2020-05-12 16:45:15 +02:00
Marcin Smoczyński
c47923d70a [EGD-3107] Call number validation
Use specialized class to to pass phone number between apps and services
instead of ambigious std::string. Introduced class (utils::PhoneNumber)
wraps calls to libphonenumber providing more convienient interface.
However using libphonenumber directly may be resource hungry in terms
of stack, heap and cpu usage, so helper class has been introduced to
pass information about phone numbers (utils::PhoneNumber::View). It is
designed to maintain integrity thus can be created from an instance of
utils::PhoneNumber only or moved/copied to.

Add new field to the calllog db holding e164 formatted number. Both
entered and e164 numbers will be needed to be able to match with
contacts correctly.

Add constexpr information about country codes (utils::country).
2020-05-05 00:51:53 +02:00
Alek Rudnik
c2105a8ad1 [EGD-3185] add proper widget clean up (#344) 2020-05-04 19:10:23 +02:00
Adam Dobrowolski
8edd7a6887 EGD-2964 memory leak in DesktopApp 2020-05-04 08:45:20 +02:00
Alek Rudnik
895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
Alek-Mudita
2f92083cec [EGD-3003] fonts clean up (#244)
* [EGD-3003] fonts clean up

* [EGD-3003] large instead of veryverybig
2020-03-19 16:03:11 +01:00
Adam Dobrowolski
e4de2a2410 SIM hot swap fixes and system abort on not enabled hot swap feature
* SIM hot swap should now properly show |x| in sim place when there is
  no SIM inserted in selected sim slot
* ServiceCellular now can inform on Fatal state desktop which will
  trigger window `Reboot` with no point of exit
* All windows in Desktop now have name in one place
* Access to cmux channels via enum class instead of String (which is errorprone)
2020-03-19 14:53:03 +01:00
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Adam Dobrowolski
e97a54f7ec EGD-2848 Initialize SIM after unlock 2020-03-12 15:24:39 +01:00
Adam Dobrowolski
e06aef5bed EGD-2897 Notifications on desktop on SMS and CALL works fine 2020-03-05 12:08:03 +01:00
Adam Dobrowolski
16738e0797 [EGD-2927] Desktop MenuWindow added notifications handling 2020-03-04 13:19:05 +01:00
Adam Dobrowolski
2567da65f6 EGD-2248 addWidget returns void now instead of bool
* elements which possibly depended on this depend now on `visibility` of element added
* changed everywhere returns on addWidget
* checked layouts (vertical, horizontal, pagedbox, gridlayout)
2020-03-03 14:36:43 +01:00
Alek-Mudita
b853087b3b Egd 2513 callog phonebook integration (#173)
* [EGD-2513] new API to create temparary contact entry if cannot be found
Calllog should search for contact.

* [EGD-2513] #pragma once in all headers file in module-db

* [EGD-2513] new constructor for CalllogRecord

* [EGD-2513] contact recognition for calllog DB API

* [EGD-2513] clean up

* [EGD-2513] displaying name and surname call and calllog

* [EGD-2513] enum instead bool

* [EGD-2513] fix in remporary contact creation

* [fix][EGD-2513] missing c_str

* [fix][EGD-2513] minor fixes in documentation

* [EGD-2513] unified entry read state for both sms and calllog dbs

* [EGD-2513] calllog db documentation

* [EGD-2513] code reviex fixed in ContactRecord
2020-03-02 16:43:29 +01:00
Alek-Mudita
8585ea8cf4 Call app - contact recognition (#169)
* [EGD-2569] added # and * as numeric inputs

* [EGD-2569] added '+' input sign

* [EGD-2569] created defines with window names for call app

* [EGD-2547] contact recognition during call

* [EGD-2547] moved UiCommon

* [fix][EGD-2547] fix for setting empty UTF string to text gui field

* [EGD-2547] adding new contact from call enter window

* [EGD-2547] minor clean up and added param validation

* [EGD-2547] easier method to add contact

* [EGD-2569] added new keyboard profile (numeric with special signs)
Desktop is passing it properly to Call app.

* [EGD-2569] added transaltor to enternumberwindow

* [EGD-2569] reverted unnecessary changes

[EGD-2569] revert

[EGD-2569] revert of not needed changes

* [EGD-2569] fix in phone.kprof

* [EGD-2547] unified API to call and send sms

* [EGD-2547]  changed default to true

* [EGD-2547] minor clean up.

* [EGD-2569] revert changes in PinLockWindow.cpp

* [EGD-2569][fix] eneter as null char

* [EGD-2547] PR fixes

[EGD-2547] code review fixes / refactored UiCommon

[EGD-2547] more code review fixes

[EGD-2547] rem not needed cast

* [EGD-2547] PR fixes

* [EGD-2547] splitting of UiCommon

* [EGD-2547] typo fix

* [EGD-2547] revereted one line conversion from char to string.
2020-02-28 09:37:25 +01:00
Adam Dobrowolski
1376e10c2c [EGD-2892] Review applied 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
a7cadb4e7b EGD-2892 Pinned proper callbacks to notifications 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
dc9b2b67db [EGD-2892] Added getCount for unreached calls & unread SMS and used it in Desktop 2020-02-27 17:10:03 +01:00
Adam Dobrowolski
a5b9b76936 [EGD-2892] Destkop - placeholder for notifications added 2020-02-27 17:10:03 +01:00
mateusz
8f790ba70c change clocks from DateTime → Time 2020-02-20 16:16:38 +01:00
Adam Dobrowolski
015f84f35f [EGD-2888] Desktop unlock screen added as design
* lacks in design added as issues and linked to parent task
2020-02-20 11:40:23 +00:00
Alek
262fe3809f [EGD-555] callapp name clean up 2020-01-21 11:42:36 +01:00
Mateusz Grzywacz
61a3eadbd5 [EGD-2393] line draw off-by-1 fixes & added 45° skewed line & length adjustment 2020-01-10 15:50:31 +01:00
Mateusz Grzywacz
83578c1566 [EGD-2393] docs comments 2020-01-10 15:50:31 +01:00
Mateusz Grzywacz
955612ce62 [EGD-2393] Added yaps (to rect) 2020-01-10 15:50:31 +01:00
Adam Dobrowolski
f9127fcc4d [EGD-2392] Reviev applied 2020-01-10 14:15:28 +01:00
Adam Dobrowolski
26a98bce1e [AppManagement] Getting through previus windows by list
* removed first main window as first window in call app
* moved window switching to application from window
2020-01-10 14:15:28 +01:00
Adam Dobrowolski
618c2578da [EGD-2335] cleanup: fixed call input 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
ab77fbe41a [EGD-2335] Added processing long press prior to key event and return to desktop 2019-11-27 11:09:52 +01:00
Adam Dobrowolski
e1bde27d79 [EDG-2335] WIP: Application.cpp handling is just sad 2019-11-27 11:09:52 +01:00
Alek-Mudita
4f9360b5f1 Egd 2252 no outgoing call number (#68)
* EGD-2252 fixed lack of number during outgoing call

* EGD-2252 one notfication type

* EGD-2252 some call switch data clean up
2019-11-07 19:25:20 +01:00
Adam Dobrowolski
164b9281c8 EGD-2195 - Changed sizes for fonts in project
* changed all fonts to follow one `Style.hpp` include
* Moved title to AppWindow from all the places in code
* added logging on font selection - when not found
* minor fixes
2019-10-25 13:04:33 +02:00
Alek
44d8281eff EGD-2180 put GUI_REFERSH_FAST in the parent method 2019-10-22 21:07:17 +02:00
Alek
f9b6f8fb40 EGD-2180 auto handling of back button 2019-10-22 21:06:55 +02:00
Alek
006bc3d129 EGD-2180 Issue with gui::ShowMode 2019-10-15 23:18:02 +02:00
pholat
ed8c1be808 Time: shown nicelly in main menu and TopBar 2019-10-03 10:16:05 +02:00
Robert Borzecki
3ba8374f69 WIP: crash on resume 2019-09-19 08:10:25 +02:00
Robert Borzecki
f15c9de4a3 fixed drawing screen when entering power saving mode after # longpress. 2019-09-18 19:13:06 +02:00
Robert Borzecki
d27047c23c Added flow for suspending eink and gui services. 2019-09-18 18:59:27 +02:00
Robert Borzecki
59a66f2ad1 Added resume calls to power manager. 2019-09-09 08:31:27 +02:00
Robert Borzecki
9492c8f664 Crash on suspend. 2019-09-09 07:40:51 +02:00
Robert Borzecki
1dccf32a8d Added translation for call application.
Added flag to applications to prevent from locking the phone.
Changed look of call window.
2019-09-06 06:50:55 +02:00
Robert Borzecki
175798a3bc Added circles to call window. 2019-09-04 08:44:02 +02:00
Robert Borzecki
ab8e611711 Added returning t olast application after locking timeout. 2019-09-02 20:16:51 +02:00
Robert Borzecki
1ef83167af Added screen locking after lock timeout. 2019-09-02 09:28:11 +02:00
Robert Borzecki
b1fd800a3f phonebook memory leak, WIP. 2019-08-30 12:30:17 +02:00
Robert Borzecki
b866e4a63b Added backend for phone locking after specified window. 2019-08-30 06:40:50 +02:00
Robert Borzecki
b901d77b34 Changes to kickstarter viewer application. 2019-07-18 13:52:08 +02:00
Robert Borzecki
c3a4c8d87e Fixed no pass lock flow. 2019-07-15 21:10:45 +02:00
Robert Borzecki
9199849629 Fixed rebuild bug i nsettings window. 2019-07-13 22:39:14 +02:00