Commit Graph

46 Commits

Author SHA1 Message Date
Émilie Feral
6de71ae145 [poincare] Clean: convertFloatToText should be in PrintFloat instead of
Complex
2018-03-21 15:57:19 +01:00
Émilie Feral
15610064fa Coverity: fix unitialized pointer fields, out of bounds reads ...
Change-Id: Iae0656ffe667692dfb3bebf9bb7913b5872175c6
2017-12-06 14:50:26 +01:00
Léa Saviot
a78bd0db88 [apps/escher] Harmonize Toolbox and VariableBoxController row heights.
Change-Id: I8e6c5543d46480a1129f3812ca40c29e4407eac1
2017-12-01 12:06:05 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
6c51c584f2 [apps] Change Calculation to hold an exact and an approximate output
Change-Id: I1805839e17cd42b82f06ce0a320d20b49cd2a6cd
2017-11-21 17:37:25 +01:00
Léa Saviot
eadf4a018a [escher] New handling of stack view headers in StackViewController.
A boolean in ViewController states if the ViewController wants MaximumSpace (do
not show any stack view headers), or if it does not want to add its own title to
the stack view headers. If the ViewController's title is null, it is not added
to the stack view headers.
By default, ButtonRowControllers do not want to add their title (because they
are only used for now in TabViews, where the title is already displayed in the
tab).

Change-Id: I9e4c64b845262e4d44eb03cf769950f9c9e67a3a
2017-11-17 11:59:50 +01:00
Émilie Feral
23629b0939 [poincare] Restructuration of poincare (no duplication of children
storage)

Change-Id: Ia10c3cc83e10d238750c6954b7c093d26b762c94
2017-09-21 13:49:06 +02:00
Émilie Feral
82e212e771 [poincare] Template for double
Change-Id: I7404bd5cefc9ef78a5dbd572c3874a557cded28e
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
e8c9a1fa02 [apps] In variable controller, enable to delete variables in context
Change-Id: Ifcd9b12c08d2e2c998ba3628b71a7550264e9d6d
2017-06-09 11:05:16 +02:00
Émilie Feral
4ef8481d44 [apps] In variable box, translate empty according to language setting
Change-Id: I7c31a88791c0dd3453f263abb1e4c60776ad0e94
2017-06-08 18:30:45 +02:00
Émilie Feral
d07ba2dc7c [apps][poincare] Add matrix variables M0-M9
Change-Id: I09d82633ac9ffafc616c2be1e16575f2a5b730f7
2017-06-08 18:29:33 +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
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
3ba4ddbd85 [apps] Fix bug in variable box controller
Change-Id: If5080b961aa44bea124dcf73efc09b1c16bc75b1
2017-05-12 10:28: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
70fc734f7b [escher] Change dynamic view controller paradigm
Change-Id: I57fd41c9b9ad8a1e8b684b97fdf80ddffd71881d
2017-05-03 14:22:51 +02:00
Émilie Feral
824bc8aed9 [apps] In variable controller, improve hiding of lists and matrices
variables

Change-Id: Ib09718b675d7f96be91572134e48173defa39db1
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
f4fa9083b3 [apps] Hide matrix and list variables
Change-Id: Ifa3aaf0e5e2fb6e4e3749f1e31f259de2fd34804
2017-04-26 09:39:16 +02:00
Émilie Feral
5fde73dac2 [escher] Change name: viewWillDisappear -> viewDidDisappear
Change-Id: Ie7e324cfd9c1313ef4f5310e1688be0b7fabd0bf
2017-04-18 15:29:09 +02:00
Émilie Feral
b1fb4f5393 [escher] Correct commit : Enable to draw the outline of cells in table
view

Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01: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
16f151b26f [apps] In variable box controller, fix bug
Change-Id: I72d659b4a626de1530b444e4a8b02d291d655251
2017-03-16 15:12:11 +01:00
Émilie Feral
406fc0e0a5 [escher] Enable to draw the outline of cells in table view
Change-Id: I2842e9fdada4ebdc3fe49608e6f7886d831aa98b
2017-03-16 15:12:11 +01:00
Émilie Feral
8311e8857c [apps] Better compartimentalize viewWillAppear and
didBecomeFirstResponder

Change-Id: I9ad482907304973a4aa74f517d506667171a036f
2017-02-20 10:54:03 +01:00
Émilie Feral
2e16365100 [escher] Reorganize all cells'name and factorize their layouts
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
aec8facd0e [apps] Use viewWillAppear to reload view after preference change
Change-Id: I4fba6bd6d4dee03e86ac5087dbc20ef4d7dd032b
2017-02-20 09:39:17 +01:00
Émilie Feral
9d6a945fbe [apps] Switch to mode editing when clicking on toolbox or variable box
Change-Id: Iff6a00234ac95c6519fba8046149d2f645f8ca86
2017-02-16 14:46:04 +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
29678a23db [escher] Reorder actions to first do all frame layouts and then all
"become first responder" (Thereby, enable to select a cell in
becomefirstresponder without any weird scrolling due to wrong framing)

Change-Id: Ie5ca7555fce3575dcf0488e124adf0677155c383
2017-02-02 10:29:07 +01:00
Émilie Feral
acd51f2ca8 [apps] Hide unwanted scroller in controllers
Change-Id: I0af93bf566f293a7c767a54eaba86c6465d00840
2017-01-27 11:59:21 +01:00
Émilie Feral
d45000b3d9 [escher] In palette, improve colors
Change-Id: I2c8f33764cf2befeb994b9b47b46d39f116ae96c
2017-01-27 11:46:05 +01:00
Émilie Feral
a74eef903a [poincare] Redesign Float::convertTotext
Change-Id: Id27d9472147b5e443ee296feca891392fad735c8
2017-01-15 20:04:59 +01:00
Émilie Feral
ca1b61c97a [apps] Avoid switch() {} when possible.
Change-Id: I4e050dcb761fe5ca6a12af375537f3554f324f68
2017-01-15 20:04:59 +01:00
Émilie Feral
7af3979d3b [poincare] Change Context API
Change-Id: I2818866fb41bf73c39396fbd85600e586a79065c
2016-12-15 13:51:41 +01:00
Émilie Feral
1bd396ff86 [apps] Re implement variable box no to use node model
Change-Id: If7a75b900f0f2f5a152f7e28965555a12a14aba2
2016-11-23 14:29:52 +01:00
Émilie Feral
9181f8e8fa [escher] Improve textfield API (method names)
Change-Id: Ie8cacaa77840780647ce57c2969446b19cba65cc
2016-11-17 11:27:26 +01:00
Émilie Feral
74ee0ec63a [apps] enable node navigation to decide the leaf row height
Change-Id: Ib013dd50c4d57df31e9be7813440037173415330
2016-11-15 12:01:35 +01:00
Émilie Feral
0e3804d784 [apps] use variable box leaf cells in variable box controller
Change-Id: If3ef3850318b9a4c29af8539d09dd1111f2c985e
2016-11-15 12:01:35 +01:00
Émilie Feral
41f8d0c75c [apps] enable node navigation controller to use different cell types
(implemented by its subclasses)

Change-Id: I44ef187c0142f049c710a4515c3dc0edf5573927
2016-11-14 17:06:55 +01:00
Émilie Feral
a4e0a452a1 [apps] create a class variable box controller
Change-Id: I139bc23fa778127e9f89a5d8d9fde91030d0e9dd
2016-11-10 17:26:07 +01:00