Commit Graph

966 Commits

Author SHA1 Message Date
Émilie Feral
732a99d15d Merge changes I02e841da,Id36bf568,I51388c74
* changes:
  [apps] Add a tool box as instance variable of the app container
  [apps] Handle enter in tool box controller
  [escher] add methods to add text to buffer in textfield
2016-11-10 11:03:24 +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
Romain Goyet
1abbe671f8 Merge changes I2947f0e0,Ibeb77958
* changes:
  [apps] create a tool box controller
  [escher] add optional margins to modal view
2016-11-09 22:18:48 +01:00
Romain Goyet
c74370d401 Merge "[escher] Correct syntax error" 2016-11-09 21:46:55 +01:00
Romain Goyet
9f014a88cf Merge "[ion/device] Migrate to 16-bits FSMC" 2016-11-09 21:46:51 +01:00
Émilie Feral
0743b57e5d [apps] create a tool box controller
Change-Id: I2947f0e0656174f0218f0ef4147560c37c917069
2016-11-09 13:35:28 +01:00
Émilie Feral
b0b05a4bf9 [escher] Correct syntax error
Change-Id: I87399c081191e6e2891e13240e34c712a6f805ba
2016-11-09 12:26:37 +01:00
Émilie Feral
375262031b [escher] add optional margins to modal view
Change-Id: Ibeb77958f5fd6db9a110d1f49abb77b4ee01a72f
2016-11-09 12:26:37 +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
46638f8ffc [escher] move cursor position in textfield
Change-Id: I10df7f7559c05be1d93fd72088baa5164f69911e
2016-11-08 13:59:13 +01:00
Romain Goyet
23f41e1b89 [ion/device] Migrate to 16-bits FSMC
Change-Id: I27af3425b631900b4d6041a4f890847e07808de6
2016-11-07 17:09:59 +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
ade7f0480b [ion] Initial emscripten support
Change-Id: Id76a45c5c723fae11387e20458bc9555689b9a48
2016-11-06 12:06:02 +01:00
Romain Goyet
3702af0f11 [ion] The shared routines are not always needed
Namely, the keydown to getevent routine should eventually not be shared

Change-Id: Ie3afabe9cc1cd7503dc3de06928471edd4f1f22b
2016-11-06 12:04:59 +01:00
Romain Goyet
205f149467 [escher] Split the Container::run method
Change-Id: Id62824110f2945c94b39fecd5387a725aee424a1
2016-11-06 12:02:27 +01:00
Romain Goyet
84430961da Executables are not always .elf files
Change-Id: I1abebbe9d3e7a4a208ba912f1f29ceddf23617ca
2016-11-05 21:01:06 +01:00
Romain Goyet
8cc570e6f4 Remove unused code
Change-Id: I2641bb3ef9427d955c4f8124c4b00930def91097
2016-11-05 18:18:18 +01:00
Romain Goyet
4eae83278d Factorize the HOSTCC/HOSTCXX definition
Change-Id: I449289e999238c7ca54974e071577d06130991a9
2016-11-05 15:07:34 +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
89cae4db30 [poincare] Add ANS to symbol
Change-Id: I6ae8a61259636f83d7fd2e533e330a0fd06b7426
2016-11-04 16:40:18 +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
2114961b9c [escher] Makes input view controller inherits from modal view controller
Change-Id: I24e06c247401702fe53931bc1091a327e0c93171
2016-11-04 16:31:59 +01:00
Émilie Feral
2f42476604 [escher] add a minimal size to textfield
Change-Id: I6d1c4d0e687bc66aeadd4913ea4b3a94d7c26b75
2016-11-04 16:18: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
f982c1286a [escher] create a method display warning in app
Change-Id: Iecab146bb479f76c2d74e53221a1d7d6216c8644
2016-11-04 14:55:08 +01:00
Émilie Feral
4a2f92d6cb [escher] create a class warning controller
Change-Id: I93dabe0d47a7b197cb32cf5ccac8411a181afbb7
2016-11-04 14:55:02 +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
d5e9f70701 [escher] create a class modal view controller
Change-Id: Iecbbb8a8927cc5ef538e30a1f7968a9e84ad5021
2016-11-04 14:53:07 +01:00
Émilie Feral
101ad30530 [escher] In input view controller, ensure doing nothing in constructor
Change-Id: Idd03a0d04a5ae7a43b1dc457bb25e0e0bb1a1d43
2016-11-04 14:47:12 +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
720a20a9cb [poincare] handle case 0 in integer layout
Change-Id: I178a543a342a38f80eb74341118c13d2e189f858
2016-11-04 11:13:47 +01:00
Émilie Feral
34d55b3981 [poincare] correct tests to only parse constant A-Z or x, n, t
Change-Id: I7000dd5ee37f45a273c429512bd0b8f929cbce77
2016-11-04 11:13:47 +01:00
Émilie Feral
26f6441e38 [poincare] Correct tests in float to round instead of truncate
Change-Id: Ic960206a56b1dc117466e9d9e28d06da2fd140b6
2016-11-04 11:13:47 +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