Commit Graph

42 Commits

Author SHA1 Message Date
Émilie Feral
da1ee21fd5 [poincare] VerticalOffsetLayout: change name of 'Type' to 'Position' 2019-05-03 15:54:21 +02:00
Émilie Feral
4e823e67b6 [sequence] Fix Toolbox: sequence fullName is for example "u.seq" which
cannot be compare to "u"
2019-05-03 15:53:20 +02:00
Léa Saviot
f576e31ff1 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-05-03 15:53:19 +02:00
Émilie Feral
7b5f3c570d [poincare] Change the way Expression are built 2019-02-21 11:29:35 +01:00
Émilie Feral
ac6f23684d [poincare] Clean Expression and Layout builders
Before: Opposite(Opposite(Rational(1))) misleadingly created the
expression "-1"; now, Opposite::Builder(Opposite::Builder(Rational(1)))
creates "--1"
2019-02-21 11:29:35 +01:00
Léa Saviot
94603b2b7d [poincare] Layout::serialize is serializeForParsing or ParsedExpression
serializeForParsing serializes the layout once,
serializeParsedExpression serializes the layout, parses it and
serializes it again.
2018-11-23 12:04:09 +01:00
Léa Saviot
b9bf5be5f6 [apps/escher] Remove wrong markRectAsDirty, use reloadCell instead 2018-11-23 12:04:04 +01:00
Lionel Debroux
1a8c6b6ae9 [poincare, escher, ion, apps] Split the huge umbrella header poincare.h, to reduce build time.
This should be a NFC, but surprisingly, it also reduces size... so what does it change ?
2018-10-23 11:49:09 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Émilie Feral
365b145cf3 [poincare] Change names: LayoutReference-->Layout 2018-09-18 16:29:44 +02:00
Émilie Feral
ba0f866dc6 [apps] Toolbox: get rid of variable-size tables 2018-09-17 17:14:43 +02:00
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
cd199a97e6 [sequence] Fix SequenceToolbox with new Poincare API 2018-09-06 16:05:34 +02:00
Émilie Feral
f70f72da1a Change new Layout -> LayoutRef 2018-09-06 16:04:17 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Léa Saviot
d890168241 [poincare] Change all subscripts font-size to base layout font-size 2018-07-19 10:16:31 +02:00
Léa Saviot
63ebf895df [apps/sequence] Change method name 2018-07-19 09:55:46 +02:00
Léa Saviot
5b67269e72 [poincare] Fix SequenceToolbox special cells display when scrolling
When scrolling from "v(n+1)" to "abs(x)", the "v(n+1)" cell disappeared
2018-07-19 09:55:46 +02:00
Léa Saviot
13ae1d2545 [apps/escher/toolbox] handleEventWithText for all responders.
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.

Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +02:00
Léa Saviot
0fcd2a90f6 [apps] Fix comment aesthetics
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +02:00
Léa Saviot
749c93e1af [apps/sequence] Fix obsolete code.
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02: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
7026abdc5c [apps] Sequence: fix toolbox handleEvent 2018-02-14 12:04:18 +01:00
Émilie Feral
9443fcb043 [apps] Sequence: in the toolbox, update the extra-cells when updating
the hold layout to avoid unvalid read
2018-01-25 15:48:35 +01:00
Léa Saviot
e29691e1f1 [apps/sequence] Fix the insertion of sequence terms in text fields.
For instance, the serialization of the V_n layout is "v_{n}", which is
what we want to insert in an EditableExpressionView, but not in a Text
Field for which we want "v(n)".

Change-Id: Iab38058d982322891b530b3afd2d303a266643f9
2018-01-19 17:31:37 +01:00
Léa Saviot
251c4d01af [apps/sequence] Fix math_toolbox wrong functions calls.
Change-Id: I0b7871e87ea64ef9fbd008d9fb3e6d4cce2e97ca
2018-01-19 17:04:50 +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
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Émilie Feral
45908263ff [apps] Sequence: add other sequence shortcuts in toolbox call from the
list controller
2017-12-20 17:41:03 +01:00
Léa Saviot
bc4d2768d0 [escher/code] Cleaned Toolbox rowHeight().
Now it is set in escher/toolbox.h, with value 40 and no differentiation Node/Leaf.

Change-Id: I0809d87a5df5b8bffe201c9faf72ff901430cbe5
2017-12-01 12:06:05 +01:00
Émilie Feral
cb2a790b66 [apps/sequence] Fix bug in sequence toolbox
Change-Id: I52dab30f183ad770a225643b5f0b7bd5104690ee
2017-06-05 13:54:20 +02:00
Émilie Feral
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
d8f7e2f41d [apps/sequence] Initiate variable
Change-Id: I6fafaf8ed3f5d8ea8a2695263e075201c4e88ac7
2017-05-05 10:19:05 +02:00
Émilie Feral
0517066cc0 [escher] Extrude scroll view model to its delegate
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
7406e0d775 [apps][escher] Do not forget to delete dynamic objects when reassigning
then or destructing them

Change-Id: If2b4de460163bf187152389e419d87329b83fc39
2017-03-07 15:03:11 +01:00
Émilie Feral
78de0de16a [apps/sequence] Change name: addCells->setExtraCells
Change-Id: I1d19283fe2997668e78e91881f31f28efcbffe66
2017-03-07 14:37:54 +01:00
Émilie Feral
a126a9ad0b [apps/sequence] In sequence toolbox, do not suggest other sequence terms
Change-Id: Ia85b04cdcdcfbc74615652144ae3aacf4e5f6f4e
2017-03-07 13:28:26 +01:00
Émilie Feral
704dd22fbc [apps/sequence]Correct sequence toolbox
Change-Id: Ifbe1c45f6002604b248bcb072d57c08808e5c5b0
2017-02-20 10:54:03 +01:00
Émilie Feral
2e16365100 [escher] Reorganize all cells'name and factorize their layouts
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
0d8629c752 [apps/sequence/list] Display specific toolbox
Change-Id: I4af4ba588677ca6688b64b10c29c69e16f98fffb
2017-02-20 10:53:57 +01:00