Commit Graph

80 Commits

Author SHA1 Message Date
Romain Goyet
84561a929f [escher] Clean the ScrollView, TableView and SelectableTableView constructors 2018-04-18 18:08:07 +02:00
Émilie Feral
576caa039f [apps][escher] Add methods 'handleEventWithText' in TextField and
TextArea to fix bug in probability (adding a toolbox text from the
calculations controller)
2018-03-22 13:12:12 +01:00
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
ea28475432 [apps] Probability: fix bug in the calculationcontroller due to the wrong implementation of columnWidth
The column width implementation required that a cell view was used only
to display a cell of the table which was not the case.
2018-01-30 18:09:59 +01:00
Émilie Feral
2a207e59ac [apps] Probability: fix scrolling in calculation cells 2018-01-30 18:09:59 +01:00
Émilie Feral
5d8256435e [apps] Probability: fix bug; in calculation controller, when reloading cells after editing textfield, do not reload selection (it corrupts the responder chain if the first reponder was a modal view for ex) 2018-01-30 18:09:59 +01:00
Émilie Feral
e0b9db43ab [apps] Probability: order subviews to draw the law curve at last
(avoiding visible noise)
2018-01-04 15:48:06 +01:00
Émilie Feral
fa127ced4e [apps] Probability: clean table margins (replace weird cell margins by
table margins)
2018-01-04 15:48:06 +01:00
Émilie Feral
30e6d0b3f0 [apps] Probability: enable to copy content of non-editable calculations 2018-01-04 15:48:06 +01:00
Émilie Feral
fd06d428e5 [apps] Redesign Probability Calculation page 2018-01-04 15:48:06 +01:00
Émilie Feral
8f4e9b9656 [apps] Probability: redesigning the calculation controller (for future
scrolling purpose)
2018-01-04 15:48:06 +01:00
Émilie Feral
6f7e1447ed [apps] Probability: display 7 significative numbers in calculation
results
2018-01-04 15:48:06 +01:00
Émilie Feral
07054835b4 [apps] Probability: update the size of calculation boxes with their
content
2018-01-04 15:48:06 +01:00
Émilie Feral
83b5798850 [apps] Factorize code: textFieldDidReceiveEvent implementation is
identical for all parameters controller
2017-12-20 17:41:03 +01:00
Émilie Feral
2c85fe88a5 [apps] Probability: textfields should finish editing when the cursor is
on one edge of the field
2017-12-20 17:17:51 +01:00
Émilie Feral
c545a23ec6 [kandinsky] Fix draw rect+change name: drawRect->strokeRect
Change-Id: I1c59e34b126aa54819e399d095499758b9e73125
2017-12-06 14:49:53 +01:00
Émilie Feral
76cbd2678d [poincare] Change names: approximate->approximateToScalar
Change-Id: I701451b35909bb577dd729e0ea76a405b9543f23
2017-11-24 12:06:35 +01:00
Léa Saviot
a14cfd0aea [code] Script names are displayed and can be edited.
Change-Id: I5acc468920b66673e78da130bf90a74d0c062211
2017-11-17 11:59:50 +01:00
Jacob Young
da1e66e798 Fix #115 by fixing the math.h and cmath includes. 2017-10-13 18:08:15 +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
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
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
d7091397e5 [escher] Rule of 5 in view
Change-Id: Iba04e9046845b544e184530562e34f831fce96f6
2017-05-24 15:32:22 +02:00
Émilie Feral
8524230acb [apps/probability] Fix bug
Change-Id: Ie8bbf427f6f7ce5a784665ffdfa45e29951e64e2
2017-05-18 18:03:04 +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
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
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
bebda304aa [apps/probability] Delete allocations in destructors
Change-Id: I8703230d607e8a0a2e4487e3b6cf496d0d0c49e9
2017-05-05 10:19:05 +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
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
Émilie Feral
7b48a575cf [apps/probability] Improve image table view rendering
Change-Id: Id1ccca550fe925fd28aa14d38b995d4adcce5515
2017-04-17 11:09:38 +02:00
Émilie Feral
f15bdd97c0 [apps/probability] Forbid NAN value in calculations
Change-Id: Iae5ae62d5fe667b8090d3084c2d13112a6766d4a
2017-03-29 11:35:30 +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
9b2bc019e4 [apps/probability] Forbid impossible value in parameters and calculation
parameters

Change-Id: I47aae775dc031d5b78d6995ca63f49d537848cb1
2017-03-07 15:03:11 +01:00
Émilie Feral
c584d1fb4e [escher] Add toolbox event handling in responder [apps] Correct the text
field delegate app accordingly

Change-Id: I180fe53aaa1e0929b357d3985f584937fba2ecca
2017-02-20 10:48:50 +01:00
Émilie Feral
e5e9f7cc41 [poincare][apps] Make preferences a const object accessible from
anywhere (poincare and apps)

Change-Id: I49cc6bf940d1efeb6b153daac949ffcb23999a8d
2017-02-20 09:39:24 +01:00