Commit Graph

61 Commits

Author SHA1 Message Date
É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
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
Émilie Feral
bb718b07c7 [apps/sequence] Clip default range initialisation to 0 on X range for
sequences

Change-Id: I501a397ce3016ba605bd9aca950b87a2ca295000
2017-03-28 14:49:27 +02:00
Émilie Feral
1f21251011 [escher] Change name: pointer->message
Change-Id: I0bd7a7d8da047b03342bec1ff31f29ad7efcc2f6
2017-03-16 15:12:12 +01:00
Émilie Feral
adc80cd71b [apps][escher] I18n
Change-Id: I4d6f40155a8a182184af9ef2a583d0469196ffd5
2017-03-16 15:12:12 +01:00
Émilie Feral
6da1fb2ae8 [poincare] Fix memory leak
Change-Id: I10f860eeb2fa4a7a1c6e358b208cc33f7d5d9d75
2017-03-16 15:12:09 +01:00
Émilie Feral
8f1d37c28c [escher] Add a cursor to text fields
Change-Id: Ib4a80a3c6d4b5d76cb56645275e8ecc6d69528ca
2017-03-08 15:42:14 +01:00
Émilie Feral
7aac1077f6 [apps] Correct bug: return boolean forgotten
Change-Id: Ifa81feaacc728572dba96e3f4eaa61004005d1a9
2017-03-08 11:35:48 +01:00
Émilie Feral
25ced2e158 [apps/sequence] Correct go to controller legend: "x"->"n"
Change-Id: I47615a5fb23274a54ff1eab7386a570738467e13
2017-03-07 15:03:11 +01:00
Émilie Feral
a615127946 [apps/sequence/graph] Optimize dirty tracking
Change-Id: I6f78421030541e4bb41c44b97ed520fa2c6e40fe
2017-03-07 15:03:11 +01:00
Émilie Feral
3245704ded [apps/sequence/graph] Change name: highlightColor ->
shouldColorHighlighted

Change-Id: Ia9e37e040fb4cb46cdcbb138c07201491d1a4dc2
2017-03-07 15:03:11 +01:00
Émilie Feral
e2eae2b2d0 [poincare] create a condensed sum layout
Change-Id: Ie79da6d99069b487122f3cc4fa61a9264d8f7881
2017-03-07 15:03:10 +01:00
Émilie Feral
b36e5dc67c [escher] Generelize header view controller to button row controller and
use it to add two buttons: "tracer" "afficher valeurs"

Change-Id: I8ee9afec9e381de367133e6b3f5ceb738b9790ab
2017-03-07 13:28:26 +01:00
Émilie Feral
798b93ef65 [apps] Add a ok view on all interactive view controller
Change-Id: I9fccf4d5ce9b34d1a7db1d0a1d7ea23d21f4b897
2017-03-03 14:32:14 +01:00