Commit Graph

73 Commits

Author SHA1 Message Date
Émilie Feral
48f890ef93 [poincare] AngleUnit, FormatComplex and PrintFloatMode are now
enumeration of Preferences class
2018-07-30 13:48:04 +02:00
Émilie Feral
66d920a280 [shared] Factorize GraphController::initCursorParameters of Graph and
Sequence
2018-07-06 14:00:32 +02:00
Émilie Feral
2d580faf51 [solver] Ignore empty equation when resolving systems 2018-06-07 14:46:14 +02:00
Léa Saviot
678a0db4e4 Merge with current GitHub master branch
Change-Id: Ie1b83cfabdee1369eb66f53c01314324d5d88a74
2018-05-14 17:03:12 +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
e90b3fd1cd Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +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
Léa Saviot
b67e04214f [apps] Coding style.
Change-Id: I020cc98f87999b69e9c0d969126e9c1ae2f811f2
2018-04-06 14:31:48 +02:00
Zhaofeng Li
6679cb0a20 [apps] Fix exam mode 2018-04-04 13:42:00 +02:00
Émilie Feral
05055c387f [apps] Graph: when setting default range of a function, take
into account the potential periodicity
2018-03-22 10:48:06 +01:00
Émilie Feral
9cd50d8d9a [apps] Graph/Sequence: set different cursors for Sequence and Graph 2018-01-30 18:53:28 +01:00
Émilie Feral
95f0efaf9f [apps] Graph/Sequence: the function selected by the cursor has to be
save in the Snapshot to avoid weird selection when rebulding the app
2018-01-30 18:53:28 +01:00
Émilie Feral
ac6c8379ed [apps] Enable to specialize the sum layout in Sum Graph Controller 2018-01-30 18:19:27 +01:00
Émilie Feral
cdfbc02499 [apps] Add a function "sumBetweenBounds()" on Function (sum of terms on
Sequence, Integral on CartesianFunction)
2018-01-30 18:19:27 +01:00
Émilie Feral
7ea0dbeb56 [apps] Shared: Move part of the implementation of TermSumController to
shared (Integral Graph Controller) and improve bound edition in
TermSumController.
2018-01-30 18:19:27 +01:00
Émilie Feral
3a1d652a07 [apps] Sequence: Term Sum Controller inherits from
SimpleInteractiveCurveViewController (enable Zoom in/out)
2018-01-30 18:19:27 +01:00
Émilie Feral
a6050fda55 [apps] Shared: Factorize code: all FunctionGraphView have a member
indicating the selected function
2018-01-30 18:19:27 +01:00
Émilie Feral
ef8f5e07c2 [apps] In CurveView, replace the virtual method evaluateModelWithParameter by a function given as parameter (to be able to call Curve view methods with different implementation of evaluateModelWithParameter) 2018-01-30 18:19:27 +01:00
Léa Saviot
a435c548da [apps/sequence] Use the new layouts in the Sequence app.
Change-Id: I8b079bfabccd54472e0ba0fac17b87dbaf3678ee
2018-01-15 11:58:07 +01:00
Léa Saviot
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Jacob Young
da1e66e798 Fix #115 by fixing the math.h and cmath includes. 2017-10-13 18:08:15 +02:00
Adrien Bertrand
d150837d7d [various apps] StringLayout: fix buffer overflow and use auto size
* The buffer overflow was happening when changing the complex format in
the settings.
* All const char arrays manually ending with a nul char were trimmed of
it considering StringLayout adds it already.
* Use automatic compile-time array-size when possible, avoids mistakes
2017-09-04 23:31:51 +02:00
Émilie Feral
eea1928ac9 [apps/sequence][apps/graph] Keep the angle unit version in snapshot
Change-Id: Ib907531c78feae6ba8155ae3be3b8fb13fdebea2
2017-08-25 14:02:03 +02:00
Émilie Feral
f0a776a670 [apps] Operations in double when precision required
Change-Id: I7168a861a76178f0bf81841e9378f7399f67914a
2017-08-17 09:31:53 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
2017-08-16 09:55:29 +02:00
Émilie Feral
1964d61fdc [libaxx] add cmath and use cmath instead of math.h when required
Change-Id: Id839b17d33c69e2e002f370e553ff35246a1bc90
2017-08-16 09:55:29 +02:00
Émilie Feral
4396b3f190 [apps/sequence|graph] Event on right on chevron cell behaves as OK
Change-Id: I3ca047233c5ce637a29ee759153337c0c01cd073
2017-06-09 10:38:52 +02:00
Émilie Feral
26a45c5f52 [apps/sequence] Clean term sum controller
Change-Id: Ide724bbf8aafe01f5685f9126feae29a0099b810
2017-06-08 18:30:46 +02:00
Émilie Feral
4164509ec3 [apps/sequence] Avoid banner blinking in term sum controller
Change-Id: I49adf8e6c006e5e9db9ff681260c92bcf03df12a
2017-06-08 18:30:46 +02:00
Émilie Feral
c2683ba8a1 [apps/sequence] Add a margin in the term sum banner
Change-Id: I1053f0f27b64fa0802a92c1cc2c2184c44508259
2017-06-08 18:30:46 +02:00
Émilie Feral
be9b66ea80 [apps/sequence] In term sum controller, pan the window to make the
cursor visible when view will appear

