Commit Graph

282 Commits

Author SHA1 Message Date
Émilie Feral
a1bcbe28e6 [quiz] Turn all assert in quiz_assert 2018-08-28 10:40:52 +02:00
Émilie Feral
aaa20a58fa [poincare] Implement SerializationHelper and
SerializationHelperInterface. WriteTextInBuffer->serialize
2018-08-08 15:31:40 +02:00
Émilie Feral
cb4bb4f8f0 [poincare] Engine-->Helper and break LayoutHelper into LayoutHelper and
SerializationHelper
2018-08-08 14:00:52 +02:00
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Léa Saviot
fba21344b1 [poincare] Put margins in sequence list 2018-07-19 10:16:31 +02:00
Léa Saviot
d890168241 [poincare] Change all subscripts font-size to base layout font-size 2018-07-19 10:16:31 +02:00
Léa Saviot
63ebf895df [apps/sequence] Change method name 2018-07-19 09:55:46 +02:00
Léa Saviot
5b67269e72 [poincare] Fix SequenceToolbox special cells display when scrolling
When scrolling from "v(n+1)" to "abs(x)", the "v(n+1)" cell disappeared
2018-07-19 09:55:46 +02:00
Émilie Feral
e61a408a0a [poincare] Get rid of AngleUnit::Default 2018-07-18 17:09:07 +02:00
Émilie Feral
b8af15f1ab [poincare] change createLayout signature
- CreateLayout depends on the float display mode and the number of
significant digits
- Float display mode does not have a default value anymore
2018-07-18 16:32:50 +02:00
Émilie Feral
d94ed82ab8 [poincare] Create class Approximation<T> to avoid useless conversion
between Decimal and float/double
2018-07-18 16:32:50 +02:00
Émilie Feral
dd0bc491f6 [poincare] Replace Poincare::Complex by std::complex 2018-07-18 16:32:49 +02:00
Émilie Feral
66d920a280 [shared] Factorize GraphController::initCursorParameters of Graph and
Sequence
2018-07-06 14:00:32 +02:00
Léa Saviot
acc49412f1 [apps/escher] EvenOddExpressionCell has left and right margins 2018-06-12 15:50:50 +02:00
Émilie Feral
67cddf554d Merge branch 'lea-statistics' into upgrade-1.6.0 2018-06-12 10:25:54 +02:00
Léa Saviot
b2c84b3f45 [apps] Fix compilation 2018-06-11 13:58:25 +02:00
Léa Saviot
47fa6f4a41 [apps/escher] Share color selection for data (Red, blue, Green, Yellow) 2018-06-11 13:58:23 +02:00
Émilie Feral
ad6c985111 [solver] ExpressionCell are EvenOddExpressionCell rather than former
ModelExpressionCell
2018-06-08 15:13:50 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Émilie Feral
ac9da8d559 [escher] Handle copy/cut event on Expression in selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
24c9549866 [escher] Handle copy/cut event on selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
5378b90da8 [sequence] SequenceDefinition: Delete weird empty space to avoid getting
u(n ) when applying ExpressionLayout::writeInTextBuffer
2018-06-07 14:46:14 +02:00
Émilie Feral
fccebdcc06 [poincare] Move maximum/roots solver from CartesianFunction to Poincare::Expression (part I) 2018-06-07 13:46:19 +02:00
Émilie Feral
0b51b6e4fe [solver][graph][sequence] Force input edition when adding a new
Function/Sequence/Equation
2018-06-07 13:46:17 +02:00
Émilie Feral
021262e3aa [apps] Split List Controller in Expression Model List Controller and
Function List Controller (factorize code for future solver app)
2018-06-07 13:46:17 +02:00
Émilie Feral
837e0694d1 [shared] Remove New Function Cell class which is a duplicate of Even Odd
Message Text Cell
2018-06-07 13:46:17 +02:00
Émilie Feral
78e750b053 [shared] Change the ModelStore to store Expression Model Store 2018-06-07 13:46:17 +02:00
Émilie Feral
e05709f097 [shared] Factorize FunctionStore in ModelStore<T> (for future
implementation of equation store)
2018-06-07 13:46:17 +02:00
Émilie Feral
e160282e06 [escher] Change the function expression cell to inherit from
even odd expression cell
2018-06-07 13:46:17 +02:00
Émilie Feral
58d10403e2 [apps/sequence] Fix maxFirstIndex for double recursive sequences 2018-05-17 17:32:55 +02:00
Émilie Feral
8541c2cb7e [sequence] Add a pop-up when the user tries to set the first term
index to a value above 1000
2018-05-17 15:39:14 +02:00
Émilie Feral
3a29f086a0 [sequence] Fix u(0), u(1) layout in sequence list 2018-05-17 15:39:14 +02:00
Léa Saviot
a67f422ab7 [apps/sequence] Fix first/second term index display.
Before, it was always u0 and u1.

Change-Id: Iad5a3992a16f4b4a55e295b24f6a784a17f2807b
2018-05-16 18:36:34 +02:00
Léa Saviot
16de5291bb [apps/sequence] Fix "Un" size in sequence table
Change-Id: I8f46a2f6f49da08a58d8c24252cf9fa8d09d2a0e
2018-05-15 16:29:35 +02:00
Léa Saviot
678a0db4e4 Merge with current GitHub master branch
Change-Id: Ie1b83cfabdee1369eb66f53c01314324d5d88a74
2018-05-14 17:03:12 +02:00
Léa Saviot
3b582a2e46 Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Émilie Feral
71b972ceb1 [sequence] Decrease sequence graph resolution (2 dots per pixel instead
of 5)
2018-05-08 14:45:23 +02:00
Léa Saviot
d51ddc55a1 [apps/sequence] Put a condition on SeqType to get FirstInitialCondName
This condition was removed non-intentionnally by a previous commit

Change-Id: I643351b3ca965405753c0757971871c71838e405
2018-04-25 13:58:42 +02:00
Léa Saviot
a5c50f8887 [apps] Fix function name that was the same as virtual function.
Change-Id: Idec43b9427571dbd5752ac551424447cbdb08d27
2018-04-25 13:58:42 +02:00
Léa Saviot
13ae1d2545 [apps/escher/toolbox] handleEventWithText for all responders.
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.

Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +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
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Léa Saviot
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
0fcd2a90f6 [apps] Fix comment aesthetics
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +02:00
Léa Saviot
749c93e1af [apps/sequence] Fix obsolete code.
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
6d3c67e9db [apps] Merge apps/sequence/graph/term_sum_controller.cpp
Change-Id: I9cbcbb73f4f475590762e29ab98999bd42906e74
2018-04-11 10:21:25 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
b691d3d6ed Merge branch 'usb' 2018-04-09 14:48:18 +02:00
Léa Saviot
3e66d51a6e [apps/sequence] Reset first rank when changing sequence type to Explicit
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00