Commit Graph

43 Commits

Author SHA1 Message Date
Léa Saviot
f579e95815 [poincare] Start removing ExpressionLayout 2018-07-03 17:33:06 +02:00
Émilie Feral
ac9da8d559 [escher] Handle copy/cut event on Expression in selectable table view 2018-06-07 14:46:14 +02:00
Émilie Feral
1f57d0a242 [solver] Fix an even odd bug: make colors consistent between even odd
cells and inheriting even odd cells
(scrollable_exact_approximate_expressions_cell)
2018-06-07 13:46:18 +02:00
Émilie Feral
cfb891d7bd [shared] Move OutputExpressionView & ScrollableOuputExpression view to shared/ with new name:
ScrollableExactApproximateExpressionsView (for future implementation of solver
solution page)
2018-06-07 13:46:18 +02:00
Émilie Feral
1108ef21db [calculation] Do not memoize the expression layouts but the expressions
final height to avoid overflowing the heap. The expression layouts are
kept in the cell which are fewer then the number of calculations
2018-05-16 18:36:45 +02:00
Émilie Feral
bb8ab2a42e Merge branch 'saisie-jolie' into master-merge-saisie-jolie 2018-05-16 11:28:07 +02:00
Émilie Feral
1d7bd2b70a [calculation] Change method name: shouldDisplayApproximateOutput --> shouldOnlyDisplayApproximateOutput 2018-05-15 11:33:28 +02:00
Émilie Feral
b84972da6a [apps] Calculation: Memoization of the equal sign type (approximate or
equal) in the model
2018-05-15 11:33:28 +02:00
Léa Saviot
c4b5d4cf40 Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Émilie Feral
f2db9f2065 [apps] Calculation: exact and approximate output can be equal even if
the exact output is not a rational: 1/2+i = 0.5+i
2018-01-30 19:14:42 +01:00
Émilie Feral
03c8b373f7 [apps] Calculation: update the equal sign view according to the
calculation outputs
2018-01-30 19:14:42 +01:00
Émilie Feral
17fc7998a2 [apps] Calculation: Ans is exact only when the expression hold is exact 2018-01-16 15:17:16 +01:00
Léa Saviot
4ad3adaab2 [apps/escher] Changed setExpression to setExpressionLayout.
Change-Id: I095a12868fd7eaf8d4eb2408617941a86f43e1ee
2018-01-15 11:58:01 +01:00
Romain Goyet
52bdf4a41f Merge branch 'cas_with_app_copy' into python_console 2017-11-21 18:44:38 +01:00
Émilie Feral
b2d6c2e305 [apps] In calculation, avoid blinking when changing selection
Change-Id: I8b94362183e1aed0d87cfdfa39b3f67ccbbd8b42
2017-11-21 17:37:25 +01:00
Émilie Feral
bb590bc529 [apps/calculation] Valgrind: fix call to deleted memory
Change-Id: I36e25684dfd260e04ce29fe0698c179e372030d4
2017-11-21 17:37:25 +01:00
Émilie Feral
5fd8fda4b1 [calculation] Display exact and approximate results
Change-Id: Id5fe5b5db464c45f09bd1a1285def95e738a78c7
2017-11-21 17:37:25 +01:00
Léa Saviot
239e702d37 [code] Navigation in the console history.
The user can copy previous commands or results, into the clipboard or in
the console prompt.

Change-Id: I280fff2d4937f4d17ab6c8907d6e5c359a322372
2017-11-17 11:59:50 +01:00
Émilie Feral
71284311bb [escher] [apps] Implement app snapshot
Change-Id: I24d7eed7cef964af8be1c85222e758c297dc0da1
2017-05-18 14:16:41 +02:00
Émilie Feral
96733dbbdc [apps] Rule of 5 (3)
Change-Id: Ia85b23a09e9debd62b4f3590463a4f16454ef4b7
2017-05-09 14:33:53 +02:00
Émilie Feral
784fe53679 [apps/calculation] Reset expression scroll when changing selection
Change-Id: Ia2a46a7d39c735d55947cca03a8f84e1f711d12b
2017-03-29 15:04:26 +02:00
Émilie Feral
21a6ae216a [escher] Create a class scrollable view
Change-Id: I2c588da1f6fd6b1bde878f85c02d0e4dffd04f52
2017-03-07 13:28:26 +01:00
Émilie Feral
0704ab8776 [apps][escher] Improve colors
Change-Id: I31d3353a5372b63a6c2b3e62c88fb3b5c627e088
2017-01-27 11:46:13 +01:00
Émilie Feral
d45000b3d9 [escher] In palette, improve colors
Change-Id: I2c8f33764cf2befeb994b9b47b46d39f116ae96c
2017-01-27 11:46:05 +01:00
Émilie Feral
ca1b61c97a [apps] Avoid switch() {} when possible.
Change-Id: I4e050dcb761fe5ca6a12af375537f3554f324f68
2017-01-15 20:04:59 +01:00
Émilie Feral
172528f49f [apps/calculation] Change names: PrettyPrintView -->
ScrollableExpressionView and make result View an scrollable expression
view

Change-Id: I9ac85671bcb4fdbeda0e5dbc6788dc7eb93b7343
2016-12-09 11:01:44 +01:00
Émilie Feral
e1f808e7da [apps/calculation] Change names: expression->input, evaluation->output
Change-Id: I9d65a9fc7d1b7132ae3aaa8a86e4511286b7e3da
2016-12-09 11:01:44 +01:00
Émilie Feral
0448278e36 [calculation] Make the results of calculation expressions
Change-Id: I9eb685b21944cfc6cc346a42d442f064ae5938dd
2016-12-08 15:21:52 +01:00
Romain Goyet
b87f06e3a2 [ion] Update the Event model
Change-Id: I41a53caeb7dd8a15e7934f49675f6a53be8fe7be
2016-11-10 17:29:48 +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
0913798faf [apps] Replace magic numbers by constants
Change-Id: If9cb40bdc9b1e88a941a6f230fb42164b1e2d5f0
2016-11-04 10:58:40 +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
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
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
6869df126a [apps/calculation] Use pretty print view in history view cell
Change-Id: I272e03bad1ca99240285316beed8fe9ab7a270b7
2016-10-27 14:34:30 +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
f809d089d6 [escher] Make table view accept only table view cell
Change-Id: I393375d0887e692a85747198d5b42d26d207dc83
2016-10-25 17:55:28 +02:00
Émilie Feral
b101308922 [apps/calculation] Rename calcul->calculation
Change-Id: I57ca7353516cee2da33470a8a0f622a21c3fe7e9
2016-10-25 17:55:28 +02:00