Commit Graph

1351 Commits

Author SHA1 Message Date
Émilie Feral
19b606c825 [poincare] Reel -> Real
Change-Id: Idaf6d7f6f885f0584a8444ab5503738e5499348a
2017-09-25 14:26:36 +02:00
Émilie Feral
a5ca0f93bf [poincare] Throw a bison error when functions have wrong number of
arguments

Change-Id: I33f0a9b7cad3b1fde2df25ecfdc568187b79f248
2017-09-22 14:23:15 +02:00
Émilie Feral
2b1bd5c191 [poincare] In context: clean setExpressionForSymbol
Change-Id: I13f51a6c84537be43de3b78de68e77fade502344
2017-09-22 13:21:55 +02:00
Émilie Feral
23629b0939 [poincare] Restructuration of poincare (no duplication of children
storage)

Change-Id: Ia10c3cc83e10d238750c6954b7c093d26b762c94
2017-09-21 13:49:06 +02:00
Émilie Feral
01efc3c95d [apps/settings] Connect settings gauge to prefered brightness 2017-09-06 17:34:18 +02:00
Émilie Feral
7c1d540a87 [apps] Add a brightness level in preferences 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
mjmdavis
a6ee0e4f82 Removed the automatic insertion of 'ans' when pressing '-'. 2017-09-06 10:15:24 +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
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
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
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
Émilie Feral
8349f899b7 [home] Fix reload view 2017-08-30 13:20:59 +02:00
Émilie Feral
31fbeda468 [apps/code] Change demo program
Change-Id: I5cce0bfd5bc30fe46cb039883cbeda7c29d45a64
2017-08-28 14:08:36 +02:00
Émilie Feral
52f5858ffd [python][apps/code] Enable interrupting python execution
Change-Id: Iadf7038f79f0289ce20d7ded42f8fe70894f0c0a
2017-08-28 13:30:46 +02:00
Émilie Feral
8c86b62df6 [apps/proba] Avoid hanging in normal law: forbid values <= MIN_FLOAT
Change-Id: Id6c7816e9b6726e4732b6eae5eb1a5b63d019196
2017-08-28 11:51:17 +02:00
Émilie Feral
90891dabe8 [apps/proba] Avoid using unitialize values (valgrind)
Change-Id: I5c15cc0db7eb5cbcd23efbb59f2bd35366081b9f
2017-08-25 18:16:13 +02:00
Émilie Feral
0f08546245 [apps/shared] Correct checksum of float_pair_store
Change-Id: I3a050abeaf8e8e0aa4148f71fa7a0a0d4d0f2d8a
2017-08-25 17:42:07 +02:00
Émilie Feral
ff8fe2b498 [apps/statistics] Simplify histogram controller and resolve bugs: with
very large values, casting in float gives approximate values that
trigger bugs

