Commit Graph

514 Commits

Author SHA1 Message Date
Arthur Drobot 1cd544e712 Merge branch 'master' of https://github.com/DanilaFe/abacus 2017-08-07 14:08:17 -07:00
Arthur Drobot a8c70a6bbe Add checking of negative bases raised to non-integer powers in matchesParams in OP_CARET. 2017-08-07 14:05:15 -07:00
Danila Fedorin f28e915c9a Fix not clearing unloaded plugins. 2017-08-07 13:55:24 -07:00
Danila Fedorin 7a0863380a Add a list of functions to the controller. 2017-08-07 13:55:13 -07:00
Arthur Drobot 8a9df051cf Optimize pow for integer bases. 2017-08-07 13:43:12 -07:00
Arthur Drobot 4eda15b3fb Modify some functions in PreciseNumber for consistency. 2017-08-07 13:41:45 -07:00
Danila Fedorin c9e0d4f8d3 Fix broken documentation,. 2017-08-07 11:18:01 -07:00
Danila Fedorin 213d7af10b Merge branch 'remove-caching'
# Conflicts:
#	src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java
2017-08-07 11:14:11 -07:00
Danila Fedorin 585a3839c1 Merge branch 'time-limit' 2017-08-07 11:12:12 -07:00
Danila Fedorin 205b73f62c Add missing comments. 2017-08-07 11:11:41 -07:00
Danila Fedorin 1cd332b97d Remove output. 2017-08-07 10:58:07 -07:00
Danila Fedorin 314552f95a Read delay input from input field, and kill delay thread. 2017-08-07 10:58:04 -07:00
Danila Fedorin c5ec521996 Fix tests to work with the configuration. 2017-08-07 10:57:51 -07:00
Danila Fedorin 4712bbfded Add a setting to the timeout delay. 2017-08-07 10:57:48 -07:00
Danila Fedorin 7ae7f6d9a5 Add a timer to the computation thread to stop it from running. 2017-08-07 10:57:04 -07:00
Arthur Drobot d0ccb8b625 Improve some comments of NumberInterface functions. 2017-08-07 10:54:27 -07:00
Arthur Drobot 7d5efa1fe6 Add fromInt function into StandardPlugin and replace existing instantiations and promotions of NaiveNumbers with integer values with fromInt calls. 2017-08-07 10:33:16 -07:00
Danila Fedorin 35254d3e99 Rename getPi to piFor. 2017-08-06 21:56:49 -07:00
Danila Fedorin 44f018060d Remove the useless caching in the plugin manager and the maps in plugins 2017-08-06 21:55:09 -07:00
arthur326 6a15c266c4 Fix typo in cot function. 2017-08-06 18:13:01 -07:00
Danila Fedorin 9f61fc5dbe Remove the correct unused intPow function. 2017-08-05 18:23:24 -07:00
Danila Fedorin bae6ee5526 Revert "Remove the NumberInterface::intPow method."
0c16bb4e9b
2017-08-05 18:22:43 -07:00
Danila Fedorin 4f94700aef Remove the NumberInterface::intPow method. 2017-08-05 18:11:16 -07:00
Danila Fedorin b7152da58d Merge branch 'stoppable-alternate' 2017-08-05 17:58:26 -07:00
Danila Fedorin d17a8a9fa7 Add missing javadoc. 2017-08-05 17:29:35 -07:00
Danila Fedorin 71c9f0d141 Merge branch 'documentation' 2017-08-05 17:28:08 -07:00
Danila Fedorin fb02984e60 Decrease test intensity to prevent travis CI from killing gradle. 2017-08-05 17:24:16 -07:00
Danila Fedorin a9ac4681f0 Use a specific configuration instead of chancing it with a local file. 2017-08-05 17:13:03 -07:00
Danila Fedorin 62d7053441 Get rid of unnecessary supplier. 2017-08-05 17:09:12 -07:00
Danila Fedorin f3cbb600ac Remove the default load-from-file behavior from the Abacus core. 2017-08-05 17:04:07 -07:00
Danila Fedorin abc0e2d59f Add tests for more complex functions. 2017-08-05 16:57:52 -07:00
Danila Fedorin f7d1be086b Add tests for basic operations. 2017-08-05 16:57:22 -07:00
Danila Fedorin 21a925d6d2 Write two functions to help test the code. 2017-08-05 16:56:50 -07:00
Danila Fedorin 0d21898f20 Make loading plugins a non-core part of Abacus, avoiding desktop APIs. 2017-08-05 16:21:02 -07:00
Danila Fedorin 3e39087fde Add numerous documentation fixes. 2017-08-05 16:15:30 -07:00
Danila Fedorin a984f2960d Prevent leaving unparsed tokens ignored, throwing error instead. 2017-08-05 16:01:08 -07:00
Danila Fedorin a6832e09f4 Fix mismatched parentheses causing exceptions. 2017-08-05 15:59:49 -07:00
Danila Fedorin 0bcb3b25d9 Fix exception handling. 2017-08-05 15:58:43 -07:00
Danila Fedorin 2f5f967be4 Add new comments. 2017-08-05 15:19:39 -07:00
Danila Fedorin 72a2a8f1c1 Set output string correctly. 2017-08-05 14:43:24 -07:00
Danila Fedorin 58fc94e9d0 Fix clearing input field. 2017-08-05 14:36:42 -07:00
Danila Fedorin 9cedb100ad Re-introduce arthur326's fix for ln speed. 2017-08-05 14:34:57 -07:00
Danila Fedorin 99be2d80f1 Run calculations via thread, and stop thread if necessary. 2017-08-05 14:34:31 -07:00
Danila Fedorin 2523b9b04b Add a stop button. 2017-08-05 13:57:27 -07:00
Danila Fedorin cd60c9d52f Convert NumberInterface into abstract class, and check for interruption. 2017-08-05 13:54:06 -07:00
Danila Fedorin 23a3eb88f1 Remove old stopping code. 2017-08-05 13:26:29 -07:00
Danila Fedorin 508e98413d Fix caret just multiplying. 2017-08-04 14:54:01 -07:00
Danila Fedorin d06f611a2e Remove leftover merge conflict marker. 2017-08-04 14:48:08 -07:00
Danila Fedorin c541eaab97 Format code. 2017-08-04 14:29:24 -07:00
Danila Fedorin 0058ec9c71 Merge branch 'stoppable-new'
# Conflicts:
#	src/main/java/org/nwapw/abacus/fx/AbacusController.java
#	src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java
2017-08-04 14:28:22 -07:00