Commit Graph

51 Commits

Author SHA1 Message Date
É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
Émilie Feral
b79bcfb9dc [poincare] Change name DisplayMode -> FloatDisplayMode
Change-Id: I7754b4a5ac96c3f3564749749b49130ddf357e20
2017-02-17 16:35:07 +01:00
Émilie Feral
15a736c855 [apps/shared] Avoid container casting when possible
Change-Id: I646e605c88ad577ebd9102032aad77ff8eae6ad7
2017-02-17 16:35:07 +01:00
Émilie Feral
69e46f4958 [poincare] Namespace Poincare
Change-Id: I51a84fa7978ba16f128cfe1d32c390970f2037e8
2017-02-13 17:15:06 +01:00
Émilie Feral
676bd46f33 [poincare] Expand numbers to complex numbers
Change-Id: I2e7cf5240e184da45b656ee4f121ad76aabfd1c7
2017-02-13 17:15:03 +01:00
Émilie Feral
39dab5125c [apps] Add angle unit preference in apps
Change-Id: I25eb760883d164563cb3059d73e8d1fff92ad6da
2017-02-06 16:30:48 +01:00
Émilie Feral
400e2e5a37 [apps/probability] Improve titles and parameter definitions layout
Change-Id: I84e04b9900d92b0a4d61c19dc27be426f9b9117c
2017-02-02 10:29:06 +01:00
Émilie Feral
e951140298 [poincare] Change method createLayout() to createLayout(DisplayMode)
Change-Id: Ifb1027d38b53a50a0ada80e11b68d44e72ac9099
2017-01-31 10:36:13 +01:00
Émilie Feral
7f658266c3 [poincare] [apps] Merge Display mode enum class of Float and Preferences
Change-Id: I50498ff0f12991fdd905421441eee7a477d53a4d
2017-01-30 16:11:36 +01:00
Émilie Feral
9d0354f3bd [kandinsky] Add a default font size : large
Change-Id: I6b9f1a7b09292f120074c8957e328ddc33023c67
2017-01-27 12:03:06 +01:00
Émilie Feral
f51ae5db12 [kandinsky] Introduce two fonts: small font and large font
Change-Id: I502dfa88d627b09ac5af76155140af63547025cd
2017-01-27 11:14:01 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
5fa64fadcc [apps/probability] Delete useless methods in calculation (type recovery)
Change-Id: I52933b092fd0022153cef4c8ed42ed88c749dd16
2017-01-09 15:08:54 +01:00
Émilie Feral
1f4fad1f52 [apps/probability] Color the integral under the curve
Change-Id: I157ee8ed180dab366f89fcdcec82d4329f46a82b
2016-12-19 14:13:13 +01:00
Émilie Feral
7c27ce5ec0 [apps/probability] Correct dirtyness and layout order
Change-Id: I5cdda0c7fc7552ef3e76e870b1012f058c30f3f5
2016-12-19 14:13:06 +01:00
Émilie Feral
4602acf2b6 [apps/probability] Tidy calculation subclasses in a folder
Change-Id: I75cfdb11128b06961fc53288cd121799f6e31002
2016-12-16 15:11:39 +01:00
Émilie Feral
fbadd2ef0e [apps/probability] Change Calculation API (adding heritage)
Change-Id: I56b4391b22086d5296ec034a29378e7b068253a9
2016-12-16 12:58:49 +01:00
Émilie Feral
7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00
Émilie Feral
bbe1b06eae [apps][escher] Use only one draftTextBuffer by controller (as you cannot
edit all cells at the same time)

Change-Id: Ifbc6e8c7b7f2dd17539666ed3b1253f1c28ef873
2016-12-15 13:51:40 +01:00
Émilie Feral
2a79d8bfd9 [apps/probability] Make law model an abstract class with inheritance for
all specific laws (binomial...)

Change-Id: Ida6d5bfb7a3fbfc288393cd2f7e9e9b934798073
2016-12-15 13:51:40 +01:00
Émilie Feral
8c284ba34f [escher][apps] CHange textField API
Change-Id: I766d153b7f7429473f297707a08358051123accc
2016-12-15 13:51:40 +01:00
Émilie Feral
372e5c0ef1 [apps/probability] Reinit the calculation when arriving on calculation
page

Change-Id: I9b28bcf86945ff286848a823e996630fb49feb89
2016-12-08 15:21:52 +01:00
Émilie Feral
67f9756943 [apps/probability] Enable to modify the calculation elements from the
calculation page

Change-Id: Icbcd5e4ae5e797587b78e3b539620c13ad54df03
2016-12-08 15:21:52 +01:00
Émilie Feral
2573562b41 [apps/probability] Display the calculation parameters on the calculation
page

Change-Id: Icc4ba1d84666e3e9117259d2d0e3f6572be405c0
2016-12-08 15:21:52 +01:00
Émilie Feral
30497c3813 [apps/probability] Update the subviews according to the type of
calculation given in law model

Change-Id: I9820cee5a6106928ebcfb30137ffd18cdad68fae
2016-12-08 15:21:52 +01:00
Émilie Feral
c08f31f799 [apps/probability] Handle selection in calculation controller
Change-Id: Ifc35c33c3fd8251daf112877074bdd8505aa1339
2016-12-08 15:21:52 +01:00
Émilie Feral
e20a976c8e [apps/probability] Add editable text subviews to the calculation
controller

Change-Id: I47833fbecd6eccc2b8dc8be816321846843b385f
2016-12-08 15:21:52 +01:00
Émilie Feral
85db237036 [apps/probability] In image table view, display the right image
corresponding to the type of calculation chosen

Change-Id: I7a1b6ef00d51088930de4df75a27530bec43f6e7
2016-12-08 15:21:52 +01:00
Émilie Feral
f2c31963ea [apps/probability] Add an image table view in the calculation controller
Change-Id: I79408a274f29e0e5b5bca6b760f447aeaf406d92
2016-12-08 15:21:52 +01:00
Émilie Feral
4bef23b7e2 [apps] Make the abstract curve view hold methods to draw labels
Change-Id: Ib1451b51c6d16db27487b5c9d34cd345fcf379f0
2016-12-08 15:21:52 +01:00