Commit Graph

164 Commits

Author SHA1 Message Date
Émilie Feral
a6b251510f [apps] Handle math error in expression text field
Change-Id: I908e96cbe1d88e519020b83ddc8f06c7b1240aaa
2016-11-07 09:54:01 +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
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
5133f75789 [escher] change horrible naming in selectable table view
Change-Id: Ia7bc06f2f079e529aa17ab01d961fb6ff62cbf98
2016-11-04 10:59:18 +01:00
Émilie Feral
0913798faf [apps] Replace magic numbers by constants
Change-Id: If9cb40bdc9b1e88a941a6f230fb42164b1e2d5f0
2016-11-04 10:58:40 +01:00
Émilie Feral
81a4f11beb [escher] move even odd cell in escher
Change-Id: Ifb751ac5e8c738965cb358ea55cf7ca67459ffa5
2016-10-27 14:34:31 +02:00
Émilie Feral
a0383ac3ac [apps/graph/list] Use expression view in function expression view
Change-Id: Ia6158691a6c24fb259ee8a88455400ec83824a10
2016-10-27 14:03:31 +02:00
Émilie Feral
cedabbb13a [escher] Change name list view cell -> menu list cell
Change-Id: I9fccf615fc0ebacadf7d0b55ca9af5ec997ce572
2016-10-25 17:55:28 +02:00
Émilie Feral
a2efc9c458 [apps/graph/values] Use selectable table view in values parameter
controller

Change-Id: I255b2759dbbb2954e3d192c6755e95b79bb66b33
2016-10-25 17:55:28 +02:00
Émilie Feral
790240bb25 [apps/graph/values] Use selectable table view in function parameter
controller

Change-Id: I2c94327f20b4451160c6948ab3669e14ab86ce79
2016-10-25 17:55:28 +02:00
Émilie Feral
b9eb9eb432 [apps/graph/values] Use selectable table view in derivatie parameter
controller

Change-Id: Idafdf76d00e610b17bf26e9ac9442be245be6ffb
2016-10-25 17:55:28 +02:00
Émilie Feral
1d4b7b9ba5 [apps/graph/values] Use selectable table view cell in the abscissa
parameter controller

Change-Id: I9a1e436da28cc7e9185c3395ce42c66bbe2fff72
2016-10-25 17:55:28 +02:00
Émilie Feral
b1b9af61f9 [apps/graph/list] Use selectable table view in parameter controller
Change-Id: I833d7775ec77d8900e378a3fa536f66ce5b4902b
2016-10-25 17:55:28 +02:00
Émilie Feral
be8341b4a2 [apps/graph/list] Use selectable table view in the list controller
Change-Id: I7b4429ab04e7f452c5ff12f6483fc39fd39cea85
2016-10-25 17:55:28 +02:00
Émilie Feral
a29c46f662 [escher] delete list view
Change-Id: Ia3e2aa2613479e2fcc7f12e7de3b7e8b8f2cff68
2016-10-25 17:55:28 +02:00
Émilie Feral
e7b3cb8df6 [apps/graph/values] make the table of values uses a selectable table
view instead of a table view

