Émilie Feral
8276e99b1e
[calculation] Conditional jump on uninitialized boolean
2018-05-11 14:12:40 +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
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
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
Léa Saviot
117a6d460a
[poincare] Stop exposing text/expressionlayout fields in ExpressionField
...
Change-Id: Ic1afb3f7c1f6bff5ea3bedc6f96bef986b74f6a8
2018-04-23 11:33:53 +02:00
Léa Saviot
894080f1ab
[apps/escher] EVWithCursor becomes ELField::ContentView
...
Change-Id: I719218e4d1d360800e0f1ef3eebeea774c8d5660
2018-04-23 09:41:20 +02:00
Léa Saviot
22ab94209f
[apps/escher] Rename EditableExpressionView -> ExpressionField
...
Change-Id: Iadfb220ee94e68762305060215f1ead0cac951fb
2018-04-23 09:41:20 +02:00
Léa Saviot
31face58a2
[apps/escher] ScrollableEVWithCursor renamed ExpressionLayoutField
...
Change-Id: Id0e4610fb677d8ad36721eef1a85f1c424d1743e
2018-04-23 09:41:20 +02:00
Léa Saviot
3e5b3457c1
[apps/coding style] Better code nesting.
...
Change-Id: I26485d4b9917f67b3a73e73721b4f6f2f49c4aa1
2018-04-19 16:45:50 +02:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Léa Saviot
b430cba335
[apps/poincare] Fix "random()" layout creation.
...
Change-Id: Ic8e12dfba925066fafa172b750162e820eeef82b
2018-04-18 11:26:21 +02:00
Léa Saviot
193aefd5a6
[poincare] Each leayout gives the layoutToPointWhenInserting
...
Change-Id: I5f054643decd27731e77d0f1cf2e6874cf6ff8d5
2018-04-17 15:33:40 +02:00
Léa Saviot
bf43ad4d22
[apps/settings] Change "Edition mode" labels.
...
Change-Id: I5475749c05c2103000e3a0da914936c5a28c2aa3
2018-04-17 14:17:49 +02:00
Léa Saviot
e846e31029
[usb] Clear interrupt on "false" ENUMDNE
...
Fixes a bug where the device would not get enumerated even if the plug
state was detected (an ENUMDNE interrupt had not been cleared, thus the
new enumeration attempt was not detected).
Change-Id: I19622221fc077965ed3cab5322944e4c2c89fde4
2018-04-16 10:48:11 +02:00
Léa Saviot
e90b3fd1cd
Merge branch 'SaisieJolieMerge10Apr' into SaisieJolieMerge11Apr (master)
...
Change-Id: I06732115ee37ffd9a037a8412e1c57751dfb3e0f
2018-04-12 09:58:09 +02:00
Léa Saviot
0fcd2a90f6
[apps] Fix comment aesthetics
...
Change-Id: I3e91391f0751515efe50ec4e4335a2421f2acbee
2018-04-11 17:11:05 +02:00
Léa Saviot
88aaab64ba
[apps] Fix obsolete code in Code and Shared
...
Change-Id: Ie6ce0f753bf05cb5f6dd5ed974db2a715b21624e
2018-04-11 17:10:09 +02:00
Léa Saviot
749c93e1af
[apps/sequence] Fix obsolete code.
...
Change-Id: I4f6c1792ac245c072a3d70108a55518473c3fe80
2018-04-11 16:56:35 +02:00
Léa Saviot
5984b24107
[apps] Remove obsolete StringLayout.
...
Change-Id: Ib8ef9f6b89ead2674b3bc1f19131afdd73f0e823
2018-04-11 16:53:38 +02:00
Émilie Feral
b566676a76
[apps] Memoize matrix layout displayed in Variable box in global context
2018-04-11 11:53:52 +02:00
Léa Saviot
2a251626a6
[apps] When leaving USB mode, go to the last active app.
...
Change-Id: I4c6276525f119cdc9e45bac24629c6ec4ea7b0fe
2018-04-11 11:01:08 +02:00
Léa Saviot
cbaba85daa
[apps] Fix missing arguments in layout creation.
...
Change-Id: If819c6f8d067b80d5672774ca303b68e21cf0d7a
2018-04-11 10:41:28 +02:00
Léa Saviot
2146dd6422
[apps] Fix wrong method call
...
Change-Id: I2695d7c659f18edb1839cdf7c8282cc69862a4e5
2018-04-11 10:40:06 +02:00
Léa Saviot
6d3c67e9db
[apps] Merge apps/sequence/graph/term_sum_controller.cpp
...
Change-Id: I9cbcbb73f4f475590762e29ab98999bd42906e74
2018-04-11 10:21:25 +02:00
Léa Saviot
6ae9361b6e
[apps/code] Fix all scripts deletion.
...
Change-Id: I802673f3d6a8ec6643e11c221bb6dbd5c8ab2ef2
2018-04-11 10:04:18 +02:00
Léa Saviot
28b9e8c301
[apps] If USB connection stops onBoardingApp, relaunch it when leaving USB.
...
Change-Id: I16274134699ff708bf61d64471f6a0ed870ec2ee
2018-04-11 09:54:44 +02:00
Romain Goyet
382537ccfe
Merge branch 'github-master'
2018-04-10 18:28:15 +02:00
Léa Saviot
7991c5376f
[apps] Fix typos
...
Change-Id: I650d0d98daab5959e9efab79b78905533316b85d
2018-04-10 18:14:55 +02:00
Léa Saviot
1c6e8119b3
[apps] Remove use of StringLayout
...
Change-Id: I4b8cac2fa778ebddb3e2b1f3f0f75182deb45a61
2018-04-10 18:03:19 +02:00
Émilie Feral
92d2c42ff8
[apps] Code: allocate the indentation buffer instead of using an
...
arbitrary value
2018-04-10 17:39:34 +02:00