Émilie Feral
9dd637f7c3
[apps] Settings: clean number of rows
2018-03-22 10:19:15 +01:00
Jean-Baptiste Boric
098c7dd9f4
[settings] Minimum of 5 m_cells in Settings::Subcontroller
...
Fixes #179
2018-03-21 17:41:57 +01:00
Émilie Feral
6de71ae145
[poincare] Clean: convertFloatToText should be in PrintFloat instead of
...
Complex
2018-03-21 15:57:19 +01:00
Romain Goyet
489b26e813
Re-organize and re-prefix the Makefile variables
2018-02-02 14:30:35 +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
Jean-Baptiste Boric
59e5750463
[apps] Extract shared translations from apps
...
This commit can be regenerated with the following shell snippet:
```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
move=$(grep "^$i = " -r *)
if [ -n "$move" ]
then
echo "$move" | while read -r item
do
file=$(echo "$item" | cut -f1 -d:)
lang=$(echo "$file" | cut -f2 -d.)
translation=$(echo "$item" | sed -e 's/^[^:]*://')
label=$(echo "$translation" | sed -e 's/=.*//')
sed -i "/^$label/d" "$file"
echo "$translation" >> "apps/shared.$lang.i18n"
done
fi
done
for i in apps/shared.*.i18n
do
sort $i -o $i
done
```
2017-12-07 09:20:31 +01:00
Adrien Bertrand
4c62ced3e2
[settings/main_controller] remove dead code.
...
Its action was already done above anyway.
2017-12-06 09:52:14 +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
eadf4a018a
[escher] New handling of stack view headers in StackViewController.
...
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).
Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
2017-11-17 11:59:50 +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
Adrien Bertrand
e0558551e0
[settings] allow left event to pop out of the lang controller ( fix #180 )
2017-10-02 11:32:56 +02:00
Romain Goyet
e6ed6c74a4
[apps] Split the i18n in multiple files
...
A Python script aggregates all i18n files and merges them.
We now can pick a list of locales to build in EPSILON_I18N_LANGUAGES
2017-09-29 17:08:46 +02:00
Romain Goyet
bcdad4a5f9
[apps] Use the shared language controller in the settings app
2017-09-28 17:17:27 +02:00
Romain Goyet
dcdd27d6bf
[apps] Apps can be picked and ordered at compile-time
2017-09-20 11:18:39 +02:00
Émilie Feral
01efc3c95d
[apps/settings] Connect settings gauge to prefered brightness
2017-09-06 17:34:18 +02:00
Émilie Feral
7a5bcf3e0f
[apps/settings] Add a row 'Brightness' to settings
2017-09-06 17:34:18 +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
b64a4110af
Change name: Algebric -> Cartesian
...
Change-Id: I7855e9df1d401f9a3c0e95c933078852594ff309
2017-06-21 13:11:08 +02:00
Émilie Feral
1c590bc690
[apps] Change name Macro: SOFTWARE_NEEDS_UPDATE to
...
OS_WITH_SOFTWARE_UPDATE_PROMPT
Change-Id: Ica72f098b8ed1a079f6a791a0adc5a2e981cc63f
2017-06-16 14:53:22 +02:00
Émilie Feral
442fe1e75d
[apps] Add a macro SOFTWARE_NEEDS_UPDATE
...
Change-Id: I70b0dd29455e0bcf84ba73ff31e8adb93f2c843a
2017-06-16 14:01:29 +02:00
Émilie Feral
0364f9494c
[i18n] Make English fist language
...
Change-Id: I6bcaf9d85c07b31dbb0129bec6f976e074ff2484
2017-06-14 12:01:40 +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
f43b307856
[escher] In table view, add method 'reloadCellAtLocation'
...
Change-Id: I2d662669621392698ee963a6c8e70d3d2f4ee829
2017-06-02 16:56:41 +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
8e914ec599
[apps/settings] Avoid reloading all table to update only one cell
...
Change-Id: I87b9572cd2ac013ee16a93a5a5732189dfdfd870
2017-06-02 14:07:56 +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
af4d6b6e81
[escher] Divide class selectable table view delegate in 2: selectable
...
table view data source & selectable table view delegate
Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +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
2cd86a839a
[apps] Define a const NumberOfLanguages
...
Change-Id: I8b69b97d00630d243ffa1d472c8890a409d61399
2017-05-12 10:42:34 +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
96733dbbdc
[apps] Rule of 5 (3)
...
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
9564ddcc8c
[apps] Fix bug with exam mode
...
Change-Id: Ia4ca107a3ec27699ed110959568c47a551d7f517
2017-05-09 11:53:40 +02:00
Émilie Feral
9ac4b4dbe1
[apps/settings] Value not initiated
...
Change-Id: I4e994194695fc70e64a89a334cb4e54dcdd3555f
2017-05-03 15:33:07 +02:00
Émilie Feral
62c93e49a6
[apps] AppsContainer does not own the apps but a pointer to the apps
...
Change-Id: I9b6787be2cd143b52fd8dd60f3528fed2f74e4bb
2017-05-03 15:32:54 +02:00