Commit Graph

44 Commits

Author SHA1 Message Date
Quentin Guidée
d50511f1be [Fix] Fix conflicts 2020-03-11 19:12:20 +01:00
Léa Saviot
702772a7c9 [apps/reg] Store::m_seriesChecksum is Snapshot::m_prevModelsVersions
Share these objects instead of duplicating them
2020-03-11 11:43:36 +01:00
Léa Saviot
53705fb333 [apps/graph_ctrlr] Reload range if no previous model is present
We memoize the checksum of the x first models, and we check that one of
these models is still present when the graph view appears. If so, we do
not reload the range, other wise we reload it.

Scenario:
f(t) = [t^2  t+1] in parametric
Display the graph
f(x) = 1 on ]-inf;0]
g(x) = 2 on [0;inf[
Display the graph -> the range did not change
2020-03-11 11:43:36 +01:00
Léa Saviot
aab8974934 [apps] Memoize five model checksums 2020-03-11 11:43:36 +01:00
Quentin Guidée
ab8f731515 Fixed some conflicts 2020-02-12 17:42:58 +01:00
Émilie Feral
60048cb9a9 [poincare] Create a ContextWithParent that implements expressionTypeForIdentifier 2020-02-12 15:13:22 +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
5eae3563f5 [apps/regression/app] Remove redundant call
setDefault() will be called when the GraphView appears
2019-08-29 15:13:41 +02:00
Ruben Dashyan
1f06819974 [apps] Remove Container * parameter from all App constructors 2019-07-19 15:06:25 +02:00
Romain Goyet
4f2c7a3763 [build] Update the i18n processing to fit the out-of-tree build 2019-03-06 15:00:59 +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
1b0cd43b56 [regression] Tidy the models' layouts before leaving the app 2018-09-14 15:13:20 +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
68d915fb3e [apps/reg] Fix window sizing: cursor appears even with big bannerview 2018-07-18 10:32:46 +02:00
Léa Saviot
799bbfbf05 [apps/reg] Display the regression controller from the graph view 2018-07-18 10:32:45 +02:00
Léa Saviot
6d5c987178 [apps/reg] Use selected series index stored in snapshot 2018-06-11 13:58:26 +02:00
Léa Saviot
3be2b0e414 [app/reg] Inline getter funcitons 2018-06-11 13:58:26 +02:00
Léa Saviot
8e292cafb8 [apps/reg] Save the selected series in the snapshot 2018-06-11 13:58:26 +02:00
Léa Saviot
1f02b8201e [apps/regression] Fix regression 2018-06-11 13:58:24 +02:00
Léa Saviot
11251f03de [apps] Fix Statistics: now displays three series 2018-05-29 15:34:48 +02:00
Émilie Feral
37fc0ab60a [apps/regression] In graph, make selected dot persistent in snapshot
Change-Id: I0d1ca7bd45678861c946b2c1e6d580b9537089e2
2017-06-12 16:38:50 +02:00
Émilie Feral
90b0c16f1f [apps] Implement reset tab selection when setting exam mode
Change-Id: If448b28e3232945102b273f61509a6bda1ce6df7
2017-05-19 13:27:32 +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
6317f3a100 [apps] Implement reset when exam mode is set
Change-Id: I54f769c6db42f8c9a2fe1a8f3d2295fed91db6b8
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
4348bd7bae [apps] Implement a reset in apps (clear memory)
Change-Id: I158d5db92196ccfd5400a95de16ee4804e426e65
2017-04-07 15:36:03 +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
aec8facd0e [apps] Use viewWillAppear to reload view after preference change
Change-Id: I4fba6bd6d4dee03e86ac5087dbc20ef4d7dd032b
2017-02-20 09:39:17 +01:00
Émilie Feral
23026b6718 [apps/shared] Namespace shared
Change-Id: I6dec7ce900bb4e801a25c567fe5e242cb744cf29
2017-02-13 17:15:06 +01:00
Émilie Feral
e3e0fb2120 [escher] In app, add an upperName
Change-Id: Iea37749e446c721b5e85af063681e2a98c0e4f37
2017-01-27 11:50:42 +01:00
Émilie Feral
4b49be549d [apps] Add headers in all sub tab view for a better rendering
Change-Id: Id9fc1ffac9cbc4bebc9af7daf410f36279555519
2017-01-27 11:15:58 +01:00
Émilie Feral
e422228cc1 [apps/statistics][apps/regression] Add an header in the store controller
for rendering purpose

Change-Id: I888247e051e4c04b8f0e132af33cdbae52ba46e1
2017-01-27 11:15:21 +01:00
Émilie Feral
b17222112a [apps] Change model data -> float pair store.
Change-Id: I72d5291f3168f2588e2a955476724ce95e32e6f5
2017-01-09 15:08:56 +01:00
Émilie Feral
9d35d76e45 [apps/regression] Improve the page calculations
Change-Id: I78c67cf3cff2d94265491c82a05d5721f9c52e4b
2017-01-09 15:08:55 +01:00
Émilie Feral
45f266c7fe [apps/regression] Set the graph view as main view of graph controller
Change-Id: Id644559371fb593c90b7e85f317875b521828a43
2017-01-09 15:08:55 +01:00
Émilie Feral
764f12124b [apps/regression] Create a model data inheriting from the Apps::data
Change-Id: Ie0aed12437f63176329625da30986e4eff91d877
2017-01-09 15:08:55 +01:00
Émilie Feral
60cb611278 [apps/regression] Create the structure of the application regression
Change-Id: I2433a5e6dabdd9a15d87c8e2ddf3cea5ad329a0e
2017-01-09 15:08:54 +01:00