Émilie Feral
6ccabe2d3b
[apps] Probability: fix bug: for discrete laws, when inversing
...
probability, round to the closest existing probability (instead of the
closest smaller)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed
[apps] Probability: display 7 significative numbers in calculation
...
results
2018-01-04 15:48:06 +01:00
Émilie Feral
0d3d7f3587
[apps] Probability: do not round the calculation results with 3 decimals
2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4
[apps] Probability: update the size of calculation boxes with their
...
content
2018-01-04 15:48:06 +01:00
Émilie Feral
6c070b63fc
[apps] Sequence: fix bug due to const char * comparison
2018-01-03 16:16:34 +01:00
Émilie Feral
bf9d9728e8
[apps] Sequence: do not change selection when becoming first responder
...
but when appearing
2018-01-03 10:36:59 +01:00
Émilie Feral
2452e3c2c1
[apps] Sequence: add forgotten instanciation
2017-12-20 17:41:03 +01:00
Émilie Feral
945d6df444
[apps] Fix typo: Explicite->Explicit
2017-12-20 17:41:03 +01:00
Émilie Feral
509ee874b4
[apps] In sequence: enable to change initial sequence index
2017-12-20 17:41:03 +01:00
Émilie Feral
967e963657
[apps] In sequence: add a message: FirstTermRank
2017-12-20 17:41:03 +01:00
Émilie Feral
83b5798850
[apps] Factorize code: textFieldDidReceiveEvent implementation is
...
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
25a5748f85
[apps] Sequence: add a customizable initial rank in sequence
2017-12-20 17:41:03 +01:00
Émilie Feral
45908263ff
[apps] Sequence: add other sequence shortcuts in toolbox call from the
...
list controller
2017-12-20 17:41:03 +01:00
Émilie Feral
80defaad50
[apps] Sequence: reload table data when displaying the type parameter
...
controller to update the sequence name
2017-12-20 17:41:03 +01:00
Émilie Feral
d36cfcca51
[apps] In Editable cell table view controller, do not reload all table
...
data if the table dimensions did not evolve
2017-12-20 17:41:03 +01:00
Émilie Feral
cb754ab6d5
[apps] Sequence: invalidate the context cache when the sequences are
...
redefined
2017-12-20 17:41:03 +01:00
Émilie Feral
31ceb5ed40
[apps] Sequence: add tests on sequence
2017-12-20 17:41:03 +01:00
Émilie Feral
032cafdb04
[apps] Sequence: enable to defined dependent sequences
2017-12-20 17:41:03 +01:00
Émilie Feral
81e0148325
[poincare] Clean symbols w(n) and w(n+1) are unused
2017-12-20 17:41:03 +01:00
Émilie Feral
2c85fe88a5
[apps] Probability: textfields should finish editing when the cursor is
...
on one edge of the field
2017-12-20 17:17:51 +01:00
Émilie Feral
077a95197e
[escher] SelectableTableView handles setting the ccell as first
...
responder if needed
2017-12-20 17:17:41 +01:00
Émilie Feral
b47cdbb87a
[apps] Fix bug in settings: do not set the sub controller table as first
...
responder when no cell is selected
2017-12-20 17:17:41 +01:00
Émilie Feral
afddb87cd4
[apps] In toolbox helpers, add double single quotes in text from command and
...
insert cursor in the middle of both
2017-12-18 16:53:12 +01:00
Émilie Feral
7686412266
[apps] In code: add single quote (') in the catalog
2017-12-18 16:53:12 +01:00
É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
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
Émilie Feral
9b72bc86fa
[apps] In settings, fix bug in setting first controller
2017-12-08 10:28:25 +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
É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
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
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
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
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
Léa Saviot
71bfcbf5d7
[code] Cleaned the prevention of ".py" edition.
...
Now the MenuController changes the cursor location if needed once the
Textfield has handled the event.
Change-Id: I1ad3202402623dfa9a683866fef90ca33ddd6be0
2017-12-04 17:18:37 +01:00
Léa Saviot
fd33930301
[code] Prevent adding text in a script name when the textfield is full.
...
Change-Id: I31968f9fa62a7cf9904ed1f64f2833760510317a
2017-12-04 14:52:21 +01:00
Léa Saviot
56ac5071f2
[code] Fixed table reload when executing one script.
...
Before, the history would not redraw itself properly when selecting
"Execute Script" from a script's options.
Change-Id: Ibefd920eb038165a81ddb464dbf889047ad1f370
2017-12-04 13:51:38 +01:00
Léa Saviot
b27551ce4f
[code] Fixed bug when importing scripts that draw on screen.
...
The drawing should happen after the ConsoleController is pushed on the
screen. This means that the importation of scripts should be done at the
ConsoleController's viewWillAppear.
Change-Id: I756ac9de30f339dc4f6aa8d3995abea0a46d03b5
2017-12-04 12:11:00 +01:00
Léa Saviot
ff22bc05b8
[code] Fixed bug in script_node_cell.
...
Change-Id: I588a7a25a0042efd34701bb5dc3d091a232ba55d
2017-12-04 10:46:27 +01:00
Léa Saviot
277771c243
[code] Fixed selection bug in VariableBoxController.
...
Change-Id: I8fcbdd6e181453bb8fbee7b4efc8573ca112c6a2
2017-12-04 10:44:35 +01:00
Émilie Feral
db35fc1d72
Merge branch 'cas_with_python' into python_console
...
Change-Id: I06e3e07b9fd8d52818d90110ed7517777b35b9f1
2017-12-01 17:29:55 +01:00
Émilie Feral
504bd41664
[apps] In calculation: Avoid to parse twice instead of once when checking the input
...
string
Change-Id: I653ae54b554c05735c7f9502a6ca44076aed5d7e
2017-12-01 17:22:05 +01:00