Commit Graph

18 Commits

Author SHA1 Message Date
Bartosz Cichocki
3228cf7904 [EGD-7021] Fix calculator comma crash
There was a crash when system separator was set as a comma -
replace function was throwing out-of-range error while converting
from full-stop to comma
2021-08-02 13:23:56 +02:00
Paweł Joński
8e0f008a63 [BH-379] Librarize application-calculator
Librarize application-calculator
2021-06-28 18:58:58 +02:00
Artur Śleszyński
ef12b04748 [EGD-5849] Make calculator compute previous operations
Modify calculator behavior according to PO input:
* Compute existing equation before entering next operation
* Limit digit input to 7 digits
* Start each number input from empty input
2021-04-23 13:02:56 +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
Artur Śleszyński
a702bbd17c [EGD-6561] Make calculator input testable
I got sick of manually testing calculator like a troglodyte.
2021-04-20 13:17:54 +02:00
Artur Śleszyński
41eced23b3 [EGD-6560] Do not clear "0" on Enter in calculator
Do not treat input string "0" as erroneous.
2021-04-19 09:43:46 +02:00
Artur Śleszyński
eac3d23626 [EGD-6498] Do not perform calculations on empty input
We do not produce an error when user calculates empty input.
2021-04-14 15:42:09 +02:00
Lucjan Bryndza
46f9cc7e10 [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:07:23 +01:00
Jakub Pyszczak
5ad8a9bc65 [EGD-5145] Fix remove vfs include from UT
Deprecated vfs is no more accessible. Deleted old includes.
2021-02-17 17:02:15 +01:00
Jakub Pyszczak
7e36ee7c19 [EGD-5088] Change new filesystem implementation
Removed deprecated vfs calls from all applications.
2021-02-17 16:06:23 +01:00
KacperLewandowski
c2cd94a6f2 [EGD-4417] Fix operations in calculator
1. Fix possibility to write illogical operations.
2. Fix possibility to write multiple '0' when it is not needed.
3. Add scientific notation when result do not fit on screen.
2021-01-20 21:57:09 +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
Krzysztof Mozdzynski
d48d2d8b0d [EGD-4167] Add n display languages loaded from files (#1047) 2020-11-27 02:21:14 +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
Lucjan 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
Radoslaw Wicik
2276ceed67 [EGD-3743] Update copyrights in fies 2020-10-20 12:55:10 +02:00
KacperLewandowski
ad626ebc93 [EGD-3857] Create calculator application 2020-10-15 14:57:57 +02:00