Commit Graph

6349 Commits

Author SHA1 Message Date
Léa Saviot
d12da1459a [liba] strlcpy(dst, src, dstsize) returns strlen(src) 2018-10-17 11:22:37 +02:00
Léa Saviot
fb2bde7938 [build] LTO flag can be set by user, else it is opposite of DEBUG flag
If no LTO, at least prune symbols.
2018-10-17 11:16:06 +02:00
Émilie Feral
5cd0f8796a Makefile: Version 1.8.0 2018-10-16 11:12:50 +02:00
Émilie Feral
1dd734b8e6 [on-boarding] Improve beta pop-up layout 2018-10-16 11:09:50 +02:00
Émilie Feral
3f711da8e4 [Makefile] Create a build option: EPSILON_BOOT_PROMPT that can be
'update' or 'beta' to display a prompt informing about new update or
beta version
2018-10-16 11:09:50 +02:00
Émilie Feral
c8d7ee46d9 [on-boarding] Delete specialize PopUpController 2018-10-16 11:09:50 +02:00
Émilie Feral
0ee0e87637 [apps] GlobalPreferences: change name showUpdatePopUp --> showPopUp 2018-10-16 11:09:50 +02:00
Émilie Feral
14b6ed5890 [on_boarding] I18n: add messages for Beta version pop-up 2018-10-16 11:09:50 +02:00
Émilie Feral
0a36090623 [on_boarding] LanguageController: remove useless member variable 2018-10-16 11:09:50 +02:00
Émilie Feral
b4143bb276 [on_boarding] Add EPSILON_SOFTWARE_UPDATE_PROMPT flag to build
UpdateController only when required
2018-10-16 11:09:50 +02:00
Émilie Feral
c87adf79cc [on_boarding] Move update_controller->pop_up_controller: enable other
pop_up_controller with different messages
2018-10-16 11:09:50 +02:00
Émilie Feral
1917ee8588 [i18n] german translation
- Wahrscheinlichkeit is too long to be displayed
- XPrediction describes the prediction of Y given X
2018-10-16 09:36:20 +02:00
Romain Goyet
8264e3f1f8 [build] Enable LTO for the device 2018-10-12 14:39:26 +02:00
Romain Goyet
23b60ec345 [ion/device] Reference the USB PollAndReset function with a section 2018-10-12 14:39:26 +02:00
Romain Goyet
6f7063dfda [liba] Make sure memset and memcpy are always kept at link time
Works around a bug in GCC
2018-10-12 14:39:26 +02:00
Romain Goyet
308ab85173 [ion/device] Make sure start()'s prologue doesn't use VFP registers 2018-10-12 14:39:26 +02:00
Romain Goyet
14d84af28e [ion/device] Mark the ISR vector as used
This prevents the linker from ever discarding that symbol
2018-10-12 14:39:26 +02:00
Romain Goyet
0489842997 [kandinsky] Make sure the image compressor can actually compress 2018-10-12 09:36:44 +02:00
Romain Goyet
f1198d3c76 [ion] Add Ion::stackSafe
This allows asserting the stack is within bounds
2018-10-12 09:36:44 +02:00
Romain Goyet
f4f567814e [escher] Compress images 2018-10-12 09:36:44 +02:00
Léa Saviot
fc7fa4b152 [poincare] Fix cursor position when inserting parenthesis 2018-10-11 17:00:35 +02:00
Romain Goyet
026a20ee41 [kandinsky] Fix an off-by-one in the rasterizer 2018-10-11 16:44:02 +02:00
Romain Goyet
748f1096bd [kandinksy] Clean up the rasterizer 2018-10-11 16:44:02 +02:00
Romain Goyet
23f93703ad [kandinsky] Don't forget the last character of the range 2018-10-11 16:44:02 +02:00
Romain Goyet
dfb30e5799 [kandinsky] Remove some warnings 2018-10-11 16:44:02 +02:00
Romain Goyet
1dd1e6ca8d [kandinsky] Handle drawing clipped text
Text can be drawn in a rect that cannot contain the whole character.
Luckily, we have fillRectWithPixels handy to handle such cases.
2018-10-11 16:44:02 +02:00
Romain Goyet
fd136f71e7 [quiz] Update the runner to use the new KDFont API 2018-10-11 16:44:02 +02:00
Romain Goyet
aeab06513e [kandinsky] Cleanup KDFont, include all characters 2018-10-11 16:44:02 +02:00
Romain Goyet
c183f0147e [kandinsky] Get rid of KDText 2018-10-11 16:44:02 +02:00
Romain Goyet
f8beae3b86 [kandinsky] Move to KDFont 2018-10-11 16:44:02 +02:00
Romain Goyet
29882768bd [kandinsky] Use LZ4 to compress fonts
This is a work-in-progress
2018-10-11 16:44:02 +02:00
Romain Goyet
83662ebf70 [kandinsky] Remove warning, add missing file 2018-10-11 16:44:02 +02:00
Romain Goyet
da4cc4356f [kandinsky] Introduce a KDFont class 2018-10-11 16:44:02 +02:00
Léa Saviot
6221669a7e [poincare] Fix Decimal::templatedApproximate
Before, we used an unsigned mantissa and needed to set the sign
afterwards, but with the signed mantissa we must not do this.
2018-10-10 10:27:48 +02:00
Émilie Feral
7394c56afd [solver] Avoid resolving equation involving Matrix 2018-10-08 16:37:57 +02:00
Émilie Feral
78ccb69b59 [poincare] Create Expression::reduceChildren and assert that deepReduce
is not called on a Matrix
2018-10-08 16:37:57 +02:00
Émilie Feral
dcf88eae01 [sequence] Revert: when editing expression with other event than OK or
EXE, we do not want to edit the previous text but to override it
2018-10-08 13:16:40 +02:00
Émilie Feral
83715153fc [escher] LayoutField: the buffer layout needs to be cleared before next
use of layout_field
2018-10-08 13:16:40 +02:00
Émilie Feral
466c44781a [escher] Fix buffer overflow in TextArea 2018-10-08 11:56:14 +02:00
Romain Goyet
c5056248d2 [python] Don't add underscore-prefixed items to the var menu 2018-10-08 10:56:14 +02:00
Émilie Feral
625c0acd8b [code] Fix EditorController: cannot use strcpy when the first char is a
flag that can be 0
2018-10-08 09:46:31 +02:00
Émilie Feral
3677b2f1d0 [poincare] Improve Trigonometry::RoundToMeaningfulDigits comment 2018-10-05 14:56:27 +02:00
Émilie Feral
b3c9d2ed31 [poincare] Fix tests on properties with new poincare_polynomial_degree
implementation on Derivative and Integral
2018-10-05 14:56:27 +02:00
Émilie Feral
3b42ddf546 [poincare] Fix Trigonometry::RoundToMeaningfulDigits: takes the argument
into account to avoid sin(1E-15) = 0
2018-10-05 14:56:27 +02:00
Émilie Feral
e4b4fd7e52 [poincare] Clean wrong assertion 2018-10-05 11:46:59 +02:00
Émilie Feral
2297d1a7aa [solver] Escape undefined equations 2018-10-05 11:46:59 +02:00
Émilie Feral
e45e653619 [python] Fix bug in Micropython when parsing const char * in
float/double

This is fixed in Micropython project by commit b768cc6ca8ed6d7430b86dc7ccb9ee2391b3a251
2018-10-02 14:41:23 +02:00
Da Costa Faro Rémy
9a58f25646 Reindent 2018-10-02 09:49:11 +02:00
Da Costa Faro Rémy
dd678fd66b Fix sequence field 2018-10-02 09:49:11 +02:00
Émilie Feral
dfb975344c [settings] Fix fr i18n 2018-10-01 09:36:46 +02:00