Change-Id: I5cba9d5d1fbaab3fc4b2c7fd5ab287d6dafdb3c1
2016-10-25 17:55:28 +02:00
Émilie Feral
f809d089d6 [escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00
Émilie Feral
9ffb74fcca [apps/graph/values] Simplify the values parameter controller
Change-Id: Idc5f983a79311ff1bb673cef6f79119c3df084ac
2016-10-25 17:55:28 +02:00
Émilie Feral
595f4a2460 [apps/graph/values] Correct bug: set the table as first responder
when the selection is on a cell of the table

Change-Id: I826360790a5793b59b02f1bf77beea21b13453bf
2016-10-25 17:55:28 +02:00
Émilie Feral
b56d88cefa [apps/graph] make the function title cells consistent
Change-Id: Ib59f3d5f8a679cddd8a88e16711138425a6e9ecb
2016-10-25 17:55:28 +02:00
Émilie Feral
44249956df [apps/graph/values] Correct a bug: display the empty table warning when
no function is defined and active

Change-Id: I528d3437d274a08bf55e949c3f79646f71ce72af
2016-10-25 17:55:28 +02:00
Émilie Feral
25a4e619dc [apps/graph/list] Correct how switch view is updated
Change-Id: Iabe467f102d7e9f4beb36d48aac0ed86edbf0aff
2016-10-25 17:55:28 +02:00
Émilie Feral
686d759993 [escher] Split the class list view data source in a simple view data
source and a data source (as for table view data source)

Change-Id: I66fc17d2a10a3a4db1ca250776f19de8fb559656
2016-10-25 17:55:28 +02:00
Émilie Feral
e99804b747 [apps/graph] Correct the initialisation of the application
Change-Id: I34883d5a6d00c6627d8668d560880ca52f65f7ba
2016-10-24 15:24:02 +02:00
Émilie Feral
927ba42e22 [apps/graph/list] Add a button add a function in the function list
Change-Id: I0a535df7dbcee8809e5b52ff1c8fb28af6cbd916
2016-10-24 15:24:01 +02:00
Émilie Feral
34a614fbdf [apps/graph/list] Create a class for the button new function
Change-Id: Id9a03b9c7047ca709ee29298f10f7dde216e259a
2016-10-24 15:24:01 +02:00
Émilie Feral
e5ff8f65c3 [apps/graph] Handle undefined function
Change-Id: Id26e0f81ba5c1446655f33b2c63f97ab5b684e41
2016-10-24 15:24:01 +02:00
Émilie Feral
5693b9f95f [apps/graph] Correct function names
Change-Id: Iaa83491bf860d81d7f02704c9177f77fb363fd1d
2016-10-24 15:24:01 +02:00
Émilie Feral
8c0f4afb7f [apps/graph/list] Correct bug: reload the table view when first
responder

Change-Id: I23b8fe548a507b9259b90e779ff18c5867946e85
2016-10-24 15:24:01 +02:00
Émilie Feral
1d58a89ef1 [apps/graph/values] Display a warning page instead of an empty table when no function is selected
Change-Id: I78a7edd6827efb6db73b1d33cb898983bdad02e1
2016-10-24 15:19:22 +02:00
Émilie Feral
db3b8879ab [apps/graph/values] Display the derivative parameter page when clicking
on the derivative name

Change-Id: Iaf052adbb89479d3aec18302022003d4db4803a7
2016-10-24 10:37:17 +02:00
Émilie Feral
269da821d2 [apps/graph/values] create a class for derivative function parameter
controller

Change-Id: Ifdf1a2291739f50e06ba26bd76469c5b5e87e731
2016-10-24 10:37:17 +02:00
Émilie Feral
b7e150cb8f [apps/graph/values] Adjust the title of functions and derivatives in the
center of cells

Change-Id: Ib09e0d22b4f5389d59e37f77f4ee069e5148c0a7
2016-10-24 10:37:17 +02:00
Émilie Feral
8f5c11cba0 [apps/graph/values] Enable displaying the derivative function values
Change-Id: I3b970f20e16c8b3943f060abb0d8be534102c97b
2016-10-24 10:37:17 +02:00
Émilie Feral
678fc5b437 [apps/graph/values] Enable function title cell to draw a derivative
function title

Change-Id: I20f207bb73bf1459029601fb5900fbbd12ec3b77
2016-10-24 10:37:17 +02:00
Émilie Feral
b12bf3641b [apps/graph/values] Enable to decide wheter to display the derivative
from the function parameter page

Change-Id: Iba4ad9fed4bafebeea3ef7f667a3f90f640d1db7
2016-10-24 10:36:55 +02:00
Émilie Feral
866201ebb4 [apps/graph/list] Reload information about the function when displaying
the parameter page

Change-Id: If1aab12bc0d9473a0241b94960fbb51dc2d02593
2016-10-24 10:31:21 +02:00
Émilie Feral
529a06131d [apps/graph] Add a boolean in function to indicate wheter to display
derivative

Change-Id: I0565de1645952007347cf3aee5f1a70f8280e0f3
2016-10-24 10:31:20 +02:00
Émilie Feral
4653f9ff52 [apps/graph] Add method to approximate the derivative function at a
given abscissa

Change-Id: I31bbd99a0469f7fad140a38dae1783b2d2ee414d
2016-10-19 16:22:49 +02:00
Émilie Feral
c83060b5b1 [apps/graph/values] Remove warnings
Change-Id: Ib3af8789ea884579c229d8bf02b34d8a486ac3bf
2016-10-19 16:22:49 +02:00
Émilie Feral
e132c9ae13 [poincare] Use a buffer in the class context to store expression
Change-Id: I9a3ae1bb02b1714940a339d039b6f4e917255f8d
2016-10-19 16:22:49 +02:00
Émilie Feral
91ffea4720 [apps/graph/values] display the function parameter page when clicking on
a function title

Change-Id: If673fbbd50b67b98824e387f426914cab8d6bc88
2016-10-19 16:22:49 +02:00
Émilie Feral
263fa6f26d [apps/graph/values] create a class function parameter controller
Change-Id: I93180ce61600faf43229e70408b61a306a2ce577
2016-10-19 16:22:48 +02:00
Émilie Feral
f378b1b20f [apps/graph/values] handle enter in the abscissa parameter controller
Change-Id: I30d468b621662d1182ecbd1656e8ea7412b4806c
2016-10-19 16:22:48 +02:00
Émilie Feral
fa8b7148f5 [apps/graph/values] add a pointer to the interval parameter page in the
abscissa parameter controller

Change-Id: I6c0617e9d5c2113239a91ecbfb55aac0fb7662c8
2016-10-19 16:22:48 +02:00
Émilie Feral
c9fdafb04b [apps/graph/values] Display the parameter page when selecting the
abscissa title

Change-Id: I12e13baa3f2274064748710d6c8c48b4cb663941
2016-10-19 16:22:48 +02:00