Commit Graph

10128 Commits

Author SHA1 Message Date
Émilie Feral
ae438ca546 [poincare] DivisionQuotient, DivisionRemainder: add method to reduce on
Integers
2020-02-12 15:13:19 +01:00
Émilie Feral
de2046fea8 [poincare] BasedInteger: fix multiplication sign with Decimal integer 2020-02-12 15:13:19 +01:00
Émilie Feral
280f20c93c [poincare] Fix remainder of division by 0: rem(12,0) should be undefined
and not infinity
2020-02-12 15:13:19 +01:00
Émilie Feral
f47a18bf4a [calculation] Remove useless includes 2020-02-12 15:13:19 +01:00
Émilie Feral
df47a355a2 [calculation] HistoryController: display RationalListController when
clicking on a burger of a Rational input
2020-02-12 15:13:19 +01:00
Émilie Feral
54f1984cf0 [calculation] Create a class RationalListController 2020-02-12 15:13:19 +01:00
Émilie Feral
47e7a8407b [calculation] WIP: add messages for RationalListController 2020-02-12 15:13:19 +01:00
Émilie Feral
f94727b62d [calculation] HistoryController: factorize code 2020-02-12 15:13:19 +01:00
Émilie Feral
1dae85694f [calculation] IllustratedListController: empty calculation store before
reloading it
2020-02-12 15:13:19 +01:00
Émilie Feral
847eb8d907 [calculation] Create a class ListController to factorize
IllustratedListController and SimpleListController
2020-02-12 15:13:19 +01:00
Émilie Feral
714e5f12d9 [calculation] WIP: display IntegerListController when clicking on a
burger view of an integer input
2020-02-12 15:13:19 +01:00
Émilie Feral
51d5fc0473 [calculation] AdditionalOutputs: Create a IntegerListController 2020-02-12 15:13:19 +01:00
Émilie Feral
8d40ef8ccb [calculation] Add sketch messages for IntegerListController 2020-02-12 15:13:19 +01:00
Émilie Feral
80100b62af [calculation] Additional outputs: Create a class SimpleListController.
Future IntegerListController and RationalListController will inherit
from it
2020-02-12 15:13:19 +01:00
Émilie Feral
2cae1cdf50 [poincare] Integer: factorize overflown integer handling in
serialization methods
2020-02-12 15:13:19 +01:00
Émilie Feral
7209265254 [poincare] Parser: forbid parsing 0xABCF as 0xABC*F 2020-02-12 15:13:19 +01:00
Émilie Feral
00e8af789b [poincare] BasedInteger: use dot mutliplication sign around
binary/hexadecimal integers
2020-02-12 15:13:19 +01:00
Émilie Feral
a900e39cf3 [poincare] Parser: fix sequence parsing 2020-02-12 15:13:19 +01:00
Émilie Feral
b875d02fdf [poincare] Parsing: prevents from tokenizing "0b" "0x" 2020-02-12 15:13:19 +01:00
Émilie Feral
30c4e01737 [poincare] Fix and add tests about BasedInteger 2020-02-12 15:13:19 +01:00
Émilie Feral
1f3dc95a0f [poincare] Fix AdditionalInformation on Integer and Rational 2020-02-12 15:13:19 +01:00
Émilie Feral
aabe663376 [poincare] Number: "12242" is parsed as a BasedInteger instead of a
Rational
2020-02-12 15:13:19 +01:00
Émilie Feral
ce85fa2185 [poincare] BasedInteger: fix multiplication sign between 0x23A and π 2020-02-12 15:13:19 +01:00
Émilie Feral
e72ba3d064 [poincare] Number: fix number to handle BasedInteger case 2020-02-12 15:13:19 +01:00
Émilie Feral
a1b2cbb0a9 [ion] Unicode: clean warning 2020-02-12 15:13:19 +01:00
Émilie Feral
54c55d130a [poincare] Tokenize/Parse BasedInteger 2020-02-12 15:13:19 +01:00
Émilie Feral
7c2ef5847b [poincare] Add class BasedInteger 2020-02-12 15:13:19 +01:00
Émilie Feral
fef07ee239 [poincare] Integer: add methods to serialize/layout/build in hexadecimal and binary 2020-02-12 15:13:19 +01:00
Émilie Feral
49d52f293e [calculation] First version of the TrigonometryListController 2020-02-12 15:13:19 +01:00
Émilie Feral
83a29a822b [calculation] Improve ComplexListController 2020-02-12 15:13:19 +01:00
Émilie Feral
715a1a2d5e [calculation] AdditionalInformation are base on the Calculation input
instead of exact output
2020-02-12 15:13:19 +01:00
Émilie Feral
1eb0744caa [calculation] IllustratedListController: fix setExpression (use virtual
symbol)
2020-02-12 15:13:19 +01:00
Émilie Feral
a75acf6f87 [calculation] IllustratedListController: fix numberOfRows 2020-02-12 15:13:19 +01:00
Émilie Feral
d178adc936 [apps/calculation] Improve expressions that are displayed in Complex
pop-up
2020-02-12 15:13:19 +01:00
Émilie Feral
d698af035c [calculation] ScrollableInputExactApproximateExpressionsView: improve
margins, background color, size
2020-02-12 15:13:19 +01:00
Émilie Feral
157aa206c6 [calculation] Calculation: add a parameter to height to compute the
height of the calculation cell with all expressions inlined
2020-02-12 15:13:19 +01:00
Émilie Feral
52ac7b1a94 [calculation] IllustratedListController: fix first responder when
IllustratedListController becomes first responder
2020-02-12 15:13:19 +01:00
Émilie Feral
24873ef730 [calculation] IllustratedListController: forbid selection of the
illustration cell
2020-02-12 15:13:19 +01:00
Émilie Feral
79a84d1044 [calculation] Add an equal sign in
ScrollableInputExactApproximateExpressionsCell
2020-02-12 15:13:19 +01:00
Émilie Feral
f850226341 [calculation] Fix ScrollableInputExactApproximateExpressionsView margins 2020-02-12 15:13:19 +01:00
Émilie Feral
dcdc5ac879 [calculation] ScrollableInputExactApproximateExpressionsCell inherits
from TableCell to draw borders
2020-02-12 15:13:18 +01:00
Émilie Feral
d1439c2453 [calculation] ScrollableInputExactApproximateExpressionsCell is a
responder
2020-02-12 15:13:18 +01:00
Émilie Feral
90033a54c0 [shared] Avoid extra function call 2020-02-12 15:13:18 +01:00
Émilie Feral
c7ae89fcba [calculation] Additional outputs: display left and center subviews of
InputExactApproximateExpressionsView in the additional output pop-up
2020-02-12 15:13:18 +01:00
Émilie Feral
eac83fce0b [calculation] Improve margins of additional results pop-up 2020-02-12 15:13:18 +01:00
Émilie Feral
2ebbe5ae25 [calculation] WIP: first version of ComplexListController 2020-02-12 15:13:18 +01:00
Émilie Feral
47e4abee81 [apps/calculation] Reload display output when HistoryController appears
(to avoid displaying 2 = 2 when leaving and reentering Calculation app)
2020-02-12 15:13:18 +01:00
Émilie Feral
ec0c7c0384 [apps/calculation] Create ScrollableInputExactApproximateExpressionsView
inheriting from Shared::ScrollableExactApproximateExpressionsView
2020-02-12 15:13:18 +01:00
Émilie Feral
6ed9e11de3 [apps/shared] ScrollableExactApproximateExpressionsView: split
ScrollableExactApproximateExpressionsView into
AbstractScrollableExactApproximateExpressionsView and
ScrollableExactApproximateExpressionsView to factorize code with future
ScrollableInputExactApproximateExpressionsView
2020-02-12 15:13:18 +01:00
Émilie Feral
a21689d72c [apps/calculation][poincare] Move additionalInformationType method from
Calculation to Poincare module
2020-02-12 15:13:18 +01:00