Change-Id: I5aac31ad07f267f1b96ee3406b041e527cf247ba
2017-08-25 17:41:16 +02:00
Émilie Feral
b893a7d0aa [apps/statistics] Fix oversight in store
Change-Id: I929c25994d6ba59021941646611debdfb18f0cbf
2017-08-25 17:37:04 +02:00
Émilie Feral
cf91fb6315 [apps/shared] Fix bug in draw histogram. Do not color excessive bar.
Change-Id: Id6de0136d119874cf71ef5e8a54a210394782d81
2017-08-25 16:54:01 +02:00
Émilie Feral
be8a0c6df3 [apps] Replace sizeInBits>>2 sizeInBits/sizeof(uint32_t) in checksums
Change-Id: I4f96514caa4552d2158bb9ebdc328a6453554934
2017-08-25 14:18:27 +02:00
Émilie Feral
eea1928ac9 [apps/sequence][apps/graph] Keep the angle unit version in snapshot
Change-Id: Ib907531c78feae6ba8155ae3be3b8fb13fdebea2
2017-08-25 14:02:03 +02:00
Émilie Feral
35a9753609 [poincare][apps] Memory leaks
Change-Id: I2338760fb52bcf57997f7d82fd1f5cee68e95266
2017-08-25 11:20:49 +02:00
Émilie Feral
e0252c7751 [python] Fix garbage collector
Change-Id: I529ff93e7f8841574ff24cb1b6461aa48039ab61
2017-08-25 11:20:49 +02:00
Émilie Feral
67e68e145f [apps/statistics] Avoid infinite loop in histogram
Change-Id: Ifd106d76628fe149c970f365eb0a92bc302f3b13
2017-08-25 11:20:49 +02:00
Émilie Feral
3faf0b55b2 [apps/probability] Fix bug in poisson law
Change-Id: I9bfc59ab7a07eb2658081abbf44f3ff127d0218a
2017-08-25 11:20:49 +02:00
Émilie Feral
c189876673 Correct typo: initiate -> initialize
Change-Id: I2282bf4df87094679135176555ac18d9678de0b4
2017-08-25 11:20:49 +02:00
Émilie Feral
0a2a507b9d [apps/i18n] Traduction of code application
Change-Id: I2b61a4a473b6f388afad5fcb4ccdd18a2322473b
2017-08-25 11:20:48 +02:00
Émilie Feral
b50296d9c2 [apps/code] Repare print() in micropython
Change-Id: I43c46748b15d83e071c7b7f1e8448384ce5ad77f
2017-08-25 11:20:48 +02:00
Émilie Feral
b91455ca71 [apps/statistics] Avoid hanging in histogram controller
Change-Id: I76cecd739db0a13b064eb9c634a4b04376a8cc20
2017-08-25 11:20:48 +02:00
Émilie Feral
0729429335 [apps/statistics] Fix bug in store checksum
Change-Id: Ia0db89bed3c78aee97aff1e49238737b7f3e2889
2017-08-25 11:20:48 +02:00
Émilie Feral
ae8461b1d4 [apps/statistics] Fix oversight in store
Change-Id: I615a2a0d482ea44ad7b5886c98ad2f0ed23a1305
2017-08-25 11:20:48 +02:00
Émilie Feral
48c0cf2d8d [apps/probability] Fix bug in authorized parameters
Change-Id: I53cccb0995af7b4a6b066218185f35e96d4ae835
2017-08-24 14:05:24 +02:00
Émilie Feral
88aeabb8a1 [apps][ion] Add <math.h> header to ensure building with all compilaters
[ion] In makefile, force the PATCH_LEVEL to be length 7

Change-Id: I67a7bd873a247dd42d0d1e845912cc8b71330d9e
2017-08-24 14:05:19 +02:00
Émilie Feral
bc12789e1f [apps/code] Clean editor
Change-Id: I85c1eec28f381630fa97199a521b85dfe7cac89c
2017-08-18 13:34:35 +02:00
Émilie Feral
ea55df62d4 [apps/code] Correct text area buffer size
Change-Id: Icc250bd3f4db2e8f9f96471dedbdfd31eab220af
2017-08-18 13:34:34 +02:00
Émilie Feral
ee51729eba [escher] Move from table view to scroll view the method a update the
scroll to the size of the content view

Change-Id: I2c4aa457425bf5a8a484aecc061ae27453e9aabb
2017-08-18 13:34:29 +02:00
Émilie Feral
49e632ab3d [apps/home] Hide the trick to redraw home with odd number of apps
Change-Id: I5002e1efc7907c57c51fbf690a22c6fea9ecffc2
2017-08-17 16:21:22 +02:00
Émilie Feral
6054f02373 [kandinsky] In KDRect, right and bottom Points are included in the rect
Change-Id: I36fd049a808d9ab2e6cb0de5b366a9645a403ef1
2017-08-17 16:21:22 +02:00
Émilie Feral
bc9c9e3c72 [apps/code][apps/onboarding] Home event always bring back to home except
in on boarding

Change-Id: I1a3af63cd6e9d267d9065fbf6591d46881752815
2017-08-17 16:21:22 +02:00
Émilie Feral
f5d5db6062 [apps/shared] In message controller, enable to choose message colors and
message texts

Change-Id: I1bf1eb8d5dd2a93d0a6f5bbff13fe4d1de66d920
2017-08-17 16:21:22 +02:00
Émilie Feral
304bbf18b9 [apps/code] Split the editor in editor and executor
Change-Id: I862deeb4fd84e8fb77bf880095f80c1a2a4d8c5d
2017-08-17 16:21:22 +02:00
Émilie Feral
eec8c7f1ce [apps/code] Add a model program
Change-Id: I79b74f1f245d98d1ce02a590ee25de2c4fbb3c59
2017-08-17 16:21:21 +02:00
Émilie Feral
8b6dfdc3f9 [apps/code] Add a menu to edit and execute the program
Change-Id: I036e5a32fa6823b25af4ccd742967841579d7639
2017-08-17 16:21:21 +02:00