Léa Saviot
ad80c2c4d7
[ion/keyboard] Do not define constexpr arrays in headers
...
They are duplicated in each compilation unit where they are called
2020-11-04 15:33:05 +01:00
Hugo Saint-Vignes
d224778330
[ion/simulator] Temporarly increase stack size on simulator
...
Change-Id: I0f27277ea704f81e316c7ff78fb7bed8c70ff4ae
2020-11-04 15:33:03 +01:00
Gabriel Ozouf
ab864d10d8
[ion/events] Compare event for repetition
...
This fixes the following bug :
(Anywhere with a movable cursor, like a table, a text field or a curve)
- press Alpha (once, or twice to activate the lock)
- keep pressing a direction
--> The cursor would only move once.
Change-Id: I46115d1a31ced244615bfdfe08f37dfe7e918d6e
2020-11-04 15:33:03 +01:00
Émilie Feral
7168188a44
[ion] Simulator apple: fix rule_label for assets
2020-11-04 15:33:03 +01:00
Gabriel Ozouf
4d0950fa1e
[ion/simulator] Handle typing % on simulator
...
Change-Id: Ib47786659e710e473f75d1c6887a9794fad0a75f
2020-11-04 15:33:01 +01:00
Gabriel Ozouf
28d18dd6a5
[ion/utf8_helper] Signedness and capitalization
...
Change-Id: I3451a206fbd45a490eea0115621c07abb868344a
2020-11-04 15:33:00 +01:00
Gabriel Ozouf
67e6e38825
[poincare/parsing] Parse degree sign ° in units
...
Change-Id: I518aba17214b049dfa8fd3b89f4ce124dbd6b41a
2020-11-04 15:33:00 +01:00
Arthur Camouseigt
8f97a332f6
[Python] Modified the paste effect in script and shell area
...
When a formula is pasted in a script or in the shell, some symbols are
replaced by their equivalent in python :
x turns into *
^ turns into **
√ turns into sqrt
etc
Change-Id: If6f2a22d4f3c148c2655e0892023b0e28058a9a6
2020-11-04 15:32:59 +01:00
Hugo Saint-Vignes
b92c819ea2
[escher/src/text_area] Add char limit in text_area line
...
Change-Id: I9284936f0202d788edc785aa3f7c82b45ab34cf5
2020-11-04 15:32:59 +01:00
Hugo Saint-Vignes
688394abce
[ion] Set stack pointer when testing as well
...
Change-Id: Ibeae7961535208c224f9ac51f4cf33e3978665b3
2020-11-04 15:32:58 +01:00
Hugo Saint-Vignes
70a628f2c8
[apps] Fix Python assert crash on malloc free
...
Change-Id: I48f86422f7d6af5227e2556e6ef531dfad696da4
2020-11-04 15:30:53 +01:00
Hugo Saint-Vignes
d937bc692b
[apps/code] Fix crashes on full buffer
...
Change-Id: If9297f1ca29015cad0cc1cdda3ad610fd1493392
2020-11-04 15:11:45 +01:00
Hugo Saint-Vignes
53e204db3a
[liba] Add abs function for int
...
Change-Id: Ic133ff2f34c7ff24ecbec69d5f31e447a72ae4fe
2020-11-04 15:11:43 +01:00
Hugo Saint-Vignes
433639c471
[ion] Implement dynamic scroll speed profile
...
Change-Id: Ib3ec2ef63d19bfb88b627f06bcc185fa1b232223
2020-11-04 15:07:19 +01:00
Hugo Saint-Vignes
af32f33141
[ion] Remove unused function and rename longRepetitionScrollSpeed
...
Change-Id: I11268eb34060c74eb8770ba0eb999f84737c76d8
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
b60c67ff88
[apps] Factorize scrolling speed for long repetition
...
Change-Id: I5fcfaf04e418942664641c4b1cd044cda7f5aebb
2020-11-04 14:45:34 +01:00
Hugo Saint-Vignes
1879eb36d8
[ion/test] Typo Fix
...
Change-Id: I49d041dea6333a7f7f1a179e2ffcff2391dbaa28
2020-11-04 14:45:34 +01:00
Gabriel Ozouf
e8505d79e7
[ion/device/exam_mode] Fixed missing parentheses in assertion
...
Change-Id: If10b6ea98ed224d79cfa50f38f9e229331d0f9f9
2020-11-04 14:45:34 +01:00
Gabriel Ozouf
0454b65a94
[ion/device/usb] Fixed missing static member definitions
...
Change-Id: Iedf6ce51d3213f9265fec247c7bdfda4e3304d3a
2020-11-04 14:45:34 +01:00
Émilie Feral
1f81c97371
[ion] USB::DFU takes an argument specifying if the DFU mode should be
...
leavable from keyboard
2020-10-27 08:50:05 +01:00
Émilie Feral
2d71e98b52
[ion] n0100 Console: fix pin alternate function
2020-10-27 08:45:41 +01:00
Émilie Feral
17fd1aea29
[ion] Haptics implementation are on all simulators but
...
Ion::Haptics::isEnabled is per platform.
2020-09-30 17:30:34 +02:00
Émilie Feral
0c0510599d
[ion] Simulator: haptics feedback are only implemented on Android and
...
depends on the System settings
2020-09-30 17:30:34 +02:00
Émilie Feral
9786db308a
[ion] Haptics events don't depend on SCREEN_ONLY
2020-09-30 17:30:34 +02:00
Émilie Feral
979c227d54
[ion] web: improve key highlight positions
2020-09-30 17:30:34 +02:00
Émilie Feral
595532e0a5
[ion] Remove useless variables
2020-09-30 17:30:34 +02:00
Émilie Feral
42cedf5b10
[ion] Windows: improve resgen.py script
2020-09-30 17:30:34 +02:00
Émilie Feral
f4b9635fee
[ion] Change variable name
2020-09-30 17:30:34 +02:00
Émilie Feral
560c4b3821
[ion] Linux: improve incbin.py script
2020-09-30 17:30:34 +02:00
Émilie Feral
5da82d8423
[ion] Add comment
2020-09-30 17:30:34 +02:00
Émilie Feral
33425e04c0
[ion] Coding style
2020-09-30 17:30:34 +02:00
Émilie Feral
7535abc298
[ion] Change name of variable in Makefile
2020-09-30 17:30:34 +02:00
Émilie Feral
308b321ead
[ion] Clean windows flag
2020-09-30 17:30:34 +02:00
Émilie Feral
8976ebfc41
[ion] Makefile linux: simplify build system by generating a header
2020-09-30 17:30:34 +02:00
Émilie Feral
4620aa8aa8
[ion] Remove useless comment
2020-09-30 17:30:34 +02:00
Émilie Feral
c96efa76b9
[ion] Windows Makefile: build .rc from the list of assets
2020-09-30 17:30:34 +02:00
Émilie Feral
40392fff9c
[ion] Simulator: assets declaration is common to all targets
2020-09-30 17:30:34 +02:00
Émilie Feral
815a06adad
[ion] Avoid unhighlighting key when the mouse is still on it.
...
Distinguish with smartphones behaviour.
2020-09-30 17:30:34 +02:00
Émilie Feral
22b585057d
[ion] Simulator: key layouts assets are PNG instead of JPG V (fix windows)
2020-09-30 17:30:34 +02:00
Émilie Feral
165b129385
[ion] Simulator: key layouts assets are PNG instead of JPG IV (fix linux)
2020-09-30 17:30:34 +02:00
Émilie Feral
1946c68ef8
[ion] Simulator: key layouts assets are PNG instead of JPG III (fix ios)
2020-09-30 17:30:34 +02:00
Émilie Feral
d2632bff4f
[ion] Simulator: key layouts assets are PNG instead of JPG II (fix
...
android)
2020-09-30 17:30:34 +02:00
Émilie Feral
d4b7b6baf0
[ion] Simulator: key layouts assets are PNG instead of JPG I (fix macos)
2020-09-30 17:30:34 +02:00
Émilie Feral
11236c67cb
[ion] Improve key positions
2020-09-30 17:30:34 +02:00
Émilie Feral
0b114abb95
[ion] Simulator windows: fix pixel format typo
2020-09-30 17:30:34 +02:00
Émilie Feral
8000ff733e
[ion] Simulator: improve key center positions
2020-09-30 17:30:34 +02:00
Émilie Feral
8b5caeb394
[ion] IonSimulatorLoadImage returns a Texture (otherwise the pixels data
...
which needs to be deleted when freeing the surface is hard to retrieve)
2020-09-30 17:30:34 +02:00
Émilie Feral
02b648e36d
[ion] IonSimulatorLoadImage returns a surface instead of a texture: this
...
way we can set a transparent color key before turning it into a texture.
2020-09-30 17:30:34 +02:00
Émilie Feral
674703f4dc
[ion] Missing include
2020-09-30 17:30:34 +02:00
Émilie Feral
64bcbd708a
[ion] Linux: fix images: get the asset addresses instead of consecutive
...
table addresses
2020-09-30 17:30:34 +02:00