Commit Graph

261 Commits

Author SHA1 Message Date
Émilie Feral
1dcd102e99 [apps] create a class variable box lead cell
Change-Id: Iab0d283d4472a40a5c628d770d829dc84979791b
2016-11-14 17:06:55 +01:00
Émilie Feral
68eae7f010 [apps] Ensure const methods when needed in node class
Change-Id: Ib1ca31d4eeaaf1a05cc2e25e408b382111fa3648
2016-11-14 17:06:55 +01:00
Émilie Feral
139158557c [apps] use toolbox leaf cell in the toolbox controller
Change-Id: Iac52d3777761f6d5183391608db4fe7df3c1fbd4
2016-11-14 17:06:55 +01:00
Émilie Feral
0df7d64dce [apps] create a class toolbox leaf cell
Change-Id: Iee2efaab85646329700078ebd83079a82e5a31f6
2016-11-14 17:06:55 +01:00
Émilie Feral
e4cf865dde [apps] Improve the drawing of boxes (variable and toolbox)
Change-Id: If5cc51c33e994b09cea9c873502e238c28a43608
2016-11-14 17:06:55 +01:00
Émilie Feral
c34498b15d [escher] Change palette names to make them consistant
Change-Id: If5381b7f970e106bea1196ef40e36ea12f846dad
2016-11-14 17:06:55 +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
5a03f8fd03 [apps] Delete useless handleEnter
Change-Id: I48bc390b1f370270b51f74dbda1d9f50c2608b81
2016-11-10 17:29:48 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +01:00
Émilie Feral
b220ed5dd8 [apps] change name toolBox->toolbox
Change-Id: I55c72fdfdf0334de6c1da55224bb8e2abecba135
2016-11-10 17:29:48 +01:00
Émilie Feral
3ccc240d05 [escher] in menu list cell, change name contentView->accessoryView
Change-Id: Ide0ce134f83b6b491b66bc6df9900a1928888a8a
2016-11-10 17:29:43 +01:00
Émilie Feral
af6a1c7046 [apps] add a method to get the global context in appsContainer
Change-Id: I4b7a4c1c64ae21c7e4f0193b3314d96cef805cbb
2016-11-10 17:26:07 +01:00
Émilie Feral
54bd0a3912 [apps] display the variable box when clicking on SECOND
Change-Id: I6684538aaf49144f12745a68982d1406d82e3ca4
2016-11-10 17:26:07 +01:00
Émilie Feral
a4e0a452a1 [apps] create a class variable box controller
Change-Id: I139bc23fa778127e9f89a5d8d9fde91030d0e9dd
2016-11-10 17:26:07 +01:00
Émilie Feral
da31c78ceb [apps] create a class variable box node
Change-Id: I9b80465ea757a3bf61f4bed7e2787834432795b2
2016-11-10 17:26:07 +01:00
Émilie Feral
703282f403 [apps] Deselect table once a math command has been selected in toolbox
Change-Id: I38833ce9b803760a9ab73d87370a3bd5870c0448
2016-11-10 17:26:07 +01:00
Émilie Feral
ac0fdeeca8 [apps] create an abstract class for node
Change-Id: I3a946df720c37ec2b087cf6131ea886da3e26c95
2016-11-10 17:26:07 +01:00
Émilie Feral
e1dbfbe51c [apps] make a parent class node navigation controller to navigate in a
tree model

Change-Id: Ib5671c688237435c6da3b1f1e5cd715671e75cd9
2016-11-10 17:26:07 +01:00
Émilie Feral
2561f6fd3c [apps] split the tool box controller into a table view controller and a
navigation controller

Change-Id: I9e1e91ba547df245f22dc44df0637cd7205e3420
2016-11-10 17:26:06 +01:00
Émilie Feral
7933c7b68d [apps/graph] Correct error in selecting cell when becoming responder
Change-Id: I66a4112794f87ff9aaecd2ef50b394e8d374f9a7
2016-11-10 17:26:06 +01:00
Émilie Feral
e98b64f2eb [apps] use the chevron menu cell class
Change-Id: Ic5161b729fe2239f75e03666b9d2bb4ceb6e8936
2016-11-10 17:26:06 +01:00
Émilie Feral
9ad2ae56b9 [apps] Base the tool box controller on a tree model
Change-Id: I2124e66964cc3abcc2cbb538adcddd7b31e9f19a
2016-11-10 11:56:32 +01:00
Émilie Feral
3c921a734f [apps] create a class Node
Change-Id: I8e1270bab5e4b121cb49750299c7d726c5bbb8d0
2016-11-10 10:55:21 +01:00
Émilie Feral
33eb1601be [apps] Display the tool box when clicking on F5
Change-Id: I529a455c2c2cc0933575d334b8f592c458ac242c
2016-11-10 10:55:20 +01:00
Émilie Feral
30f37213d1 [escher][apps] add pointer to the container from the app and a method to
access the toolbox from the container

