Commit Graph

66 Commits

Author SHA1 Message Date
Lukasz Mastalerz
d9a1194e6f [BH-1688] Create a standard for logs
* Adding document describing how to use logger
* Adjusting logs to follow a new guide
* Change order in log header:
  line number is now before function name
2023-10-23 15:17:44 +02:00
Lefucjusz
3b24ac9e90 [MOS-1047] Fix calling abort() in EnterNumberWindow
* Removed call to abort() method in case
EnterNumberWindow's SwitchData handler
receives message that can't be handled,
what caused the phone to crash.
* Unify ApplicationCall window names
definitions.
* Code cleanup.
2023-10-17 13:29:20 +02:00
Lefucjusz
d2b9a10dd3 [MOS-1002] Change USSD code handling to match design
Fixed issues with GUI behaviour on failed
USSD code handling.
Minor code cleanup in several parts of system.
2023-08-02 12:07:29 +02:00
Wojciech Rzepecki
a0914b534c [EGD-5374] Fix call gui issues
fixed state icons to use box layout
plus string and allignement fixes
2021-11-25 13:58:42 +01:00
Przemyslaw Brudny
bc3e825b77 [EGD-7910] Text directory cleanup
Text directory cleanup. Removed old unused assets
directories.
2021-11-05 00:36:34 +01:00
Przemyslaw Brudny
7597d38852 [EGD-7857] Renamed BottomBar to NavBar
Renamed BottomBar to NavBar.
2021-10-26 13:51:06 +02:00
Mateusz Grzegorzek
58dd02cff1 [BH-861] Cleanup Application split - part I
1. Prepare Pure and Bell specific `Application`
   classes and add them to `app` target:

- `products/BellHybrid/apps/Application.cpp`
- `products/PurePhone/apps/Application.cpp`

2. Update `CMakeLists.txt` files.
3. Move `ApplicationBell` implementation to Bell-specific
   `Application` class and remove `ApplicationBell` files.
4. Change Bell apps parent classes from `ApplicationBell`
  to Bell-specific `Application` class.
