Émilie Feral
a0ec589e47
[apps] Graph: all contexts parse x now so no need for a specific one in
...
graph
2017-12-14 10:52:14 +01:00
Émilie Feral
1a80dcf1be
[poincare] Add tests on logarithm simplifications and approximations
2017-12-14 10:50:21 +01:00
Émilie Feral
8126594728
[poincare] Fix Logarithm shallow reduce: log(64,2) = 6log(2,2)= 6
...
(reduce the created log(2,2))
2017-12-14 10:50:21 +01:00
Émilie Feral
95438ff89d
[poincare] In Logarithm, fix bug in logarithm approximation: log(x,y) =
...
ln(x)/ln(y) (instead of ln(y)/ln(x))
2017-12-14 10:50:21 +01:00
Romain Goyet
385328f46b
[poincare] Explicitely ignore whitespaces when lexing
2017-12-14 10:36:31 +01:00
Romain Goyet
7327f26953
Lex any unknown character as an UNDEFINED_SYMBOL
...
If no other rule matches before, lex yields an UNDEFINED_SYMBOL. This
seems more future-proof since we don't have to explicitly list all
unknown characters.
2017-12-14 10:36:31 +01:00
Émilie Feral
37263a5768
[poincare] Fix matrix_inverse for real numbers/pure complex numbers
2017-12-12 16:33:34 +01:00
Jacob Young
e5868aaeab
Add extra keyboard shortcuts to the emscripten platform.
2017-12-12 14:05:58 +01:00
Jacob Young
b5bf6002f9
Remove unnecessary namespace qualifiers.
2017-12-12 14:05:58 +01:00
Jacob Young
94e18f90e0
Add missing static.
2017-12-12 14:05:58 +01:00
Romain Goyet
f574cd9355
[apps] Fix coding style
2017-12-12 10:18:20 +01:00
ydupas
b3f606b9ac
Fix: windows simulator: Assert error apps/i18n.cpp:2437 and Toolbox title "Zoom :" #267 ( #275 )
...
* Fix: windows simulator: Assert error apps/i18n.cpp:2437 and Toolbox
title "Zoom :" #267
static GlobalPreferences doesn't init on windows platform, move to
static methode sharedGlobalPreferences()
* Keepsafe from static init order fiasco for all
2017-12-12 10:15:41 +01:00
Romain Goyet
1e538600e3
Add the ability to take a screenshot in the packaged web simulator
2017-12-12 09:43:06 +01:00
Léa Saviot
f7766080c3
[python] Fixed the list[:] function.
2017-12-12 09:42:30 +01:00
Léa Saviot
2a0bc95097
[python] Fix min/max functions.
2017-12-12 09:42:10 +01:00
Émilie Feral
8c37e8a6d0
[poincare] Fix integer subtraction (overflow in carry)
2017-12-08 10:57:43 +01:00
Émilie Feral
9b72bc86fa
[apps] In settings, fix bug in setting first controller
2017-12-08 10:28:25 +01:00
Émilie Feral
1da26f4f65
[poincare] Improve comment on smart division
2017-12-07 17:43:04 +01:00
Émilie Feral
975f54c7b2
[ion] Change events name: Origin->ShiftLeft, End->ShiftRight
2017-12-07 17:42:39 +01:00
Émilie Feral
9b83bee8b6
[poincare] Clean
2017-12-07 17:39:54 +01:00
Émilie Feral
d8963e33e3
[ion] Enable flash instructions fetching
2017-12-07 09:26:23 +01:00
Jean-Baptiste Boric
59e5750463
[apps] Extract shared translations from apps
...
This commit can be regenerated with the following shell snippet:
```
for i in UndefinedValue ForbiddenValue Goto ValueNotReachedByFunction Initialization Trigonometric RoundAbscissa Orthonormal DefaultSetting Axis Zoom GraphTab IntervalSet XStart XEnd Step Plot DisplayValues ActivateDesactivate NoFunctionToDelete Language FunctionOptions ClearColumn ColumnOptions DataTab CopyColumnInList FunctionColumn Move Or ValuesTab Goto ToZoom HardwareTestLaunch1 HardwareTestLaunch2 HardwareTestLaunch3 HardwareTestLaunch4 ActiveExamModeMessage1 ActiveExamModeMessage2 ActiveExamModeMessage3 ExitExamMode1 ExitExamMode2 Sci Rad Deg
do
move=$(grep "^$i = " -r *)
if [ -n "$move" ]
then
echo "$move" | while read -r item
do
file=$(echo "$item" | cut -f1 -d:)
lang=$(echo "$file" | cut -f2 -d.)
translation=$(echo "$item" | sed -e 's/^[^:]*://')
label=$(echo "$translation" | sed -e 's/=.*//')
sed -i "/^$label/d" "$file"
echo "$translation" >> "apps/shared.$lang.i18n"
done
fi
done
for i in apps/shared.*.i18n
do
sort $i -o $i
done
```
2017-12-07 09:20:31 +01:00
Jean-Baptiste Boric
8429f0ac94
[apps] Include Makefile apps from list
2017-12-07 09:20:31 +01:00
Damien Nicolet
845337a042
Enable instruction and data cache
2017-12-06 18:39:09 +01:00
Émilie Feral
15610064fa
Coverity: fix unitialized pointer fields, out of bounds reads ...
...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Émilie Feral
c545a23ec6
[kandinsky] Fix draw rect+change name: drawRect->strokeRect
...
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
2017-12-06 14:49:53 +01:00
Émilie Feral
080450a358
README: add an appVeyor badge
2017-12-06 14:25:50 +01:00
ydupas
8741e4d116
Fix: invalid characters on windows simulator #240
2017-12-06 13:36:54 +01:00
Adrien Bertrand
e1ca053a1e
[poincare] fix free usage.
2017-12-06 09:52:14 +01:00
Adrien Bertrand
4c62ced3e2
[settings/main_controller] remove dead code.
...
Its action was already done above anyway.
2017-12-06 09:52:14 +01:00
Émilie Feral
62899e8ebe
[poincare] Clean
2017-12-05 19:41:51 +01:00
gpotter2
f4ce649dba
Ignore exe files in git on Windows
2017-12-05 19:40:38 +01:00
Émilie Feral
a3640298fd
[poincare] Fix baseline_relative_layout alignment
...
Change-Id: I69b32f779f5d5cdc3e5c8b460dfad8286525cea3
2017-12-05 16:33:51 +01:00
Émilie Feral
c889bb4092
[poincare] Implement Symbol copy constructor
...
Change-Id: Ie2bef0ba70f11608fd8aebbfa545f6de2e4872bb
2017-12-05 16:20:22 +01:00
Émilie Feral
105b52cea8
Makefile: change version to 1.2.0
...
Change-Id: I1ee72f274b0445ef9991d64b4e038dba75742764
2017-12-05 13:43:38 +01:00
Émilie Feral
7d73911063
Merge remote-tracking branch 'epsilon/cas_with_python' into python_console
2017-12-05 13:33:20 +01:00
Émilie Feral
b7a74c2c46
[apps] In Probability: fix bug when a = 0 and b = 1E-43 < FLT_EPSILON
...
Change-Id: Ib4fd405178fa0d7e8571f2da14e177fe67e3c96d
2017-12-05 12:10:10 +01:00
Léa Saviot
27d6f8e7cc
[code] Added line feeds after some Python Toolbox commands.
...
Change-Id: I0d6ab5beecfa02fec64ca904f50c7b2a4022ff96
2017-12-05 12:08:24 +01:00
Émilie Feral
ed1521cfd7
[poincare] In parsing, decimal whose exponent is > 1000 or < -1000 are
...
not accepted (also ensure not to overflow in exponent computation)
Change-Id: I2d5f86ae2fd735c8868346554d39a4e23aef6c3b
2017-12-05 11:45:40 +01:00
Léa Saviot
3bd1477912
[apps] Fixed bug in settings.
...
When activating or deactivating the exam mode, the table did not display
the right label immediately.
Change-Id: I3ce556202b4dde94235d90b937b3f00274b2f3d6
2017-12-05 11:28:38 +01:00
Léa Saviot
dcd5d05537
[code] Fixed selection bug in the console history.
...
When clearing the console history, the previously selected cell was not
unhighlighted. This sometimes caused a random cell to be highlighted when
adding new commands.
Change-Id: I393446527fc06d7ae075c21124cb78e09d63ef99
2017-12-05 11:28:23 +01:00
Émilie Feral
cc31cbcc52
Merge remote-tracking branch 'epsilon/cas_with_python' into python_console
2017-12-04 18:09:20 +01:00
Léa Saviot
f8e64c1ba4
[code] Fixed Toolbox messages typos.
...
Change-Id: If9db652250c1a075530e8ce213f37af4d46e457b
2017-12-04 18:02:24 +01:00
Émilie Feral
ccf97c0e74
[poincare] Clean Integer::udiv
...
Change-Id: I40735d10499ea2cf3c9a9f8f327eb3fec9ebee7b
2017-12-04 17:57:24 +01:00
Émilie Feral
d52d6d61ff
[poincare] Fix bug in printing float to test: 999999.9 -> 1E7 instead of
...
0100000
Change-Id: I87d8659cf559901162bc83e8146c144526de782c
2017-12-04 17:57:24 +01:00
Émilie Feral
9efba84ba9
[poincare] Avoid infinite loop in binomial/permute coefficients
...
Change-Id: I528bf2a4fcfb269511aa9128990807524e9c3945
2017-12-04 17:57:24 +01:00
Émilie Feral
1edd7ac095
[poincare] Fix bug in Integer subtraction!
...
Change-Id: I2404d5d3b32e282c42cefb34e10d52ea44ba8931
2017-12-04 17:57:24 +01:00
Émilie Feral
57d4f239a2
[apps] In statistics, forbid min value that makes the number of bars
...
explode
Change-Id: Ia8c97a1c0f7099750ac17faaea7bf47fa5530966
2017-12-04 17:57:24 +01:00
Émilie Feral
4318588779
[apps] In toolbox, update the logarithm message with the right parameter
...
order (log(x, base))
Change-Id: Ice757a044eaf2f1f0efbfba302f3ea27d3892913
2017-12-04 17:57:24 +01:00
Émilie Feral
4cbe8fbf52
[poincare] Stopping the process inside a SimplificationOrfer call is not
...
always enable
Change-Id: Iad4cc54d4f9b139e967ead8ee6f8e9635cc39351
2017-12-04 17:57:19 +01:00