Léa Saviot
c4b5d4cf40
Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
...
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
b0ede47d55
[ion] Change Storage design (former kallax)
2018-03-22 14:01:38 +01:00
Émilie Feral
aa984bca74
[escher][ion] Move Record and Kallax in Ion/
2018-03-22 14:01:38 +01:00
Émilie Feral
b9a852a9d1
[escher] Change name: File --> Record, FileSystem --> Kallax
2018-03-22 14:01:38 +01:00
Émilie Feral
338ee4e0b0
[escher] Indicate the address of the file system in the header section
...
of the flash
2018-03-22 14:01:38 +01:00
Émilie Feral
19ca0f0640
[apps] Code: use the FileSystem to store the scripts instead of an
...
accordion
2018-03-22 14:01:38 +01:00
Émilie Feral
c37696133d
[escher] Create class File and FileSystem
2018-03-22 14:01:38 +01:00
Émilie Feral
aade7cb2fe
[escher] Create a class TextInput (from which derived TextField,
...
TextArea)
2018-03-22 13:12:12 +01:00
Émilie Feral
c50e57029b
[escher] TextInputHelper: special case for 'random()' and handle
...
parenthesis already completed (ie 'u(n)')
2018-03-22 13:12:12 +01:00
Émilie Feral
576caa039f
[apps][escher] Add methods 'handleEventWithText' in TextField and
...
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
c5e525ddb7
Enable to give options at run-time
2018-03-22 11:58:56 +01:00
Émilie Feral
2b0b40d6d6
[escher] TextField: force layout after scroll reload when the content
...
size of scrollview might have changed
2018-03-22 10:22:18 +01:00
Émilie Feral
9dd637f7c3
[apps] Settings: clean number of rows
2018-03-22 10:19:15 +01:00
Romain Goyet
67f082f4e8
[emscripten] Use emterpreter
...
This allows us to control the runloop
2018-02-01 14:10:26 +01:00
Romain Goyet
314fde955a
[escher] Add a PointerTextView class
2018-02-01 14:10:26 +01:00
Romain Goyet
0682d21a32
[python] Implement ExecutionEnvironment::input
...
By using a re-entrant RunLoop call
2018-02-01 14:10:26 +01:00
Émilie Feral
2a207e59ac
[apps] Probability: fix scrolling in calculation cells
2018-01-30 18:09:59 +01:00
Émilie Feral
5d8256435e
[apps] Probability: fix bug; in calculation controller, when reloading cells after editing textfield, do not reload selection (it corrupts the responder chain if the first reponder was a modal view for ex)
2018-01-30 18:09:59 +01:00
Émilie Feral
126212e25b
[escher] SelectableTableView: add an option when reloading data
2018-01-30 18:09:59 +01:00
Léa Saviot
f38bbff447
[escher] Fix responder order bug.
...
EditableExpressionView cannot pass the first responder state to one of
its children, otherwise Calculation::EditableExpressionView's overriden
handleEvent method is never called.
Change-Id: Id2b56b9501e67431e860573cf4c62a16651c3958
2018-01-24 10:20:09 +01:00
Léa Saviot
2929409d3e
[escher] Comment about implementing a split view for InputViewController
...
Change-Id: I46b50bac50f958fad956696a02d334a690b0a2b2
2018-01-23 10:28:02 +01:00
Léa Saviot
a2c0eaa20b
[apps/escher] Remove textFieldDidAbortEditing const char * argument.
...
Also removed the same argument in scrollableExpressionViewWithCursorDidAbortEditing.
Change-Id: Iadc6b708cfc0fab44b9fd4edb980cb759d41e8d0
2018-01-23 10:28:02 +01:00
Léa Saviot
4d778b5d9f
[apps/escher/poincare] Use 2D Edition in Sequence and Graph apps.
...
EditableExpressionView is renamed ScrollableViewWithCursor.
EditableExpressionView is now a View that displays either a TextField or
a ScrollableViewWithCursor, depending on Poincare::Preferences.
Change-Id: Id44ddcd9a83f5fd17d65753ca4c94c5c7cda9b8a
2018-01-23 10:28:02 +01:00
Léa Saviot
2cb8956665
[apps/math_toolbox] Remove the pointedPath from ToolboxMessageTree.
...
Change-Id: I2deb6564321da13ea27975216aa949b68298533c
2018-01-19 16:18:55 +01:00
Léa Saviot
1ad4e6e744
[escher/poincare] Remove unneeded layout computation.
...
When moving a cursor in an EditableExpressionView, do not recompute the
layout, unless specified otherwise (for instance when entering or
exiting a MatrixLayout).
Change-Id: Ic2471095d6f6a08014a79f1d9d8fb7d39a1a6864
2018-01-18 17:55:16 +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
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
1912ad0379
[escher] Bug in dirty tracking in text field: the cursor width was
...
forgotten
2018-01-16 13:20:31 +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
Léa Saviot
c0a3aadae4
[escher] EditableExpressionView, its delegate and EVWithCursor.
...
Change-Id: Icb05c756ff17e43a7b306bec685a6040eaec303a
2018-01-15 12:14:09 +01:00
Léa Saviot
1967fce13a
[apps] Toolbox layouts are created by parsing the command of the cell.
...
Change-Id: I511e8af2b2247d1df3ca968191566c2b3f01fe11
2018-01-15 11:58:06 +01:00
Léa Saviot
406d108aa5
[poincare] Sandardize Bracket and Parenthesis minimal height.
...
Change-Id: Iadfce26575d77182ecc12dd100fa9b70b9062802
2018-01-15 11:58:03 +01:00
Léa Saviot
14f2e08872
[poincare/escher] Tell which layout is pointed when adding from toolbox.
...
Change-Id: I84c82ea887e3e7759da7d407532dc7d63174f1ac
2018-01-15 11:58:02 +01:00
Léa Saviot
0d8b6d5ace
[escher/poincare] Handle toolbox input (VERY DIRTY).
...
Change-Id: I01de0ddd6f6500df278e3b4104110f6335289be1
2018-01-15 11:58:02 +01:00
Léa Saviot
82469ca96e
[poincare] Added margins to ConjugateLayout.
...
Change-Id: I27b3788c87d36390fcea63c6a70b89aa36a2e9f3
2018-01-15 11:58:02 +01:00
Léa Saviot
8828eaf79f
[escher] ExpressionView drawingOrigin().
...
Change-Id: I737f17f857edb6e9971feeeb196f2698cc92ad9e
2018-01-15 11:58:01 +01:00
Léa Saviot
53e7f6ea44
[escher] Get a View's frame.
...
Change-Id: I9fbcf2fb8db5f735df5c852762dc8645c0358683
2018-01-15 11:58:01 +01:00
Léa Saviot
4ad3adaab2
[apps/escher] Changed setExpression to setExpressionLayout.
...
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Émilie Feral
faac0d7a58
[escher] Change TableView::size() to
...
TableView::minimalSizeForOptimalDisplay()
2018-01-04 15:48:06 +01:00
Émilie Feral
26bbfa85ec
[apps] Probability: fix bug in layout (the textfield was moving when
...
adding characters)
2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5
[apps] Redesign Probability Calculation page
2018-01-04 15:48:06 +01:00
Émilie Feral
e8793c429c
[escher] In textfield: when calling textFieldDidHandleEvent, precise if
...
there was any modification in the text
2018-01-04 15:48:06 +01:00
Émilie Feral
870994e11d
[escher] Add a getter for the modal view in app
2018-01-04 15:48:06 +01:00
Émilie Feral
bc78a0b19e
[escher] Add a method in view: relativePointForPointInView
2018-01-04 15:48:06 +01:00
Émilie Feral
e41ca318c7
[escher] TextField: change the method to get the optimal size for display
2018-01-04 15:48:06 +01:00
Émilie Feral
077a95197e
[escher] SelectableTableView handles setting the ccell as first
...
responder if needed
2017-12-20 17:17:41 +01:00
Émilie Feral
15610064fa
Coverity: fix unitialized pointer fields, out of bounds reads ...
...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00