Léa Saviot
ea8bd568bf
[apps/escher] Fix ExprFieldDelegateApp::exprLayoutFieldDidReceiveEvent
...
Fix the buffer size and check the length of the serialized expression
Change-Id: I7d53365313c0e0307db3393d46537d35ed799b3b
2018-05-16 15:56:13 +02:00
Léa Saviot
a2226eb5f8
[apps/calculation] Expression buffer max length: k_printedExpressionSize
...
Change-Id: I41603624f7f7a4d3213ec6ea43297b75b204ed03
2018-05-16 15:56:13 +02:00
Émilie Feral
2e0a70f269
[escher] Fix bug in text field: casting a unsigned char to signed char give negative
...
values above 127...
2018-05-16 15:53:04 +02:00
Émilie Feral
67185e6d26
[poincare] Avoid parsing "prediction" prints "confidence"
2018-05-16 15:51:08 +02:00
Émilie Feral
fa2ccf16d7
[tests] Add test scenari
2018-05-16 15:48:46 +02:00
Émilie Feral
bb8ab2a42e
Merge branch 'saisie-jolie' into master-merge-saisie-jolie
2018-05-16 11:28:07 +02:00
Léa Saviot
40d9fc4c42
[escher] Fix signed/unsigned comparison warning
...
Change-Id: I3278e2e1a951475f96adae4f0c6ba6b6b52a170e
2018-05-16 11:22:47 +02:00
Émilie Feral
b94c247c6a
[poincare] PrintFloat: confusion between size and length
2018-05-16 11:20:23 +02:00
Émilie Feral
dcf1e7d8a2
[escher] Fix transparent view: absolute origin can be undefined
...
(because superviews have not been filled yet). Rather use m_frame.
2018-05-16 10:01:38 +02:00
Émilie Feral
16bfca6a7d
[shared] Make cursor view a transparent view because it has no
...
background
2018-05-16 10:01:24 +02:00
Émilie Feral
6ac7825144
[tests] Add scenari
2018-05-16 10:00:50 +02:00
Romain Goyet
bd36fd0fe4
[ion/blackbox] Fix compare
2018-05-15 23:41:24 +02:00
Romain Goyet
66905319f8
[ion] Add blackbox compare
2018-05-15 23:41:24 +02:00
Léa Saviot
379dcdba1a
[poincarE] Add unary tests on Layouts.
...
Change-Id: I21f33e84eb4a60ecbabbba99a966abed6a23039c
2018-05-15 18:05:32 +02:00
Claire Savinas
33a31ab8e0
Saving Python script when home is pressed
2018-05-15 17:27:53 +02:00
Léa Saviot
278a951229
[apps/code] Add member variable initialization in GutterView
...
Change-Id: I82bcd810f84ae46ec4efc6a2a1c3203ae5a4877a
2018-05-15 17:25:34 +02:00
Émilie Feral
ce186b578f
[apps] Fix variable box cell margin
2018-05-15 17:25:17 +02:00
Émilie Feral
33ad49789b
[escher][apps] Make View using blendRectWithMask without background
...
inherit from TransparentView
2018-05-15 17:24:27 +02:00
Émilie Feral
6f08a77cac
[escher] create TransparentView
2018-05-15 17:24:27 +02:00
Léa Saviot
16de5291bb
[apps/sequence] Fix "Un" size in sequence table
...
Change-Id: I8f46a2f6f49da08a58d8c24252cf9fa8d09d2a0e
2018-05-15 16:29:35 +02:00
Léa Saviot
a84686d262
[poincare] Finer addition of parenthesis when serializing fraction
...
Change-Id: I48f4fdad8185ab97916dcfc9b6f56e786854fe2a
2018-05-15 15:35:04 +02:00
Léa Saviot
4e6b12114f
[poincare] Remove DEBUG comment
...
Change-Id: Ia9d35816bb71ad81f6b3d03e3e3184b1697b1c67
2018-05-15 13:52:52 +02:00
Léa Saviot
c70feb9a46
[poincare] Fix SumGraphController CondensSumLayout size on second step
...
Change-Id: Ia9608ccf6b556183ed8def852d35a9096aeaac19
2018-05-15 11:35:11 +02:00
Émilie Feral
c6ec8310b2
[apps] Do not display exact result if equals to undef
2018-05-15 11:33:28 +02:00
Émilie Feral
1d7bd2b70a
[calculation] Change method name: shouldDisplayApproximateOutput --> shouldOnlyDisplayApproximateOutput
2018-05-15 11:33:28 +02:00
Émilie Feral
7bd806f38a
[poincare] Power: fix memory issue (setSign is likely to change the
...
expression)
2018-05-15 11:33:28 +02:00
Émilie Feral
bc47d16231
[poincare] Factorial: add Parenthesis when needed (+(1,Pi)! -> (1+pi)!)
2018-05-15 11:33:28 +02:00
Émilie Feral
f1e574d8bc
[apps] Variable Box Controller: improve layouts of variables
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
Émilie Feral
fa840754e8
[poincare] Fix tests: convert_expression_to_text
2018-05-15 11:33:28 +02:00
Émilie Feral
02c1d3206a
[poincare] Decimal: we do not need to remove zero at the end of the
...
mantissa as they are not printed when converting to text
2018-05-15 11:33:28 +02:00
Émilie Feral
6e1c0043e0
[poincare] In Decimal::convertToText, round mantissa rather than
...
truncate
2018-05-15 11:33:28 +02:00
Émilie Feral
98be622218
[apps] Calculation: display the exact output even if identical to input
2018-05-15 11:33:28 +02:00
Émilie Feral
538bf216be
[apps] Fix bug in variable box controller: when displaying a scalar
...
value, fix the buffer size which was overflowed
2018-05-15 11:33:28 +02:00
Émilie Feral
1669bee2f6
[poincare] Fix Decimal::convertToText
2018-05-15 11:33:28 +02:00
Émilie Feral
bffdb59847
[poincare] Fix Decimal constructor from double
2018-05-15 11:33:28 +02:00
Romain Goyet
7610d7b65d
Add a routine to debug ARM exceptions in GDB
2018-05-15 11:33:03 +02:00
Émilie Feral
31801ac20c
[poincare] Power: do no simplify Power whose result is too big (fix bug
...
1.00666666666667^60 = undef)
2018-05-15 11:03:11 +02:00
Léa Saviot
48d1d248ea
[poincare] Fix cursor position in 2D when inserting "random()"
...
Change-Id: I3851e79cd7b0a1f2b1b13c4cf7c604ad0d95d6d3
2018-05-15 11:03:07 +02:00
Émilie Feral
0bc2594489
[ion] Storage: deferencing nullptr?
2018-05-15 11:02:35 +02:00
Léa Saviot
0c7cd1fe6b
[poincare] Coding style
...
Change-Id: Ie08fa0fa4eb6098d089e0919b35cc1dcd7a86409
2018-05-15 10:37:56 +02:00
Léa Saviot
2c16a57ef7
[poincare] Fix PowerLayout::privateCreateLayout
...
A HorizontalLayout should not have a HorizontalLayout child
Change-Id: I300e71103a1f72f8ab8293adfb0d1a0b86059f7a
2018-05-15 10:37:09 +02:00
Léa Saviot
87194941da
[poincare] Comment: HorizontalLayout should not have Horizontal children
...
Change-Id: I35186fe09d169ff9aeadc9b903f16d2f046f27a0
2018-05-15 10:24:20 +02:00
Léa Saviot
678a0db4e4
Merge with current GitHub master branch
...
Change-Id: Ie1b83cfabdee1369eb66f53c01314324d5d88a74
2018-05-14 17:03:12 +02:00
Léa Saviot
9a94cbe934
[poincare] Scroll to show whole layout inserted from toolbox
...
Change-Id: If3e39659bdfc36b5e52a29845dfd213424233ab4
2018-05-14 16:57:08 +02:00
Léa Saviot
2f55660ce4
[escher] Fix addding Grey Squares when adding matrix from toolbox
...
Change-Id: Ie96122033de7ae80ddf5378f0f3fe07d52c3453e
2018-05-14 15:14:30 +02:00
Léa Saviot
de799a1323
[escher] Remove superfluous code
...
Change-Id: I5d0718195592c6223795c94069da7a3c345b242d
2018-05-14 14:58:57 +02:00
Léa Saviot
83024c43a8
[apps/math_toolbox] Fix cursor position in new matrix in 1D
...
This also fixes the creation of a matrix in 2D, when selecting the new
matrix toolbox item
Change-Id: I3ace2e78450b86d924c875de015a5a24c12a6374
2018-05-14 14:31:08 +02:00
Léa Saviot
4c0273fcd2
[poincare] Coding style
...
Change-Id: Ia3d073038503fde758c5cc67aa485a53aafe5816
2018-05-14 14:22:14 +02:00
Léa Saviot
7d484dbd7f
[poincare] Fraction layout: backspace caused memory leak
...
Empty numerator/denominator was detached from the fraction, not added to
the new juxtaposition of layouts, and neither deleted. Hence, when the
fraction layout was deleted, it did not delete the empty
numerator/denominator.
Change-Id: I453c7bb42c392fff3efa2a2fbd5f1eeeb53dad7e
2018-05-14 14:17:52 +02:00