Émilie Feral
7a4ee746b2
[escher] TextField: call reinitDraftBuffer after edition is complete to
...
avoid erasing text that is required later.
Fix bug: OK handling on function list in linear mode did not copy the
function expression into the textfield before editing
2019-07-30 11:47:42 +02:00
Léa Saviot
7b84b65502
[apps/code] Fix sandbox and input clash
...
The command "squares()%input()" followed by text, OK, and a backspace
event broke an assertion on the consoleStore number of lines.
2019-07-30 11:31:21 +02:00
Léa Saviot
040a5cfb15
[apps/regression] Fix typo in the logistic regression formula
2019-07-24 14:51:43 +02:00
Ruben Dashyan
eb6d697927
[apps] Make app accessors static members of App classes
2019-07-19 15:06:25 +02:00
Ruben Dashyan
44809f4b3f
Substitute Escher app() by Container::activeApp()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1a2a651f36
[apps] Replace app() by expressionFieldDelegateApp() in Calculation::EditExpressionController
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3e992a3560
[apps] Replace app() by textFieldDelegateApp() in TextFieldDelegates
2019-07-19 15:06:25 +02:00
Ruben Dashyan
28f713e905
[apps/shared] Make App accessors const in delegates
2019-07-19 15:06:25 +02:00
Ruben Dashyan
9611133276
[apps] Factor Shared::TextFieldDelegateApp::isAcceptableText
2019-07-19 15:06:25 +02:00
Ruben Dashyan
ff887ec4a0
[apps/shared] Define static app() accessor in FunctionApp class
2019-07-19 15:06:25 +02:00
Ruben Dashyan
2c9489966d
[apps/graph/graph] GraphController accesses the app directly
2019-07-19 15:06:25 +02:00
Ruben Dashyan
14835d0454
[apps/exam_pop_up_controller] ContentView accesses the app directly
2019-07-19 15:06:25 +02:00
Ruben Dashyan
224f7873f7
[*container] Make Container::s_activeApp protected
2019-07-19 15:06:25 +02:00
Ruben Dashyan
a0e6151b26
[*container] Remove static Container::sharedContainer
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1dd39f6f6b
[apps/home] Revert commit "Select cell on Snapshot's construction"
2019-07-19 15:06:25 +02:00
Ruben Dashyan
e9d098bacb
[apps] Remove AppsContainerStorage::sharedContainer
...
Use AppsContainer::sharedAppsContainer instead. The AppsContainerStorage
is initialised in AppsContainer.
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
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
Ruben Dashyan
4111927bae
[apps] Access *DelegateApp() through app()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
bcf2fda882
[apps/home] Access to SelectableTableViewDataSource directly from App
2019-07-19 15:06:25 +02:00
Ruben Dashyan
0702212cfe
[apps/home] Select cell on Snapshot's construction
2019-07-19 15:06:25 +02:00
Ruben Dashyan
a124f456c6
[apps/home/controller] Remove dummy
2019-07-19 15:06:25 +02:00
Romain Goyet
21907fb89a
[apps] Get rid of App casts
2019-07-19 15:06:25 +02:00
Romain Goyet
eaa4758367
[apps/probability] Use namespaced App::app() function
2019-07-19 15:06:25 +02:00
Romain Goyet
e5f7b93efb
[apps/probability] Avoid a local snapshot cast
2019-07-19 15:06:25 +02:00
Romain Goyet
45875dd642
[escher] Make app() a global function
...
This way it can easily be reached by anyone, including non-responders.
And it can easily be overwritten in namespaced apps.
2019-07-19 15:06:25 +02:00
Ruben Dashyan
154baae6d3
[apps/on_boarding] LanguageController does not need to hold LogoController
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3aa2e5d6a7
[apps/on_boarding] Move LanguageController::reinitOnBoarding() to 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
5548767809
[apps] Timers access the shared container directly
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974
[apps] Remove Container * parameter from all App constructors
2019-07-19 15:06:25 +02:00
Ruben Dashyan
2c98a6ea0d
[apps/home/controller] Substitute m_container by AppsContainer::sharedAppsContainer()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
d04d414315
[apps] Remove InputEventHandlerDelegateApp::container()
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3489a1a644
[apps/regression] The GraphView does not need a pointer to the GraphController anymore
2019-07-19 15:06:25 +02:00
Ruben Dashyan
eb3da7f395
[apps] Substitute "app()->container()" by "AppsContainer::sharedAppsContainer()"
2019-07-19 15:06:25 +02:00
Ruben Dashyan
268ad3f3ba
Access the shared container from escher and apps
2019-07-19 15:06:25 +02:00
Ruben Dashyan
3546788573
[apps/shared/input_event_handler_delegate_app] Simpler (and protected) access to AppsContainer *
2019-07-19 15:06:25 +02:00
Ruben Dashyan
9a25249088
[apps/shared/store_controller] Simpler access to AppsContainer *
2019-07-19 15:06:25 +02:00
Émilie Feral
7891cf4182
[apps/shared] Fix ExpressionListController: the cell heights memoization
...
was corrupted
2019-07-11 10:43:59 +02:00
Léa Saviot
2fdbf2ea11
[poincare] VerticalOffsetLyt serializes as ^().
...
UCodePointLeftSuperscript and UCodePointRightSuperscript no longer exist
2019-06-26 14:03:08 +02:00
Léa Saviot
6455891b77
[apps/test] Silence unused variable warning
2019-06-26 14:03:08 +02:00
Léa Saviot
40c5196cee
[test] Use strcmpWithSystemParentheses
...
Now there can be two types of parentheses : '(' or
UCodePointLeftSystemParenthesis. Because we do not want to complicate
the test results, when comparing a computed serialization and a result
we do not differentiate between the two types of parentheses.
2019-06-26 14:03:08 +02:00
Léa Saviot
5f20c1d0c4
[apps] Fix portuguese typo
2019-06-26 09:38:49 +02:00
Léa Saviot
2463b6bb95
[apps/code] Update icon
2019-06-21 14:30:31 -04:00
Léa Saviot
5f549b514e
[escher] Fix backspace on utf8 combining code point
2019-06-21 14:30:14 -04:00
Émilie Feral
fb80cd3271
[apps] Object contained in the Storage might be unaligned. Make sure to
...
use emscripten unaligned type to avoid producing an alignment error on
emscripten platform.
2019-06-19 09:54:57 +02:00
Émilie Feral
cd688ab9cf
[apps] Force packing classes of objects contained in the Storage
...
If these classes are padded, we lose space in the Storage and the
Storage::checksum is computed on uninitialized values (corresponding to
the padding memory spaces)
2019-06-19 09:54:57 +02:00
Émilie Feral
0222509850
[regression] GraphController: add missing banner view reload
2019-06-17 15:33:10 -04:00
Émilie Feral
0b8fddf576
[solver] Reinitialize selected subcell when changing displayed layouts
2019-06-17 15:10:40 -04:00