Laury
7b4a94296b
[calculation][poincare] Revert 'b8544e3' and improve equal simplification
2021-09-01 17:31:51 +02:00
Joachim LF
9b17d1b882
[Update] Epsilon 15.3.1
2021-01-21 19:56:06 +01:00
Gabriel Ozouf
b8544e3708
[apps/shared/text_field_delegate_app] Refuse Equal
...
The Equal sign now triggers a syntax error in all apps but Solver. This
make its behaviour symmetrical with that of < and >.
Change-Id: Ia886c547a315d5627a69f3f2acac2cbce0e202c2
2020-11-04 15:32:58 +01:00
Gabriel Ozouf
9e3470436a
[apps/calculation] Move input memoization
...
Calculation's input is now only saved and restored when the app truly
closes or opens, instead of whenever the EditExpressionController enters
or leaves the responder chain (which also happens when the user switches
to the history or the toolbox, or triggers a syntax error).
Change-Id: I8404f1bc5619bcbc03272b406962d284fe25f7e2
2020-11-04 15:07:20 +01:00
Gabriel Ozouf
0927ffca29
[apps/calculation] Moved input buffer to snapshot
...
The cacheBuffer from EditExpressionController has been moved in the
snapshot, to act as a zone where layout information can be kept while
the app is inactive.
Change-Id: If9206abf77f37d6b984826e5f09658848381a75f
2020-11-04 14:45:35 +01:00
Arthur
d77e924014
[Apps/Calculation] Modified the calculationStore of additional results
...
-Additional results are now stored in smaller calculationStores
Change-Id: I7d09bfb09e57cbb80e9385668adeb29a31398bc0
2020-11-04 14:45:34 +01:00
Arthur
d7a0914d13
[Apps/CalculationStore] Changed the way to store calculations
...
-No more limit to the number of calculations
-All calculations are memoized
-Added tests to test/calculation_store.cpp
Change-Id: Ia10e2b009576eaf4496ba44a0c88f6e7e76f6cef
2020-11-04 14:45:34 +01:00
Quentin Guidée
c2df1c33d1
[Fix] Examination level
2020-07-18 10:31:14 +02:00
Quentin Guidée
ab8f731515
Fixed some conflicts
2020-02-12 17:42:58 +01:00
Léa Saviot
756eeeb2d8
[poincare/parser] Add context
2020-02-12 15:13:21 +01:00
citorva
c94affa7cd
Remove External app for unsupported devices (web/n0100) and adds a basic examination checking system
2020-01-19 23:45:35 +01:00
Émilie Feral
ecfe626520
[apps/shared] Remove useless method storeExpressionAllowed
2019-09-03 13:36:19 +02:00
Ruben Dashyan
381a92f991
[apps] Remove unnecessary overriding
2019-08-29 11:07:22 +02:00
Léa Saviot
f43e73333a
[apps/calculation] Put back memoization
2019-08-08 17:22:02 +02:00
Léa Saviot
c7fd11e4b0
[apps/calculation] Calculation store has one big buffer for calculations
2019-08-08 17:22:02 +02:00
Ruben Dashyan
62cec10b46
[apps] Clean unnecessary AppsContainer class declarations and header inclusions
2019-07-19 15:06:25 +02:00
Ruben Dashyan
1f06819974
[apps] Remove Container * parameter from all App constructors
2019-07-19 15:06:25 +02:00
Romain Goyet
4f2c7a3763
[build] Update the i18n processing to fit the out-of-tree build
2019-03-06 15:00:59 +01:00
Léa Saviot
33676e915a
[apps] Check that serialized expression is not too long in Graph
2018-11-23 12:04:09 +01:00
Léa Saviot
f5586b3d36
[apps] Clean the syntax error warning displaying
2018-11-23 12:04:09 +01:00
Léa Saviot
f6804c2d67
[apps] Use ExpressionFieldDelegateApp methods in Calculation::App
...
For methods textFieldDidReceiveEvent and layoutFieldDidReceiveEvent
2018-11-23 12:04:08 +01:00
Léa Saviot
527c1d02ce
[apps/calc] Replacing ans in the input may make the input unparsable
2018-11-23 12:04:07 +01:00
Léa Saviot
d411ff292e
[poincare] Do not parse 1>ans
2018-11-23 12:04:07 +01:00
Léa Saviot
7c4b7495f3
[apps/poincare] Inline some methods
2018-11-23 12:04:04 +01:00
Émilie Feral
0a823da78c
[escher] Variable box pop-up is handle as Toolbox pop-up by asking
...
InputEventHandlerDelegate
2018-11-23 12:04:03 +01:00
Émilie Feral
698332c355
[escher] InputTextDelegate and LayoutFieldDelegate don't inherit from
...
InputTextDelegate to avoid diamond inheritance
2018-11-23 12:04:03 +01:00
Léa Saviot
a7a719df4a
[poincare] Handle functions in replaceSymbolWithExp and similar methods
2018-11-23 12:03:59 +01:00
Émilie Feral
cf68a9ed18
[shared] Change TextFieldDelegateApp::XNT() signature
2018-11-23 12:03:59 +01:00
Émilie Feral
a93e9566ad
[escher] Create a parent class Field of TextField and
...
LayoutField
2018-11-23 12:03:59 +01:00
Léa Saviot
2e2bf96bca
[apps/poincare] use Symbol::k_ans constexpr char *
2018-11-23 12:03:58 +01:00
Émilie Feral
7f72f820a0
[poincare] Get rid of SpecialSymbols::Ans
2018-11-23 12:03:58 +01:00
Émilie Feral
c95c3145bc
Merge remote-tracking branch 'github/master' into Tree
2018-09-13 17:03:31 +02:00
Émilie Feral
9182d66fcc
[apps] Apps are not allocated on the heap anymore but in a union hold by
...
the AppsContainerStorage
2018-09-06 09:49:38 +02:00
Émilie Feral
b2b0f4fab0
[apps] Clean buffer size declaration
2018-09-04 12:19:49 +02:00
Émilie Feral
3eb3568e60
[calculation] Fix replacement of ANS symbol
2018-09-03 15:56:37 +02:00
Léa Saviot
71c807b565
[poincare] Node->isDefined becomes !Node->isUninitialized
2018-08-14 16:40:12 +02:00
Émilie Feral
b5f66171fc
[calculation] Fix all reference to Poincare
2018-08-10 13:18:46 +02:00
Émilie Feral
7c1649670a
[shared] Fix PoincareHelpers
2018-08-10 10:13:25 +02:00
Émilie Feral
aaa20a58fa
[poincare] Implement SerializationHelper and
...
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Léa Saviot
a3032e5ec3
Merge branch Tree into master
2018-07-19 14:01:02 +02:00
Émilie Feral
2e7c08241a
[poincare] Change writeTextInBuffer signature (parameters are float
...
display mode and number of significant digits)
2018-07-18 16:32:50 +02:00
Léa Saviot
880c3e59de
[poincare] Continue removing layouts
2018-07-03 18:29:08 +02:00
Léa Saviot
a2226eb5f8
[apps/calculation] Expression buffer max length: k_printedExpressionSize
...
Change-Id: I41603624f7f7a4d3213ec6ea43297b75b204ed03
2018-05-16 15:56:13 +02:00
Léa Saviot
c3433da2e2
[apps/calculation] Factorize some code.
...
Change-Id: Id217a1d898c7100172a70cd1fedcf3573c2f68b9
2018-04-23 11:34:01 +02:00
Léa Saviot
894080f1ab
[apps/escher] EVWithCursor becomes ELField::ContentView
...
Change-Id: I719218e4d1d360800e0f1ef3eebeea774c8d5660
2018-04-23 09:41:20 +02:00
Léa Saviot
22ab94209f
[apps/escher] Rename EditableExpressionView -> ExpressionField
...
Change-Id: Iadfb220ee94e68762305060215f1ead0cac951fb
2018-04-23 09:41:20 +02:00
Léa Saviot
31face58a2
[apps/escher] ScrollableEVWithCursor renamed ExpressionLayoutField
...
Change-Id: Id0e4610fb677d8ad36721eef1a85f1c424d1743e
2018-04-23 09:41:20 +02:00
Léa Saviot
3e5b3457c1
[apps/coding style] Better code nesting.
...
Change-Id: I26485d4b9917f67b3a73e73721b4f6f2f49c4aa1
2018-04-19 16:45:50 +02:00
Léa Saviot
c4b5d4cf40
Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
...
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02: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