Commit Graph

179 Commits

Author SHA1 Message Date
Romain Goyet
dcdd27d6bf [apps] Apps can be picked and ordered at compile-time 2017-09-20 11:18:39 +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
be8a0c6df3 [apps] Replace sizeInBits>>2 sizeInBits/sizeof(uint32_t) in checksums
Change-Id: I4f96514caa4552d2158bb9ebdc328a6453554934
2017-08-25 14:18:27 +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
5c4740913b [kandinsky] Replace KDText::stringSize(" ") by KDText::charSize()
Change-Id: Ie962d7784b54ff41431d21f64d9af0887a86f9b7
2017-08-17 16:21:17 +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
f73ddcd08f [poincare] Evaluation return numerical matrix
Change-Id: I58dbc93ad22a086580a77318b2524db9c70e47d2
2017-08-03 13:47:11 +02:00
Émilie Feral
26512a2229 [apps/sequence] Deselect table in when type paramater controller
disappears

Change-Id: I9390d34858740e9372c9576a0304453188e33d6c
2017-06-12 10:41:30 +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
bf11591e3e [apps/shared] In values controller, update the number of columns when
layout is done

Change-Id: I29bc776623ff2e5056c9f2cc1d995b4440996116
2017-06-08 18:30:45 +02:00
Émilie Feral
cb2a790b66 [apps/sequence] Fix bug in sequence toolbox
Change-Id: I52dab30f183ad770a225643b5f0b7bd5104690ee
2017-06-05 13:54:20 +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
ce09d2f9c4 [apps] Event 'right' on chevron cells behaves as OK and 'left' on the
next cell as 'back'

Change-Id: I2470659d8237373b21ad106c79cc5f8945f0edb5
2017-06-02 14:07:56 +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
d2c55eb7d0 [apps/graph][apps/sequence] In values controller, memoize the number of
columns to improve performance

Change-Id: Ie3c545d0198a2f23575bd22fdbf56e9c6b8ff2b8
2017-06-02 14:07:40 +02:00
Émilie Feral
832af9f9f4 [apps/sequence][apps/graph] Checksum takes into account whether the
function is active and its name

Change-Id: I790d9a793c512a686f21f1db4fc0848a16baea5c
2017-05-29 11:41:39 +02:00
Émilie Feral
1966b4648c [escher] Increase textfield size to 100
Change-Id: I93400001a829e2ce313658e08bd5e97965b715fe
2017-05-29 10:49:56 +02:00
Émilie Feral
eb19fde371 [apps/sequence] Fix bug
Change-Id: Id99ddaa85fc04ba621f1a1db3a95e97636236956
2017-05-24 14:38:49 +02:00
Émilie Feral
ba7d740a10 [apps/sequence][apps/graph] CRC should be called on sizes multiple of 4
Change-Id: I4a55c14e1418f730051252cabef324833279747f
2017-05-24 14:38:32 +02:00
Émilie Feral
69036ffe4d [apps/sequence][apps/graph] Reimplement checksum to avoid risking
overflowing the stack

Change-Id: Ia2b70ceb174d70c20b0e7d635183a890629e4b24
2017-05-22 16:35:27 +02:00
Émilie Feral
dbacafe2e8 [apps/sequence] Give an example of content in recurrent sequences
Change-Id: If80b62673d21954d96cd128108cb783b2d4487cc
2017-05-19 14:40:03 +02:00
Émilie Feral
eb476610fc [apps/sequence][apps/graph] Fix bug
Change-Id: I998421900b993099c16d19fa825f8e4d180ed22c
2017-05-19 11:35:27 +02:00
Émilie Feral
71608762aa [escher] Add a data source to tab to be hold by snapshots
Change-Id: I48b242ff433170d6b9618661e613a47669910a79
2017-05-19 11:25:04 +02:00
Émilie Feral
0105a0a450 [apps/sequence|grpah] Fix bug
Change-Id: Ic0d40262dd3ee4e2d393b7bb65e0b3a224ffbccc
2017-05-18 14:16:42 +02:00
Émilie Feral
6317f3a100 [apps] Implement reset when exam mode is set
Change-Id: I54f769c6db42f8c9a2fe1a8f3d2295fed91db6b8
2017-05-18 14:16:42 +02:00
Émilie Feral
bc73fd28b1 [apps/sequence)[apps/graph] Move interval in snapshot
Change-Id: Ib8efea9d57c55fbf7b4fb8cf9188d4211442057d
2017-05-18 14:16:42 +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
197e296474 [apps/sequence][app/graph] Repare checksum
Change-Id: I4d47331e291c9cf39a06f59736ca035eb839fa09
2017-05-18 14:16:41 +02:00
Émilie Feral
af4d6b6e81 [escher] Divide class selectable table view delegate in 2: selectable
table view data source & selectable table view delegate

Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
06de0dd9db [escher] Only one app is on the heap at one time
Change-Id: I6c77601cb0cc883083a4dd05370ca543fa7951cc
2017-05-18 14:16:41 +02:00
Émilie Feral
36a4db2609 [apps/sequence] Improve local context
Change-Id: Id22893c2de0ca5714e99cfb53f45565fa7d7aff1
2017-05-10 16:53:42 +02:00
Émilie Feral
ce5724c498 [apps/sequence] Color error
Change-Id: I6ec6365debaf856810ae5895d83971fa4f0967dd
2017-05-10 16:30:46 +02:00
Émilie Feral
f81ae8d5e5 [apps/sequence] Avoid infinite loop
Change-Id: Ib84ce244c8faeabc9d71bccd590b3a242cef184c
2017-05-10 16:30:45 +02:00
Émilie Feral
61681c6878 [apps/sequence] When changing the type of a sequence, jumpt directly to
the list controller

Change-Id: I66393fbc8caae3e8a11f52304ea0bc1e28cf8001
2017-05-10 16:30:41 +02:00
Émilie Feral
bf2a2971ab [apps/sequence][apps/graph] Avoid blinking when deleting functions
Change-Id: I820358f4968e65a54162d16f732bd51e19aca4ad
2017-05-10 13:34:49 +02:00
Émilie Feral
32d48fb94b [apps/sequence][apps/graph] fix behaviour when deleting functions
Change-Id: Ieccc85887fa0077446aaf57fee105b7fd2f3bff9
2017-05-10 13:24:47 +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
e5dd0d8d7f [apps/sequence] Fix error in copy assignment of sequence
Change-Id: If27924c6001a8d7011371336ffbaf012f9d8bbc9
2017-05-10 11:33:25 +02:00
Émilie Feral
0b9abfa869 [apps/sequence] Unable linked sequence (return NAN when evaluate)
Change-Id: I0024e3912bb038343413bcfea78fc4cf18a739f7
2017-05-10 11:17:32 +02:00
Émilie Feral
9b119942a2 [apps] Cap the size of stores (memory issue)
Change-Id: I69dbb593b42615d601b0adcf7580c740ecd22e4b
2017-05-09 17:00:32 +02:00
Émilie Feral
95396ded15 [apps/sequence] Changing sequence type automatically reinit sequence
Change-Id: I1342f5a2a8ca5dd4ff02178c3b2d6c6f44a8c194
2017-05-09 14:54:44 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
0dfbf3ade3 [apps] Rule of 5 (2)
Change-Id: I62eebed201a9f61b3f89233fda4e714f0bab0db7
2017-05-09 14:12:13 +02:00