Commit Graph

15 Commits

Author SHA1 Message Date
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
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
cf3e1a10b5 [EGD-6500] Clear calculator input on # long press
Long pound press should clear input text.
2021-04-13 14:21:44 +02: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
PrzeBrudny
1520a9a8ec [EGD-4687] Text enum names cleanup. (#1142)
Change enum names to CamelCase.
2020-12-04 15:51:21 +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
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
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