Change-Id: I89eb598b4a7d317d70d5a1f13b79422d35438d68
2016-11-10 10:55:15 +01:00
Émilie Feral
f3bbe536bc [apps] Add a tool box as instance variable of the app container
Change-Id: I02e841da8668ca50cd7cd59101445be84244a6eb
2016-11-10 10:35:00 +01:00
Émilie Feral
d09a34cde7 [apps] Handle enter in tool box controller
Change-Id: Id36bf56871b7d4245062244eaa9a2ef9f6b5a14c
2016-11-10 10:34:51 +01:00
Émilie Feral
2575e3226a [escher] add methods to add text to buffer in textfield
Change-Id: I51388c7495ed8919d1f2ba48d645aee9476c5ed6
2016-11-10 09:53:09 +01:00
Émilie Feral
0743b57e5d [apps] create a tool box controller
Change-Id: I2947f0e0656174f0218f0ef4147560c37c917069
2016-11-09 13:35:28 +01:00
Émilie Feral
199ff9e63d [escher] Re layout subviews of menu list view when changing the text of
the cell

Change-Id: I9d21ffbc7967687f8701f0258501148b5b39fdc0
2016-11-08 13:59:19 +01:00
Émilie Feral
a6b251510f [apps] Handle math error in expression text field
Change-Id: I908e96cbe1d88e519020b83ddc8f06c7b1240aaa
2016-11-07 09:54:01 +01:00
Romain Goyet
84430961da Executables are not always .elf files
Change-Id: I1abebbe9d3e7a4a208ba912f1f29ceddf23617ca
2016-11-05 21:01:06 +01:00
Romain Goyet
150f52a993 Proper C++ array initialiation
Change-Id: Ic2fab5db3921f477832eaddf5226b6727f68a34c
2016-11-05 14:49:25 +01:00
Émilie Feral
f4a95cb43f [apps/graph] Replace multiple pointers to evaluate context by
app()->evaluateContext()

Change-Id: I21035aa357e9d2f2c471ad5751bed59cf05cebf3
2016-11-04 17:37:23 +01:00
Émilie Feral
65465897d3 [apps/graph/list] Delete obsolete manual scrolling in function list
Change-Id: I3202dcc7f6a8551a80cd1a0f17c1dda65e21aa98
2016-11-04 16:53:08 +01:00
Émilie Feral
385161ffd9 [apps/calculation] use the calculation text field in edit expression
controller

Change-Id: Ib4b2665311144b9e26e0b3cf9348a77a35fb79ea
2016-11-04 16:53:08 +01:00
Émilie Feral
470f36d2bd [apps/calculation] create a class text field specific to calculation
Change-Id: I261ef72ea62ca8118dda5c2e90e721e987f3283d
2016-11-04 16:53:02 +01:00
Émilie Feral
f5272cb0cf [apps/calculation] Evaluate calculations in the context including ANS
Change-Id: I9442885551d928d2c1a32bae1324eb6c45af3c94
2016-11-04 16:49:12 +01:00
Émilie Feral
99af9b8692 [apps/calculation] create a class evaluate context
Change-Id: Ic2aa40a00dec0ff67aeeb63edcb1776c3825cfbe
2016-11-04 16:42:09 +01:00
Émilie Feral
38c3ac0e2b [poincare] make the evaluation of symbol not constant to allow dynamic
evaluation

Change-Id: Iddff962e1617211a4e36704f90090fd808811642
2016-11-04 16:32:05 +01:00
Émilie Feral
cc297374ba [escher] handle syntax error by making some apps text field delegate
Change-Id: I790148c321a5a2944b96cc283491a29260b2ed38
2016-11-04 16:17:30 +01:00
Émilie Feral
a80a58b3a8 [escher] add a modal view controller as instance variable in app
Change-Id: I2d95b34e0242f500c651f7cdec9dbf5d92bdd833
2016-11-04 14:53:11 +01:00
Émilie Feral
2f45578886 [apps/calculation] Handle calculation to heigh to be fully displayed in
the screen

Change-Id: I182f0c76d911e6686223a22be2a6ddb561b287ec
2016-11-04 14:47:07 +01:00
Émilie Feral
b3f1297a37 [apps/calculation] Correct error in resetting the scroll in pretty print
view

Change-Id: I1a226cdf9d66e032d2cea143b779e11d996220a7
2016-11-04 11:13:41 +01:00
Émilie Feral
13d494f1b7 [apps/calculation] Handle clearing all history
Change-Id: Ib18a0a25b9124d1ca9749d428404e0f1577c6b16
2016-11-04 11:08:15 +01:00
Émilie Feral
3fbce70fd8 [apps/calculation] add a method in calculation store to clear the store
Change-Id: I0e4f0a60abc7d73a2c175508800306b559594d8a
2016-11-04 11:08:15 +01:00
Émilie Feral
622ac2f2ce [apps/calculation] Handle delete a history cell
Change-Id: Ia4c5526ce9831098f9b291c674160018e05be916
2016-11-04 11:08:15 +01:00
Émilie Feral
8ffe0b6bf6 [apps/calculation] Use the calculation table view in the history view
controller

Change-Id: I76a99c5dd3d9c7b97d5b946fa6b4094819088cd9
2016-11-04 11:08:15 +01:00
Émilie Feral
d83c101a33 [apps/calculation] Create a specific table view for calculation which
aligns to the bottom

Change-Id: I4fe9763b1d9ae2ae3e898046221b780c51515830
2016-11-04 11:08:15 +01:00
Émilie Feral
17fcccd31f [apps/calculation] Correct assignement operator
Change-Id: I1ef13c064b9151b8d0b1b53fb6c40c6f2ba2304b
2016-11-04 11:08:15 +01:00