Commit Graph

236 Commits

Author SHA1 Message Date
É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
Émilie Feral
dba85cc56a [apps/calculation] Correct error in ring buffer methods
Change-Id: I684afe462d23384a4807644586c03ea654ed7c8a
2016-11-04 11:08:08 +01:00
Émilie Feral
ac6bdee979 [apps/calculation] Handle clicking on equal when on a history view cell
Change-Id: Iee397d7d4b3f8a7abea1fcb55fcdf448578d5880
2016-11-04 11:04:48 +01:00
Émilie Feral
d8e864878b [apps/calculation] Select the right history cell subview (handled by the table
delegate)

Change-Id: Ia03f5a34b2b752ec18fee62b3e9148d60b677767
2016-11-04 10:59:18 +01:00
Émilie Feral
00a0dd182f [apps/calculation] Correct bug: set the right cell first responder
Change-Id: Iafee70a6a3bcf59c60efb4575b044b19fa5c1db4
2016-11-04 10:59:18 +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
d8179abd77 [apps/calculation] align the historic to the bottom
Change-Id: Ide539c753376ac1fa1cd60ecd3605f112b19f28d
2016-11-04 10:19:05 +01:00
Émilie Feral
1371d807c1 [apps/calculation] Handle enter on a history view cell
Change-Id: Id3e9c38688a4ed7395e3e2cb6e64581681cad9ad
2016-11-02 09:46:10 +01:00
Émilie Feral
6e13c43c37 [app/calculation] in history view cell, make only pretty print responder
Change-Id: I9dbd5d150e5fdcc52e5ad38b2e9524d1b5a87fae
2016-11-02 09:46:09 +01:00
Émilie Feral
e22834216d [apps/calculation] Fit the layout of result view to the size of the
float text

Change-Id: Iad6b2021a23c491b166e518bba625dcf69c3757a
2016-11-02 09:46:09 +01:00
Émilie Feral
410ac08bc8 [apps/calculation] Add margins in history calcul cell
Change-Id: Icecab4fdad31e57ce33b00985869d899a51261e6
2016-11-02 09:46:09 +01:00
Émilie Feral
ca0e47f44c [apps/calculation] Correct constant expression types
Change-Id: Ida74f65af010536a63704cf505fca86acf27e496
2016-11-02 09:46:09 +01:00
Émilie Feral
54a29ef60c [escher] add a boolean in scrollview to decide wether to display scroll
indicators

Change-Id: I6bc34519668fc73fecf2207596951c3b3a9c8311
2016-11-02 09:46:09 +01:00
Émilie Feral
a8bf44f900 [apps/calculation] enable to scroll only when the pretty print is to
wide

Change-Id: I25af7b9b327b475e09d2fb15a2f5e796f226053a
2016-11-02 09:46:09 +01:00
Émilie Feral
77c964b1b5 [apps/calculation] Make the history view cell inherit from even odd cell
Change-Id: I87b2774dd9cc4c672c356b42ed2a4a18e4563f60
2016-11-02 09:46:01 +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
c9434ab5a2 [apps/calculation] Reinitiate the scrolling when reloading the pretty
print view

Change-Id: I1975e46cc63109d47223018ca0e09bdc40274573
2016-10-27 14:34:31 +02:00
Émilie Feral
a219316535 [apps/calculation] handle selection in history view cell
Change-Id: I52629c355cefb77c31d418e2c764f00b60dd3cbe
2016-10-27 14:34:31 +02:00
Émilie Feral
db2374f75c [apps/calculations] Make the history view controller a delegate
to the table view

Change-Id: I69302f1999b7f6b7f051c71bcaeac43279b27ed2
2016-10-27 14:34:31 +02:00
Émilie Feral
fa91379f51 [apps/calculation] Display the expression and the result vertically in
history

Change-Id: I2751c44cfb9c1db95df0010a547222579bee364f
2016-10-27 14:34:31 +02:00
Émilie Feral
6869df126a [apps/calculation] Use pretty print view in history view cell
Change-Id: I272e03bad1ca99240285316beed8fe9ab7a270b7
2016-10-27 14:34:30 +02:00
Émilie Feral
5e6936650d [apps/calculation] create a class pretty print view
Change-Id: Ib48d1555b3f12fed8b553df05053f943630adae5
2016-10-27 14:34:30 +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
e9795b16da [apps/calculation] Change calculation store model to be a buffer ring
Change-Id: Ic444456288e68dcf7b78705880b9507de0a95a2d
2016-10-26 16:26:12 +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