Romain Goyet
7f43b73049
[apps] Don't forget to call viewWillAppear
...
At the moment ViewController::viewWillAppear doesn't do anything, so
there is no real impact. But if we want to use it it needs to be called
from subclasses.
2020-02-17 10:31:24 -05:00
Léa Saviot
88ab0e686c
[apps] Less operations in willExitResponderChain if exiting app
...
If nextFirstResponder is nullptr, it means we are exiting the app, so
there is no need to relayout, reselect, ...
We did it bbefore because a long time ago, we used to keep all apps side
by side so they had to be thouroughly cleaned when exiting
2020-02-12 15:13:22 +01:00
Émilie Feral
4d593a6149
[poincare] PrintFloat: take into account the distinction between char
...
and glyph length in ConvertFloatToText
2019-09-26 11:26:48 +02:00
Émilie Feral
ed2a15dd03
[apps/graph] Enable infinite values as domain bounds for cartesian
...
functions
2019-09-03 16:21:28 +02:00
Émilie Feral
6de497c2ed
[apps/shared] Templatize FloatParameterController to handle float/double
...
parameters.
Fix bug: when entering "e^234" as a parameter of a model keeping floats,
the FloatParameterController would accept the number (because e^234 is
defined in double) and store an undefined value in the model (because
e^234 is undefined in float).
2019-09-02 16:55:39 +02:00
Léa Saviot
0840ca7a1e
[apps/poincare] Move NormalDistribution to Poincare
2019-08-23 13:47:52 +02:00
Léa Saviot
b0b10f184e
[poincare/print_float] convertFloatToText -> ConvertFloatToText
2019-08-08 17:22:06 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
055d601854
[apps] Define TextFieldDelegate::textFieldDelegateApp() directly from ::app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
62cec10b46
[apps] Clean unnecessary AppsContainer class declarations and header inclusions
2019-07-19 15:06:25 +02:00
Ruben Dashyan
82685cb371
[apps] Factorize portions checking whether text approximates to double
2019-05-03 15:54:21 +02:00
Léa Saviot
bea78aa3b1
[apps/escher] Invocation::Action returns a bool
2018-11-23 12:04:04 +01:00
Émilie Feral
6d9f0c0f0b
[apps] Get rid of DynamicViewController in FloatParameterController
2018-09-11 11:32:29 +02:00
Émilie Feral
48f890ef93
[poincare] AngleUnit, FormatComplex and PrintFloatMode are now
...
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a
[poincare] Get rid of AngleUnit::Default
2018-07-18 17:09:07 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
6de71ae145
[poincare] Clean: convertFloatToText should be in PrintFloat instead of
...
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
83b5798850
[apps] Factorize code: textFieldDidReceiveEvent implementation is
...
identical for all parameters controller
2017-12-20 17:41:03 +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
76cbd2678d
[poincare] Change names: approximate->approximateToScalar
...
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Jacob Young
da1e66e798
Fix #115 by fixing the math.h and cmath includes.
2017-10-13 18:08:15 +02:00
Émilie Feral
f0a776a670
[apps] Operations in double when precision required
...
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
82e212e771
[poincare] Template for double
...
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
ba73e259ad
[apps/shared] Resolve bug: when deleting an editable cell, reselect (and
...
thereby make it first responder) the right cell
Change-Id: Ia5bd99c338c93f0e81656ccc9271f486e51fd22b
2017-06-08 18:20:07 +02:00
Émilie Feral
f43b307856
[escher] In table view, add method 'reloadCellAtLocation'
...
Change-Id: I2d662669621392698ee963a6c8e70d3d2f4ee829
2017-06-02 16:56:41 +02:00
Émilie Feral
af4d6b6e81
[escher] Divide class selectable table view delegate in 2: selectable
...
table view data source & selectable table view delegate
Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
19e4d77536
[apps] In float parameter controllers, do not select the validate button
...
when appearing but the first row
Change-Id: I0259b892661d3c53f6523c6ffc3adef4b4abdadc
2017-05-10 13:46:29 +02:00
Émilie Feral
62c93e49a6
[apps] AppsContainer does not own the apps but a pointer to the apps
...
Change-Id: I9b6787be2cd143b52fd8dd60f3528fed2f74e4bb
2017-05-03 15:32:54 +02:00
Émilie Feral
70fc734f7b
[escher] Change dynamic view controller paradigm
...
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +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
3f98061a4c
[escher] Extrude the model in selectable table view controller to its
...
delegate
Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
7715da8e36
[apps/shared] In float parameter controllers, back has the same
...
consequence as 'validate'
Change-Id: Id45f824c50af2f6e47be5abd9115d98971a1e073
2017-04-26 09:39:14 +02:00
Émilie Feral
784c27b8c8
[apps] Memory leak
...
Change-Id: Iffc90ef26a7e5aa500d47c77140b91e62cf6dbdc
2017-04-25 13:52:29 +02:00
Émilie Feral
230a53fe7e
[apps] Use a forgotten method on selectable table view
...
Change-Id: I6b934ac0d2587565c6b94d5130d158b621c1e187
2017-04-24 17:36:32 +02:00
Émilie Feral
f3eb2b80df
[escher] In textField, record edited data when changing selection
...
Change-Id: I74e1cac2188986244f79e7c5ad0eb1d300510475
2017-04-24 17:36:32 +02:00
Émilie Feral
e8753e15d3
[apps/shared] In float parameter controller, handle Backspace event on
...
textfields
Change-Id: Ie37843114b9d0ecb9f7745d19d8e284701bfa840
2017-04-24 14:37:27 +02:00
Émilie Feral
54c5f4dcda
[apps/shared] Make the float parameter controllers a dynamic controller
...
view
Change-Id: I216b7f6df15e5a406624ce3c1b0e892d0f871a6b
2017-04-24 14:37:27 +02:00
Émilie Feral
1f84157395
[apps] Correct bug: display warning only once !
...
Change-Id: I474aa564da189a548ef36ca9990ce627e0b50acc
2017-04-13 16:04:01 +02:00
Émilie Feral
6f3b173022
[apps/shared] In float parameter controller, stay in editing mode is the
...
value was refused
Change-Id: I2eca2c745bfbaeafb53de44f6e96f90a89d7925b
2017-04-05 14:39:10 +02:00
Émilie Feral
aeba193920
[apps/shared] Fix bug in goto
...
Change-Id: I328ef6a75da39f33f5155e22484451b6c903c6d2
2017-03-29 18:36:45 +02:00
Émilie Feral
0a3692cfac
[apps/shared] Do not reset the textfield is the data has not been
...
updated (syntax, math error)
Change-Id: I53301c2bdf59e03d0c2bcdb56b0da4d86d83bb5e
2017-03-29 18:36:39 +02:00
Émilie Feral
8bc326dba1
[apps/shared] Fix error
...
Change-Id: I635363ea034c48fb5367cd1cbaefc0472f951d41
2017-03-20 14:55:59 +01:00
Émilie Feral
dc6acc0d48
[apps/shared] Clip displayed range in graph view in interactive curve
...
view range
Change-Id: I4654a1f9c06420d6ade8a86a13c0d89f025f324f
2017-03-20 14:55:59 +01:00
Émilie Feral
b1fb4f5393
[escher] Correct commit : Enable to draw the outline of cells in table
...
view
Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01:00
Émilie Feral
1f21251011
[escher] Change name: pointer->message
...
Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
2017-03-16 15:12:12 +01:00
Émilie Feral
adc80cd71b
[apps][escher] I18n
...
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
406fc0e0a5
[escher] Enable to draw the outline of cells in table view
...
Change-Id: I2842e9fdada4ebdc3fe49608e6f7886d831aa98b
2017-03-16 15:12:11 +01:00
Émilie Feral
9aa516fe5d
[apps/shared] Improve validate button rendering in float parameter
...
controllers
Change-Id: I58ccc4da68c83509fe734038781b971d2a8f74c6
2017-03-16 15:12:11 +01:00
Émilie Feral
e7abdbe2e3
[apps/shared] In float parameter controllers, add a ok button
...
Change-Id: I6063afd5ebc9bcb0bcddc13e42a91d029c4bd831
2017-03-16 15:12:11 +01:00