Commit Graph

11582 Commits

Author SHA1 Message Date
Quentin
aea963dac0 [Fix] Fix conflicts ._. 2020-04-07 14:53:19 +02:00
wow
42fa0e7fbc More friendly french translations 2020-04-07 11:46:30 +02:00
Émilie Feral
7df8c2935a [python] upgrade to micropython 1.12 2020-04-07 11:28:32 +02:00
Émilie Feral
010fb1894f [python] Remove mpversion useless header 2020-04-07 11:28:32 +02:00
Émilie Feral
26aab94ac0 [apps/shared] Avoid signed/unsigned int comparison warning 2020-04-07 09:51:39 +02:00
Émilie Feral
e1d7b6bb04 [apps] Avoid unsigned/signed comparison: storeChecksumAtIndex takes an
int as parameter
2020-04-07 09:51:39 +02:00
Émilie Feral
154625a945 [python] Fix warning: comparisons between signed and unsigned integers 2020-04-07 09:51:39 +02:00
Romain Goyet
e314f2eb65 [ci] Use steps to pass the binary_size result 2020-04-06 19:18:47 -04:00
Joachim LF
7e02a90b2a Don't scan not loaded script in toolbox 2020-04-06 18:31:32 +02:00
Joachim LF
77af9ab92b I18NWarn 2020-04-06 18:29:48 +02:00
Neven Sajko
bc7d598517 [ion] do not increment volatile variable in isr_systick
In 2019 a proposal was approved which is deprecating this and other
harmful usage of volatile in C++ in 2020. See web links at the end.

Note that this did not at all change the GCC-generated machine code.

Deprecating volatile (adopted in 2019 for C++20):
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1152r0.html
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r4.html

Related, but less relevant:

volatile_load<T> and volatile_store<T>:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1382r1.pdf

