Émilie Feral
b8b3829ea4
[ion] Web: enable to set environment variable
2020-03-27 09:32:31 -04:00
Romain Goyet
51b3a007e5
[ion/simulator/web] Remove old comment
2020-03-26 09:31:58 +01:00
Romain Goyet
8bd01b600b
[ion/simulator/web] Properly handle touch events
2020-03-26 09:31:58 +01:00
Romain Goyet
5e9543e3b7
Remove whitespace
2020-03-25 13:44:10 +01:00
Romain Goyet
2cdb5d38bf
[build/android] Ignore the linter on release builds
2020-03-25 13:44:10 +01:00
Romain Goyet
b36de49b48
[simulator/android] Sign iff signing environment is provided
2020-03-25 13:44:10 +01:00
Romain Goyet
fca1dde44d
[simulator/android] Use target-agnostic rules
2020-03-25 13:44:10 +01:00
Romain Goyet
625afcfd42
[build/android] Unify the behavior with iOS and macOS
2020-03-25 13:44:10 +01:00
Émilie Feral
c0f73e97d2
[ion] Android Makefile: simplify rule_for_gradle
2020-03-24 10:26:59 -04:00
Émilie Feral
43bf89c6e4
[ion] Android build: specify libepsilon libraries' name when building
...
the apk
2020-03-24 10:26:59 -04:00
Romain Goyet
62324b9cac
[build/emscripten] Don't use memory init files anymore
...
Those provide a really small size gain and are painful to deploy
2020-03-24 15:02:10 +01:00
Romain Goyet
eadfe4aa56
[ion/simulator/web] Name the target "epsilon.zip" to match other targets
...
This way it's consistent with epsilon.ipa on TARGET=ios and epsilon.apk
on TARGET=android
2020-03-24 15:02:10 +01:00
Romain Goyet
edbd879b4b
[ion] Modularize the HTML simulator
2020-03-24 15:02:10 +01:00
Léa Saviot
05d24e0c61
[ion/android] Longer comment on Home button hiding fix
2020-03-24 10:10:02 +01:00
Léa Saviot
f31de20039
[ion/android] Hide the status bar and navigation buttons
...
This is a hack, we should find why this was broken after v12.
2020-03-24 10:10:02 +01:00
Émilie Feral
1809037273
[ion] Fix epsilon.official.ipa dependencies
2020-03-19 13:36:10 +01:00
Romain Goyet
81cd18ad67
[build] Signing android apps is easier
...
Signing parameters can be passed on the command line, e.g. "ANDROID_SIGNING_STORE_FILE=foobar", or they can be written to a ~/.gradle/gradle.properties file using the "EPSILON_SIGNING_STORE_FILE=foobar" syntax.
2020-03-18 17:30:20 +01:00
Léa Saviot
90f2e5beed
[ion/sdl] Do not process more than one buffered event
...
Scenario:
Make an infinite loop script (while 1 : 1+1) and run it. Input 1234567
then press Back to interrupt the infinite loop -> the script execution
stops, then 1234567 is input in the input line, which is quite weird. It
is even weirder when the key pressed during the [script execution / a
long computation] result in navigation inside the calculator apps.
2020-03-11 15:36:52 +01:00
Léa Saviot
9ab3558cfe
[ion/events_keyboard] Remove unused cases
2020-03-11 15:36:52 +01:00
Léa Saviot
1242258992
[ion] Handle key events in all simulators as in EPSILON_SDL_SCREEN_ONLY
...
This way, physical keyboard events can be caught by python on all
simulators
2020-03-11 15:36:52 +01:00
Léa Saviot
4a4ba52e38
[ion/events] Better handling of Shift on the web target
2020-03-11 15:36:52 +01:00
Léa Saviot
18f3054b50
[ion/simulator/web] Do not duplicate events in scan and getPlatformEvent
...
Some events were caught by bith scan() and getPlatformEvent()
2020-03-11 15:36:52 +01:00
Léa Saviot
a7d419c4bd
[ion/emscripten] Get physical keyboard events in scan()
2020-03-11 15:36:52 +01:00
Neven Sajko
f74ed8ecd7
[ion] Fix error check in the USB stack
...
The return type of the function receiveSomeData needs to be wider so the
-1 error value could fit.
Fixes #1335
2020-02-26 11:09:43 +01:00
Émilie Feral
c8cbd9475d
[ion] android Makefile: declare targets as PHONY
2020-02-25 17:37:29 -05:00
Émilie Feral
a92ee368c5
[ion] ios Makefile: fix code-signing with new certificates
2020-02-25 17:37:29 -05:00
Émilie Feral
a7c26ce3a8
[ion] ios Makefile: fix codesigning
2020-02-25 17:37:29 -05:00
Émilie Feral
558e2734f0
[ion] Android Makefile: fix rule for libepsilon
2020-02-25 17:37:29 -05:00
Émilie Feral
92a3e07643
[ion] Enable to build official and unofficial softwares for ios and
...
macos platform
2020-02-25 17:37:29 -05:00
Émilie Feral
4aace23362
[ion] Makefile of android: enable to build epsilon.apk and
...
epsilon.official.apk
2020-02-25 17:37:29 -05:00
Émilie Feral
be0b2787b4
[ion] Web Makefile: simulator.html expects a epsilon.js file and not a
...
epsilon.official.js file
2020-02-25 17:37:29 -05:00
Émilie Feral
1e81a944e3
[build] Web: enable to build target simulator.official.zip and
...
epsilon.official.js
2020-02-25 17:37:29 -05:00
Léa Saviot
c377491c7f
[ion/simulator.html] Fix digits clickable area position
...
When resizing the window, the clickable zone would drift from the
buttons.
2020-02-25 15:16:53 +01:00
Léa Saviot
238eeb8106
[ion/web] Fix keyboard buttons positions
2020-02-25 15:16:53 +01:00
Léa Saviot
526a9e550c
[ion/simulator/web] The buttons should appear in the browser window
...
When the window height is very small, there are still some problems with
the buttons, that are half out of the window
2020-02-25 15:16:53 +01:00
Léa Saviot
754110d5c6
[ion/simulator/web] Change background
2020-02-25 15:16:53 +01:00
Léa Saviot
18d6ad34bc
Revert "[ion/sdl/web] Fix the HTML page actions"
...
This reverts commit 5796a0d930 .
2020-02-25 15:16:53 +01:00
Romain Goyet
553eaaeac0
[ion] Fix telemetry on iOS and Android
2020-02-17 10:31:24 -05: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
Léa Saviot
b8f65442db
[ion/simulator] Keyboard shift + left/right/up/down now works
2020-02-12 15:13:25 +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
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
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
244c7b31eb
[ion/web] Fix screenshots
2020-02-12 15:13:23 +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
Émilie Feral
a1b2cbb0a9
[ion] Unicode: clean warning
2020-02-12 15:13:19 +01:00
Émilie Feral
b33a778ccb
[ion] N0110 linker script: fix symbol name of section
...
internal_to_external
2020-02-12 15:13:18 +01:00
Léa Saviot
c03c9086b8
[ion/utf8_helper] Add FIXME comment
2020-02-12 15:13:18 +01:00