Émilie Feral
576caa039f
[apps][escher] Add methods 'handleEventWithText' in TextField and
...
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
6de71ae145
[poincare] Clean: convertFloatToText should be in PrintFloat instead of
...
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
a8fe8dc22e
[apps] Calculation: input text stores in cache have to be checked again
...
when used as its length context dependent (because of 'ans' symbol)
2018-02-01 11:49:39 +01:00
Émilie Feral
53393524ef
[apps] Calculation: do not display a syntax error when the textfield is
...
empty
2018-02-01 11:49:39 +01:00
Émilie Feral
470767340a
[apps] Calculation: OK on an empty textfield re-do the last user input
...
kept in cache
2018-02-01 11:49:39 +01:00
Émilie Feral
f2db9f2065
[apps] Calculation: exact and approximate output can be equal even if
...
the exact output is not a rational: 1/2+i = 0.5+i
2018-01-30 19:14:42 +01:00
Émilie Feral
ed59909531
[apps] Calculation: avoid 1/400000 = 0.000003
...
Re-serialise the calculation approximate output with the right number of
significant digits before comparing the parsed expression with the exact
one
2018-01-30 19:14:42 +01:00
Émilie Feral
03c8b373f7
[apps] Calculation: update the equal sign view according to the
...
calculation outputs
2018-01-30 19:14:42 +01:00
Émilie Feral
9d6b2e3cad
[apps] Calculation: add a method to test if the exact output and the
...
approximate output are equal
2018-01-30 19:14:42 +01:00
Émilie Feral
541d0809f3
[apps] Calculation: avoid replacing 'ans' with a store expression (to
...
avoid bug like '(2->A)->B')
2018-01-30 16:17:03 +01:00
Émilie Feral
e4cb6d9aad
[apps] Calculation: when checking the length of the input calculation,
...
first replace "ans" symbol
2018-01-30 16:17:03 +01:00
Émilie Feral
36a3108309
[apps] Calculation: move implementation of ansExpression() from
...
Calculation to CalculationStore
2018-01-30 16:17:03 +01:00
Émilie Feral
59fdcde548
[poincare] Avoid returning partial simplification when the
...
simplification process has been interrupted
2018-01-30 16:17:03 +01:00
Émilie Feral
ddd8c3c44a
[apps] Add tests on Ans behaviour in Calculation
2018-01-16 15:17:16 +01:00
Émilie Feral
775432efdc
[poincare][apps] Replace Ans symbol when preprocessing the calculation
2018-01-16 15:17:16 +01:00
Émilie Feral
17fc7998a2
[apps] Calculation: Ans is exact only when the expression hold is exact
2018-01-16 15:17:16 +01:00
Émilie Feral
d6d31b4eb0
[apps] Calculation: clean unused methods
2018-01-16 15:17:16 +01:00
Émilie Feral
b8b7da7dd8
[apps] Calculation: Ans holds an exact expression
2018-01-16 15:17:16 +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
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
Léa Saviot
e43bbd38f2
[escher] Fixed TextField bug.
...
The Statistics apps crashed when navigating the Data table.
-> Check that the textfield is editing before calling
textFieldShouldFinishEditing.
-> Changed textLength() to draftTextLength().
Change-Id: Id373a7cd50438303f470abc5bcee7a795c33926a
2017-12-01 13:19:30 +01:00
Émilie Feral
01d456299f
[apps] Add comment
...
Change-Id: I53bdeb08625a2699408f563b0b3ed6c45744d01d
2017-11-28 17:03:33 +01:00
Émilie Feral
0b0f765f6b
[apps] In calculation, return only approximation when input involves
...
symbols A-Z
Change-Id: Ibf50fb516b01850c5f93c5153f4d550d3e459028
2017-11-28 11:43:06 +01:00
Émilie Feral
51e360aa6f
[apps] In calculation, default XNT is x
...
Change-Id: I9bfef8920a4975b1162e2630aa4c4556537886b1
2017-11-28 11:42:21 +01:00
Émilie Feral
bf2a26d90e
[apps] In calculation, do not accept expression whose corresponding
...
texts is too long
Change-Id: Ic96e5ed42e249d43e21241f8e1a7b1e873f3cad3
2017-11-27 12:07:35 +01:00
Émilie Feral
74a91ac214
[apps] In Calculation, the input text can be longer that the text
...
written by the user (omitted multiplication signs added, parenthesis
...)
Change-Id: Icc9861da847c7e65939ea6a9c337ffb3d1f12e61
2017-11-27 11:13:30 +01:00
Émilie Feral
89485104b8
[apps] In calculation, fix history table row height
...
Change-Id: Ia0ee485b80d6f4db81f480d0e3e8f91b73c912a2
2017-11-24 17:13:21 +01:00
Émilie Feral
fda382cc0d
[poincare] Change name: evaluate->approximate
...
Change-Id: I649a7c640190713dcf063a4148decd6038e62796
2017-11-24 13:31:44 +01:00
Émilie Feral
a5c984fce3
[apps] Calculation: change the grey of approximate output
...
Change-Id: Iac001fc581544af0634ad1d7765074f69aa07809
2017-11-23 11:49:52 +01:00
Émilie Feral
8f4c49d8c1
[apps] In calculation, fix the almostEqual aligmnent
...
Change-Id: I26eca4c9c2b5a3b1ad05567e8d5daf76922f2cb7
2017-11-22 14:38:53 +01:00
Romain Goyet
52bdf4a41f
Merge branch 'cas_with_app_copy' into python_console
2017-11-21 18:44:38 +01:00
Émilie Feral
7c772d85b7
[apps] In calculation, do not display exact output if it is identical to input
...
Change-Id: I4b0733c7e3090bc2b04c68661bd34cf0b6da17f1
2017-11-21 17:37:25 +01:00
Émilie Feral
b2d6c2e305
[apps] In calculation, avoid blinking when changing selection
...
Change-Id: I8b94362183e1aed0d87cfdfa39b3f67ccbbd8b42
2017-11-21 17:37:25 +01:00
Émilie Feral
5e822a8001
[apps] In calculation, fix scrolling between approximate and exact
...
outputs
Change-Id: I8920cc3eab9f72d4b82cf2361bd1eba02232a268
2017-11-21 17:37:25 +01:00
Émilie Feral
7d30801e68
[apps] Change output colors
...
Change-Id: Ic8cb3f6bf3130c8b5e4c84edc1513353631d0336
2017-11-21 17:37:25 +01:00
Émilie Feral
fe73c69b11
[apps] In calculation, swap exact and approximate outputs
...
Change-Id: I0cbce8b56a37b31d3249a53b35d69098a8d45c78
2017-11-21 17:37:25 +01:00
Émilie Feral
65722ff875
[apps] Fix bug when computing the history cell height in Calculation
...
Change-Id: Ic45f3da26a47b189ef6050d68c25f27c9a1f4bb7
2017-11-21 17:37:25 +01:00
Émilie Feral
bb590bc529
[apps/calculation] Valgrind: fix call to deleted memory
...
Change-Id: I36e25684dfd260e04ce29fe0698c179e372030d4
2017-11-21 17:37:25 +01:00
Émilie Feral
5fd8fda4b1
[calculation] Display exact and approximate results
...
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
2017-11-21 17:37:25 +01:00
Émilie Feral
6c51c584f2
[apps] Change Calculation to hold an exact and an approximate output
...
Change-Id: I1805839e17cd42b82f06ce0a320d20b49cd2a6cd
2017-11-21 17:37:25 +01:00
Léa Saviot
239e702d37
[code] Navigation in the console history.
...
The user can copy previous commands or results, into the clipboard or in
the console prompt.
Change-Id: I280fff2d4937f4d17ab6c8907d6e5c359a322372
2017-11-17 11:59:50 +01:00
Romain Goyet
3d10d3e951
Use zero-initialization for character arrays
...
It makes some not-fully-compliant compilers happy
2017-10-19 17:31:40 +02:00
Jacob Young
17ac54cad5
Use cmath in c++ files.
2017-10-13 18:08:15 +02:00
Romain Goyet
e6ed6c74a4
[apps] Split the i18n in multiple files
...
A Python script aggregates all i18n files and merges them.
We now can pick a list of locales to build in EPSILON_I18N_LANGUAGES
2017-09-29 17:08:46 +02:00
Émilie Feral
2b1bd5c191
[poincare] In context: clean setExpressionForSymbol
...
Change-Id: I13f51a6c84537be43de3b78de68e77fade502344
2017-09-22 13:21:55 +02:00
Romain Goyet
dcdd27d6bf
[apps] Apps can be picked and ordered at compile-time
2017-09-20 11:18:39 +02:00
Jacob Young
5ffd7cc270
Auto insert ans before sto.
2017-09-15 17:05:24 +02:00
mjmdavis
a6ee0e4f82
Removed the automatic insertion of 'ans' when pressing '-'.
2017-09-06 10:15:24 +02:00
Émilie Feral
35a9753609
[poincare][apps] Memory leaks
...
Change-Id: I2338760fb52bcf57997f7d82fd1f5cee68e95266
2017-08-25 11:20:49 +02:00