Commit Graph

1360 Commits

Author SHA1 Message Date
Romain Goyet
cb097abe95 [apps] Split on_boarding/language_controller in two 2017-09-28 17:17:27 +02:00
Émilie Feral
2ec4b6354d [apps] In i18n, change sample standard deviation name in Spanish
Change-Id: Ie1b3dd27bb767d4afae573284311062d27cff0df
2017-09-27 17:25:46 +02:00
Émilie Feral
5bce67098b [apps] Clean warnings
Change-Id: I9efc803edac4103faafb264849bdb9283640a52b
2017-09-27 09:46:19 +02:00
Émilie Feral
c5e3660c4a [apps] Change name of standard deviations in French
Change-Id: I5e1f96c7ead2e334139cec72652257b41326a384
2017-09-27 09:46:02 +02:00
Émilie Feral
d7abc80097 [apps] Add a row in statistics calculation
Change-Id: I930abde428850a0b7a76e3f77ef961ee195da042
2017-09-27 09:46:02 +02:00
Ian Abbott
357d76515b [ion][apps] Remove redundant AlphaLockShift state
Since the 'shift' key can now toggle between the AlphaLock and
ShiftAlphaLock states, there is no way to enter the AlphaLockShift
state, so remove it.
2017-09-26 17:44:25 +02:00
Adrien Bertrand
851c145d31 shift alpha lock view: fix missing return in numberOfSubviews
According to arm g++ 6.3.
2017-09-20 11:57:15 +02:00
Romain Goyet
dcdd27d6bf [apps] Apps can be picked and ordered at compile-time 2017-09-20 11:18:39 +02:00
Romain Goyet
173c0249a2 [apps] Split the AppsContainer
Most classes who use AppsContainer don't need to know its whole memory
layout. Let's split AppsContainer in two, and only run will use complete
version.
2017-09-20 11:18:39 +02:00
Jacob Young
dcbc860b6d Fallback to X in non-graphing apps since x and n are not usable. 2017-09-20 11:08:07 +02:00
Jacob Young
128a6acb32 Fix #72 by choosing what to insert for the [x,n,t] key based on where in the expression the cursor is. 2017-09-20 11:08:07 +02:00
Jacob Young
5ffd7cc270 Auto insert ans before sto. 2017-09-15 17:05:24 +02:00
TJ Horner
c7ac692dde Fix a typo: "regerssion" -> "regression (#118) 2017-09-12 08:58:31 +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