Commit Graph
302 Commits
Author SHA1 Message Date
Alek Rudnik ea886ffd5d [EGD-3191] fix memory leaks in sms app (#346)
* [EGD-3191] fix memory leaks in sms app

* [EGD-3191] PR fixes

* [EGD-3191] PR fix
2020-05-07 12:17:14 +02:00
Alek Rudnik 16eaab6b50 Egd 3169 sms templates (#336)
* [EGD-3169] added sms templates model and item
fixed common class name convention

* [EGD-3169] added templates window
Passing template to new sms window is already working

* [EGD-3169] PR fixes from DB PR

* [EGD-3169] add universal callback for templates items

* [EGD-3169] requesting templates from more 2 windows

* [EGD-3169] missign change - display template in threads window

* [EGD-3169] minor fixes

* [EGD-3169] minimal clean up

* [EGD-3169] fixed some layout constatnt

* [EGD-3169] rem minor comments and logs

* [EGD-3089] rem redundant vector include

* [EGD-3169] PR fixes

* [EGD-3169] fixes afeter rebase

* [EGD-3169] workaround for list view issue - added 2 dump entries

* [EGD-3169] PR fixes

* [EGD-3169] style fixes

* [EGD-3169] fix for 0x0D char on enter in text widget

* [EGD-3169] PR fixes

* [EGD-3169] compilation issue
2020-04-30 13:48:23 +02:00
Marcin Smoczyński c9062e83e0 doc: cleanup readme files for doxygen 2020-04-28 17:34:00 +02:00
Przemyslaw Brudny 6540a27de4 [EGD-3040] PR cleanups. 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 3d1905accc [EGD-3040] Changed provider synchronization with listview for new data.
[EGD-3040] Span item set method added, scroll disabled on only one page ListView.
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 0031280798 [EGD-3040] PR changes 2020-04-28 14:10:41 +02:00
Adam Dobrowolski 3cb5217bf8 EGD-3040 moved showOption action to provider from main SMS window & removed not needed function from ListView 2020-04-28 14:10:41 +02:00
Adam Dobrowolski 4222916ed6 EGD-3040 Fixed Item::erase() and used in ListView
Erase uses the very same children that are used in removeWidget -
therefore we have to get them as long as we can to remove them all
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 492fba27b1 [EGD-3040] DatabaseModel and other models simplifications
[EGD-3040] Cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 0188476152 [EGD-3040] Temporary old ListViev, ListItemProvider and DatabaseModel added for current Phonebook implementation compatibility 2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 7722e24f5f [EGD-3040] WIP DatabaseModel cleanups
[EGD-3040] ListView redundant methods removal
[EGD-3040] ListView scroll moved to separate class
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny fb056774f5 [EGD-3040] ListItemProvider refactored to abstract class
[EGD-3040] ListView & ListItemProvider cleanups
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 94c0226c46 [EGD-3040] listView using VBox change
[EGD-3040] listView minor cleanups
[EGD-3040] phonebook listview commented
[EGD-3040] WIP DB model refactors
2020-04-28 14:10:41 +02:00
Przemyslaw Brudny 3e97822d1e [EGD-3040] ListView style updates to match desgin 2020-04-28 14:10:41 +02:00
Adam Dobrowolski 8475d1a056 EGD-3165 PR format applied 2020-04-28 09:50:48 +02:00
Adam Dobrowolski ef37b5a784 EGD-3165 PR review applied 2020-04-28 09:50:48 +02:00
Adam Dobrowolski 5a325fbad6 EGD-3165 setTextEllipsis renamed to setEllipsis 2020-04-28 09:50:48 +02:00
Adam Dobrowolski e1c1d68f13 EGD-3165 Font.cpp fixed none_font_id use as previous instead 0 2020-04-28 09:50:48 +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 70117f382f EGD-3165 gui::Label / gui::Font - small fixes and refactor
* fixed Font function returning width, it was returning values in:
        1. return value
        2. in 3rd of 5 arguments
* made font unused character first class citizen of Font
* added clean(er) code for Ellipsis calculation to Font (following QT example)
* tiny bit code removed from Label (unused/harmful)
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
Adam Dobrowolski 04458bb897 EGD-3165 BoxLayout constructor, size default to 0 2020-04-28 09:50:48 +02:00
Adam Dobrowolski c07a13c955 EGD-3165 BoundingBox make str() method const (to be able to log in const functions) 2020-04-28 09:50:48 +02:00
Adam Dobrowolski 292432fe97 EGD-3165 Added Label::setText option to resize itselt to it's max size 2020-04-28 09:50:48 +02:00
Alek Rudnik 3b8dad6685 [EGD-3082] new message options (#319)
* [EGD-3082] new message options

* [EGD-3082] PR fixes
2020-04-22 11:43:38 +02:00
Mateusz Grzywacz 9da22edbdb [EGD-3074] rect fill fix 2020-04-17 15:19:55 +02:00
alek 37c3d69363 [EGD-3086] added new bool flag to control the windows stack 2020-04-17 15:05:32 +02:00
Adam Dobrowolski e640294d76 EGD-3121 PR review applied 2020-04-16 15:05:10 +02:00
Adam Dobrowolski 82793cf84f EGD-3056 Added c_str() to Keys and std::string operator for messages
* c_str() needed for pretty debug logs (to not log integers which means nothing)
* std::string operator needed to log not only message, ale it's content
  if provided (similar to __repr__ from pytohon
2020-04-15 16:50:19 +02:00
Pawel Olejniczak 12cb69a7e0 [EGD-3111] Fix clear function of label 2020-04-15 15:27:30 +02:00
Adam Dobrowolski 66e1ee0287 EGD-3088 Added empty search window 2020-04-15 14:47:20 +02:00
Mateusz Grzywacz cc4702710d [EGD-3116] battery: show on linux, fix levels and position. icon still too wide 2020-04-15 11:29:10 +02:00
Mateusz Grzywacz ce09a5e40e SIM icon unification + fast refresh + missing icons 2020-04-15 11:11:18 +02:00
Alek Rudnik 895369e8f8 [EGD-3114] fix alignment spelling (#300) 2020-04-15 09:13:37 +02:00
alek 0c55cd668a [EGD-3102] code clean up and minor refactor 2020-04-10 13:55:15 +02:00
alek b3a400e68c [EGD-3102] add initial version of the empty view 2020-04-10 13:55:15 +02:00
Alek Rudnik 09cf520c12 Egd 558 adjust volume during a call (#283)
* [EGD-558][fix] change error to info

* [EGD-558] added volume control of currently active audio operation

* [EGD-558] added ringing on incoming call

* [EGD-558] mini clean up in callwindow

* [EGD-558] removed reinterpret_casts and added some logging

* [EGD-558] rewritten methods to increment/decrement volume

* [EGD-558] clean up

* [EGD-558] moved volume control to application class
added nullptr checks

* [EGD-558] fixed types

* [EGD-558] added some audio debug logs

* [EGD-558] left a comment why ringing sound is currently disabled

* [EGD-558] PR fixes

* [EGD-558] PR fix

* [EGD-558] added propper error codes on pointer checking in Audio.cpp
2020-04-10 11:00:17 +02:00
kkleczkowskiandKuba Kleczkowski b7312fbf07 [EGD-3050-antenna-app-improvements] Added new window in antenna test app, added new command in service-cellular. (#281)
Co-authored-by: Kuba Kleczkowski <dd>
2020-04-09 13:41:43 +02:00
Adam Dobrowolski 4a61f400e7 EGD-3055 Fixed printf issues 2020-04-08 12:23:53 +02:00
Mateusz Grzywacz 160850cd5f [EGD-3057] text out of the bound 2020-04-02 19:31:28 +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
Adam Dobrowolski 7674b44385 EGD-3026 PR applied, fixed buid for release 2020-03-24 14:17:12 +01:00
Adam Dobrowolski abe6813ce6 EGD-3026 Wall Werror and Wextra added to project 2020-03-24 14:17:12 +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
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
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
Mateusz Grzywacz 7b656ae101 [EGD-2958] yaps expansion correction & narrower font 2020-03-18 15:21:17 +01:00
Pawel Olejniczak 6856e17bd7 [EGD-2932] Cleanup after rebase by applying clang-format style 2020-03-18 10:52:22 +01:00