Léa Saviot
2727485af0
[apps/solver] Add tests with long variable names
2018-11-23 12:04:05 +01:00
Léa Saviot
b622c54d50
[apps/solver] Display the whole solution name when long name
2018-11-23 12:04:05 +01:00
Léa Saviot
041b643b15
[apps/solver] Fix variable name computation problem
2018-11-23 12:04:05 +01:00
Léa Saviot
cce6591f54
[apps] When editing an expression model, replace UnknownX with 'x'
2018-11-23 12:04:05 +01:00
Léa Saviot
b73d066f2b
[apps] German translation of "Function can't have store" message + style
2018-11-23 12:04:05 +01:00
Émilie Feral
e7c95c3583
[apps] Change messages of VariableBoxEmptyController
2018-11-23 12:04:05 +01:00
Léa Saviot
d686199111
[code] Delete script when aborting edition with no default name
2018-11-23 12:04:05 +01:00
Léa Saviot
e74e15eaf7
[apps/code] Handle too many Script default names used
...
When adding to many scripts without naming them, one can overflow the
number of default generated script names, in which case we force the
user to enter a name.
2018-11-23 12:04:05 +01:00
Léa Saviot
0f9d1db851
[apps/code] Fix break that should be a return
2018-11-23 12:04:05 +01:00
Léa Saviot
58c022a9a9
[apps/code] Allow any number of scripts
2018-11-23 12:04:05 +01:00
Léa Saviot
8595b5f811
[apps] Translate the "Function cannot contain a Store" message
2018-11-23 12:04:05 +01:00
Ruben Dashyan
61b1b8a09d
[poincare] Add Expression::FunctionHelper class
...
That class is meant to contain data about named functions (e.g. sin,
tan...) in one place: their name, their number of children and a pointer to
a builder. The derived class corresponding to each such function
contains a private instance (m_functionHelper) and a getter.
The previous parser is removed, along with unecessary
constructors (used by the previous parsers).
2018-11-23 12:04:05 +01:00
Léa Saviot
b3f5bf13de
[apps/escher] Code layouting and typo
2018-11-23 12:04:04 +01:00
Léa Saviot
b9bf5be5f6
[apps/escher] Remove wrong markRectAsDirty, use reloadCell instead
2018-11-23 12:04:04 +01:00
Léa Saviot
9ee0f94ba4
[apps] Reload VariableBox cells before displaying them
2018-11-23 12:04:04 +01:00
Léa Saviot
549c9ed1fd
[apps] Fix variable box layout memoization
...
Reset the memoization when changing the variable box tab
2018-11-23 12:04:04 +01:00
Léa Saviot
7c4b7495f3
[apps/poincare] Inline some methods
2018-11-23 12:04:04 +01:00
Léa Saviot
fbe4c14d0d
[apps] Prevent function defined as a store
...
For instance, from the Graph application, one should not be able to
defined f(x) as 3->g(x)
2018-11-23 12:04:04 +01:00
Léa Saviot
bd52162b10
Fix typo
2018-11-23 12:04:04 +01:00
Léa Saviot
be195ce70e
[apps/graph] Fix storage pointers that expired
2018-11-23 12:04:04 +01:00
Émilie Feral
8770c9010a
[poincare] Create Constant inheriting from SymbolAbstrac
...
pi, e and i are not symbols anymore but constant
2018-11-23 12:04:04 +01:00
Émilie Feral
0cc7052d45
[apps] Fix variable box handle event
2018-11-23 12:04:04 +01:00
Émilie Feral
80c1fe627c
[sequence] Fix CacheContext
2018-11-23 12:04:04 +01:00
Émilie Feral
d0d81c4eca
[solver] Fix resolveLinearSystem (special case: no variable)
2018-11-23 12:04:04 +01:00
Émilie Feral
9197e8ffbf
[solver] Clean EquationStore
2018-11-23 12:04:04 +01:00
Émilie Feral
432713fbb6
[poincare][solver] Variable whose names are too long are not parsed
...
anymore
2018-11-23 12:04:04 +01:00
Émilie Feral
8099c5a2af
[i18n] Variable box messages
2018-11-23 12:04:04 +01:00
Émilie Feral
a9b290c50c
[i18n] German translations of memory full messages
2018-11-23 12:04:04 +01:00
Émilie Feral
3e98d783e1
[toolbox] Add a default value to diff for consistency with int, sum &
...
product
2018-11-23 12:04:04 +01:00
Émilie Feral
b0ebaf15d9
[toolbox] Add a default value to sum and product
2018-11-23 12:04:04 +01:00
Léa Saviot
fd533834ef
[apps/code] Default script name is in class Script, not menu controller
2018-11-23 12:04:04 +01:00
Émilie Feral
31a5caff60
[poincare] Sum and Product can specify their variable name
2018-11-23 12:04:04 +01:00
Léa Saviot
94721f08df
[apps] Full pool/storage memory warning messages
2018-11-23 12:04:04 +01:00
Léa Saviot
6fa7816789
[escher] Warning pop-ups may have two lines
2018-11-23 12:04:04 +01:00
Léa Saviot
2f77fb88bb
[apps/i18n] Default message ("") has index 0
2018-11-23 12:04:04 +01:00
Léa Saviot
ecb58dea71
[apps] Renamen MemoryFull i18N messages
2018-11-23 12:04:04 +01:00
Léa Saviot
bea78aa3b1
[apps/escher] Invocation::Action returns a bool
2018-11-23 12:04:04 +01:00
Léa Saviot
91d6955ddf
[apps] The apps displays a warning when storage is full
2018-11-23 12:04:04 +01:00
Émilie Feral
5e57a850f9
Test build: add dependencies due to global_context
2018-11-23 12:04:04 +01:00
Léa Saviot
c428a4e94b
[apps] Cell heights memoized in ExprModelListCtrler, not FunctionLC
2018-11-23 12:04:04 +01:00
Léa Saviot
f259b84874
[apps/graph] Make the function list navigation faster
2018-11-23 12:04:04 +01:00
Léa Saviot
7bfae0c034
[apps] Increase the number of memoized expression models
2018-11-23 12:04:03 +01:00
Léa Saviot
597d2c46a4
[apps] Fix missing index incrementation
2018-11-23 12:04:03 +01:00
Émilie Feral
162df78d69
[apps] VariableBoxController: fix highlighted cell bug
2018-11-23 12:04:03 +01:00
Émilie Feral
932782bec4
[code] Load Variable box content only once in the ConsoleController (to
...
avoid memory exhaustion later)
2018-11-23 12:04:03 +01:00
Émilie Feral
ea59e651ee
[code] EditorController: save script before displaying the variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
a4f7d83805
[code] Load Variable box content before compiling any other python code
...
to avoid memory exhaustion when displaying variable box
2018-11-23 12:04:03 +01:00
Émilie Feral
c7e001a01d
[code] ConsoleController: TextField handle any move event so escaping by going up needs to be handled in textFieldDidReceiveEvent
2018-11-23 12:04:03 +01:00
Émilie Feral
99054df77b
[code] Remove useless code: force edition on Var event is already
...
handled by TextField
2018-11-23 12:04:03 +01:00
Émilie Feral
67970298c6
[poincare] Default integral has 'dx' and cursor skips dx when moving
...
towards right
2018-11-23 12:04:03 +01:00