Commit Graph

55 Commits

Author SHA1 Message Date
Laury
af5f9ea578 [ion/storage] Added the "ctrl-z" system everywhere 2022-02-19 12:09:02 +01:00
Arthur Camouseigt
c006ed7b10 [Sequence & Shared] Changed the location of various files
Moved sequences files to shared in order to allow the system to compile
without the app sequence.

Change-Id: Ia8349814a72776244acc41af964059f24e58cff0
2020-11-04 15:32:58 +01:00
Ruben Dashyan
413397652c [apps/*/expression_model_list_controller] Refactor modelStore()
Its return type is covariant. Get the ExpressionModelStore from the App.
2019-09-20 17:11:42 +02:00
Ruben Dashyan
91e3078234 [apps/*/expression_model_list_controller] Factor isAddEmptyRow 2019-09-20 17:11:42 +02:00
Léa Saviot
4caf9f5197 [coding style] Make some methods const 2019-09-09 20:05:14 +02:00
Ruben Dashyan
055d601854 [apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
5058f64163 [apps] Define LayoutFieldDelegate::expressionFieldDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Ruben Dashyan
0490e3ab81 [apps] Define InputEventHandlerDelegate::inputEventHandlerDelegateApp() directly from ::app() 2019-07-19 15:06:25 +02:00
Émilie Feral
578c65d5dd [shared] Clean class names containing storage 2019-05-03 15:53:20 +02:00
Émilie Feral
57da4ea618 [shared] Rename classes:
ExpressionModelHandle --> ExpressionModel
SingleExpressionModelHandle --> ExpressionModelHandle
StorageFunction --> Function
StorageCartesianFunction --> CartesianFunction
StorageFunctionApp --> FunctionApp
2019-05-03 15:53:20 +02:00
Émilie Feral
2bc2506b60 [apps/sequence] Make controllers inherit from StorageFunction controllers when required 2019-05-03 15:53:20 +02:00
Léa Saviot
3595a8e628 [apps/sequence] Align sequence title and expression baselines 2019-01-10 11:42:02 +01:00
Léa Saviot
d3cae9d1aa [apps/sequence] Harmonize row height in sequence list 2019-01-10 11:42:02 +01:00
Émilie Feral
0a823da78c [escher] Variable box pop-up is handle as Toolbox pop-up by asking
InputEventHandlerDelegate
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355 [escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Émilie Feral
7778c694d1 [escher] Create an InputEventHandlerDelegate that gives the toolbox to
be used by an InputEventHandler
2018-11-23 12:04:02 +01:00
Émilie Feral
01e433a9f2 [escher] Clean Field and Input class hierarchy:
Class hierarchy:
- InputEventHandler
- TextInput
- EditableField derives from InputEventHandler
- LayoutField, TextField and ExpressioField derives from EditableField
- TextArea and TextField derives from TextInput
2018-11-23 12:04:02 +01:00
Léa Saviot
96b594b875 [apps/graph] Adapt function name column width to names 2018-11-23 12:04:00 +01:00
Émilie Feral
0fbab2f35c [apps] Get rid of DynamicViewController 2018-09-07 17:55:42 +02:00
Émilie Feral
30f83cde2c [apps] Change names: ExpressionLayout -> Layout 2018-09-06 14:23:57 +02:00
Émilie Feral
5cc3930a44 [apps] Fix header inclusion: name of expression_layout_field_delegate
changed to layout_field_delegate
2018-09-06 14:07:41 +02:00
Léa Saviot
fba21344b1 [poincare] Put margins in sequence list 2018-07-19 10:16:31 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
ac9da8d559 [escher] Handle copy/cut event on Expression in selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
0b51b6e4fe [solver][graph][sequence] Force input edition when adding a new
Function/Sequence/Equation
2018-06-07 13:46:17 +02:00
Émilie Feral
021262e3aa [apps] Split List Controller in Expression Model List Controller and
Function List Controller (factorize code for future solver app)
2018-06-07 13:46:17 +02:00
Émilie Feral
837e0694d1 [shared] Remove New Function Cell class which is a duplicate of Even Odd
Message Text Cell
2018-06-07 13:46:17 +02:00
Émilie Feral
e160282e06 [escher] Change the function expression cell to inherit from
even odd expression cell
2018-06-07 13:46:17 +02:00
Léa Saviot
a5c50f8887 [apps] Fix function name that was the same as virtual function.
Change-Id: Idec43b9427571dbd5752ac551424447cbdb08d27
2018-04-25 13:58:42 +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
22ab94209f [apps/escher] Rename EditableExpressionView -> ExpressionField
Change-Id: Iadfb220ee94e68762305060215f1ead0cac951fb
2018-04-23 09:41:20 +02:00
Léa Saviot
31face58a2 [apps/escher] ScrollableEVWithCursor renamed ExpressionLayoutField
Change-Id: Id0e4610fb677d8ad36721eef1a85f1c424d1743e
2018-04-23 09:41:20 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
aade7cb2fe [escher] Create a class TextInput (from which derived TextField,
TextArea)
2018-03-22 13:12:12 +01:00
Léa Saviot
95f859ce80 [apps/sequence] Set sender for sequence toolbox.
Change-Id: I3fe78127273083fb4f8f680ea3e6394f99913a12
2018-01-26 11:55:04 +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
Émilie Feral
cb754ab6d5 [apps] Sequence: invalidate the context cache when the sequences are
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
032cafdb04 [apps] Sequence: enable to defined dependent sequences 2017-12-20 17:41:03 +01:00
Émilie Feral
9b119942a2 [apps] Cap the size of stores (memory issue)
Change-Id: I69dbb593b42615d601b0adcf7580c740ecd22e4b
2017-05-09 17:00:32 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
e2bba16738 [apps/graph] [apps/sequence] Implement copy paste
Change-Id: I7e33e24565b18e771ec530c74fb2a74ade5c3c85
2017-04-25 16:59:35 +02:00
Émilie Feral
9295a5f107 [apps/sequence][apps/graph] Make list controller a dynamic view
controller

Change-Id: I1c6036861bddcb45169bb6c71f75c90ffd949a44
2017-04-21 10:08:04 +02:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
b36e5dc67c [escher] Generelize header view controller to button row controller and
use it to add two buttons: "tracer" "afficher valeurs"

Change-Id: I8ee9afec9e381de367133e6b3f5ceb738b9790ab
2017-03-07 13:28:26 +01:00
Émilie Feral
df9dba94dd [apps/sequence] Select the right cell in list after changing sequence
type

Change-Id: If92944aca236653ba4b25f14b3029be2a522f37b
2017-03-07 13:28:26 +01:00
Émilie Feral
1e787bd2e9 [apps/sequence][apps/graph] Clear the function expression when handling
event backspace

Change-Id: I89319a2dee21b162dd9ffe16f02eda99c26207b2
2017-03-03 14:32:13 +01:00
Émilie Feral
cfd518283f [apps/shared] In list controller, factorize handle event
Change-Id: I0e00f1cf3b217782ec6f858d60954733e2be5276
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
Émilie Feral
51c33b0a5b [apps/sequence] Redesign list controller
Change-Id: If114a643b0f682e98076cf1ec9f4479b3dafdfa6
2017-02-20 10:52:02 +01:00