Commit Graph

205 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
Émilie Feral
8c86b62df6 [apps/proba] Avoid hanging in normal law: forbid values <= MIN_FLOAT
Change-Id: Id6c7816e9b6726e4732b6eae5eb1a5b63d019196
2017-08-28 11:51:17 +02:00
Émilie Feral
90891dabe8 [apps/proba] Avoid using unitialize values (valgrind)
Change-Id: I5c15cc0db7eb5cbcd23efbb59f2bd35366081b9f
2017-08-25 18:16:13 +02:00
Émilie Feral
3faf0b55b2 [apps/probability] Fix bug in poisson law
Change-Id: I9bfc59ab7a07eb2658081abbf44f3ff127d0218a
2017-08-25 11:20:49 +02:00
Émilie Feral
48c0cf2d8d [apps/probability] Fix bug in authorized parameters
Change-Id: I53cccb0995af7b4a6b066218185f35e96d4ae835
2017-08-24 14:05:24 +02:00
Émilie Feral
6054f02373 [kandinsky] In KDRect, right and bottom Points are included in the rect
Change-Id: I36fd049a808d9ab2e6cb0de5b366a9645a403ef1
2017-08-17 16:21:22 +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
f68b40d99d [apps/proba] Enable to inverse finite integral calculation for normal
law

Change-Id: I018083d9ca0c79de7d9258888b813e7dedc071b5
2017-07-28 11:25:12 +02:00
Émilie Feral
f48d65e85f [apps/probability] Handle more events on calculation page
Change-Id: I752d79aed23061d3d86134d234024ca8ffd1733d
2017-07-28 11:12:53 +02:00
Émilie Feral
2468a6d9c3 [apps/shared] Correct drawHistogram
Change-Id: If2262489b01ab4725a2e3d553b7381c4777807a1
2017-07-28 10:40:05 +02:00
Émilie Feral
6510fafe77 [apps/proba] Add a new calculation for discrete laws
Change-Id: I581d7871b6340a23c99379a5cca7fd0874e943d0
2017-07-28 10:40:05 +02:00
Émilie Feral
277170fd9d [apps/probability] Improve the calculation selection button
Change-Id: Idddc06fd0158e357f82f43da27d3254fef25e211
2017-07-28 10:40:00 +02:00
Émilie Feral
93baed09d4 [apps/probability] Fix edge case in uniform law
Change-Id: Ia98838ce742642d609d468d04be795afb464f1a6
2017-07-10 10:11:32 +02:00
Émilie Feral
9f82e9b4c4 [apps/probability] Fix bug: do not reload data when toolbox is dismissed
Change-Id: I5b61334966317b0fd3ad93925674ed9e5469c41b
2017-06-27 14:34:10 +02:00
Émilie Feral
f43b307856 [escher] In table view, add method 'reloadCellAtLocation'
Change-Id: I2d662669621392698ee963a6c8e70d3d2f4ee829
2017-06-02 16:56:41 +02:00
Émilie Feral
539f295017 [apps/probability] Fix bug: window range when n = 0
Change-Id: I54e1235fe458264da0b65b3bb9f1d2967023c158
2017-06-02 14:07:56 +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
d7091397e5 [escher] Rule of 5 in view
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
1d0dfdea93 [apps:probability] Resolve bug
Change-Id: I65b76a4a4e1972c0f2fca6370a1cc93d90a26d23
2017-05-23 15:51:15 +02:00
Émilie Feral
b3c1251037 [apps/probability] In Law controller, select the current law
Change-Id: I4ec2d106ee8b92ddf85ee277f1476b46aaad0586
2017-05-23 15:39:07 +02:00
Émilie Feral
8665978b2e [apps/probability] Clean (add a page index in snapshot)
Change-Id: I1631136cf4912225b88d26cd3cd9d36fa91db5f0
2017-05-23 15:15:35 +02:00
Émilie Feral
8524230acb [apps/probability] Fix bug
Change-Id: Ie8bbf427f6f7ce5a784665ffdfa45e29951e64e2
2017-05-18 18:03:04 +02:00
Émilie Feral
53b2aa09f4 [apps/probability] Implement reset of snapshot
Change-Id: I180915a255f45930b407743b9c43e55c2723e1a1
2017-05-18 18:02:41 +02:00
Émilie Feral
f6dd2d1180 [apps/probability] Add a page index in snapshot
Change-Id: I4d37cd744bf42b67090cbbd1619f98b512b16e9a
2017-05-18 17:55:50 +02:00
Émilie Feral
1cc75e5d76 [apps/probability] Move Calculation model to snapshot
Change-Id: If04e331a7ee81667c7aa8c302479d054189dd63a
2017-05-18 17:49:59 +02:00
Émilie Feral
e814b0c0c0 [apps/probability] MOve law in snapshot
Change-Id: I2b1daa2f3b624ca2f81d667ab0f2ed4dcf84eb43
2017-05-18 16:40:47 +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
4e0e285501 [apps][escher] EXE and OK trigger the same behaviour
Change-Id: Ide7d38fbc445be717e50ed46f2d784c02c9830e4
2017-05-10 12:04:30 +02:00
Émilie Feral
0f987ebdc5 [apps] Fix uninitialized variables
Change-Id: Ia8a218786028d8e8da7faf6b17313fc160d0f264
2017-05-09 15:08:31 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
6c80ec0480 [apps] Rule of 5
Change-Id: Ib7b3fec6dbe3f9629e07464695ddd3b5611d8f83
2017-05-09 11:53:24 +02:00
Émilie Feral
bebda304aa [apps/probability] Delete allocations in destructors
Change-Id: I8703230d607e8a0a2e4487e3b6cf496d0d0c49e9
2017-05-05 10:19:05 +02:00
Émilie Feral
62c93e49a6 [apps] AppsContainer does not own the apps but a pointer to the apps
Change-Id: I9b6787be2cd143b52fd8dd60f3528fed2f74e4bb
2017-05-03 15:32:54 +02:00
Émilie Feral
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +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
3f98061a4c [escher] Extrude the model in selectable table view controller to its
delegate

