Commit Graph

9553 Commits

Author SHA1 Message Date
Ruben Dashyan
9a3ce0df26 [apps/shared/cartesian_function] Rename CartesianFunctionRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00
Ruben Dashyan
278a247c34 [apps/sequence] Rename SequenceRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00
Ruben Dashyan
fd2961018c [apps] In Shared::Function, rename FunctionRecordDataBuffer to RecordDataBuffer 2019-09-20 17:11:42 +02:00
Ruben Dashyan
f73c80daa3 [apps] Gather asserts about the size of function name with argument 2019-09-20 17:11:42 +02:00
Ruben Dashyan
8f88f7fea6 [apps/graph/graph_view] Draw parametric curves with evaluateXYAtParameter 2019-09-20 17:11:42 +02:00
RubenNumworks
3ae6d550aa Merge pull request #1094 from LeaNumworks/FixXNT
Fix xnt
2019-09-20 16:18:57 +02:00
Léa Saviot
45b8c20059 [poincare/layout] Fix XNT when cursor points outside of integrand
Example:
   3
  sum(|4) and XNT event gives n
  n=1

   3
 |sum(4) and XNT event gives 0
  n=1
2019-09-20 15:11:39 +02:00
Léa Saviot
538bb5e5d2 [apps/graph] Do not take into account the sum/integral in XNT
Otherwise, it is impossible to use theta inside a sum in a polar
function
Example: f(theta) = sum(n*theta,0,4) cannot be written
2019-09-20 14:30:36 +02:00
Émilie Feral
ea97775f06 [apps/shared] Re-implement Sequence cursor 2019-09-20 13:44:22 +02:00
Émilie Feral
7525ee3ffc [poincare] Power::shallowReduce: (a^b)^c should not be applied in Real
mode with (x^(1/2))^2.
2019-09-20 13:42:10 +02:00
Léa Saviot
22c7fb440e [apps/graph] DefDomain depends on angleUnit
When automatically setting the definition domain of a non-cartesian
curve, take into account the angle unit:
0..360 for Degrees,
0..400 for gradians...
2019-09-20 11:42:45 +02:00
Léa Saviot
aa0f388e0a [poincare/trigonometry] Cleaning 2019-09-20 11:42:45 +02:00
Léa Saviot
c05bcf04d7 [poincare/expression] Fix coding typo 2019-09-20 10:20:48 +02:00
Léa Saviot
7527f828ea [poincare/expression] Coding style 2019-09-20 10:20:48 +02:00
Léa Saviot
93832549f1 [poincare] childNeedsUserParentheses takes childIndex param
Scenario:
0+exp^0 i->b
0+exp b^0 i->b
Go to VariableBox/expression -> Parentheses were not properly added when
b was replaced
2019-09-20 10:20:48 +02:00
Léa Saviot
1cbc40815b [poincare] Typos 2019-09-20 10:20:48 +02:00
Émilie Feral
6b4a2ac6ea [build] Don't pad all binary files (dfu.bin is a binary file that will
be included in the final firmware so it does not need to be padded)
2019-09-20 10:10:57 +02:00
Émilie Feral
a709c73b4c [build] _flash target: don't pipe flash command to display info on the output
stream
2019-09-20 10:10:57 +02:00
Émilie Feral
ea01697c5c [build] Fix .bin rule 2019-09-20 10:10:57 +02:00
Ecco
9265ce6c2d Merge pull request #1089 from Ecco/sdl-apple-fix
Sdl apple fix
2019-09-20 10:10:36 +02:00
Romain Goyet
51e42f4f0f Merge branch 'sdl-macos-fix' into sdl-apple-fix 2019-09-20 10:02:40 +02:00
Léa Saviot
3911dc89b7 [poincare/normcdf2] Fix shallowReduce (mu and var indexes were wrong) 2019-09-19 14:28:40 +02:00
Romain Goyet
39093b0aa9 [docs] Fix a broken link 2019-09-19 14:12:20 +02:00
Romain Goyet
b437d7910c [emscripten] Use UTF8ToString instead of Pointer_stringify
To match the upstream change in emscripten
2019-09-19 14:11:50 +02:00
Romain Goyet
29a41b8775 [docs] Update the build instructions 2019-09-19 12:05:26 +02:00
Romain Goyet
ff10c5ec78 [build] Work around command-line length limitation on windows 2019-09-19 12:05:13 +02:00
Romain Goyet
ef9ab3b4fe [build/device] Update elf2dfu for Python 3 2019-09-19 11:47:46 +02:00
Romain Goyet
f864aa367c [build] Use Python3 by default 2019-09-19 11:47:46 +02:00
Romain Goyet
9b3d28e0c8 [docs] Update the build instructions 2019-09-19 09:50:47 +02:00
Romain Goyet
429e50c489 [docs] Include the Epsilon logo 2019-09-19 09:50:47 +02:00
Romain Goyet
42f9234ab3 [docs] Add a build doc 2019-09-19 09:50:47 +02:00
Romain Goyet
fc93da8f3c [docs] Document Epsilon alongside its source code 2019-09-19 09:50:47 +02:00
Romain Goyet
6454958650 [build/device/n0110] Fix flasher dependency 2019-09-19 09:38:16 +02:00
Romain Goyet
d32f123883 [build] Fix header dependency tracking 2019-09-18 18:09:30 +02:00
Romain Goyet
ecbcc558a1 [ci/travis] Adjust the location of the test runner 2019-09-18 17:46:38 +02:00
Romain Goyet
9a02c2097f [build] Fix make epsilon.dfu 2019-09-18 17:46:38 +02:00
Romain Goyet
c838c4657c [build] Use rule_for/rule_label when needed 2019-09-18 17:46:38 +02:00
Romain Goyet
d70bad84f3 Rename the scripts folder to build
And the build folder to output
2019-09-18 17:46:38 +02:00
Romain Goyet
690af21140 [quiz] Abort on assertion failure
This allows CI to handle test failures correctly
2019-09-18 17:30:08 +02:00
Émilie Feral
f995cd3a90 [poincare] Fix tests: different libm have various precisions on trigonometric function
(tan(pi/2) is not always undef). Change approximation tests to be
correct on travis platform.
2019-09-18 15:24:51 +02:00
Romain Goyet
fd6c611c7e [poincare] Log input on test error 2019-09-18 14:37:28 +02:00
Romain Goyet
9c28ef2e64 [poincare] Fix a missing template declaration 2019-09-18 13:45:10 +02:00
Émilie Feral
2676be6c46 build: Version 12.0.0 2019-09-18 11:14:55 +02:00
Émilie Feral
36278b5aec Merge branch 'master' into version-12 2019-09-18 11:00:03 +02:00
Romain Goyet
9e59e8e38e [ion] Homogenize type definitions to avoid LTO warnings 2019-09-18 10:52:20 +02:00
Romain Goyet
9db16997af [liba] Update the bool type to use _Bool
_Bool is defined in C99 which we use already. In practice it's 1 byte
just like char, so this shouldn't have any impact on the built object.

But this patch removes LTO errors when linking C code with C++ code.
Indeed, the linker would raise type mismatch because in C++ bool is
defined to _Bool whereas in C it would be defined to char.
2019-09-18 10:52:20 +02:00
Émilie Feral
22dc20530f [apps/shared] CurveView: jointDots does stamp the first dot and the
closest dot to an undefined dot. It avoids recursing when both dots are
undefined.
2019-09-18 10:44:30 +02:00
Ruben Dashyan
7f8cc4d147 [apps/shared/curve_view] Fix drawCurve on boundaries 2019-09-17 18:17:09 +02:00
Émilie Feral
5906b6517c Makefile: fix typo in make info 2019-09-17 17:38:55 +02:00
Émilie Feral
7ee6ad7136 [apps/calculation] CalculationStore: cap the number of calculations to
25
2019-09-17 17:35:45 +02:00