Commit Graph

7625 Commits

Author SHA1 Message Date
Émilie Feral
a6663f524f [poincare] VariableContext hold a const char * instead of a char 2018-11-23 12:03:58 +01:00
Émilie Feral
8072520686 [poincare] Fix getLinearCoefficients, getVariables signature: the
variables table is a char * table
2018-11-23 12:03:58 +01:00
Émilie Feral
9ac8ddb27a [poincare] Clean 2018-11-23 12:03:58 +01:00
Émilie Feral
1fff98f1c4 [poincare] Change Expression methods' signature to work with const char
* symbol instead of char symbol
2018-11-23 12:03:58 +01:00
Émilie Feral
cc9995d4c2 [poincare] Change getLinearCoefficients to take a variable-sized
variables as paramaters
2018-11-23 12:03:58 +01:00
Émilie Feral
05ce2386cd [poincare] Fix getPolynomialReducedCoefficients signature 2018-11-23 12:03:58 +01:00
Émilie Feral
5beafd2bf3 [poincare] Change Expression::getVariables to get symbols with variable
sizes
2018-11-23 12:03:58 +01:00
Émilie Feral
e1287a20bc [poincare] Fix Symbol 2018-11-23 12:03:58 +01:00
Émilie Feral
bc2ce86825 [poincare] Change signature: polynomialDegree,
getPolynomialCoefficients, getPolynomialReducedCoefficients
2018-11-23 12:03:58 +01:00
Émilie Feral
b6465ecba5 [poincare] Change replaceSymbolWithExpression signature
replaceSymbolWithExpression(char
symbol..)->replaceSymbolWithExpression(const char *..
2018-11-23 12:03:58 +01:00
Émilie Feral
540fab3908 [poincare] Symbol: first version with symbol of variable length 2018-11-23 12:03:58 +01:00
Émilie Feral
02d68cfba5 [poincare] lexer: Symbol do not hold special chars anymore 2018-11-23 12:03:58 +01:00
Émilie Feral
fdfa69a321 [poincare] Delete useless method 2018-11-23 12:03:58 +01:00
Léa Saviot
787f770a91 [poincare] Add "any symbol" parsing rule 2018-11-23 12:03:58 +01:00
Léa Saviot
522f5e781e [poincare] Function expression 2018-11-23 12:03:58 +01:00
Léa Saviot
3bbb8b39d1 [poincare] Add context argument to some ExpressionNode methods 2018-11-23 12:03:58 +01:00
Léa Saviot
1f4faff83e [poincare] Remove unused code 2018-11-23 12:03:58 +01:00
Émilie Feral
7e52483eec [build] emscripten: add 'Pointer_stringify' as EXTRA_EXPORTED_RUNTIME_METHODS 2018-11-23 12:03:35 +01:00
Émilie Feral
ee4f3cdef6 [poincare] TreePool: fix moveChildren with aligned nodes 2018-11-23 11:58:56 +01:00
Léa Saviot
6de650064e [build] Disable WebAssembly on emscripten 2018-11-23 11:57:44 +01:00
Émilie Feral
8287264503 [poincare] TreePool: allocation returns aligned address 2018-11-22 17:35:34 +01:00
Émilie Feral
c10c301d6d [poincare] Helpers: add a method to padd a size to a given alignment 2018-11-22 17:35:34 +01:00
Émilie Feral
99d8545830 [poincare] Rational: fix initToMatchSize 2018-11-22 17:35:34 +01:00
Léa Saviot
ed090577a3 [poincare] Init TreeNodes so they can give their size as soon as created 2018-11-22 17:35:34 +01:00
Émilie Feral
1982af1613 [regression] CalculationController: fix sub cell selection 2018-11-20 11:22:40 +01:00
Léa Saviot
f6edf05708 [calculation] Compare simplified exact and approx outputs to determine = 2018-11-19 18:02:55 +01:00
Léa Saviot
154d1e7307 [apps/calculation] Inline constructor 2018-11-19 18:02:55 +01:00
Léa Saviot
ed5a6d4a03 [apps/calculation] Remove unneeded arguments 2018-11-19 18:02:55 +01:00
Léa Saviot
6c5b0def7b [apps/calculation] Test on equal/approximate display 2018-11-19 18:02:55 +01:00
Romain Goyet
05a2491479 [python/turtle] Fix the heading 2018-11-16 18:34:46 +01:00
Romain Goyet
467ae9c6f3 [python/turtle] Fix small typos 2018-11-16 18:34:23 +01:00
Romain Goyet
5748521876 [python/turtle] Try to play well with uPy's GC 2018-11-16 18:33:41 +01:00
Romain Goyet
7fc34fe17f [python/turtle] Use an init method to reset the turtle 2018-11-16 18:33:05 +01:00
Romain Goyet
a9091c933b [python/turtle] Use a Turtle class 2018-11-16 15:31:31 +01:00
Léa Saviot
c7a405a3df [escher] Always use App::displayModalViewController
Instead of calling ModalViewController::displayModalViewController
directly.
2018-11-16 14:21:25 +01:00
Léa Saviot
37a22aa708 [apps/sequence] Margin in parameter controller between type and chevron 2018-11-16 14:13:27 +01:00
Léa Saviot
a8844d9e72 [poincare] Rename GhostReference as Ghost 2018-11-16 14:13:17 +01:00
Romain Goyet
fe076d0578 [python/turtle] Use mp_float_t 2018-11-16 10:33:28 +01:00
Romain Goyet
22a39a2fd6 [python/turtle] Use a dedicated folder 2018-11-16 10:31:16 +01:00
Romain Goyet
82f0b7183f [python/turtle] Use micropython_port_interruptible_msleep 2018-11-16 10:17:26 +01:00
Romain Goyet
efaa87d36c Merge branch 'master' into python_turtle 2018-11-16 09:46:11 +01:00
Romain Goyet
253c183963 [python] Clean the time module
- Export micropython_port_should_interrupt and
micropython_port_interruptible_msleep in Emscripten
- Make micropython_port_interruptible_msleep available in a helper
2018-11-16 09:40:53 +01:00
Ecco
74efb3edeb Merge pull request #769 from Ecco/python-kandinsky-clean
[python] Clean the Kandinsky's module code
2018-11-15 18:10:20 +01:00
Romain Goyet
d6a2238be6 [python] Clean the Kandinsky's module code 2018-11-15 17:12:01 +01:00
Ecco
74d4f397ac Merge pull request #626 from zardam/utime_module
utime module
2018-11-15 17:04:08 +01:00
Romain Goyet
ddf2457ce7 [ion/timing] Fix some typos 2018-11-15 16:44:06 +01:00
Léa Saviot
ae476f922c [ion] Fix and comment the UI comparison tool 2018-11-15 16:23:03 +01:00
Romain Goyet
a3d6d6ddd6 [ion/timing] Cleanup 2018-11-15 16:19:07 +01:00
Romain Goyet
888d6cf7f4 [ion/timing] millis return uint64_t
Otherwise we could loop after a month or so
2018-11-15 15:20:12 +01:00
Romain Goyet
07a768ace6 [ion/timing] Use explicit integer types 2018-11-15 15:18:19 +01:00