Commit Graph

48 Commits

Author SHA1 Message Date
Quentin Guidée
d50511f1be [Fix] Fix conflicts 2020-03-11 19:12:20 +01:00
Léa Saviot
aab8974934 [apps] Memoize five model checksums 2020-03-11 11:43:36 +01:00
citorva
c94affa7cd Remove External app for unsupported devices (web/n0100) and adds a basic examination checking system 2020-01-19 23:45:35 +01:00
Ruben Dashyan
157edcd18c [apps/*/values_controller] Get interval from App according to column index 2019-09-04 15:07:40 +02:00
Ruben Dashyan
a565cb32b9 [apps] Move interval from FunctionApp to derived classes 2019-09-04 15:07:40 +02:00
Ruben Dashyan
8053e683c0 [apps/*/function_app] Inline inputViewController getter in header 2019-09-03 14:49:26 +02:00
Ruben Dashyan
fe95528f02 [apps/sequence/app] Clean remnant of reset method 2019-08-29 15:13:41 +02:00
Ruben Dashyan
82951b0672 [apps] App::XNT() returns a CodePoint instead of a char 2019-08-29 11:07:22 +02:00
Ruben Dashyan
1f06819974 [apps] Remove Container * parameter from all App constructors 2019-07-19 15:06:25 +02:00
Ruben Dashyan
67f9f79322 [apps] Implement InteractiveCurveViewController::isCursorVisible
It was a pure virtual method implemented in derived classes
  Shared::FunctionGraphController,
  Regression::GraphController.
InteractiveCurveViewRange does not need anymore to hold CurveViewCursor
* m_cursor.
2019-05-03 15:54:21 +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
É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
cf68a9ed18 [shared] Change TextFieldDelegateApp::XNT() signature 2018-11-23 12:03:59 +01:00
Léa Saviot
36388c9d4d [sequence] Inline some getters in sSequence::App 2018-09-21 10:46:46 +02:00
Léa Saviot
9d23fe3e22 [sequence] Do not set YAuto when resetting App::Sequence::Snapshot 2018-09-21 10:46:41 +02:00
Émilie Feral
86b3d366ca [apps] All apps are allocated in the same union 2018-09-11 11:32:29 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
95f0efaf9f [apps] Graph/Sequence: the function selected by the cursor has to be
save in the Snapshot to avoid weird selection when rebulding the app
2018-01-30 18:53:28 +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
eea1928ac9 [apps/sequence][apps/graph] Keep the angle unit version in snapshot
Change-Id: Ib907531c78feae6ba8155ae3be3b8fb13fdebea2
2017-08-25 14:02:03 +02:00
Émilie Feral
bf11591e3e [apps/shared] In values controller, update the number of columns when
layout is done

Change-Id: I29bc776623ff2e5056c9f2cc1d995b4440996116
2017-06-08 18:30:45 +02:00
Émilie Feral
d2c55eb7d0 [apps/graph][apps/sequence] In values controller, memoize the number of
columns to improve performance

Change-Id: Ie3c545d0198a2f23575bd22fdbf56e9c6b8ff2b8
2017-06-02 14:07:40 +02:00
Émilie Feral
71608762aa [escher] Add a data source to tab to be hold by snapshots
Change-Id: I48b242ff433170d6b9618661e613a47669910a79
2017-05-19 11:25:04 +02:00
Émilie Feral
0105a0a450 [apps/sequence|grpah] Fix bug
Change-Id: Ic0d40262dd3ee4e2d393b7bb65e0b3a224ffbccc
2017-05-18 14:16:42 +02:00
Émilie Feral
6317f3a100 [apps] Implement reset when exam mode is set
Change-Id: I54f769c6db42f8c9a2fe1a8f3d2295fed91db6b8
2017-05-18 14:16:42 +02:00
Émilie Feral
bc73fd28b1 [apps/sequence)[apps/graph] Move interval in snapshot
Change-Id: Ib8efea9d57c55fbf7b4fb8cf9188d4211442057d
2017-05-18 14:16:42 +02:00
Émilie Feral
e702c1f61b [apps/graph][apps/regression][app/sequence] Move model and range
versions to the snapshot

Change-Id: I6ec56ab59d734c0c43a5df32462173c611cc68b3
2017-05-18 14:16:41 +02:00
Émilie Feral
6b2ae04a13 [apps/sequence][apps/regression][apps/graph] Move ranges and cursor in
snapshot

Change-Id: I3e5a163ae4b3a6860969ef12d939513cffed7710
2017-05-18 14:16:41 +02:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
06de0dd9db [escher] Only one app is on the heap at one time
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
2017-05-18 14:16:41 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
6c80ec0480 [apps] Rule of 5
Change-Id: Ib7b3fec6dbe3f9629e07464695ddd3b5611d8f83
2017-05-09 11:53:24 +02:00
Émilie Feral
7d66a8792b [apps] Delete reset methods in apps
Change-Id: I667530b118d1534e2f6664f48f1efdbbdb94178c
2017-05-03 14:22:50 +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
4348bd7bae [apps] Implement a reset in apps (clear memory)
Change-Id: I158d5db92196ccfd5400a95de16ee4804e426e65
2017-04-07 15:36:03 +02:00
Émilie Feral
633b1486f5 [apps/sequence][apps/graph] Define x/n only in list controllers
Change-Id: I9b30bc16c3454a0531ebcd40a5fe5169c0af6f24
2017-03-29 18:36:45 +02:00
Émilie Feral
6d8d105d7e [escher][apps] Clean and fix bug in text field
function application)

Change-Id: I5d425ea7752a054ea6b05735b12442c4429f13b4
2017-03-29 15:04:37 +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
52ae38a060 [apps/sequence] create a class grpah controller
Change-Id: Iaf9e9c03bd4b9946cddaefb14af5e014075ee109
2017-03-03 09:38:52 +01:00
Émilie Feral
50b21007cb [apps/sequence] Create a local context in sequence to store u(n) and
u(n+1) values

Change-Id: I157e61681aeabd1b4b917149571c786f6d09a16c
2017-03-02 15:35:03 +01:00
Émilie Feral
0d8629c752 [apps/sequence/list] Display specific toolbox
Change-Id: I4af4ba588677ca6688b64b10c29c69e16f98fffb
2017-02-20 10:53:57 +01:00
Émilie Feral
f2512b2968 [apps/sequence] Temporary implementation of sequence toolbox
Change-Id: I59c703c4c50cd523d49af9a558a7fc3b0f360bc6
2017-02-20 10:51:58 +01:00
Émilie Feral
ad665e9b3c [apps/sequence] Change default XNT text to 'n'
Change-Id: I917c09dd1c4f63a5988962b4c4f18f57e073a2af
2017-02-20 09:39:25 +01:00
Émilie Feral
54a90167cf [apps/sequence] Create a first version of sequence structure
Change-Id: I4413365dcf7dc53ece23cce453215660258d9835
2017-02-13 17:15:07 +01:00