Commit Graph

476 Commits

Author SHA1 Message Date
serso
3cd6d294d7 Font file update 2016-02-17 09:56:11 +01:00
serso
8a5d163b06 Fix text scales in keyboard buttons 2016-02-16 16:00:22 +01:00
serso
7e41f30e06 Copy translations from AOSP 2016-02-16 15:33:10 +01:00
serso
57cdbad079 Rename values directories 2016-02-16 15:22:34 +01:00
serso
9eee427cbb Don't remove OnPreDrawListener but keep the last used height 2016-02-15 09:50:57 +01:00
serso
fb79a9923f Bring back haptic feedback preference 2016-02-14 22:34:48 +01:00
serso
b7d5ea03ce Fix preferences 2016-02-14 00:10:09 +01:00
serso
e917e7f955 Preferences are imported to Cpp project 2016-02-13 23:51:35 +01:00
serso
7dfb6dc45b Remove intermediate method 2016-02-13 23:51:22 +01:00
serso
164b24a3dd Add converter translations 2016-02-13 23:37:49 +01:00
serso
f45585edc6 Read from/write to Android resource files 2016-02-13 23:30:37 +01:00
serso
a60817b491 Refactor button handling in dialog fragments 2016-02-12 12:46:12 +01:00
serso
9879046288 Buttons 2016-02-11 23:47:47 +01:00
serso
52cc460451 Number formatting 2016-02-11 23:39:34 +01:00
serso
fc48886929 Swap icons for light theme 2016-02-11 23:08:09 +01:00
serso
12c25b6ca6 Convert on text change 2016-02-11 23:04:18 +01:00
serso
bc43fa91c3 Remove unsed code 2016-02-11 16:32:06 +01:00
serso
7350a9ed0c Numeral bases 2016-02-11 16:26:18 +01:00
serso
9e10640e54 Converter 2016-02-10 23:58:19 +01:00
serso
441ccdfc8a Converter 2016-02-10 17:41:32 +01:00
serso
a327a9b97b Don't use android.appAlertDialog 2016-02-09 15:52:43 +01:00
serso
47075b0c10 Keyboard styles 2016-02-07 20:18:37 +01:00
serso
30eed6af8c Avoid nullable filesDir 2016-02-07 19:39:40 +01:00
serso
8c1143cb8f Debug instead of warning 2016-02-07 19:37:34 +01:00
serso
01ef5838d3 Don't set preferences every time the app starts 2016-02-07 14:06:41 +01:00
serso
106783eee7 Fix assertion
EditorView must have Editor attached
2016-02-07 13:56:17 +01:00
serso
fc5eb9e281 Make DisplayView scrollable 2016-02-07 13:55:05 +01:00
serso
e78c583dce Make debug builds with proguard faster 2016-02-07 13:36:17 +01:00
serso
c528d181db Make search faster (use a non-constant step) 2016-02-07 13:35:51 +01:00
serso
8bd412a315 Remove Hugo 2016-02-07 12:30:52 +01:00
serso
3d33ae6b64 Remove Hugo from AutoResizeTextView 2016-02-07 12:30:43 +01:00
serso
191feb6044 Fix text auto resizing in DisplayView 2016-02-06 23:57:00 +01:00
serso
667583f95f View might not be relayouted after the text change, try to resize text if we have measured height and width 2016-02-06 23:56:15 +01:00
serso
5fb04114a8 Scale text up 2016-02-06 23:46:39 +01:00
serso
aac0d7730b Removed meaningless modifier 2016-02-06 22:50:57 +01:00
serso
75e50893c3 Use cached instance of TextPaint 2016-02-06 22:50:33 +01:00
serso
9e45f62003 Fix java docs 2016-02-06 22:49:45 +01:00
serso
c41f7d15cb Suppress "Unused methods" warning 2016-02-06 22:49:12 +01:00
serso
2debcb80d8 Use UTF ellipsis 2016-02-06 22:48:39 +01:00
serso
3bda012fba Formatting applied 2016-02-06 22:48:13 +01:00
serso
41ccd6668c AutoResizeTextView imported from stackoverflow
see http://stackoverflow.com/a/5535672/720489
2016-02-06 22:47:58 +01:00
serso
17fd930247 Add Hugo library 2016-02-06 21:50:41 +01:00
serso
589ac6b178 KeyboardUi 2016-02-06 16:14:19 +01:00
serso
5d30d57d8f CppCheckout 2016-02-06 11:17:29 +01:00
serso
dbf4c14d42 CalculatorFragmentType -> FragmentTab 2016-02-06 10:48:44 +01:00
serso
05024841e7 Fragments 2016-02-05 21:52:36 +01:00
serso
9d9da8a608 Buttons class moved 2016-02-05 16:43:13 +01:00
serso
f50f8b599b Remove CalculatorMenu 2016-02-04 17:19:25 +01:00
serso
07a1608a80 ActivityLauncher 2016-02-04 17:05:25 +01:00
serso
ebdfbc328c Avoid using Locator/App in CppSpecialButton 2016-02-04 13:53:20 +01:00
serso
31737ee6a1 Buttons refactor 2016-02-04 13:30:22 +01:00
serso
e0528ae340 Button moved to a separate package 2016-02-04 13:06:03 +01:00
serso
b09b3c11a8 Buttons refactor 2016-02-04 13:04:09 +01:00
serso
ba049e7f28 Avoid using Locator.getKeyboard 2016-02-04 12:59:06 +01:00
serso
d8a97112bc App.cast method introduced 2016-02-04 12:15:08 +01:00
serso
89680ef544 Changes 2016-02-01 23:15:10 +01:00
serso
8c56dd1083 Substitute calculator events with Otto bus events 2016-02-01 22:27:07 +01:00
serso
9c5652def0 Locator methods removed 2016-02-01 21:43:48 +01:00
serso
570221d691 AndroidCalculator class removed 2016-02-01 21:14:33 +01:00
serso
a219db0391 Display changes 2016-01-31 21:36:14 +01:00
serso
af43970d9b FixableErrorsActivity 2016-01-31 20:46:47 +01:00
serso
5f4d545511 Remove unused classes 2016-01-31 10:37:42 +01:00
serso
030a93cce5 Clipboard as a Bean 2016-01-31 10:35:10 +01:00
serso
654f4b8809 Avoid Operators: prefix for derivatives 2016-01-31 10:26:26 +01:00
serso
1fe67e9183 Functions and operators should use toString in EntitiesFragment 2016-01-31 10:23:57 +01:00
serso
6d7e75d94b Operators 2016-01-31 10:15:21 +01:00
serso
a67a647add Move 2016-01-31 09:54:14 +01:00
serso
c68b6c5803 Changes 2016-01-30 22:43:06 +01:00
serso
3797f26330 Code cleanup 2016-01-30 22:28:58 +01:00
serso
51ced42d8e Variables refactor 2016-01-30 22:27:25 +01:00
serso
a52bc5f5e4 firstTime argument in onShowDialog method 2016-01-30 21:14:08 +01:00
serso
0170c3bb6a Variable validation 2016-01-30 21:12:24 +01:00
serso
4a9e8bf78a Fixes 2016-01-30 14:00:28 +01:00
serso
37c40001d7 Greek keyboard 2016-01-30 13:58:14 +01:00
serso
f914704a9c Changes 2016-01-30 11:24:56 +01:00
serso
bb6ac5f144 Fragment moved and renamed 2016-01-30 11:24:38 +01:00
serso
b15856e08f FunctionsActivity doesn't set pass function to FunctionsFragment now 2016-01-30 11:20:47 +01:00
serso
e82d7d2a91 Refactor variables 2016-01-29 21:33:26 +01:00
serso
f13c6dd493 variables package 2016-01-29 21:26:48 +01:00
serso
9d2f739e22 function package changed to functions 2016-01-29 21:23:18 +01:00
serso
9c71e329cd FunctionRemovalDialog 2016-01-29 21:17:50 +01:00
serso
92bbfa1f73 New version of Otto Bus annotation processor 2016-01-29 19:30:07 +01:00
serso
dd967991d4 New version of Otto Bus annotation processor 2016-01-28 23:05:15 +01:00
serso
cb2047d05e Variables refactor 2016-01-28 15:19:18 +01:00
serso
2448f1b387 Variables refactor 2016-01-27 17:33:01 +01:00
serso
f767f10795 VarsRegistry->VariablesRegistry 2016-01-27 17:09:33 +01:00
serso
59e4a15bd2 Use annotation processing in Otto 2016-01-26 22:36:14 +01:00
serso
362ec885fe Avoid looking up all locales for system language 2016-01-25 19:56:26 +01:00
serso
251bb10965 Don't minify debug builds 2016-01-25 19:32:26 +01:00
serso
c9b39068ae Android 2.3 fixes 2016-01-25 11:06:32 +01:00
serso
f05d050b6c Memory performance improvements 2016-01-25 10:34:12 +01:00
serso
9d4365cc79 Make cursor string static, otherwise, it is created every time CAppWidgetProvider is created 2016-01-24 23:45:31 +01:00
serso
bd91238b14 Memory improvements 2016-01-24 23:40:56 +01:00
serso
c000a525db Optimize work with lists 2016-01-24 22:52:55 +01:00
serso
e751d2cbd4 JSCL imported to C++ 2016-01-24 21:03:04 +01:00
serso
1120864668 Functions loading fails sometimes 2016-01-24 13:30:31 +01:00
serso
26ac11ce89 Fix for functions existence check 2016-01-24 12:46:45 +01:00
serso
23e96122a3 Don't crash if ACRA is disabled 2016-01-24 12:43:19 +01:00
serso
b5705702eb FunctionsActivity 2016-01-24 12:19:49 +01:00
serso
0b5bc2b621 Categories removed 2016-01-23 21:13:56 +01:00
serso
18b7ac83c1 Focus on new parameter 2016-01-23 14:20:22 +01:00
serso
2e19256941 isNewFunction + fix for RuntimeExceptions from registry 2016-01-23 14:03:46 +01:00
serso
4245dc7cc0 Fix text color in KeyboardUi 2016-01-23 13:52:11 +01:00
serso
9c73c5df23 Landscape keyboard UI 2016-01-23 13:48:25 +01:00
serso
a10075d6f5 EditFunctionFragment styling 2016-01-23 12:28:53 +01:00
serso
dd23f0a906 Remove assert from constructor 2016-01-23 11:41:53 +01:00
serso
81510d18ea Changes 2016-01-22 23:36:36 +01:00
serso
bbaedc71c9 LongClickEraser generalized 2016-01-22 23:15:03 +01:00
serso
a18f3210c3 Unused class removed 2016-01-22 22:55:35 +01:00
serso
d0cd2b8420 EditFunctionFragment changes 2016-01-22 17:13:37 +01:00
serso
2a8c559a01 EditFunctionFragment changes 2016-01-21 11:20:43 +01:00
serso
3a879b0de8 FunctionsRegistry refactor 2016-01-20 21:51:21 +01:00
serso
591cfa4648 Rename 2016-01-20 17:04:17 +01:00
serso
7faef42dea Engine refactor 2016-01-20 10:46:23 +01:00
serso
1d366123b3 CalculatorAndroidEngine and CalculatorEngineImple merged into one Engine 2016-01-19 23:22:05 +01:00
serso
67a386f573 Engine interface removed 2016-01-19 22:48:35 +01:00
serso
712f94484f KeyboardUi in EditFunctionDialog 2016-01-19 12:59:57 +01:00
serso
58da5a169e EditFunctionFragment 2016-01-18 14:10:03 +01:00
serso
498b2f5429 EditFunctionDialog 2016-01-17 22:09:40 +01:00
serso
b5600114ed EntitiesFragment 2016-01-17 18:45:20 +01:00
serso
c0710801cd Fix for grouping separators outside of numbers 2016-01-16 19:27:56 +01:00
serso
053f52aa25 Dark divider 2016-01-16 15:44:24 +01:00
serso
45a71817c8 Changes 2016-01-16 15:32:21 +01:00
serso
4323c688c5 History changes 2016-01-16 12:55:55 +01:00
serso
77ae5dad9d History changes 2016-01-16 12:41:29 +01:00
serso
e5d0a8d822 EditHistoryFragment 2016-01-15 13:58:45 +01:00
serso
4dc87854d8 EditHistoryFragment 2016-01-14 17:34:19 +01:00
serso
6eb6b3cabe Report error only where it is appropriate 2016-01-14 16:20:44 +01:00
serso
91a8a1122b Logger -> ErrorReporter 2016-01-14 16:03:57 +01:00
serso
e015a12718 Tests added 2016-01-14 12:36:52 +01:00
serso
5efa9cd3a0 Take into account grouping separator 2016-01-14 10:32:04 +01:00
serso
33c0f44a73 migration test added 2016-01-14 10:13:12 +01:00
serso
6734bfeaa4 History tests 2016-01-13 23:09:07 +01:00
serso
1e8be31ab5 Dagger 2 DI 2016-01-13 17:41:05 +01:00
serso
96788ccc1f CurrentHistory -> RecentHistory 2016-01-13 10:38:52 +01:00
serso
269df2f727 Fix how intermediate result is checked 2016-01-12 17:07:01 +01:00
serso
6aa8c07ab3 Don't file if file doesn't exist 2016-01-12 14:29:24 +01:00
serso
5c663e7b24 Save history states 2016-01-12 14:26:29 +01:00
serso
5813f41f4c CalculatorHistory -> History 2016-01-12 14:00:58 +01:00
serso
6d91013858 History 2016-01-12 10:49:50 +01:00
serso
a57d4aab57 History refactor 2016-01-11 20:57:19 +01:00
serso
3fd671877d History refactor 2016-01-11 17:20:57 +01:00
serso
b21d8084f0 History refactor 2016-01-10 23:27:14 +01:00
serso
0badc913c0 1. useHistoryState event type has been removed
2. ContextMenu is now used for context menu in HistoryFragment
2016-01-10 13:24:06 +01:00
serso
00f75ce825 ActionBarActivity -> AppCompatActivity 2016-01-10 12:40:34 +01:00
serso
4a7f44b864 Languages should start listening to preferences changes only after default values have been set 2016-01-10 12:40:21 +01:00
serso
666c3730bc Unnecessary try/finally removed 2016-01-10 12:29:05 +01:00
serso
bf24414690 Editor refactor 2016-01-10 12:27:21 +01:00
serso
b120283adb Display refactored 2016-01-09 23:53:41 +01:00
serso
5e1c47963c Otto bus is added to the project 2016-01-09 22:48:36 +01:00
serso
21b56bbe59 Intents in Broabcaster are now cached 2016-01-09 18:08:42 +01:00
serso
7f5d3c9fe4 Application refactor 2016-01-08 21:01:56 +01:00
serso
72654932f2 Let's not allocate iterate but use good old for loop 2016-01-08 16:35:27 +01:00
serso
637827d79d Use partiallyUpdateAppWidget method to avoid settings all buttons again 2016-01-08 16:18:03 +01:00
serso
d77582e342 Use static cache for intents 2016-01-08 15:57:34 +01:00
serso
7774d87d97 Vibrator has been removed from the app 2016-01-08 12:37:28 +01:00
serso
0c78ac3322 Refactor 2016-01-08 10:30:09 +01:00
serso
e3c3abf828 Refactor 2016-01-08 10:09:24 +01:00
serso
d1c068edff EditorView refactored 2016-01-07 21:36:01 +01:00
serso
6b89deee80 Calculation time preference removed 2016-01-07 20:38:20 +01:00
serso
5ba8937f06 Method removed 2016-01-07 20:29:04 +01:00
serso
781f3d5648 Fix too light and too dark colors in editor/display 2016-01-07 20:22:28 +01:00
serso
40390b537d Widget fix 2016-01-07 17:25:46 +01:00
serso
0467fd9b4f minSdkVersion brought back to 9 2016-01-07 17:15:54 +01:00
serso
be98a7b58e Html.fromHtml is removed from CalculatorDisplayView 2016-01-07 12:14:19 +01:00
serso
2215b11e6f Text highlighter optimizations 2016-01-07 12:11:07 +01:00
serso
25c83bac94 Use editor string's spans only if main and widget theme are both light or dark 2016-01-06 23:10:31 +01:00
serso
926909a62d Show Widget Settings if settings button was clicked 2016-01-06 15:07:08 +01:00
serso
640580a3d8 Widget optimization: Html.fromHtml shouldn't be used as very slow and memory-consuming 2016-01-06 14:54:09 +01:00
serso
39d50574aa Widgets refactor 2016-01-06 14:33:13 +01:00
serso
6e63000928 Debug proguard config update 2016-01-06 12:40:37 +01:00
serso
4551564e63 Build files simplified 2016-01-06 12:38:39 +01:00
serso
e7b2e584bb Unit test fixed 2016-01-06 12:18:15 +01:00
serso
c015b44aa7 Fixes for tests 2016-01-05 17:34:03 +01:00
serso
60d65d52df app-tests module merged into app module 2016-01-05 17:14:14 +01:00
serso
7da69a2083 android-app -> app
android-app-tests -> app-tests
2016-01-05 09:46:58 +01:00