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
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
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
Léa Saviot
c4b5d4cf40
Merge branch 'SaisieJolieRebase1201' into SaisieJolieMerge10Apr
...
Change-Id: I802dbb9f7c0eebf75a1b6cd21ddd194e89b53752
2018-04-10 17:21:54 +02:00
Romain Goyet
628992680b
[ion] Ion::Storage is not a global variable anymore
2018-04-10 15:09:30 +02:00
Romain Goyet
5b379010d8
[apps] Don't make the apps_container_storage a global variable
2018-04-10 15:09:30 +02:00
Léa Saviot
f0532b7f97
[apps] Dismiss the Exam mode before connecting the calculator.
...
Change-Id: If9754841aaa17c677a451387c8c7ec43926890da
2018-04-10 11:30:15 +02:00
Romain Goyet
b691d3d6ed
Merge branch 'usb'
2018-04-09 14:48:18 +02:00
Léa Saviot
3e66d51a6e
[apps/sequence] Reset first rank when changing sequence type to Explicit
...
Change-Id: I3f356ebf95f1f81ab4601f0654166f146a505c27
2018-04-09 14:44:20 +02:00
Émilie Feral
31f79c702a
[apps] Code: when updating a script name, handle the event 'clear' to
...
keep '.py'
2018-04-09 14:42:45 +02:00
Émilie Feral
b714d9242e
[apps] Code: when in input loop, handle 'up' event
2018-04-09 14:42:26 +02:00
Léa Saviot
bc9a7ec3f7
[apps/on_boarding] Fix Deutsh message for update.
...
Change-Id: Iced13c5d02ade43db62725a0a4911d2225b0c343
2018-04-06 14:31:49 +02:00
Léa Saviot
898d82532b
[apps/usb] Translate "Calculator connected" message.
...
Change-Id: I225c262ab1af41becb47e29cde0e0a8b4ed97298
2018-04-06 14:31:49 +02:00
Léa Saviot
93744b9844
[apps/on_boarding] Fix typo in spanish update message.
...
Change-Id: I1389651a6872d0f85523bce82a31b762e642199a
2018-04-06 14:31:49 +02:00
Léa Saviot
50cc2a310b
[apps] MessageView for OnBoarding update and USBConnected controllers
...
Change-Id: I3a775a81a62c408c9d02d98be25518d03fe5f9bf
2018-04-06 14:31:49 +02:00
Léa Saviot
3059f27c00
[apps/code] Remove un-necessary dependency.
...
Change-Id: I65a7b81b44aa1be6ff064e8fde0af23760fb5d7d
2018-04-06 14:31:49 +02:00
Léa Saviot
55d56b3927
[usb] Send real serial number in the device descriptor.
...
Change-Id: Ie64f2a0fb03913600c96986dab8171afaa6bf05b
2018-04-06 14:31:49 +02:00
Léa Saviot
0441fa5119
[usb] Fix rad/deg that did not appear when plugging USB while onboarding
...
Refresh the apps container preferrences before on-boarding app: this
way, if the calculator is plugged during the onboarding, the
"deg/rad" symbol will still appear after the calculator in unplugged.
Change-Id: Iafa6a94ba725285712e86ab37c8dde54b46d3706
2018-04-06 14:31:49 +02:00
Léa Saviot
ee3f947757
[usb] Enable/disable USB when the cable is plugged/un-plugged.
...
Change-Id: I8aecf43b73ba5bb5c20e38ee2251b24ecb16f366
2018-04-06 14:31:48 +02:00
Léa Saviot
29df2e0acd
[apps] Remove USBTimer.
...
Change-Id: Ibe2f49149ce144f9fd5476d0cc69a97406171ef1
2018-04-06 14:31:48 +02:00
Léa Saviot
de25105f4a
[usb] Handle the usb Plugged detection in getEvent.
...
Change-Id: Idfba5925a7c79c722b0aad3a1c24799b31d88298
2018-04-06 14:31:48 +02:00