Commit Graph

305 Commits

Author SHA1 Message Date
Quentin Guidée
5b2f33c80a Fix conflicts 2020-02-17 17:10:32 +01:00
Romain Goyet
670490e642 [ion] Add a telemetry API 2020-02-17 10:31:24 -05:00
Romain Goyet
aa0dbee303 [ion] Console::writeLine can ommit trailing CR/LF 2020-02-17 10:31:24 -05:00
Quentin
ef86c17834 Merge pull request #228 from RedGl0w/patch-7
Patch #226
2020-02-16 11:50:49 +01:00
Quentin Guidée
31cdd5bcc8 Fixed some conflicts 2020-02-12 18:24:13 +01:00
Quentin Guidée
ab8f731515 Fixed some conflicts 2020-02-12 17:42:58 +01:00
Émilie Feral
0c55ea4531 [ion] unicode: UTF8Helper::CopyAndRemoveCodePoints returns a boolean
which is true if the whole source was copied
2020-02-12 15:13:24 +01:00
Léa Saviot
ae3fa46191 [escher/text_field] Fix handling of \n
The buffer length did not take into account the \n removal. In fact, we
could just remove the \n while also removing the empty code points,
which is what we do now.
2020-02-12 15:13:24 +01:00
Ruben Dashyan
844a28db7b [poincare/parsing/tokenizer] Token::Identifiers may contain Greek letters except pi 2020-02-12 15:13:23 +01:00
Léa Saviot
b29d014695 [escher/text_field] Fix removing of \n in insertTextAtLocation
Scenario: Copy a text with \n (for instance from a script), then paste
it in a script name -> if \n are replaed with \0 instead of just being
removed, there are problems with the extension
2020-02-12 15:13:23 +01:00
Ruben Dashyan
179ce5d5d5 [ion/unicode/codepoint] Rename is[(Lower|Upper)Case]Letter to isLatin[(Small|Capital)]Letter
to conform with unicode terminology
2020-02-12 15:13:23 +01:00
Ruben Dashyan
575b911da9 [ion/unicode] Split isDigit into isDecimalDigit, isBinaryDigit, isHexadecimalDigit 2020-02-12 15:13:23 +01:00
Ruben Dashyan
9b0b4e3096 [ion/unicode] Define and use CodePoint const methods
isLowerCaseLetter
isUpperCaseLetter
isLetter
isDigit

Remove similar ones from UTF8Helper and from Poincare::Tokenizer.
2020-02-12 15:13:23 +01:00
Léa Saviot
d70c4c7205 [ion] Typo 2020-02-12 15:13:22 +01:00
Léa Saviot
9d6bab092f [poincare/parser] Identifier is not already function -> symbol
We check the context: if an identifier is already a function, we
interpret it as such, otherwise it is a symbol.
This way, in the Equation app, x(x+1) is interpreted as x*(x+1)
2020-02-12 15:13:21 +01:00
Léa Saviot
8cf13adaf0 [apps/editor_controller] Handle deleted scripts in cleanStorageEmptySpace 2020-02-12 15:13:18 +01:00
Léa Saviot
30923ed4c6 [escher/text_area] Select up/down 2020-02-12 15:13:17 +01:00
Léa Saviot
0209c6d2d4 [ion/storage] Increase size to 32K 2020-02-12 15:13:16 +01:00
Léa Saviot
5853e96947 [apps/code] Remove EditorController::m_areaBuffer
This was a very large buffer that took a lot of RAM space (the size of
the storage). Instead of having it, we just move the available space of
the storage at the end of the edited script, and move it back when the
edition finishes.
This is slower but saves a lot of space.
2020-02-12 15:13:16 +01:00
Léa Saviot
b9bc9008ac [ion] Detect long repeated events
This will be use for instance to sroll faster if the user presses the
directional keys for a long time
2020-02-12 15:13:15 +01:00
Léa Saviot
973c2149d4 [ion/battery] Battery level has some hysteresis
This prevents a blinking battery pictogra wwhen the battery level is at
the limit between two states.
2020-02-12 15:13:15 +01:00
Ruben Dashyan
c3cf5c1ef4 Rename UCodePointUnknownX to UCodePointUnknown 2020-02-12 15:13:15 +01:00
redgl0w
751610d0ef Merge branch 'omega-dev' into patch-7 2020-02-09 10:07:15 +01:00
redgl0w
80b247b773 Update layout_events.h 2020-02-09 09:09:14 +01:00
redgl0w
5dece161cc Update layout_events.h 2020-02-09 09:08:20 +01:00
Quentin
12ed3d0a30 Merge pull request #222 from RedGl0w/patch-5
Fixed #205
2020-02-02 19:28:59 +01:00
redgl0w
75f7b9a875 Update layout_events.h 2020-02-02 10:23:29 +01:00
redgl0w
207a069562 Update layout_events.h 2020-02-02 10:22:39 +01:00
M4x1m3
335f870a23 Shift+Up and Shift+Down in python editor (closes #177) 2020-01-23 22:17:04 +01:00
Quentin Guidée
596ad276a3 Fix keyboard issue with shift + 2019-12-30 22:02:01 +01:00
M4x1m3
e1d907f7c2 [ion/keyboard] Fixed layout. Added shift + ( 2019-12-27 20:17:38 +01:00
Quentin Guidée
b7fe5b51c8 Fixed alpha + % 2019-12-25 19:24:33 +01:00
Quentin Guidée
85c98cefe5 Fix conflicts 2019-12-24 17:33:32 +01:00
redgl0w
9a813b8dfb Update events.h 2019-12-24 09:23:28 +01:00
redgl0w
3924121008 Update layout_events.h 2019-12-24 09:22:57 +01:00
redgl0w
3e91ba0f80 Update layout_events.h 2019-12-24 09:22:27 +01:00
Quentin Guidée
a159d80b1c Resolved conflicts 2019-12-24 01:07:22 +01:00
Émilie Feral
f4de842a86 [ion] Change exam mode to have 3 states (off, standard, Dutch) 2019-12-19 15:52:45 +01:00
Damien Nicolet
8583ddafca External application, API v2 2019-12-19 00:31:23 +01:00
Damien Nicolet
472929c028 External API for KhiCAS 2019-12-13 01:02:14 +01:00
Damien Nicolet
f763563834 Memory optimisation 2019-12-13 01:02:14 +01:00
Quentin Guidée
17432be1d8 Fixed conflicts 2019-12-11 14:27:31 +01:00
Léa Saviot
ebc5843795 [apps/ion/exam_mode] Store the exam mode activation in the flash
This way, it is not cleared by a reset
2019-12-11 13:51:38 +01:00
RedGl0w
1442e6977d Simplified code 2019-12-08 18:18:28 +01:00
redgl0w
8d3e1c2154 Added and corrected https://github.com/Omega-Numworks/Omega/pull/80 2019-12-06 20:30:55 +01:00
redgl0w
5cd3fa92c3 Corrected last commit 2019-12-06 19:48:51 +01:00
redgl0w
26ce12f6d2 Applied and modified d50bd08444\#diff-4f54cda3940834a07cd7f83ea12ebd85 2019-12-06 19:34:36 +01:00
RedGl0w
fa9ec8e40e Added submenu in settings for changing the symbol of multiplication 2019-11-10 11:53:44 +01:00
Quentin
4ba14cd06a Remove Name row if not defined 2019-11-03 14:50:32 +01:00
Quentin
aacdce34ba Add your name in the settings 2019-11-02 19:29:06 +01:00