Commit Graph

1589 Commits

Author SHA1 Message Date
Ruben Dashyan
f5c3cb74e2 [apps/shared/curve_view] Fix rounding error in drawSegment 2019-07-30 14:15:08 +02:00
Ruben Dashyan
503995746a [apps/shared/function_graph_controller] Clean resolution usage in computeYRange 2019-07-30 14:15:08 +02:00
Ruben Dashyan
f4b7967a58 [apps/shared/curve_view] step in drawHistogram depends on x-range's width
instead of the width of the rect that is being drawn.
2019-07-30 14:15:08 +02:00
Ruben Dashyan
c22754fa63 [apps/shared/curve_view] Make curveViewRange() method const 2019-07-30 14:15:08 +02:00
É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
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
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
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
62cec10b46 [apps] Clean unnecessary AppsContainer class declarations and header inclusions 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
d04d414315 [apps] Remove InputEventHandlerDelegateApp::container() 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
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
Léa Saviot
aafb6d5a5e [apps/ion] Clean and shorten LCDData and LCDTiming tests 2019-07-15 15:21:14 +02:00
Léa Saviot
606e132747 [apps/bench] Change LCD Data pattern (tiling red/blue/green) 2019-07-12 17:50:38 +02:00
Émilie Feral
6e22b37910 [apps/shared] Fix ExpressionListController: the cell heights memoization
was corrupted
2019-07-12 16:39:55 +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
bf9ba7b363 [apps/hardware_test] ColorsLCDTest 2019-07-05 12:25:50 +02:00
Léa Saviot
7b99f78352 [post_and_hardware_tests] Bad pixels limit of 2, not 0 2019-07-05 12:25:45 +02: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
5ac1c27401 Merge branch 'version-11' into f7 2019-06-17 15:48:03 -04:00
Émilie Feral
a13d6daab8 [solver] Reinitialize selected subcell when changing displayed layouts 2019-06-17 15:38:53 -04:00
Émilie Feral
fbe0a0ca3e [shared] ScrollableExactApproximateExpressionsView: reloadScroll when
displayed layouts have changed
2019-06-17 15:38:53 -04:00
Émilie Feral
7d2f69821a [shared] BannerView: add an assertion to avoid deferencing nullptr 2019-06-17 15:38:53 -04:00
Léa Saviot
453c43967d [apps/shared] Share PadWithSpaces method 2019-06-17 15:38:53 -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
Léa Saviot
debcda40b1 Merge branch 'master' into f7 2019-06-17 14:33:05 +02:00
Émilie Feral
709a7028e8 [shared] BannerView: add an assertion to avoid deferencing nullptr 2019-06-17 10:20:25 +02:00
Léa Saviot
abb94feea9 Merge branch 'master' into f7 2019-06-14 16:03:59 +02:00
Léa Saviot
a886c0fb32 [apps/shared] Share PadWithSpaces method 2019-06-14 09:31:46 -04:00
Léa Saviot
eadf561b13 [ion/bench] LCDData command 2019-06-03 11:49:27 +02:00
Léa Saviot
8597f47c36 [apps/POSTAndHWTest] In LCDDataOK iterate on Text and Tiling tests 2019-05-29 14:06:42 +02:00
Léa Saviot
1980b1a9d1 [apps/POSTAndHWTest] LCDTest: Remove invalid pixels count limit 2019-05-28 16:50:58 +02:00
Léa Saviot
ad85f01c1e [apps/POSTAndHWTest] POST does Text tests, not full LCD tests 2019-05-28 16:50:58 +02:00
Léa Saviot
9f5ade8210 [apps/POSTAndHWTest] Remove WhiteTilingLCDTestOK 2019-05-28 16:50:58 +02:00
Léa Saviot
859064e9fb [apps/POSTandHWtest] LCD test displaying characters 2019-05-28 16:50:58 +02:00
Léa Saviot
7a9a1cdbe5 [POST/HardwareTest] LCD ad hoc white tiling test 2019-05-28 16:50:58 +02:00
Léa Saviot
680fd5086a [apps/POST/HWtest] VBlank test failure doesn't freeze the calculator 2019-05-22 16:49:15 +02:00
Léa Saviot
c85358967b [POST/HardwareTest] Change pattern in LCDDataTest
The pattern is a tiling of checkers of colors 2**k with k between 0 and
15 and their contraries.
This fixed a problem of failing LCD screens not detected.
2019-05-22 16:49:15 +02:00
Émilie Feral
927b69067c Merge branch 'version-11' into f7 2019-05-03 17:25:53 +02:00