Léa Saviot
613d33efba
[poincare] Delete root layout if cursor left of the radicand.
...
Change-Id: I42331f06785680053fa3cc64a95296697f207845
2018-01-17 14:26:58 +01:00
Léa Saviot
169913b800
[apps/calculation] Fix background redraw bug.
...
The margins around the textfield did not redraw themselves properly
after dismissing a toolbox for instance. The textfield now takes the
full height of edition zone.
Change-Id: I0794b8273a880a2dc921c5f492eb0f41aef7fe97
2018-01-17 14:26:58 +01:00
Léa Saviot
3154decf8b
[apps] Fixed bug in MathToolbox.
...
When returning a MathToolbox, the textfield delegate did not set the
toolbox action for textfields.
Change-Id: I51f78ff5601f784be8e283cf3fb6d3462b776d9a
2018-01-17 14:26:58 +01:00
Léa Saviot
d8803c610c
[apps] "New Matrix" item in math toolbox.
...
Change-Id: Iec01ffa96ec64f42d2cbc4b15b14eea7cfe4eaa4
2018-01-17 14:26:50 +01:00
Émilie Feral
9e9949ef78
[apps] Fix message: "Indice premier terme"
2018-01-17 12:07:24 +01:00
Léa Saviot
cb6a526072
[poincare] Fix bug in matrix layout assert.
...
Change-Id: I84ec8034f9f417b12b91abe84771fec5834ba8b4
2018-01-17 11:59:51 +01:00
Léa Saviot
e1811e0399
[apps/calculation] Fix redraw bug.
...
Change-Id: I86cf0839f4aa7f1285ed378850f6d09e811252a2
2018-01-17 10:55:34 +01:00
Léa Saviot
05de98ea04
[apps/calculation] Fetch the edition mode in the preferences.
...
Change-Id: Iec7cfc5695907b8c410077a48749fd43efb6cc65
2018-01-17 10:39:20 +01:00
Léa Saviot
8ab8ef4c5f
[apps/settings] Add a setting for the edition mode (1D or 2D).
...
Change-Id: Ia6783d3443a8b059e67a293a517bc652950aab55
2018-01-17 10:38:43 +01:00
Léa Saviot
60127036b7
[poincare] Fix unused variable.
...
Change-Id: I45cda6d12666a90d24eb4f0f03149ed083e5d68d
2018-01-16 18:03:04 +01:00
Léa Saviot
51e33b6903
[apps/calculation] Fix margins.
...
Change-Id: If799563af90c9de4ea02d3177a0ee2375d8ddbb4
2018-01-16 17:33:58 +01:00
Léa Saviot
627e96e5e3
[escher] Black cursor color.
...
Change-Id: I150e4f51a1162ded51af5e6a72cdaa70b428965d
2018-01-16 17:30:55 +01:00
Léa Saviot
6f8a1979d2
[poincare] Remove superfluous parentheses when serializing fractions.
...
Change-Id: I2f24d67293ed26fbe5aab3035c49ae162fdefab0
2018-01-16 17:29:21 +01:00
Léa Saviot
4673358f60
[poincare] Fix RootLayout deletion.
...
Change-Id: If9aa315299ce687e208ff3ea81346cbe29a5d03e
2018-01-16 17:28:49 +01:00
Léa Saviot
24a22fb374
[apps/calculation] Delete layout when unloading view.
...
Change-Id: I7c7afc4882051266c04f28cf2823d58c803f05c0
2018-01-16 16:54:10 +01:00
Léa Saviot
7abcfecb9c
[poincare] Change empty Power layout deletion.
...
Change-Id: Id9b6b0c2701d70f436c3a033c23c120a41f7feda
2018-01-16 16:43:40 +01:00
Léa Saviot
62ae5840e9
[apps/poincare] Handle cursor positioning in EditableExpressionView.
...
There cursor was not in the right place for log(), cos(), ...
Change-Id: I8fe1f350f3054460204cb5d40508212642333e3e
2018-01-16 16:43:40 +01:00
Léa Saviot
fc2788cc79
[apps/Makefile] Remove the ExpressionEditor app.
...
Change-Id: I5bcb5064bf1335abda8d6e032eb00f1798463797
2018-01-16 16:43:40 +01:00
Léa Saviot
f50391689f
[apps/calculation] Handle OK event in calculation history.
...
Change-Id: I3e4c309a3bc031476eea0d64d433b535b1220a8f
2018-01-16 16:43:40 +01:00
Léa Saviot
1d701f3305
[apps] Handle EditableExpressionView in VariableBoxController.
...
Change-Id: Ibd5f1b1a8999241c8aa818a075f48adb28c4032e
2018-01-16 16:43:40 +01:00
Léa Saviot
e1235cdb4f
[escher] EditableExpressionView: Remove the cursor when not editing.
...
Change-Id: If333f6074bce39d71ceb89b9424f7fec26a1f0c6
2018-01-16 16:43:40 +01:00
Léa Saviot
86b29f7e2f
[apps/calculation] Fix rendering bug.
...
When powering off then on the device, the EditableExpressionView had a
rendering bug on the bottom left corner.
Change-Id: I1792831f949b8e646fff68b9e784c1ff573516fc
2018-01-16 16:43:40 +01:00
Léa Saviot
53556ffacf
[apps/calculation] Handle "ans" event in EditableExpressionView.
...
Change-Id: I7761f36b5a94bb5c8190cd5b238542280666c256
2018-01-16 16:43:38 +01:00
Léa Saviot
91c05b3bb7
[apps/calculation] EditableExpressionView in calculation app.
...
Change-Id: I8b67353682652695f7296f0222939930f4b21794
2018-01-16 16:43:15 +01:00
Émilie Feral
02b15035fa
[poincare] Implementation of shallowReduce for Complex: when replacing
...
the ans symbol, we might introduce a Complex expression in the input
2018-01-16 15:17:16 +01:00
Émilie Feral
785c6a7329
[poincare] When replacing ans, add parenthesis if necessary
2018-01-16 15:17:16 +01:00
Émilie Feral
ddd8c3c44a
[apps] Add tests on Ans behaviour in Calculation
2018-01-16 15:17:16 +01:00
Émilie Feral
775432efdc
[poincare][apps] Replace Ans symbol when preprocessing the calculation
2018-01-16 15:17:16 +01:00
Émilie Feral
17fc7998a2
[apps] Calculation: Ans is exact only when the expression hold is exact
2018-01-16 15:17:16 +01:00
Émilie Feral
d6d31b4eb0
[apps] Calculation: clean unused methods
2018-01-16 15:17:16 +01:00
Émilie Feral
aa843bdb02
[poincare] Implement shallowReduce of stores and symbols
2018-01-16 15:17:16 +01:00
Émilie Feral
b8b7da7dd8
[apps] Calculation: Ans holds an exact expression
2018-01-16 15:17:16 +01:00
Émilie Feral
7688c37316
[poincare] Avoid useless dynamic allocation
2018-01-16 15:17:16 +01:00
Léa Saviot
47ab766549
[poincare/lexer] Parse the multiplication dot.
...
Change-Id: I4b12c6c660a7890d7d00b03cad26af5e366b4eaf
2018-01-16 14:30:08 +01:00
Léa Saviot
3ff998ec2c
[poincare] Fix MatrixLayout size computation.
...
Change-Id: Ib02c70d92d7d4e96c052f7f7671496115cf190f1
2018-01-16 14:29:32 +01:00
Émilie Feral
265453e3bb
[poincare] Improve the approximation of derivative
2018-01-16 13:24:09 +01:00
Émilie Feral
be59ec0bfd
[escher] Fix stack view title layout: re-add a grey line below stack
...
titles
2018-01-16 13:21:02 +01:00
Émilie Feral
1912ad0379
[escher] Bug in dirty tracking in text field: the cursor width was
...
forgotten
2018-01-16 13:20:31 +01:00
Émilie Feral
5c23003e50
[apps] Python: Refining random module
2018-01-16 13:19:27 +01:00
Émilie Feral
4a3b935e7b
[apps] Python: in the menu controller, the editable cells holding the
...
script names are not responder as long as they are not set as first
responder manually by renameSelectedScript for instance
2018-01-16 13:18:20 +01:00
MaxBzh
d360709d9b
In Home application, select Calculation application when Home or Back buttons are pushed
2018-01-16 12:19:43 +01:00
Léa Saviot
cb7b48adb6
[poincare] ExpressionArray is now a class, not a method.
...
Before, it was a method of Expression and returned a static array.
However, we have no guarantee that the function will not be called again
while the array is being used, thus erasing the previous array.
Change-Id: Ic640cee7edeb3b2805febde6287414a1497a5b4c
2018-01-16 12:18:48 +01:00
Émilie Feral
47eacfd555
[poincare] Power: when expanding multinome, cap the number of terms in
...
resulting sum at 25
2018-01-16 10:05:08 +01:00
Émilie Feral
b6c6fcb580
[poincare] Expand any multinome (a0+a1+...+am)^n which naive method
2018-01-16 10:05:08 +01:00
Émilie Feral
652c232ce3
[poincare] Power: expand Newton binomes
2018-01-16 10:05:08 +01:00
Émilie Feral
2cc432ac57
[poincare] Expose a method to compute the binomial coefficient
2018-01-16 10:05:08 +01:00
Émilie Feral
14b13d61a6
[poincare] Multiplication: merge multiplication operands that could
...
appear when reducing
2018-01-16 10:05:08 +01:00
Jacob Young
adc41fc240
I hate to do this, but a better solution will have to wait for a different PR.
2018-01-16 09:59:49 +01:00
Jacob Young
115f75c06a
Fix #8 with a custom getEvent for the simulator.
2018-01-16 09:59:49 +01:00
Léa Saviot
82229250a2
[apps/Shared] EditableExpressionView delegate and delegate app.
...
Change-Id: Ib6e0157e5523a37e4d652b8bd5063762cd0b6735
2018-01-15 12:14:09 +01:00