Deprecating volatile: library:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1831r0.html
2020-04-06 17:18:03 +02:00
Neven Sajko
1c9b402645 [ion] Remove volatile qualifier from millis return type
Qualification of an integer return type as volatile is ignored by the
compiler. To clarify, an integer value (not a variable), which is what
the return type is, can not be assigned to anyway, so qualification as
volatile does not make sense.
2020-04-06 17:18:03 +02:00
Romain Goyet
e34811ff18 [ci] Report metrics on each PR 2020-04-06 15:29:03 +02:00
Romain Goyet
02738ba06a [build] Add a tool to compare the size of two ELF files 2020-04-06 15:29:03 +02:00
Léa Saviot
efff509e2a [apps/global_preferences] DefaultLanguage is the first of the locales
Not EN, because we might build without the EN locale
2020-04-06 13:35:18 +02:00
Léa Saviot
19b5653851 [apps/i18n] Remove Language::Default
We never translate a i18n message to something else than the currrent
language selected
2020-04-06 13:35:18 +02:00
Émilie Feral
c58456a058 [python] matplotlib: add comment WIP 2020-04-06 12:30:52 +02:00
Émilie Feral
b7392dbd95 [python] matplotlib: clean implementation (by using
mp_obj_float_binary_op)
2020-04-06 12:30:52 +02:00
Émilie Feral
190802aa23 [python] Remove unused duplicate file 2020-04-06 12:30:52 +02:00
Aleks ANDRÉ
5348640925 Traduction 2020-04-06 10:37:34 +02:00
Romain Goyet
bfb39618e1 [poincare] Add some missing std::move 2020-04-06 10:13:14 +02:00
Romain Goyet
84f6b179de [build] rule_for now takes both "local" and "global" parameters
Previous the build would fail on macOS if you had an epsilon.elf file in
at the root of the project. Indeed, the %.elf -> %.bin rule would get
triggered, but this rule should only operate on generated (intermediate)
elf file.
2020-04-06 10:12:54 +02:00
Romain Goyet
7d5cad32b1 [build/all] Q isn't defined (and isn't needed either) 2020-04-06 10:02:06 +02:00
Romain Goyet
edde8e8eba [build/all] Re-sourcing emsdk isn't needed 2020-04-06 10:02:06 +02:00
Romain Goyet
f450e36e65 [build/all] Use the short iOS and Android targets 2020-04-06 10:02:06 +02:00
Romain Goyet
88912be9a8 [build] The all target can live in a standalone Makefile 2020-04-06 10:02:06 +02:00
Romain Goyet
a840e7fb05 [liba] Define SEEK_CUR
For some reason it was defined in Python and raised re-def errors
2020-04-06 09:51:04 +02:00
Romain Goyet
6de90d97a4 [build] Remove duplication of HANDY_TARGETS_EXTENSIONS 2020-04-03 22:26:55 -04:00
Romain Goyet
13b5cd0151 [ci] Build for the iOS Simulator too
This means building an x86_64 binary that will run on a Mac simulating
an iPhone or an iPad
2020-04-03 22:26:55 -04:00
Romain Goyet
1886918900 [ci] Simplify bucket names 2020-04-03 22:26:55 -04:00
Romain Goyet
1b2bbd163b [ion/device] Rename a file 2020-04-03 22:26:55 -04:00
Romain Goyet
f7911bae72 [build] Remove DEFAULT
It was redundant with HANDY_TARGETS and HANDY_TARGETS_EXTENSIONS
2020-04-03 22:26:55 -04:00
Romain Goyet
99b916e179 [build] Share multi-app code 2020-04-03 22:26:55 -04:00
Romain Goyet
f9b0843578 [build/simulator/apple] Share code 2020-04-03 22:26:55 -04:00
Romain Goyet
fff20eb530 [ion/simulator/apple] Rename Make helper 2020-04-03 22:26:55 -04:00
Romain Goyet
d4149b1a3d [build] Move %_run targets in the build dir 2020-04-03 22:26:55 -04:00
Romain Goyet
ed7038262c [ci] Misc cleanups 2020-04-03 22:26:55 -04:00
Romain Goyet
3f2b14ac3e [build] Misc cleanups 2020-04-03 22:26:55 -04:00
Romain Goyet
ba57dbde61 [build] macOS and iOS can now build any binary 2020-04-03 22:26:55 -04:00
Romain Goyet
ada205b1a7 [build] Use variants
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Émilie Feral
8d621e4dce [apps/shared] ScrollableMultipleExpressionsView: reload scroll content
view layout when changing the displayed expression layouts

Fix bug: input (transpose([1 1 1 1 1 1])[1 1 1 1 1 1])^30, click on 'OK'
and then 'up'. The cell is mis-displayed.
2020-04-03 10:42:42 +02:00
Émilie Feral
300de8fb15 [apps/calculation] HistoryViewCell: when changing SubviewType, set the
right subcell as first responder!

This fixes the following bug: when selecting a cell whose content is too
long to be displayed, the scrolling is broken
2020-04-03 10:42:42 +02:00
Émilie Feral
90222c3f45 [apps/calculation] SelectableTableView: scrollToCell once the margin
have been updated

This fixes the following bug: input the vertical matrix [1,2,3], the
scroll failed
2020-04-03 10:42:42 +02:00
Émilie Feral
e6516ae0e7 [apps/calculation] Fix typo 2020-04-03 10:39:05 +02:00
Émilie Feral
40986ebb99 [python] Change math module test to be true on all platforms 2020-04-01 16:39:59 +02:00
Émilie Feral
8a5af352bf [python] Fix warning: signed/unsigned int comparison 2020-04-01 16:39:59 +02:00
Émilie Feral
cdff61f64b [python] Add tests for each module 2020-04-01 16:39:59 +02:00
Émilie Feral
ec5803f06f [python] Test: fix printText 2020-04-01 16:39:59 +02:00
Émilie Feral
d0a77bda2b [python] Improve test API 2020-04-01 16:39:59 +02:00
Émilie Feral
ffb8f8f953 [python] Test: add all template scripts 2020-04-01 16:39:59 +02:00