Léa Saviot
a67f422ab7
[apps/sequence] Fix first/second term index display.
...
Before, it was always u0 and u1.
Change-Id: Iad5a3992a16f4b4a55e295b24f6a784a17f2807b
2018-05-16 18:36:34 +02:00
Léa Saviot
99f6d73e19
[apps/code] Put cursor inside parentheses when inserting function
...
In Code::VariableBoxController.
Change-Id: Ib129781d46159c017bcb02e97c6667b6084f5b67
2018-05-16 16:00:24 +02:00
Léa Saviot
291958a901
[apps/statistics] Fix buffer overflow in HistogramController.
...
Change-Id: Idf8f8701ba7b7d18b92dc7b21108387c0fa0aa3a
2018-05-16 15:58:06 +02:00
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
bb8ab2a42e
Merge branch 'saisie-jolie' into master-merge-saisie-jolie
2018-05-16 11:28:07 +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
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
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
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
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
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
Léa Saviot
678a0db4e4
Merge with current GitHub master branch
...
Change-Id: Ie1b83cfabdee1369eb66f53c01314324d5d88a74
2018-05-14 17:03:12 +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
Émilie Feral
8276e99b1e
[calculation] Conditional jump on uninitialized boolean
2018-05-11 14:12:40 +02:00
Romain Goyet
c091d1f59d
[apps/code] Add an EditorView that has a gutter
2018-05-09 17:46:09 +02:00
Léa Saviot
9af3d378d1
[apps] Fix CondensedSumLayout created with a nullptr child
...
Change-Id: Ie6d4c6408a45a9cdf617b8cba988667c17f4cc36
2018-05-09 09:55:58 +02:00
Émilie Feral
aefcf5262d
[apps] On a plugging event, the brightness is set a its prefered level instead
...
of the maximum level
2018-05-09 09:51:14 +02:00
Émilie Feral
7bc5142c8f
[hardware test] Avoid passing battery test if the level is "somewhere in
...
between"
2018-05-09 09:50:56 +02:00
Léa Saviot
4de2ae5353
[poincare] Fix virtualty of ScrollView::setBackgroundColor and TopMargin
...
Change-Id: Id15d2b233b0a0f11435ab8f41a142eeca4fcec05
2018-05-08 17:52:54 +02:00
Léa Saviot
3b582a2e46
Merge branch 'SaisieJolie30Apr' into SaisieJolie8May
...
Change-Id: Ia4196119fc56c5bc3423aea752b49f3f7ba39499
2018-05-08 15:17:51 +02:00
Émilie Feral
71b972ceb1
[sequence] Decrease sequence graph resolution (2 dots per pixel instead
...
of 5)
2018-05-08 14:45:23 +02:00
Émilie Feral
8a6c06367e
[home] Fix number of rows instead of fixing number of columns
2018-05-08 14:44:54 +02:00
Romain Goyet
a29c775663
[ion] Encode the serial number in Base64
...
Also, expose serialNumber() in Ion and keep "copySerialNumber" in
Ion::Device. This allows the DFU bootloader to remain .bss-free.
2018-05-04 17:31:41 +02:00
Romain Goyet
5d9f66df28
[hardware_test] Get rid of the USB step
2018-05-04 17:04:24 +02:00
Romain Goyet
aa776be032
[hardware_test] Get rid of the reset step
2018-05-04 17:04:24 +02:00
Romain Goyet
339ec330c1
[apps] Don't SU prompt in the hardware test
2018-05-04 17:04:24 +02:00
Romain Goyet
71f9ce3b67
[hardware test] Use a BankViewController
...
And add a SerialNumberController
2018-05-04 17:04:24 +02:00
Romain Goyet
69545b9cf9
[apps] Handle Ion::Events::USBPlug in processEvent
...
This gives apps a chance to catch this event. This is used in the
hardware test.
2018-05-04 17:04:24 +02:00
Léa Saviot
8801b9f383
[apps/code] Fix cursor position when inserting Python commands
...
Change-Id: I2f5cdc72220cc61b0c8830d746c63f705a7c928e
2018-04-26 17:52:11 +02:00
Léa Saviot
ce81481922
[apps/calculation] Do not reload if the ELView is already maximal
...
Change-Id: Id21cc71de7d5d83a30c6b7beea3c71108bed7197
2018-04-25 18:08:35 +02:00
Léa Saviot
d51ddc55a1
[apps/sequence] Put a condition on SeqType to get FirstInitialCondName
...
This condition was removed non-intentionnally by a previous commit
Change-Id: I643351b3ca965405753c0757971871c71838e405
2018-04-25 13:58:42 +02:00
Léa Saviot
a27963597b
[apps] More generic VariableBoxController methods
...
Before, the class differentiated between TextField and
ExpressionLayoutField
Change-Id: I1fce8bb650a0bfccb11ddf61d05335e452374abb
2018-04-25 13:58:42 +02:00
Léa Saviot
a5c50f8887
[apps] Fix function name that was the same as virtual function.
...
Change-Id: Idec43b9427571dbd5752ac551424447cbdb08d27
2018-04-25 13:58:42 +02:00
Léa Saviot
6dd2057593
[apps/calculation] Re-arrange private attributes.
...
Change-Id: I024e17fac84d8e3025745267ad488db83eeeb928
2018-04-25 13:58:42 +02:00
Léa Saviot
0ae7c8a723
[xnt] Insert the right XNT char.
...
Change-Id: Ibc91a2ece310313fb368a68483c5a1b6fe14aad2
2018-04-25 13:58:42 +02:00
Léa Saviot
fd3a2c3cbc
[apps/code] Use a special char to position the cursor in Python commands
...
Change-Id: I7ae3d6098160212d8683a671c78d3bdb937fb701
2018-04-23 17:18:56 +02:00
Léa Saviot
13ae1d2545
[apps/escher/toolbox] handleEventWithText for all responders.
...
This makes the code in the various toolbox more generic. The arguments
of the text to insert are each replaced by a Ion::Charset::Empty.
These Empty chars are used to create layouts in ExpressionLayoutFields,
and to compute the position of the cursor in other fields, before being
removed.
Change-Id: Ie81c1e394b06fef2ab801ccff919d6550f70ec30
2018-04-23 17:18:48 +02:00
Léa Saviot
ad65ce2617
[apps/calculation] Removed overrided ExpressionField constructor.
...
Change-Id: Id893bb89c9f1282b7fc9e94acc0324a66c749a0c
2018-04-23 11:34:01 +02:00
Léa Saviot
5205d35973
[apps/calculation] Remove asserts that use obsolete functions
...
Change-Id: I27252b48abb71755335e97d0903453e135247903
2018-04-23 11:34:01 +02:00
Léa Saviot
c3433da2e2
[apps/calculation] Factorize some code.
...
Change-Id: Id217a1d898c7100172a70cd1fedcf3573c2f68b9
2018-04-23 11:34:01 +02:00
Léa Saviot
6d7464707d
[apps/calculation] Fix member initialization order.
...
Change-Id: I16788edf23b9c2d70a781db5ad90ebfd67b926e7
2018-04-23 11:34:01 +02:00
Léa Saviot
5c2322a5a4
[apps/calculation] Rule of 5 in EditExpressionController::ContentView
...
Change-Id: I92ee8ee934c66674bb983780a5d8084a1562accf
2018-04-23 11:34:00 +02:00