5. Rename `Application` to `ApplicationCommon` in the rest of the files.
2021-09-13 11:58:10 +02:00
DariuszSabala
01d4b62131 [BH-381] Turned application call into lib
Defined separate cmake target, dependencies, private, and public
sources, cleaned up include paths
2021-07-13 13:11:44 +02:00
Przemyslaw Brudny
b7e710ef9e [EGD-6867] Renamed TopBar into StatusBar
Renamed TopBar into StatusBar.
2021-06-04 12:24:30 +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
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
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
Jakub Pyszczak
58668722d6 [EGD-5043] Add emergency call window
According to PurePhone design emergency call
window is needed after "SOS" callback at the screen lock.
This PR introduce implementation of emergency call window
and also refactor in the enter number window. Both windows
derives from new number window.
2021-01-26 09:42:48 +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
alek
1f7d471831 [EGD-4429] Fix gui issues in application call
Fix the persistent answer and reject labels in Call Window issue
Fix the wrong call duration issue in both Call and Calls apps
Fix the not working call ignoring issue
2021-01-18 11:16:43 +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
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
Piotr Tanski
fe86716984 [EGD-4153] Use actions instead explicit applications switch. (#1032) 2020-11-23 09:32:42 +01:00
Radoslaw Wicik
945e39df21 [EGD-4216] Convert service-cellular to library 2020-11-10 13:35:12 +01:00
Piotr Tanski
dd50838789 [EGD-4051] Based application manager app switching on application stack. (#858)
* [EGD-4051] Based application manager app switching on application stack.

* [EGD-4051] Application manager thorough refactor.
2020-10-23 15:45:58 +02:00
Paweł Olejniczak
d676fdabb7 [EGD-2628] Create Add device windows (#867)
[EGD-2628][WIP] Attach Add Device window

[EGD-2628] Fix passing scanned bt devices to Add device window

[EGD-2628] Add bt icon and adjust botton bar of Add device window

[EGD-2628] Add all devices window, & some fixes for add device window

[EGD-2628] Update changelog & cleanup

[EGD-2628] Improve bluetooth main window
2020-10-22 11:42:53 +02:00
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
Piotr Tanski
fdb2cfdb5a [EGD-3597] Shape rendering refactored. (#827) 2020-10-14 12:24:41 +02:00
alek
07c33c89cc [EGD-3491] Added DTMF tone transmission 2020-09-25 18:18:34 +02:00
Przemyslaw Brudny
4f5618b8be [EGD-3485] ContactFlagWidget cleanups, navigation fix in NumberWithIconsWidget, bold on selected in InputLinesWithLabelItem. 2020-08-13 12:43:22 +02:00
Przemyslaw Brudny
5c64f96b11 [EGD-3336] Alignment refactor. 2020-07-15 13:07:20 +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
Adam Dobrowolski
5f5a01fa43 EGD-2964 application call removed leak 2020-05-04 08:45:20 +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
e9c7caaf2b [EGD-3129] remove common magic strings (#314) 2020-04-17 22:27:57 +02:00
Alek Rudnik
895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
Marcin Smoczyński
f2eb9bb37a [EGD-2594] apps/call: add libphonenumber support
Augment handling phone numbers with libphonenumber:
 - add "as you type" formatting to phone numbers,
 - normalize phone number handling by using libphonenumber's phone
 number representation.

Clean up the code by moving application logic back to the application
and window data back to the window and reordering includes.

Application's stack size has been increased due to formatter stack
utilization level.
2020-04-08 18:23:45 +02:00
Alek-Mudita
0b7d24710a Egd 2548 fix layout of ongoing call window (#246)
* [EGD-2548] added AddContactIcon

* [EGD-2548] added send message Icon - still need to use it in Call Window

* [EGD-2548] SendSmsIcon used in callwindow

* [EGD-2548] rewritten Icon class to be template based
Created all missing Icons

* [EGD-2548] integranio of new icons in callwindow and some fixes

* [EGD-2548] code clean up and tune up constants

* [EGD-2548] clang formatter and fix speaker icons

* [EGD-2548] revert of USE_DAEFAULT_BAUDRATE

* [EGD-2648] destruktor fix
2020-03-20 12:55:51 +01: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
Radoslaw Wicik
a8573a404c Apply new style 2020-03-17 10:03:16 +01:00
Alek-Mudita
017d1812ab Egd 2581 adding new contact from callapp with validation (#207)
* [EGD-2581] [fix] added phonebook const windows names

* [EGD-2581] Dialog - added "No" handler

* [EGD-2581] added contact checking before adding and notfication that it exists

* [EGD-2581] added contact edition action

* [EGD-2581] moved duplicated contact dialog window to phonebook
2020-03-09 10:00:34 +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
Alek
7ab90f8407 [EGD-555] PR fix 2020-01-21 11:42:36 +01:00
Alek
d3e41393fe [EGD-555] added switch data handling at enternumberwindow 2020-01-21 11:42:36 +01:00
Mateusz Grzywacz
e4aab4228a [EGD-2336] fix | changed argument to bool type 2019-12-03 15:13:13 +01:00
Mateusz Grzywacz
d469e92c32 [EGD-2336] selection of ellipsis (dots) position 2019-12-03 15:13:13 +01:00
Mateusz Grzywacz
de765a46f8 [EGD-2336] initial ellipsis 2019-12-03 15:13:13 +01:00
Alek
d76fee2f83 added checking of pointers after dynamic_cast 2019-11-27 14:15:40 +01:00
Alek-Mudita
1c6701ff2a Egd 516 enter number window (#89)
* EGD-516 fixed layout in enterwindow.
Gently refactor the code.
Minor enhancments.

* EGD-516 removed reinterpret casts from enterwindow

* EGD-516 added new contact icon

* EGD-516 added missing font and new Icon widget.

* EGD-516 fixed icon label alignment

* EGD-516 minor icon changes

* EGD-516 add CallAppStyle

* EGD-516 added icon styl to callappstyle
2019-11-27 14:15:40 +01:00
Adam Dobrowolski
618c2578da [EGD-2335] cleanup: fixed call input 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
85b46ccd6a EGD-2180 fix for call app 2019-10-22 21:07:35 +02:00