151 Commits

Author SHA1 Message Date
Myzel394
9cf0b6c38f
chore: Change com.sadellie.unitto -> app.myzel394.numberhub 2024-04-21 21:52:39 +02:00
Sad Ellie
d34c01ed6a Refactor Calculator
- no longer abusing mapLatest and StateFlow
2024-02-28 22:10:11 +03:00
Sad Ellie
eb00d8a76e Spotless and ktlint 2024-02-15 22:04:46 +03:00
Sad Ellie
76685339d7 Save calculator keyboard state
closes #175
2024-02-14 22:46:43 +03:00
Sad Ellie
2ddbc496d5 Code clean up 2024-02-14 22:02:42 +03:00
Sad Ellie
51700687a2 Call Mr. Clean to clean up Calculator module 2024-02-14 21:58:44 +03:00
Sad Ellie
263a1139dc Refactor FormatterSymbols
closes #90
2024-02-12 22:12:07 +03:00
Sad Ellie
80f1624748 Cleaner UI
closes #182
2024-02-10 17:09:30 +03:00
Sad Ellie
5c81a1c675 Prepare for text2
Enabled physical keyboard support (#148), but not tested
2024-02-05 23:33:03 +03:00
Sad Ellie
bf9bf37812 Clean up build files 2024-02-05 00:10:23 +03:00
Sad Ellie
402f48ee1f Delete calculator history item by one
closes #58
2024-02-04 23:50:12 +03:00
Sad Ellie
9a865b4049 Rewrite FixedExpressionInputTextField 2024-02-04 19:50:54 +03:00
Sad Ellie
b2030ad9dc Remove RPN experiment 2024-02-04 19:16:10 +03:00
Sad Ellie
28a4e1b668 tiny clean up 2024-01-24 17:56:55 +03:00
Sad Ellie
13bb808455 fixup! Refactor haptic preference 2024-01-21 21:52:09 +03:00
Sad Ellie
bddd4c06d1 Refactor haptic preference 2024-01-21 21:45:58 +03:00
Sad Ellie
8b526e1b14 Rename to Euler 2024-01-21 21:27:36 +03:00
Sad Ellie
0e0a545ee1 Add content description for keyboard buttons
closes #166
2024-01-21 21:23:39 +03:00
Sad Ellie
e90c30a695 Rename stuff
- no more childish "my..." names
- reduced the usage of app name
2024-01-21 00:30:36 +03:00
Sad Ellie
c1dce24645 Clear focus after equal click
#165
2024-01-19 11:04:14 +03:00
Sad Ellie
9f8c5b8c36 Rename parameter from evaluate to equal 2024-01-19 00:28:54 +03:00
Sad Ellie
25304332f1 Adjust icon size 2024-01-18 13:58:57 +03:00
Sad Ellie
84c29682f8 Normalize icons for potential icon packs feature 2024-01-17 18:10:39 +03:00
Sad Ellie
9f24b9b3cc Refactor TopLevelDestinations
closes #160
closes #161
2024-01-15 18:23:15 +03:00
Sad Ellie
e8fb78ed61 AutoSizeTextField
closes: #137
2024-01-11 23:16:35 +03:00
Sad Ellie
caa2979d42 Place cursor at the start of input after evaluating
closes #151
2024-01-07 01:01:36 +03:00
Sad Ellie
37f25ed3ba Fix ugly minus token from result
closes #152
2024-01-04 19:45:15 +03:00
Sad Ellie
d0fcf5b138 Continuous calculations
closes #147
2024-01-03 14:45:54 +03:00
Sad Ellie
54f53f2380 Don't remember heights in CalculatorKeyboard
closes #140
2024-01-02 19:47:38 +03:00
Sad Ellie
55670cf06e Basic widget implementation #141
squashed commit
2024-01-02 19:38:00 +03:00
Sad Ellie
0793f0a19b Use alternative modifiers for keyboard 2023-12-12 10:36:31 +03:00
Sad Ellie
36fe441ded Fix keyboard size
closes #140
2023-12-12 09:46:46 +03:00
Sad Ellie
f02a4ecf8a Tiny project refactor
- Updated build files
- Removed unused flavor
- Renamed units module
2023-12-02 18:11:38 +03:00
Sad Ellie
8ceaba7a96 Update tests 2023-11-29 17:01:48 +03:00
Sad Ellie
bbf34fb289 Bump
closes: #120
2023-11-28 14:06:47 +03:00
Sad Ellie
a78abc68e9 Responsive layout
closes: #104
2023-11-28 11:29:05 +03:00
Sad Ellie
c843732e0e Taller input box in landscape 2023-11-24 17:14:01 +03:00
Sad Ellie
4305354931 Update text field formatting 2023-11-24 13:22:26 +03:00
Sad Ellie
a12916e7b6 Fix rounding errors in keypad 2023-11-21 23:08:53 +03:00
Sad Ellie
ba43fe82da Add missing method to update input in RPN 2023-11-21 22:16:35 +03:00
Sad Ellie
1def59bca5 Flex keyboards:
- Switched to FlowRow
- Calculating keypad button sizes only once
- Improved responsive design
- Overall decreased GPU usage by 10-20%
- Returned a bug with wide delete button (very sad)

closes: #131
2023-11-21 22:16:35 +03:00
Sad Ellie
9610b5bc38 Refactor BigDecimalUtils 2023-11-21 22:16:35 +03:00
Sad Ellie
60e5f1f998 Basic RPN mode implementation
#125
2023-11-21 22:16:35 +03:00
Sad Ellie
99a91be8ca Clear input as an option
ON by default

closes #117
2023-11-13 22:31:39 +03:00
Sad Ellie
e06bb76b02 Fractional output 2023-11-13 22:08:06 +03:00
Sad Ellie
689c812c11 More robust "=" logic 2023-11-08 23:36:10 +03:00
Sad Ellie
1475e5a948 Improve testability
- Use interfaces to mock objects
- Use only primitives in preferences
2023-10-31 14:58:14 +03:00
Sad Ellie
e42fd625a5 Refactor CalculatorViewModel 2023-10-30 23:17:36 +03:00
Sad Ellie
ef5dc177b2 Revert "bump..."
This reverts commit c7f4b2d5b0cf788f41ee4a57ba9f2b716fbd195f.
2023-10-28 23:05:12 +03:00
Sad Ellie
f648ef1aa6 Close history view on back button press
closes #112
2023-10-28 22:21:10 +03:00