Commit Graph

7312 Commits

Author SHA1 Message Date
Émilie Feral
83715153fc [escher] LayoutField: the buffer layout needs to be cleared before next
use of layout_field
2018-10-08 13:16:40 +02:00
Émilie Feral
466c44781a [escher] Fix buffer overflow in TextArea 2018-10-08 11:56:14 +02:00
Romain Goyet
c5056248d2 [python] Don't add underscore-prefixed items to the var menu 2018-10-08 10:56:14 +02:00
Émilie Feral
625c0acd8b [code] Fix EditorController: cannot use strcpy when the first char is a
flag that can be 0
2018-10-08 09:46:31 +02:00
Émilie Feral
3677b2f1d0 [poincare] Improve Trigonometry::RoundToMeaningfulDigits comment 2018-10-05 14:56:27 +02:00
Émilie Feral
b3c9d2ed31 [poincare] Fix tests on properties with new poincare_polynomial_degree
implementation on Derivative and Integral
2018-10-05 14:56:27 +02:00
Émilie Feral
3b42ddf546 [poincare] Fix Trigonometry::RoundToMeaningfulDigits: takes the argument
into account to avoid sin(1E-15) = 0
2018-10-05 14:56:27 +02:00
Émilie Feral
e4b4fd7e52 [poincare] Clean wrong assertion 2018-10-05 11:46:59 +02:00
Émilie Feral
2297d1a7aa [solver] Escape undefined equations 2018-10-05 11:46:59 +02:00
Émilie Feral
e45e653619 [python] Fix bug in Micropython when parsing const char * in
float/double

This is fixed in Micropython project by commit b768cc6ca8ed6d7430b86dc7ccb9ee2391b3a251
2018-10-02 14:41:23 +02:00
Da Costa Faro Rémy
9a58f25646 Reindent 2018-10-02 09:49:11 +02:00
Da Costa Faro Rémy
dd678fd66b Fix sequence field 2018-10-02 09:49:11 +02:00
Émilie Feral
dfb975344c [settings] Fix fr i18n 2018-10-01 09:36:46 +02:00
Émilie Feral
6e3ae2ef16 [settings] Fix i18n 2018-09-28 17:14:46 +02:00
Léa Saviot
81cf737dd5 [poincare] Fix derivative and integral polynomialDegree 2018-09-28 13:53:00 +02:00
Émilie Feral
9a1ecec322 [ion] Storage: fix crc32 2018-09-26 16:53:55 +02:00
Émilie Feral
961a17b4e0 [poincare] Change replaceSymbolWithExpression implementation to be alike
deepReduce and deepBeautify
2018-09-26 16:19:09 +02:00
Émilie Feral
3e99b07adb [calculation] Calculation: output display
When reducing an input, Float expression can appear (to avoid Infinity
(2.1234567^201).
Consequently, we only the approximate output if the
exact output contains a Float.
2018-09-26 16:18:56 +02:00
Émilie Feral
39d47577a0 [poincare] Add tests on Decimal 2018-09-26 16:18:56 +02:00
Émilie Feral
d0e49ba1d0 [poincare] Decimal comparison: 1.000E10 == 1E10 2018-09-26 16:18:56 +02:00
Émilie Feral
0af8f273fc [poincare] Integer is not an Expression anymore 2018-09-26 16:18:56 +02:00
Émilie Feral
5096f8bf53 [poincare] Decimal: Fix zero at the end of the mantissa
We want to keep extra 0 in mantissa if entered by the user but get rid of them
if they are due to rounding or if the Decimal was built from a float/double.
2018-09-26 16:18:56 +02:00
Émilie Feral
b7649bab8a [poincare] deepReduce is authorized on non-matrix expressions only 2018-09-26 16:12:31 +02:00
Léa Saviot
7da49646ce [poincare] Make Complex<T> constructors explicit. 2018-09-26 14:38:34 +02:00
Émilie Feral
9d471552c7 [poincare] Tests: fix expression_debug to be able to print_expression 2018-09-26 09:37:39 +02:00
Léa Saviot
b8408d2575 [poincare] Remove SerializationHelperInterface
All TreeNodes are now serializable. This removes a pointer to virtual
table from the nodes (for instance, an ExpressionNode was 24o, now 16o).
It also remove 4K of code in the binary.
2018-09-25 17:55:41 +02:00
Émilie Feral
8604e73e97 [calculation] No Expression memoization in Calculation: delay the
overflow of the TreePool
2018-09-25 16:55:50 +02:00
Émilie Feral
06776185f0 [poincare] Add test on Number parsing 2018-09-25 16:52:38 +02:00
Émilie Feral
a8a26fc055 [poincare] Decimal: mantissa has no extra 0 at the end 2018-09-25 16:52:38 +02:00
Émilie Feral
32276680a8 [poincare] Number: fix ParseDigits to correctly parse "1." 2018-09-25 16:52:38 +02:00
Émilie Feral
837bbaeec8 [poincare] Decimal: m_exponent of 0 is always 0 2018-09-25 16:52:38 +02:00
Émilie Feral
2f259efe86 [poincare] Clean useless enum entry in Preferences 2018-09-25 15:13:31 +02:00
Émilie Feral
b617ea36d1 [settings] EditionMode: display the natural mode first 2018-09-25 15:13:31 +02:00
Émilie Feral
7b6953d59f [settings] Fix PreferencesController example layouts 2018-09-25 15:13:31 +02:00
Émilie Feral
dd3bbbc10c [settings] AngleUnit sub menu: add layout examples 2018-09-25 15:13:31 +02:00
Émilie Feral
eebb405cd5 [kandinsky] Add the degree symbol to Charset 2018-09-25 15:13:31 +02:00
Émilie Feral
afeb987efa [settings] In DisplayMode sub menu, separate the result format choice
from the number of significants digits
2018-09-25 15:13:31 +02:00
Émilie Feral
1b9bfe6255 [settings] Split SubController in several controllers: about_controller,
display_mode_controller, exam_mode_controller, preferences_controller
2018-09-25 15:13:31 +02:00
Émilie Feral
1fb84e31e1 [settings] Change wording of Result Formal & Complex Format: Auto-->Decimal, Cartesian & Polar 2018-09-25 15:13:31 +02:00
Léa Saviot
e953a02f97 [poincare] Handle overflow in Integer 2018-09-25 13:21:37 +02:00
Léa Saviot
99b449f7fb [poincare] Integer::ucmp special case for Overflows 2018-09-25 10:53:22 +02:00
Léa Saviot
8105a000ab [poincare] Add Upper case to Poincare static Init function 2018-09-25 10:42:47 +02:00
Léa Saviot
5b5211be24 [poincare] Tidy Integer buffer on Poincare exception 2018-09-25 10:42:47 +02:00
vardai
cfcd62d2e3 Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
f0cb0d6099 Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
7f22f7079f Corrected German translation with further corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
fc18915f89 Corrected German translation with corrections by @mhaupt 2018-09-25 10:01:17 +02:00
vardai
fab726e514 Corrected German translation without Umlaut 2018-09-25 10:01:17 +02:00
vardai
4892b87dde Corrected German translation 2018-09-25 10:01:17 +02:00
Émilie Feral
68157e7c70 [poincare] getLinearCoefficients: the equation from which we look for
coefficients can be Undefined at some point (because it is the reduction
of 0*inf for instance)
2018-09-24 18:24:17 +02:00