Romain Goyet
2e0caf5374
[poincare] Add IntegerAdditionTransform
2017-09-22 12:17:11 +02:00
Romain Goyet
84e4e80a6d
[poincare] Clean the simplification folder
2017-09-22 12:07:55 +02:00
Romain Goyet
0c140cc4c7
[poincare] Hiearchy modification
2017-09-22 11:42:14 +02:00
Émilie Feral
8aa0e40d46
[poincare] First version simplify
...
Change-Id: I7ff4396f42bb980df2780dfc59bfb8b22205abc8
2017-09-21 13:56:38 +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
Jacob Young
7b9cc01a8d
Fix 0 base in power.
2017-09-21 13:32:27 +02:00
Jacob Young
4d9e8c40b8
Fix #102 .
2017-09-21 13:32:27 +02:00
Émilie Feral
d3a2109b5f
[poincare] Change binary_operation -> n_ary_operation and add an order
...
on expressions
Change-Id: Ia881728ef965eb1f7ff9449d14253ea347fdeed7
2017-09-21 11:18:03 +02:00
Jacob Young
22b75353db
Fix potential overflow in complex division calculation.
2017-09-20 18:06:09 +02:00
Ian Abbott
9a99af88aa
[python] Fix type of n_args parameter of mp_builtin_open()
...
The n_args parameter of mp_builtin_open() has type size_t in
"python/src/py/builtin.h", and type uint in "python/port/port.c".
Change it to size_t.
2017-09-20 13:34:47 +02:00
Jacob Young
7e2cc375d2
Fix potential overflow in complex radius calculation.
2017-09-20 12:04:35 +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
Ian Abbott
28df37813c
[poincare] Fix recursion bug in adaptiveQuadrature() integration
...
The recursive adaptiveQuadrature() function is initially called with the
maximum number of recursion levels to perform, so adaptiveQuadrature()
should decrement numberOfRecursions at each recursion level.
When adaptiveQuadrature() needs to recurse, it splits the interval in
two, calculates the integral for each half by calling itself
recursively, and adds the result from each half. However, it then
ignores this result and returns NAN because it is checking a stale
quadKG.absoluteError value. Rearrange the code to avoid that.
2017-09-20 10:31:35 +02:00
Damien Nicolet
6392735e70
Add orgin/end keyboard shortcuts, by pressing shift left or shift right
2017-09-20 10:16:34 +02:00
Jacob Young
bff9f4c205
Fix square bracket asymmetry.
2017-09-20 10:12:05 +02:00
Jacob Young
c9ca43e257
Reuse bracket layout logic for absolute value, saving 184 bytes on my device build.
2017-09-20 10:12:05 +02:00
Jacob Young
d5320280aa
Display floor and ceiling symbols.
2017-09-20 10:12:05 +02:00
Jacob Young
2a2112396e
ARM only has 32-bit integer registers, so using types smaller than 32-bits produces larger/slower code.
2017-09-18 15:13:00 +02:00
Jacob Young
6eb9ca615a
Fix #108 fix #109 by evaluating a store's value so that it uses the correct context.
2017-09-15 17:16:59 +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
Ian Abbott
1a877d999b
Makefile: Use POSIX shell redirection syntax for app_flash target
...
The recipe for the 'app_flash' target uses an 'until' loop to wait for
the DFU device to be connected. The command uses &> to redirect both
standard output and standard error output to a file (/dev/null). This
works for shells such as Bash and Z Shell, but not dash or Korn shell.
Replace it with a combination of > and 2>&1 for portability.
2017-09-07 17:51:54 +02:00
EmilieNumworks
f34f6dfb82
Merge pull request #104 from EmilieNumworks/version
...
Change software version to 1.1.2
2017-09-07 10:40:37 +02:00
Émilie Feral
329dff7b6e
Change software version to 1.1.2
2017-09-07 10:34:48 +02:00
EmilieNumworks
e9afe0c59a
Merge pull request #101 from jacobly0/fix/zero-power
...
Fix #100 .
2017-09-07 10:33:42 +02:00
Jacob Young
0904313624
Fix #100 .
2017-09-06 23:38:04 -04:00
EmilieNumworks
92245312b5
Merge pull request #97 from numworks/version
...
Change software version to 1.1.1
2017-09-06 17:51:24 +02:00
Émilie Feral
8a50b42611
[escher] Fix bug in text area (afl-fuzz)
2017-09-06 17:40:46 +02:00
Émilie Feral
f8e5946f75
Change software version to 1.1.1
2017-09-06 17:36:32 +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
Émilie Feral
10c42e276a
[escher] Add a gauge view and a message table cell with gauge
2017-09-06 17:34:18 +02:00
Marc Lagrange
1633709389
Add -fPIE for simulator build ( #93 )
...
Add -fPIE for simulator build using SFLAGS
2017-09-06 10:42:18 +02:00
mjmdavis
a6ee0e4f82
Removed the automatic insertion of 'ans' when pressing '-'.
2017-09-06 10:15:24 +02:00
Émilie Feral
9ac25fc03a
Repair windows build
2017-09-06 10:05:17 +02:00
Romain Goyet
df31f0ce34
Improve the app_flash command
...
We now display a small inline tutorial, and wait for a device to be
connected
2017-09-06 10:00:14 +02:00
Émilie Feral
66fdc1a12f
[poincare] Fix power
2017-09-05 19:15:16 +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