Commit Graph

66 Commits

Author SHA1 Message Date
Sergey Solovyev
68cded37d9 Update Gradle configuration 2018-04-29 19:04:13 +02:00
serso
f41a37fe31 Fix more unit tests 2017-08-18 15:38:35 +02:00
serso
d81025eaf8 Fix possible IndexOutOfBoundsException due to concurrent access 2017-08-02 10:59:56 +02:00
serso
07b989f00e Fix IndexOutOfBoundsException caused by asynchronous init of MathRegistry 2017-07-26 10:16:59 +02:00
serso
3c03f3948d Decrease precision in ENG mode and migrate the settings 2017-07-26 10:07:32 +02:00
serso
c6e62fee37 Fix NPE in MathType.getType
java.lang.NullPointerException
at java.lang.String.startsWith(String.java:1428)
at org.solovyev.android.calculator.App.find(SourceFile:167)
at org.solovyev.android.calculator.math.MathType.getType(SourceFile:285)
at org.solovyev.android.calculator.view.TextHighlighter.process(SourceFile:99)
at org.solovyev.android.calculator.view.EditorTextProcessor.process(SourceFile:36)
at org.solovyev.android.calculator.Editor.onTextChanged(SourceFile:105)
at org.solovyev.android.calculator.history.History.org.solovyev.android.calculator.Editor.onTextChanged(SourceFile:15098)
at org.solovyev.android.calculator.history.History$2.run(SourceFile:227)
at android.os.Handler.handleCallback(Handler.java:733)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5127)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:825)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:641)
at dalvik.system.NativeStart.main(Native Method)
2017-07-04 16:55:11 +02:00
Sergey Solovyev
fd0dc88c64 Delay math registry initialization 2017-05-25 16:50:25 +02:00
Sergey Solovyev
ef4ca97e2e Make sorting faster 2017-05-25 16:01:42 +02:00
serso
28ac55a0ca Add number formatting test and fix rounding 2016-07-11 12:12:19 +02:00
serso
7fb081d9a4 Don't send function names in user reports 2016-05-22 23:12:02 +02:00
serso
eb1c733153 Number format preferences screen 2016-05-04 23:39:46 +02:00
serso
49ab48a44c Fix tests 2016-05-02 22:52:25 +02:00
serso
12715e04a0 Store grouping separator in integer preference and remove boolean from Engine 2016-05-02 22:51:36 +02:00
serso
99452483f8 Reformat code and remove unused code 2016-05-02 22:49:10 +02:00
serso
8add68bddb Make maxPrecision=15 2016-05-02 17:20:50 +02:00
serso
6e2f20dd01 Remove round preference 2016-05-02 17:16:56 +02:00
serso
2ac061d8ba Remove scientificNotation preference and use Output.notation instead 2016-05-02 15:37:19 +02:00
serso
7e26b35199 Store grouping separator in integer preference and remove boolean from Engine 2016-05-02 14:21:45 +02:00
serso
ed08c88d4f Fix Jscl tests 2016-04-27 21:17:22 +02:00
serso
408847f985 Percent test 2016-04-27 20:59:31 +02:00
serso
5315679add Throw exception if expression contains a triple factorial 2016-04-27 20:58:55 +02:00
serso
af5bf16182 Real should indicate error in parsing 2016-04-22 21:28:26 +02:00
serso
65d05ca60d Make graphs sparser 2016-04-20 15:56:10 +02:00
serso
ae4c7ec11f Numeral system converter 2016-04-19 22:45:37 +02:00
serso
dec7754eb0 Use Set instead of list for better performance 2016-04-19 22:04:05 +02:00
serso
7547ee7a98 Make NumeralBase fields public 2016-04-19 21:56:06 +02:00
serso
85b9cdc56a Format BigInteger directly 2016-04-16 21:40:49 +02:00
serso
9e9e856c24 Use primitive types in number formatting 2016-04-16 21:09:47 +02:00
serso
f7e2229687 bin/hex numbers should always use space as a grouping separator 2016-04-16 21:04:44 +02:00
serso
c1f013b707 Simple format should be used for small numbers if rounding is enabled
In order to avoid getting cos(90)=-13.3123123E-17
2016-04-12 16:22:27 +02:00
serso
858f3f32b2 Number formatting 2016-04-10 22:46:05 +02:00
serso
64a58c2047 Numbers in functions should be of decimal base 2016-04-10 21:42:20 +02:00
serso
a2d5d89fe4 Remove DecimalFormatSymbols from JsclMathEngine 2016-04-10 21:29:34 +02:00
serso
29d4d77831 Use Real all the time 2016-04-09 21:12:15 +02:00
serso
5571ff9c8a Converter changes 2016-04-04 16:32:54 +02:00
serso
d9e9380a6d True engineering number formatting 2016-04-03 00:46:58 +02:00
serso
f5a9f30e04 TreeMap must be used for variables as they don't implement hashCode 2016-04-03 00:46:40 +02:00
serso
b1eb2c7d37 Use diamonds 2016-04-03 00:45:44 +02:00
serso
5263b447ab Move Real to JSCL 2016-04-02 22:58:06 +02:00
serso
f12aea8495 Don't allow implicit functions in CustomFunction 2016-04-02 19:39:04 +02:00
serso
2529e4132f Fix history test 2016-03-27 20:59:53 +02:00
serso
84be914bd5 Memory 2016-03-09 21:29:16 +01:00
serso
a81ce84aff Memory improvements 2016-03-05 12:33:43 +01:00
serso
b1a0e588c1 Module operator fix 2016-03-05 11:43:54 +01:00
serso
2c15e43d87 Use old good for loop 2016-03-04 22:41:27 +01:00
serso
8d4a16efe6 Code reformat 2016-03-04 22:33:10 +01:00
serso
01c6597129 Fix display error message 2016-03-02 10:35:24 +01:00
serso
eac923830c Remove classes 2016-03-02 09:20:13 +01:00
serso
4fa55d6bbc Remove dependencies 2016-03-02 08:25:41 +01:00
serso
d1d6ab62dd Remove Locator class 2016-02-28 23:49:41 +01:00