Change-Id: I9e3e16cc5d3741c39ba76bfe1c8f74dd5a03ece2
2017-06-05 11:40:48 +02:00
Émilie Feral
9ea68ed938 [apps/sequence] Fix bug in term sum controller
Change-Id: Ia304aa891d4056a271258361ac867f0490c6cf87
2017-06-02 14:07:55 +02:00
Émilie Feral
e702c1f61b [apps/graph][apps/regression][app/sequence] Move model and range
versions to the snapshot

Change-Id: I6ec56ab59d734c0c43a5df32462173c611cc68b3
2017-05-18 14:16:41 +02:00
Émilie Feral
6b2ae04a13 [apps/sequence][apps/regression][apps/graph] Move ranges and cursor in
snapshot

Change-Id: I3e5a163ae4b3a6860969ef12d939513cffed7710
2017-05-18 14:16:41 +02:00
Émilie Feral
ce5724c498 [apps/sequence] Color error
Change-Id: I6ec6365debaf856810ae5895d83971fa4f0967dd
2017-05-10 16:30:46 +02:00
Émilie Feral
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
0517066cc0 [escher] Extrude scroll view model to its delegate
Change-Id: If863de63f5f77edb5e2905633067e03aecdd8937
2017-05-03 10:22:01 +02:00
Émilie Feral
ffcc6b50a8 [apps/sequence] Fix bug: buffer size (overwriting on wrong memory space)
Change-Id: Icba06ed39c600a3a7a5c51caba0a3b9d5b1bce58
2017-04-27 13:17:03 +02:00
Émilie Feral
e63657cf92 [apps/sequence] Fix bug in term sum controller
Change-Id: I4ffc0071fe06c63753079c741f753e064387d88b
2017-04-26 09:39:14 +02:00
Émilie Feral
78317dc06c [apps/sequence] Improve sequence draw rect (equal pixel step, greater
sampling ratio)

Change-Id: Ife94998430e453902212debc315a3e55b16af1f8
2017-04-24 14:37:21 +02:00
Émilie Feral
1516ee106b [apps/sequence] Add comments in term sum controller
Change-Id: I781cd881786fbc58d03ae8ac66f0a6024029cc3e
2017-04-18 11:23:47 +02:00
Émilie Feral
8a9df36a35 [apps/sequence] Cleaner resolution and comments
Change-Id: I3e4919f9f76ede2a81a672f21060adda2b98f1bd
2017-04-18 10:52:29 +02:00
Émilie Feral
5afd182164 [apps:sequence] Handle back event in term sum controller
Change-Id: I8d5f197d6d610c44923e6ac0dd8dc5e5037056de
2017-04-18 10:28:04 +02:00
Émilie Feral
6226daa04a [apps/sequence] In term sum, enable to go directly to a rank n by typing
its digits

Change-Id: I26905f856303a67fafbf6da54fef15060c85da2c
2017-04-17 15:48:23 +02:00
Émilie Feral
fe99f740d1 [apps/sequence][apps/graph] Set different graph resolution in sequence
and in function graph

Change-Id: I498e77122a425c233ba536bdde24b9288b2c4513
2017-04-14 13:46:21 +02:00
Émilie Feral
2a9084aab6 [apps/sequence] Draw only visible dots when range is too big.
Change-Id: I8624fa3063d1787049510f4063f562d900f002c5
2017-04-14 13:46:16 +02:00
Émilie Feral
0ec90c36f8 [apps/shared] In range, never set NAN values
Change-Id: I7511952acafdedb5b85aeee38232abe153523a49
2017-04-13 16:04:49 +02:00
Émilie Feral
5facbfb8ac [apps/sequence] Specialize sequence go to parameter controller to round
the given abscissa and forbid negative values

Change-Id: Iaae39e575c0e2de4993a558e234717a839905872
2017-03-30 16:43:28 +02:00