Commit Graph

72 Commits

Author SHA1 Message Date
Émilie Feral
616e4c0bcc [poincare] Change name: LayoutRef --> LayoutReference 2018-09-14 16:57:12 +02:00
Émilie Feral
174c581474 [settings] Fix SubController with new Poincare API 2018-09-06 15:56:31 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Léa Saviot
3b582a2e46 Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Romain Goyet
a29c775663 [ion] Encode the serial number in Base64
Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
2018-05-04 17:31:41 +02:00
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Léa Saviot
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Léa Saviot
55d56b3927 [usb] Send real serial number in the device descriptor.
Change-Id: Ie64f2a0fb03913600c96986dab8171afaa6bf05b
2018-04-06 14:31:49 +02:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Léa Saviot
8ab8ef4c5f [apps/settings] Add a setting for the edition mode (1D or 2D).
Change-Id: Ia6783d3443a8b059e67a293a517bc652950aab55
2018-01-17 10:38:43 +01:00
Léa Saviot
735d79a0fc [apps/settings] Use the new layouts in the Settings app.
Change-Id: Ic90a78cf58cac28f24b65c5e0c1776c61675bb98
2018-01-15 11:58:07 +01:00
Léa Saviot
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Émilie Feral
83b5798850 [apps] Factorize code: textFieldDidReceiveEvent implementation is
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
077a95197e [escher] SelectableTableView handles setting the ccell as first
responder if needed
2017-12-20 17:17:41 +01:00
Émilie Feral
b47cdbb87a [apps] Fix bug in settings: do not set the sub controller table as first
responder when no cell is selected
2017-12-20 17:17:41 +01:00
Émilie Feral
9b72bc86fa [apps] In settings, fix bug in setting first controller 2017-12-08 10:28:25 +01:00
Léa Saviot
3bd1477912 [apps] Fixed bug in settings.
When activating or deactivating the exam mode, the table did not display
the right label immediately.

Change-Id: I3ce556202b4dde94235d90b937b3f00274b2f3d6
2017-12-05 11:28:38 +01:00
Émilie Feral
3dbe526a92 [apps] In settings, add a row in display mode menu to choose the number
of significant digits

Change-Id: I5ff19740e0ee7258a6d77054df547f916d9b04c4
2017-12-01 11:53:59 +01:00
Léa Saviot
68e237702b [escher/apps] Factorization of Toolbox.
MathToolbox methods moved to its parent, Toolbox (in escher).
Node and ToolboxNode classes renamed MessageTree and ToolboxMessageTree.
They are now in escher/, not in apps/.

Change-Id: Ibb26b0e9016094cef79506a1e9fc6dfb492d7103
2017-11-17 11:59:50 +01:00
Romain Goyet
bcdad4a5f9 [apps] Use the shared language controller in the settings app 2017-09-28 17:17:27 +02:00
Adrien Bertrand
d150837d7d [various apps] StringLayout: fix buffer overflow and use auto size
* The buffer overflow was happening when changing the complex format in
the settings.
* All const char arrays manually ending with a nul char were trimmed of
it considering StringLayout adds it already.
* Use automatic compile-time array-size when possible, avoids mistakes
2017-09-04 23:31:51 +02:00
Adrien Bertrand
503786ec72 [apps/settings] sub controller: fix buffer overflow.
- Caught by ASan
- The 3 and 4 length were swapped
- It's now using compile-time automatic sizes
2017-09-04 21:35:53 +02:00
Romain Goyet
88630addd4 Fix a comment 2017-09-01 14:38:46 +02:00
Émilie Feral
cd9dd248f7 [apps/settings] Add choices in languages: german and protuguese
Change-Id: Ie350fceea799fdcc351eb69be1df8243618c85e6
2017-06-08 18:30:46 +02:00
Émilie Feral
ba73e259ad [apps/shared] Resolve bug: when deleting an editable cell, reselect (and
thereby make it first responder) the right cell

Change-Id: Ia5bd99c338c93f0e81656ccc9271f486e51fd22b
2017-06-08 18:20:07 +02:00
Émilie Feral
0559661a07 [apps/hardware_test] Launch hardware test on FCC-ID row
Change-Id: I65d5d853fdd0ae8c0917a5505820256eb8baf871
2017-06-02 15:36:09 +02:00
Émilie Feral
6a888136c3 [apps/settings] Add FCC ID in about menu
Change-Id: Iafe06e56591399a1442b8de64257990ffa23ddac
2017-06-02 14:16:55 +02:00
Émilie Feral
ce09d2f9c4 [apps] Event 'right' on chevron cells behaves as OK and 'left' on the
next cell as 'back'

Change-Id: I2470659d8237373b21ad106c79cc5f8945f0edb5
2017-06-02 14:07:56 +02:00
Émilie Feral
6afa7cd3fd [apps/hardware_test] Redesign hardware test
Change-Id: Id2c55fe66ca68ce617ea131f5cfb77d78557860b
2017-06-01 09:43:22 +02:00
Émilie Feral
d7091397e5 [escher] Rule of 5 in view
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
e7e785663b [apps/settings] Open hardware test with 6, t or T events
Change-Id: Id4446d7cc090578b42abe94069b5bc1e4d7f5037
2017-05-23 15:15:44 +02:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
06de0dd9db [escher] Only one app is on the heap at one time
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
2017-05-18 14:16:41 +02:00
Émilie Feral
a30bdf0d8d [escher] Redraw the window when a timer fires
Change-Id: Ib62ad7ec9641e6da61f8c3cbf00fbd470d46326c
2017-05-18 14:16:41 +02:00
Émilie Feral
343faf1bde [apps/settings] Clean sub controller
Change-Id: I58e2ec1c527354f340285fa7b4ed7d921ccb867e
2017-05-15 14:01:49 +02:00
Émilie Feral
18668cd38b [apps/settings] Enable/unable update popup
Change-Id: Ib772623728a481afd49c92968f7102d7c7d2d77b
2017-05-15 13:44:08 +02:00
Émilie Feral
689b5e1b48 [apps] Reload title bar when changing language
Change-Id: I1b2a7bc0a64af851f366843b8e06133e80050bc3
2017-05-10 16:30:46 +02:00
Émilie Feral
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
9564ddcc8c [apps] Fix bug with exam mode
Change-Id: Ia4ca107a3ec27699ed110959568c47a551d7f517
2017-05-09 11:53:40 +02:00
Émilie Feral
0517066cc0 [escher] Extrude scroll view model to its delegate
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
230a53fe7e [apps] Use a forgotten method on selectable table view
Change-Id: I6b934ac0d2587565c6b94d5130d158b621c1e187
2017-04-24 17:36:32 +02:00
Émilie Feral
93e98abf17 [apps/settings] Open/close hardware test
Change-Id: I1a5cef4643e586a500ec1a8063aca416476d556a
2017-04-24 14:37:28 +02:00
Émilie Feral
b0f51e818e [apps] Exam mode
Change-Id: I0650df50940bc341217d09f3ad3299a889ec9eab
2017-04-07 15:08:32 +02:00
Émilie Feral
702e3fede8 [apps/settings] Add a row "about" in settings
Change-Id: I2c7dd5a26133d7460b9c7fce087347e5f99b9467
2017-04-04 14:25:49 +02:00
Émilie Feral
e89f8f72dc [apps/settings] Fix bug
Change-Id: I355fea52e90ff77a3112487f76d19d35f9fb27e7
2017-03-29 11:35:30 +02:00
Émilie Feral
b1fb4f5393 [escher] Correct commit : Enable to draw the outline of cells in table
view

Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01:00