Commit Graph
206 Commits
Author SHA1 Message Date
Roman KubiakandPiotr Tanski e6ca468d2c [EGD-4344] vfs-utils refactor (#1010)
* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore

* [EGD-4344] removed vfs-utils.cpp and moved all the functions
to utils or eventStore

* [EGD-4344] moved methods to utils::filesystem

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* Update module-utils/Utils.cpp

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>

* [EGD-4344] test fixes, linux fixes, GUI fixes

* [EGD-4344] rebase fixes

* [EGD-4344] bugfixes for rt1051 and mutex support in EventStore

Co-authored-by: Piotr Tanski <piotr.tanski@mudita.com>
2020-11-16 15:36:52 +01:00
Lucjan BryndzaandLucjan Bryndza 707b31ac3e [EGD-4264] directory reordering (#1001)
* [EGD-4264] VFS directory reordering

Currently VFS uses flat directory structure
for disc manager I need more sofisticated directory layout

* [EGD-4264] Remove redundant -Wno

* [EGD-4261] New purefs API

* [EGD-4264] Unittest fixes

* [EGD-4264] Directory relativity

* [EGD-4264] Relative path fixes

* [EGD-4264] Fix RT1051 compile errors

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-11-16 12:11:24 +01:00
Piotr Tanski 57c7672f8f [EGD-4366] Global data cleanup. (#999) 2020-11-13 10:16:40 +01:00
PrzeBrudny bb8d20833f Revert "Codeowners syntax fixed (#872)" (#980)
This reverts commit 96c33028f1.
2020-11-06 13:41:33 +01:00
Adam 96c33028f1 Codeowners syntax fixed (#872) 2020-11-06 12:50:33 +01:00
Krzysztof Mozdzynski 691c2926b9 [EGD-3360] Input and display language separation, input language setting implementation (#920) 2020-11-06 12:05:29 +01:00
Marcin Smoczyński 486d21af0e [EGD-4288] refactor global data (#959)
Reduce firmware size by refactoring global data defined in public
headers.

Each global variable which require runtime initialization adds
initialization code to every translation unit which includes the header
where the variable is defined and declared.
2020-11-04 18:24:39 +01:00
jimmorrisson 04fd5dfaf0 [EGD-3147] SMS incoming ASCII characters (#939) 2020-11-04 14:37:38 +01:00
KacperLewandowski f0fb9f51ef [EGD-4103] Fix phone hanging when pressing '=' in calculator (#891)
Crush was caused when using std::to_string() on rt1051 to convert double (result from equation) to string.
Other methods f.e. using std::stringstream, sprintf also do not work.
Add own floating point converter to string.
2020-11-04 13:02:09 +01:00
Adam 8bab7f0031 EGD-3585 ServiceGUI and ServiceEink initial cleanup (#953)
* EGD-3585 SerwiceGUI and ServiceEink initial cleanup

* moved code to one function per message handling
* removed dead code from comments
* added Service.cpp demangling to debug messages for clear output
* added Response value to return messages to `connect()`
2020-11-03 17:27:00 +01:00
Bartosz CichockiandSP2FET f16d30222c [EGD-4191] added keyReleased handling from service-desktop (#930)
Co-authored-by: SP2FET <bartosz.cichocki@mudita.com>
2020-11-02 20:08:05 +01:00
Marcin Smoczyński 4e00741886 [EGD-4144] build: individual libs for 3rdparty (#925)
Create individual library for each of third party project to be able to
determine memory usage of each of project's components.

Disable third party optimization for linux platform.
2020-11-02 15:08:03 +01:00
breichel 5be842fc7d Egd 3676 (#824)
[EGD-3676] Version of PIN SIM handling with mockuped actions (messages)
2020-11-02 14:36:16 +01:00
Radosław Wicik 13bda2ff23 [EGD-4266] Fix TagLib packaging (#943) 2020-10-30 15:59:41 +01:00
Lucjan BryndzaandLucjan Bryndza 0a407135e5 [EGD-4181] move taglib from audio (#932)
* [EGD-4181] Move submodule taglib to utils

* [EGD-4181] LibTag moved to util lib.

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-30 12:41:46 +01:00
jimmorrisson d13f45b6ce [EGD-4203] UTF8 smart pointers refactor (#938) 2020-10-30 09:12:22 +01:00
kkleczkowskiandKuba Kleczkowski 10e5542676 Egd 4143 Service antenna enabled. (#936)
* [EGD-4143] WiP service-antenna enabled.

* [EGD-4143] Fixed service timer, connetion status from store.

* [EGD-4143] Changelog.

* [EGD-4143] Fixes after rebase.

* [EGD-4143] Service-antenna LOG disabled.

* [EGD-4143] PR suggestions.

* [EGD-4143] Duplicated includes removed.

Co-authored-by: Kuba Kleczkowski <dd>
2020-10-29 15:07:22 +01:00
Hubert Chrzaniuk a607871f76 [EGD-3839] Cellular - get time zone (#903) 2020-10-29 10:41:34 +01:00
jimmorrisson 958e304ba2 [EGD-4121] UCS2 32 bit support (#897) 2020-10-27 14:02:51 +01:00
alek d19406f6ab [EGD-2975] Added Network Access Technology support 2020-10-27 10:13:41 +01:00
Mateusz Grzywacz 70a4b21c33 [EGD-3045] Magnetometer driver (#788)
* [EGD-3045] magnetometer driver - timer polling approach
- magneto pin mux
- magneto reg structs
- magneto irq skeleton
- bluetooth irq handler moved
- dedicated i2c methods
- bitfields parsed and populated explicitly
* [misc] big endian ↔ long conversion in Utils + UT
2020-10-22 15:41:54 +02:00
Lucjan BryndzaandLucjan Bryndza bf2609524c [EGD-4075] Use FATFS in the Linux builds (#843)
* [EGD-4075] Use FAT fs in the emulator

Add script for genrate base phone image

* [EGD-4075] Use FreeRTOS-FAT in emulator initial commit

* [EGD-4075] Thread local storage fix

Fixing thread local storage when running on the
Linux platform in the test mode

* [EGD-4075] Improve image generation

Improve image generation script on the linux platform

* [EGD-4075] Fix all test with FAT fs image

Fix all tests with fatfs image

* [EGD-4075] Fix calculator utility test

* [EGD-4075] Image dependencies fix

* Remove uneeded comments

* Missing headers in CR

* [EGD-4075] Fixed whitespaces

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-22 10:34:12 +02:00
Radosław Wicik 1d62ecd942 [EGD-3852] Add missing virtual destructor (#876) 2020-10-21 11:34:30 +02:00
Przemyslaw Brudny e131dae68f [EGD-3743] Removed old doxygen copyright statements from project. 2020-10-20 12:55:10 +02:00
Radoslaw Wicik 2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
KacperLewandowski ba4640c4af [EGD-3469] ServiceTime - start 2020-10-15 20:58:45 +02:00
Tomas Rogala df87b94b49 [EGD-3469] Rework DB 2020-10-15 20:58:45 +02:00
KacperLewandowski ad626ebc93 [EGD-3857] Create calculator application 2020-10-15 14:57:57 +02:00
Adam Dobrowolski 7b4a706cd6 EGD-4036 Application windows - added register mechanism
* Moved ApplicationLauncher to separate files - declutering
* WindowsStore renamed to WindowsFactory - Store needs to be splitted toavoid antipattern
* Options window build dynamically onBeforeShow
* Dialog windows dynamically built
2020-10-13 17:46:10 +02:00
RobertPiet 491e4fb795 [EGD-3789] main network window
[EGD-3789] OptionSetting intoduced as a base to handle settings windows
[EGD-3789] added icons on/off/bt/right arrow
[EGD-3789] btn_ok icon used
2020-10-12 15:47:56 +02:00
Piotr Tanski 24c927ef39 [EGD-3988] SMS thread for a specific contact shall be splitted into separate ones if multiple phone numbers are available. (#801) 2020-10-09 14:32:22 +02:00
Piotr Tanski f5aec0444a [EGD-3838] Introduced a meditation progress bar with simple implementation of meditation application. (#783) 2020-10-09 14:14:40 +02:00
Radoslaw Wicik 680c8168e5 [EGD-3998] New db engine (3.33.0) and vfs passing PRAGMA support back to sqlite 2020-10-09 12:46:51 +02:00
Lucjan BryndzaandLucjan Bryndza 0014dae259 [EGD-3854] Removing goto's from the code (#797)
It is generic cleanup task for removing all goto files

Co-authored-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2020-10-08 08:58:49 +02:00
Krzysztof Móżdżyński a0956f06a9 [EGD-3780] Fix emoji insertion 2020-10-07 14:38:44 +02:00
Jakub Pyszczak 2df98eea48 [EGD-3841] Add audio vibration and enable sound option 2020-10-06 17:06:34 +02:00
Tomas Rogala b89d6cca41 [EGD-3700] Time display on rt1051 - rework 2020-10-06 09:35:14 +02:00
Marcin Smoczyński d7d132ed66 [EGD-3798] remove utf8 test output (#775)
Test result parsers are failing due to excessive output of one of utf8's
tests.
2020-10-05 11:03:22 +02:00
Adam f5f27d642f EGD-2955 EGD-3588 Timers fully refactored & updated (#721)
* Timers now are Application thread safe
* Timers now have consistent API independend of Application (no more c style timers)
* Timers can have either: callback or override onTimer() method - this
  way we can create more complicated timers or just use existing ones
* gui::Timer added via adapter class GuiTimer to decouple sys::Timer
  with gui::Timer
* Fixed race in wrapper
* Updated docs
* fixed using std and cpp_freertos and DataReceivedHandler hidden in Application.hpp
2020-10-02 14:04:57 +02:00
alek 50cf5f1137 [EGD-3813] magic enums as submodule + update to 0.6.6 release 2020-09-24 15:32:57 +02:00
Adam 07b243a084 Egd-3408 Rich text (#712)
* EGD-3408 gui::Text Rich text parser added with pugixml tree & tree walker

* EGD-3408 Fitted code in
2020-09-23 21:03:57 +02:00
Marcin Smoczyński 4c30d4442b [EGD-3797] change default country to unknown
Can't assume that user is in Poland if number origin is unknown.

Fix related unit tests.
2020-09-22 17:57:01 +02:00
Maciej Gibowicz a9985de158 [EGD-2369] sprintf clean up (#677) 2020-09-21 11:18:13 +02:00
Piotr Tanski 9447da6585 [EGD-2870] Message drafts feature implemented. (#704)
- Save unsent messages as drafts on thread view window close.
- Queries for SMS add and update introduced.
- Fix for windows IDs all being zeroes across the GUI.
2020-09-21 10:25:00 +02:00
Tomas Rogala 65b4e9ad0f [EGD-3469] PR changes 2020-09-17 13:10:19 +02:00
Hubert Chrzaniuk 6e9bdb3dc1 [EGD-3468] Fix metadata of audio files 2020-09-14 16:55:17 +02:00
Hubert Chrzaniuk ee3167c165 [EGD-3035] unify time formatting functions 2020-09-08 13:53:45 +02:00
Tomasz Sobkowiak 45773ddfdf [EDG-3415] Handle new line when entering text 2020-09-04 13:12:02 +02:00
Bartek Cichocki 9095333b2c [EGD-3502] PR fixes 2020-09-02 17:26:01 +02:00
Bartek Cichocki 9eeeb6ae92 [EGD-3502] reworked endpoints and handlers
added endpoint listener to query
2020-09-02 17:26:01 +02:00