Commit Graph

11243 Commits

Author SHA1 Message Date
Émilie Feral
2b921c9965 [escher] ExpressionView: optimize setLayouts to avoid marking the whole
view as dirty when the layout did not really changed
2019-04-25 14:03:30 +02:00
Émilie Feral
76b4d36826 [escher] Clean empty lines 2019-04-25 13:45:46 +02:00
Émilie Feral
4330e4de42 [poincare] Layout: implement isIdenticalTo 2019-04-25 13:45:39 +02:00
Léa Saviot
9fb7eb9f92 [ion/device] Remove TODO comment 2019-04-25 10:59:10 +02:00
Léa Saviot
794ce8d892 [ion/on_boarding] Fix the backlight initialization 2019-04-25 10:58:49 +02:00
Léa Saviot
69593bd0be [apps/on_boarding] Visually hide the LCD POST to the user
By initing the backlight after the test, not before.
2019-04-25 09:43:44 +02:00
Émilie Feral
3234622df6 [poincare] Layout: discard methods isVerticalOffset(), isHorizontal(),
isRightParenthesisLayout(), isLeftBracket(), isRightBracket(),
isCodePoint(),
isLeftParenthesisLayout() and use type() instead
2019-04-24 17:25:04 +02:00
Léa Saviot
d103cd0919 [apps/hardware_test] Remove POST from hardware tests 2019-04-24 16:25:10 +02:00
Léa Saviot
da5a2d15f7 [apps/on_boarding] Power-on self-test
POST checks the battery, VBLANK and LCDData
2019-04-24 16:18:55 +02:00
Émilie Feral
064025edd5 [poincare] Layout: add a Type to all layouts 2019-04-24 15:45:55 +02:00
Émilie Feral
c6846bb85c [poincare] VerticalOffsetLayout: change name of 'Type' to 'Position' 2019-04-24 15:32:21 +02:00
Émilie Feral
75f2b55dd8 [shared] ScrollableExactApproximateExpressionsView: fix scrolling when
selecting the left or right output result
2019-04-24 14:56:07 +02:00
Émilie Feral
ff87c8c53c [escher] ScrollableView: discard duplicate data source of scrolling
offset
2019-04-24 14:34:18 +02:00
Léa Saviot
a4b0567e64 [hardware_test/lcd_test] Fix the BlackWhite test 2019-04-24 12:05:19 +02:00
Léa Saviot
4b5fd2651f [ion/crc32] Clean crc32 padded algorithm. 2019-04-24 09:55:54 +02:00
Émilie Feral
e29c2b8b39 [calculation] HistoryViewCell: reloadCell selects the right or left
output according to the calculation hold (this enables to discard
unnecessary reloadScroll)
2019-04-24 09:46:12 +02:00
Émilie Feral
8629b4c9e9 [shared] ScrollableExactApproximateExpressionsView: selecting the right
or left output reload the scroll to display the selected output
2019-04-24 09:43:22 +02:00
Léa Saviot
dea3ec71b6 [ion/external_flash] Fix JEDECid command 2019-04-23 16:25:29 +02:00
Émilie Feral
0c453386d3 [calculation] Calculation: improve memoization of a calculation height 2019-04-23 15:16:19 +02:00
Émilie Feral
55e325cc3a [shared] ScrollableExactApproximateExpressionsView: change the selected
output only when one of the two layout is uninitialized. Otherwise, the
parent cell decides of which of right or left output should be selected.
2019-04-23 11:15:17 +02:00
Émilie Feral
494a339c9b [escher] TextView: avoid useless markRectAsDirty when updating
backgroundColor and textColor
2019-04-23 11:14:39 +02:00
Émilie Feral
bba51b9716 [calculation] Display exact and approximate outputs in the
calculation history when the output is selected for calculations
involving decimal numbers (1.2)
2019-04-22 14:14:15 +02:00
Émilie Feral
1b2ce4a18e [calculation] Improve Calculation model: new display mode
ExactAndApproximateToggle
2019-04-22 14:12:00 +02:00
Émilie Feral
f2b1129ce2 [escher] SelectableTableViewDataSource: avoid calling m_delegate->tableViewDidChangeSelection when only reloading the data. 2019-04-22 11:07:56 +02:00
Ruben Dashyan
ed04e5e9e4 [apps/calculation] Simplify HistoryViewCell::handleEvent 2019-04-20 17:27:38 +02:00
Ruben Dashyan
0e89c08a26 [escher] Simplify TableView::scrollToCell 2019-04-20 17:27:38 +02:00
Ruben Dashyan
8bfb3f7a6c [apps/calculation] HistoryViewCell does not need to hold layouts 2019-04-20 17:27:38 +02:00
Émilie Feral
fcbfc575b1 [poincare] Keep unused log function when building with POINCARE_TREE_LOG 2019-04-19 17:58:33 +02:00
Émilie Feral
4f4880de2a [poincare] Power: fix infinite loop
Factorizing 1+(8+sqrt(6))^(1/2)^(-1) on the same denominator would lead
to an infinite loop in Real mode (because (8+sqrt(6))^(1/2)^(-1) is not
simplified to (8+sqrt(6))^(-1/2))
2019-04-19 17:56:26 +02:00
Léa Saviot
d1d217d583 [ion/bench] Remove waiting time in LCDPins test 2019-04-19 16:26:36 +02:00
Léa Saviot
d4324a992d [ion/bench] Rename PINS test as LCD_pins test 2019-04-19 16:26:36 +02:00
Léa Saviot
8b1cb27d71 [ion/bench] In pins test, only test LCD pins.
Other pins are tested by functional tests
2019-04-19 16:26:36 +02:00
Léa Saviot
e4cd72cf32 [apps/on_boarding] Light up the LED to indicate battery level 2019-04-19 15:12:25 +02:00
Léa Saviot
94434815ba [poincare/print_int] Fix printInt 2019-04-19 14:45:33 +02:00
Léa Saviot
6b5a212b02 [ion/bench] ExternalFlashId command 2019-04-19 14:44:20 +02:00
Léa Saviot
2381d944d0 [poincare] print_int helper 2019-04-18 17:43:33 +02:00
Léa Saviot
6dadf6cd96 [ion/power] Dummy standby method for not device platforms 2019-04-18 17:43:19 +02:00
Émilie Feral
c4502ceab3 [sequence] Fix isDefined 2019-04-18 16:11:15 +02:00
Émilie Feral
47ae5118e7 [poincare] Fix Layout::replaceWithJuxtapositionOf (keep an empty layout
if both children are empty)
2019-04-18 15:43:54 +02:00
Émilie Feral
13ddb80b57 [graph] Fix build 2019-04-18 15:19:43 +02:00
Émilie Feral
2f5d1b029c [apps] BatteryView: avoid redrawing when battery picto switch from 'low'
to 'empty' (the pictograms for low and empty are identical)
2019-04-18 15:19:36 +02:00
Ruben Dashyan
6d66b2e75e [apps/graph/graph] Add Preimage controllers to CalculationParameterController 2019-04-18 14:26:42 +02:00
Ruben Dashyan
48d3a58ffc [apps/graph/graph] CalculationParameterController inherits from ListViewDataSource
instead of SimpleListViewDataSource
2019-04-18 14:26:42 +02:00
Ruben Dashyan
23fd28b3b4 [apps/graph/graph] Define PreimageParameterController class 2019-04-18 14:26:42 +02:00
Ruben Dashyan
e0774cba4b [apps/graph/graph] Define PreimageGraphController class 2019-04-18 14:26:42 +02:00
Ruben Dashyan
ab108bbd2c [apps/graph] Add preimage to i18n 2019-04-18 14:26:42 +02:00
Émilie Feral
e39172a7cd [apps] AppsContainer: 'shutdownDueToLowBattery' can be call when the
battery is actually LOW (due to some oscillations between LOW and
EMPTY). Handle that case
2019-04-18 14:07:03 +02:00
Émilie Feral
ef12e6de79 [apps] BatteryView: when the battery is EMPTY and the device hasn't
shut down yet, avoid drawing full battery (and breaking assertion)
2019-04-18 14:07:03 +02:00
Émilie Feral
c74d0aac11 [ion] Power: fix standby bug
When the "home" key was down, the device would enter and leave standby
mode without any event on the "power" key.
2019-04-18 11:58:35 +02:00
Émilie Feral
493cff9c0f [ion] N0200: access flash memory through ITCM bus instead of AXIM bus 2019-04-18 09:51:22 +02:00