Commit Graph

3645 Commits

Author SHA1 Message Date
Émilie Feral
fd06d428e5 [apps] Redesign Probability Calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
e8793c429c [escher] In textfield: when calling textFieldDidHandleEvent, precise if
there was any modification in the text
2018-01-04 15:48:06 +01:00
Émilie Feral
66ba406093 [escher] In table view: change the order of the layout: reload the data
BEFORE resizing and layouting cells
2018-01-04 15:48:06 +01:00
Émilie Feral
870994e11d [escher] Add a getter for the modal view in app 2018-01-04 15:48:06 +01:00
Émilie Feral
bc78a0b19e [escher] Add a method in view: relativePointForPointInView 2018-01-04 15:48:06 +01:00
Émilie Feral
c7b9b21074 [apps] Probability: optimize view reloading in calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
É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
e41ca318c7 [escher] TextField: change the method to get the optimal size for display 2018-01-04 15:48:06 +01:00
Émilie Feral
57866ce788 [kandinsky] Make charSize methods constexpr 2018-01-04 15:48:06 +01:00
Émilie Feral
66e375a308 Makefile: all objects .o depend on generated headers (to avoid tracking
all dependencies before compiling)
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
d6b577b7dc [poincare] Do not apply a^(b+c)->a^b*a^c when a is null (0^(5-2) !=
0^5*0^(-2))
2017-12-18 13:11:46 +01:00
Émilie Feral
8b6ddbd615 [poincare] When complex has an infinite value (real or complex), print
undef
2017-12-15 17:55:25 +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
É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