Change-Id: I4d49e0098d501e1419f7b216e828b13efbf74f81
2017-05-03 10:22:01 +02:00
Émilie Feral
eaa7c2c237 [apps:probability] In normal law, cap the ratio Mu/Sigma to avoid
computing issues

Change-Id: Ie960296a9764d5204ad128a07c84b77856e2b684
2017-04-26 14:26:43 +02:00
Émilie Feral
7715da8e36 [apps/shared] In float parameter controllers, back has the same
consequence as 'validate'

Change-Id: Id45f824c50af2f6e47be5abd9115d98971a1e073
2017-04-26 09:39:14 +02:00
Émilie Feral
784c27b8c8 [apps] Memory leak
Change-Id: Iffc90ef26a7e5aa500d47c77140b91e62cf6dbdc
2017-04-25 13:52:29 +02:00
Émilie Feral
f3eb2b80df [escher] In textField, record edited data when changing selection
Change-Id: I74e1cac2188986244f79e7c5ad0eb1d300510475
2017-04-24 17:36:32 +02:00
Émilie Feral
5a0af6e351 [apps/probability] In calculation controller, handle Backspace on
textfield

Change-Id: I16f2280263149ef3c112e6e8b764c77cfd4833f0
2017-04-24 14:37:28 +02:00
Émilie Feral
54c5f4dcda [apps/shared] Make the float parameter controllers a dynamic controller
view

Change-Id: I216b7f6df15e5a406624ce3c1b0e892d0f871a6b
2017-04-24 14:37:27 +02:00
Émilie Feral
5ad85c59c2 [apps/probability] For discrete law, round calculation parameters to the
closest integer

Change-Id: I53dcc0605ae91ed27257fa4b831ce8a2287db3ef
2017-04-18 10:27:57 +02:00
Émilie Feral
72ab4cb00c [apps/probability] Add a grey outline on editable text fields in
calculation page

Change-Id: Id9f0c10338d36cffad9072748349114e362f341b
2017-04-17 11:10:17 +02:00
Émilie Feral
67f8dc61a9 [apps/probability] Avoid useless draw rect / layout in calculation page
Change-Id: Ibf9b3d5445128d0f202b4d095c6754284e7bd796
2017-04-17 11:10:16 +02:00