Commit Graph

3741 Commits

Author SHA1 Message Date
Léa Saviot
6765de4598 [apps/regression] Add X bar and Y bar 2019-05-03 15:53:19 +02:00
Léa Saviot
496d346049 Remove max/min inline from KDCoordinate header 2019-05-03 15:53:19 +02:00
Léa Saviot
a7b51f92ee [apps] Remove compilation warning about unused variable 2019-05-03 15:53:19 +02:00
Léa Saviot
bbb10f1993 [ion/kandinsky] Move unicode to ion 2019-05-03 15:53:19 +02:00
Léa Saviot
6b6d3d7fe2 [tests] Fix unicode for tests 2019-05-03 15:53:19 +02:00
Léa Saviot
5c39cab73e [escher] Fix text inputs so they use UTF8 2019-05-03 15:53:19 +02:00
Léa Saviot
7a1fd68626 [poincare/utf8_decoder] nextCodePointPointer is now stringPosition 2019-05-03 15:53:19 +02:00
Léa Saviot
41afa92f10 [unicode] Use the UTF8Decoder to scan const char * 2019-05-03 15:53:19 +02:00
Léa Saviot
65e5adafac Remove Ion::Charset 2019-05-03 15:53:19 +02:00
Léa Saviot
f576e31ff1 [apps/poincare] Replace CharLayouts with CodePointLayouts 2019-05-03 15:53:19 +02:00
Léa Saviot
e57995712b [kandinsky/font] Fix rebase on master 2019-05-03 15:53:19 +02:00
Romain Goyet
bf0d947939 [i18n] Encode strings as NFKD-normalized UTF-8 strings 2019-05-03 15:53:19 +02:00
Léa Saviot
bfc21c304a [apps/on_boarding] Shorter logo display 2019-05-02 13:52:33 +02:00
Léa Saviot
7c9747da64 [apps/post_and_hardware_tests] Clean code 2019-04-30 17:15:30 +02:00
Léa Saviot
c388d9bb4c [apps/hardware_test] No black screen in LCDDataOK 2019-04-30 17:15:30 +02:00
Léa Saviot
f32e35c7a8 [apps/on_boarding] Faster LCDData test in POST 2019-04-30 17:15:30 +02:00
Léa Saviot
5e7731c34d [apps/on_boarding] Reset LED only if POST was performed
Fixes LED color bug in the following scenario:
Plug the device, reset, back, unplug the device, select language
-> The led is lit up
2019-04-30 15:40:47 +02:00
Émilie Feral
23da0d3f2c [ion] Namespace Ion::UTF8Helper and Ion::UTF8Decoder 2019-04-29 18:01:30 +02:00
Émilie Feral
9e962874b6 Merge branch 'version-11' into HEAD 2019-04-29 18:00:17 +02:00
Émilie Feral
6c476526d1 [calculation] HistoryController: Avoid useless cell reloading (avoid
blinking)
2019-04-29 17:55:28 +02:00
Léa Saviot
e7d2c61cec [apps/regression] Increase the iterations limit to compute a regression
The exponential regression on the following data now works:
1 120000
3 130000
6 150000
8 160000
2019-04-29 17:24:53 +02:00
Léa Saviot
dbd7196599 [apps/hardware_test] remove test done twice 2019-04-29 17:20:24 +02:00
Léa Saviot
8e3fa8c2e3 [apps/POST] Test not performed if calculator plugged 2019-04-29 10:18:28 +02:00
Romain Goyet
8308068b69 [apps/code] Add catalog entry for kandinsky.fill_rect 2019-04-26 17:44:27 +02:00
Émilie Feral
661c7b9943 [escher] SelectableTableView: when reloading data, we temporary deselect
the table. We warn the SelectableTableViewDelegate that the selection
change is 'within a temporary selection change' when notifying it of the
change.
2019-04-26 14:48:31 +02:00
Léa Saviot
641484457c [apps/hardware_tests and POST] Factorize the tests 2019-04-26 12:02:53 +02:00
Léa Saviot
204be4e7a3 Revert "[apps/hardware_test] Remove POST from hardware tests"
This reverts commit d103cd0919.
This tests are needed to block the production if they fail
2019-04-26 11:35:16 +02:00
Émilie Feral
78907aeb4a [calculation] Calculation: memoized display output 2019-04-26 10:46:46 +02:00
Émilie Feral
80ad1e9623 [shared] Clean reloading (highlight, even) of
ScrollableExactApproximateExpressionsCell and
ScrollableExactApproximateExpressionsView
2019-04-26 10:41:36 +02:00
Émilie Feral
87c5004aec [calculation] HistoryViewCell: clean 2019-04-26 10:14:11 +02:00
Émilie Feral
7150669f5e [calculation] Change name: 'calculation selected' --> 'calculation
expanded'
2019-04-26 10:03:24 +02:00
Émilie Feral
aebc5ce4d0 [calculation] Calculation: discard Calculation::toggleDisplayExact (this
feature will be developed later)
2019-04-26 09:50:25 +02:00
Émilie Feral
1535d4dbb4 [calculation] HistoryViewCell: better split reload (highlight, scroll
etc)  between willDisplayCellForIndex and cellDidSelectSubview
2019-04-26 09:43:22 +02:00
Léa Saviot
380ac52cd8 [ion/crc32] crc32Byte and crc32Word 2019-04-25 17:11:06 +02:00
Émilie Feral
a02a1fc5a4 [calculation] HistoryViewCell: fix scroll reloading and right or left
outputs selection (the order of events here matters)
2019-04-25 15:20:55 +02:00
Émilie Feral
25722d578d [calculation] HistoryViewCell: memoize calculation and cell selection to
speed up navigation in HistoryController
2019-04-25 14:03:35 +02:00
É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
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
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
É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
É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