Commit Graph

2921 Commits

Author SHA1 Message Date
Émilie Feral
f8e5946f75 Change software version to 1.1.1 2017-09-06 17:36:32 +02:00
EmilieNumworks
21f6723daa Merge pull request #85 from adriweb/fix/overflow-poincare-stringlayout
[various apps] StringLayout: fix buffer overflow and use auto size
2017-09-05 17:07:53 +02:00
EmilieNumworks
da5ec51731 Merge pull request #67 from mateoconlechuga/master
Add shift activated text (Fix #22)
2017-09-05 16:21:48 +02:00
Émilie Feral
5551378109 [poincare] Fix root of negative values 2017-09-05 15:04:28 +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
Adrien Bertrand
f287148844 [ion] fix crc32 for loop variable type 2017-09-04 21:34:30 +02:00
mateoconlechuga
22b74892d7 Match names everywhere 2017-09-01 20:18:33 -06:00
mateoconlechuga
9d155f325b Match names everywhere 2017-09-01 20:06:59 -06:00
mateoconlechuga
ae3e989314 Add shift activated text (Fix #22)
This adds the text 'shift' when the shift key is activated. No functionality changes were made.
2017-09-01 19:29:00 -06:00
Romain Goyet
88630addd4 Fix a comment 2017-09-01 14:38:46 +02:00
Adrien Bertrand
4373bdeda4 [ion] [simulator] key chars: use unicode escapes 2017-09-01 14:15:37 +02:00
Adrien Bertrand
520775901b [ion] [simulator] more realistic button labels 2017-09-01 14:15:37 +02:00
EmilieNumworks
3b7efee7df Merge pull request #58 from Ecco/master
Make the Travis build leaner and faster
2017-09-01 04:32:44 -07:00
Romain Goyet
f3a8274d63 [Travis] The PLATFORM env is used later on in the build 2017-09-01 13:17:22 +02:00
Romain Goyet
d8562aad68 [Travis] app.elf and test.elf can be built at once
This allows for a faster build since we don't rebuild every single
dependency
2017-09-01 13:08:30 +02:00
Romain Goyet
072cdd4fab Simplify the Travis configuration file 2017-09-01 13:07:22 +02:00
EmilieNumworks
6e1a00c786 Merge pull request #57 from jacobly0/feature/automated-testing
Automated testing on travis using the blackbox.
2017-09-01 02:39:49 -07:00
EmilieNumworks
347a3a12b0 Merge pull request #31 from numworks/readme
README: clean
2017-09-01 02:24:31 -07:00
EmilieNumworks
216855ab63 Merge pull request #32 from numworks/expression-parsing
[poincare] '?' should not be parsed
2017-09-01 02:24:03 -07:00
EmilieNumworks
5ecb7d57d6 Merge pull request #36 from boricj/fixup_keys_ion_simulator
[ion/simulator] Improve key mapping
2017-09-01 01:59:46 -07:00
EmilieNumworks
81611498e8 Merge pull request #52 from adriweb/fix/template-program
[apps/code] template program: don't memcpy from beyond the string
2017-09-01 01:47:58 -07:00
EmilieNumworks
7f71f5246e Merge pull request #55 from adriweb/fix/const-warning
[poincare] remove useless const qualifier on return type
2017-09-01 01:43:42 -07:00
Jacob Young
ebeabd677e Allow tests to print progress. 2017-09-01 04:07:34 -04:00
EmilieNumworks
94db1c814b Merge pull request #56 from jacobly0/fix/hex
Fix hex conversion for digits > 9.
2017-09-01 01:07:29 -07:00
Jacob Young
2e105036ff Use the blackbox platform to run the tests on travis. 2017-09-01 04:00:28 -04:00
EmilieNumworks
a091fda493 Merge pull request #54 from jacobly0/fix-transpose
Fix swapped matrix transpose, multiplication, opposite, and clone dimensions
2017-09-01 00:57:20 -07:00
Jacob Young
4e6f673c03 Fix hex conversion for digits > 9. 2017-08-31 21:14:18 -04:00
Adrien Bertrand
55dd5b4486 [poincare] remove useless const qualifier on return type
This generated a lot of warnings in -Wextra:
'const' type qualifier on return type has no effect [-Wignored-qualifiers]
2017-09-01 00:48:28 +02:00
Jacob Young
198c26f99d Fix grammar. 2017-08-31 18:09:00 -04:00
Jacob Young
37700f9e11 Default expression tests to scalar. 2017-08-31 18:04:56 -04:00
Jacob Young
303120c7e2 Consistently use ordering rows, cols everywhere.
Changing the order of logical operators, etc is just to make searching for actual bugs easier.
2017-08-31 17:41:59 -04:00
Jacob Young
6a0e280168 Test transposition of non-square matrices. 2017-08-31 17:24:54 -04:00
Jacob Young
0f3f419441 Add and use infrastructure to test matrix dimensions. 2017-08-31 17:24:54 -04:00
Jacob Young
539eb18ad5 Fix #48 by changing swapped matrix transpose, multiplication, opposite, and clone dimensions. 2017-08-31 17:24:20 -04:00
Adrien Bertrand
3c2a99bdd6 [apps/code] template program: don't memcpy from beyond the string
- Was caught by ASan
- Added a static_assert on the length just in case
- Big C strings concats replaced by raw C++ literal for clarity
2017-08-31 20:53:54 +02:00
EmilieNumworks
ae2488effc Merge pull request #46 from numworks/long-aeabi
[liba] Add aeabi long conversion
2017-08-31 06:31:17 -07:00
Émilie Feral
925f404382 [liba] Add aeabi long conversion 2017-08-31 15:17:22 +02:00
EmilieNumworks
b9ec1b5383 Merge pull request #28 from numworks/build
Makefile: app_run is only meaningful for device platform
2017-08-31 01:18:49 -07:00
Émilie Feral
beb896ec01 README: travis badge of master only 2017-08-31 09:47:38 +02:00
Jean-Baptiste Boric
7d79a01ed2 [ion/simulator] Improve key mapping 2017-08-30 21:30:59 +02:00
Émilie Feral
c677a85a94 [poincare] '?' should not be parsed 2017-08-30 16:58:18 +02:00
Émilie Feral
3a608ba20a README: clean 2017-08-30 16:53:54 +02:00
Ecco
174ea8cd75 Merge pull request #24 from numworks/fix-reload-home
[home] Fix reload view
2017-08-30 16:49:36 +02:00
Ecco
0f1130761e Merge pull request #26 from numworks/factorial
[poincare] Repair factorial
2017-08-30 16:48:25 +02:00
Émilie Feral
2ff9aa2f88 Makefile: app_run is meaningful only for device platform 2017-08-30 14:35:44 +02:00
EmilieNumworks
16dccc3aa5 Merge pull request #1 from adriweb/master
build: fix warnings
2017-08-30 13:36:33 +02:00
Émilie Feral
659a90d197 [poincare] Repare factorial 2017-08-30 13:34:14 +02:00
Émilie Feral
8349f899b7 [home] Fix reload view 2017-08-30 13:20:59 +02:00
Adrien Bertrand
f34bf67bab build: fix warnings
* escher/src/text_area.cpp:113:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
* liba/src/external/openbsd/k_rem_pio2f.c:66:54: disable -Wmisleading-indentation
2017-08-30 13:01:22 +02:00