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
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
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
Léa Saviot
82229250a2
[apps/Shared] EditableExpressionView delegate and delegate app.
...
Change-Id: Ib6e0157e5523a37e4d652b8bd5063762cd0b6735
2018-01-15 12:14:09 +01:00
Léa Saviot
8f58c33c31
[apps] Dummy handling of EditableExpressionView in VariableBoxController.
...
Change-Id: I565f613c13ee13d39efb652ae37f281e55f5d999
2018-01-15 12:14:09 +01:00
Léa Saviot
ed82496b56
[apps] Handle EditableExpressionView in MathToolbox.
...
Change-Id: Ic85cf67d225c60c90c3ad536d813bb489ceb6fe5
2018-01-15 12:14:09 +01:00
Léa Saviot
c0a3aadae4
[escher] EditableExpressionView, its delegate and EVWithCursor.
...
Change-Id: Icb05c756ff17e43a7b306bec685a6040eaec303a
2018-01-15 12:14:09 +01:00
Léa Saviot
01880d30c3
[apps/Makefile] Keep only ExpressionEditor and Calculation apps.
...
Change-Id: I34816ec88395114e4d6034f78918253652be5cc9
2018-01-15 12:13:07 +01:00
Léa Saviot
5ff32b8162
[expression_editor] Controller::handleAddEvent returns void.
...
Change-Id: Iaac5fd3d0798f5c2e81d3c982198f402534f6dfe
2018-01-15 11:58:07 +01:00
Léa Saviot
f6a0a9235f
[apps] Makefile. Enable all the apps.
...
Change-Id: I50d93217a5ae657cccfed285a255ed470e619bf7
2018-01-15 11:58:07 +01:00
Léa Saviot
2ed72127cb
[poincare] Remove dangerous default arguments in poincare.
...
Change-Id: I76f2bc057d73c7d151aed62b66eb69a91082910c
2018-01-15 11:58:07 +01:00
Léa Saviot
a435c548da
[apps/sequence] Use the new layouts in the Sequence app.
...
Change-Id: I8b079bfabccd54472e0ba0fac17b87dbaf3678ee
2018-01-15 11:58:07 +01:00
Léa Saviot
b7c0a15eb8
[apps/regression] Use the new layouts in the Regression app.
...
Change-Id: I3813ed42c35d92e98f6d162ac3788a238f2f836e
2018-01-15 11:58:07 +01:00
Léa Saviot
735d79a0fc
[apps/settings] Use the new layouts in the Settings app.
...
Change-Id: Ic90a78cf58cac28f24b65c5e0c1776c61675bb98
2018-01-15 11:58:07 +01:00
Léa Saviot
1e8935fc2e
[poincare] Use MatrixLayout in Expression::Matrix::privateCreateLayout.
...
Change-Id: I60a4212dd5206a8372f4355b9ff1287577428d1b
2018-01-15 11:58:07 +01:00
Léa Saviot
16fad9f9fb
[poincare] Cleaned backspaceAtCursor for layouts.
...
Change-Id: I232fa7af24a9983d3acfb3460042cb32bfcef81f
2018-01-15 11:58:07 +01:00
Léa Saviot
e2bd7ddbe0
[poincare] Fixed deletion bug in MatrixLayout.
...
Change-Id: I0dbc142468320fac4ed8969a3ef2684549315780
2018-01-15 11:58:07 +01:00
Léa Saviot
bf4ccd76ea
[poincare] Show grey squares in a matrix only if the cursor is in it.
...
Change-Id: I2e622de51a9c7af7b676ae9bd7bb3e9681f5d051
2018-01-15 11:58:07 +01:00
Léa Saviot
914b181e06
[poincare] Change the way to delete a matrix.
...
Delete the matrix if the cursor was right of it. If the cursor is left
of a child on the left, now just move Left.
Change-Id: I4bccaec9f7c23c4da3dd1d9ab59c8fd6641d5a3f
2018-01-15 11:58:07 +01:00
Léa Saviot
955c69f0b2
[poincare] Changed isEmpty() in DynamicLayoutHierarchy.
...
A DynamicLayoutHierarchy with only an empty children is not empty, but
an horizontal layout with only an empty children is empty.
Also, a DynamicLayoutHierarchy with no children is not empty (it should
always be an intermediary state before adding children).
Change-Id: I47b32379f42a95666d75df4d3ba79fabc34d2edc
2018-01-15 11:58:07 +01:00
Léa Saviot
f95bb46cc3
[poincare] Cleaned ExpressionLayout class.
...
Change-Id: I03a49e1a2b199a70608792f0358ddde5a86118d6
2018-01-15 11:58:07 +01:00
Léa Saviot
95327d0afc
[poincare] Remove empty row/column in MatrixLayout.
...
Change-Id: I58f7b7f5e1256afd769f773bef8caea43a40c7a1
2018-01-15 11:58:06 +01:00
Léa Saviot
1717b470c8
[poincare] When replacing a layout, ask the parent to move the cursor.
...
Change-Id: I0ddb0e791d328c2f141aefc604569ef4fcc6c0c5
2018-01-15 11:58:06 +01:00
Léa Saviot
a499363747
[poincare] Editing a grey empty layout adds a Matrix row/column.
...
Change-Id: I37b0c22fd2242d1361146833c3de2f24c296fd66
2018-01-15 11:58:06 +01:00
Léa Saviot
e821ed2ad9
[poincare] Add a row or a column to a GridLayout.
...
Change-Id: I3e58ce84c05c9d64481942e6e7896409a20ddb8a
2018-01-15 11:58:06 +01:00
Léa Saviot
03e33e05e7
[poincare] Layout invalidation when adding children to DynamicLayouts.
...
Change-Id: Ib4609a5e14cce0c5bae44c90629446caea75c164
2018-01-15 11:58:06 +01:00
Léa Saviot
d105dcc7f9
[expression_editor] Grey outer cells for MatrixLayout.
...
Change-Id: Iaf33ccd6c746843803b6a971a2b37eaf495fa766
2018-01-15 11:58:06 +01:00
Léa Saviot
592c12cf08
[poincare] EmptyVisibleLayouts can be Yellow or Grey.
...
Change-Id: Iac07105df5cbf5bcc70b84302a7bf39783716d50
2018-01-15 11:58:06 +01:00