Commit Graph

3251 Commits

Author SHA1 Message Date
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
Émilie Feral
3b25398e6e [shared] ScrollableExactApproximateExpressionsView: reloadScroll when
displayed layouts have changed
2019-06-17 15:10:40 -04:00
Émilie Feral
709a7028e8 [shared] BannerView: add an assertion to avoid deferencing nullptr 2019-06-17 10:20:25 +02:00
Émilie Feral
9c2fc84cd0 [code] Fix 'use address after scope' issue
We used an array that was out of scope in PythonToolbox.
2019-06-14 15:53:45 +02:00
Léa Saviot
bedc09f9f1 [apps/graph_controller] Clean code 2019-06-14 09:31:46 -04:00
Léa Saviot
3de7e4daab [apps/regression] Fix bannerView
For data
0 0
1 2
2 6
3 12
4 20
5 30
6 42
7 56
and square regression, the coefficient c is not fully displayed
2019-06-14 09:31:46 -04:00
Léa Saviot
a886c0fb32 [apps/shared] Share PadWithSpaces method 2019-06-14 09:31:46 -04:00
Léa Saviot
78bdd0e04b [apps/statistics] Fix banner view
Scientific mode, Data:
10 - 1
20 - 5
30 - 4
40 - 3
50 - 1
Display the histogram, there are problems in the banner view
2019-06-13 10:37:47 -04:00
Léa Saviot
1e64db68ef [apps/solver] Fix string length computation
The layout for delta=b^2*4ac did not appear properly
2019-06-13 08:50:45 -04:00
daffyb
d7333e6585 Update base.fr.i18n
some e become é
2019-06-12 15:55:27 +02:00
daffyb
278c8a5cc9 Update base.fr.i18n
"Numéro serie" >>> "Numéro série"
2019-06-12 15:54:10 +02:00
Ruben Dashyan
5ee130a959 [apps/code/editor_controller] Fix backspace event handling
If there are only spaces on the left of the cursor, then a backspace
should remove two spaces (or one if there is only one of it). The number
of spaces was miscomputed.
2019-06-05 18:15:48 +02:00
Ruben Dashyan
9a63be7ac6 [apps/code] Fix PythonToolbox
"kandinsky module function prefix" did insert "kandinsky.function"
instead of "kandinsky.\x11"
2019-06-05 18:15:48 +02:00
critor
1ef0e4054d encoding fix 2019-05-31 08:00:15 -04:00
critor
ec40cdd347 Fixed german special characters
Now that special unicode characters are supported, when appropriate, replaced occurrences of the 'ae', 'oe', 'ue', and 'ss' digrams with the proper character.
2019-05-31 08:00:15 -04:00