Arthur
d77e924014
[Apps/Calculation] Modified the calculationStore of additional results
...
-Additional results are now stored in smaller calculationStores
Change-Id: I7d09bfb09e57cbb80e9385668adeb29a31398bc0
2020-11-04 14:45:34 +01:00
Arthur
d7a0914d13
[Apps/CalculationStore] Changed the way to store calculations
...
-No more limit to the number of calculations
-All calculations are memoized
-Added tests to test/calculation_store.cpp
Change-Id: Ia10e2b009576eaf4496ba44a0c88f6e7e76f6cef
2020-11-04 14:45:34 +01:00
Émilie Feral
e0dcdcea28
[build] Add a target flasher.verbose.flash
2020-10-27 08:50:05 +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
Gabriel Ozouf
c71b2dee99
[curve_view] Factor bounding box code for joinDots
...
Change-Id: Iae974aa2bee12e6c56bad84fd3b45093fb2a856f
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
26fdfcd25c
[curve_view] Fixed variable names
...
Change-Id: I8aad13c6bce719ba8f3a30cd86f06f7c89ec041e
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
fe8e490ac0
[curve_view] Filter unwanted vertical asymptotes
...
Change-Id: Ia603a2fb1553b6dfc038d2a28472ce48e41936db
2020-10-23 08:56:56 +02:00
Gabriel Ozouf
106916e7bf
[curve_view] Add double evaluation
...
Add the possibility to use a double-typed evaluator when tracing a
curve, useful when errors caused by float approximation mess with the
drawing.
Change-Id: I3ab410deec4823149239b0a26b1885fd2a493226
2020-10-23 08:56:56 +02:00
Émilie Feral
c91c2a6e3f
[app/shared] CurveView: Avoid dashSize overflow in
...
drawHorizontalOrVerticalSegment
2020-10-12 09:48:55 +02:00
Émilie Feral
8e025b0823
[apps/shared] CurveView: avoid overflowing KDCoordinate
...
This fixes the following bug: add the sequence, u(n)=2^n. On the graph,
go to "sum of terms" and try to sum terms from 0 to 18 by moving the
cursor. It hangs.
2020-10-12 09:48:55 +02: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
Émilie Feral
2236dcdbed
[ion] Fix: unhighlight the key on mouse up event (when you clicked on the key
...
on a smartphone, you want the key to be deselected)
2020-09-30 17:30:34 +02:00
Émilie Feral
af544a95d1
[ion] Windows: IonSimulatorLoadImage can now load any resource. Enable
...
to use key layouts jpg files in C/C++ code.
2020-09-30 17:30:34 +02:00
Émilie Feral
22250b4234
[ion] linux: enable to use key layouts jpg files in C/C++ code
2020-09-30 17:30:34 +02:00
Émilie Feral
a27122802d
[ion] Macos Makefile: add depencies on keys layouts jpg images
2020-09-30 17:30:34 +02:00
Émilie Feral
ad1ef783ce
[ion][escher] Revert previous commit: move inliner back to escher
2020-09-30 17:30:34 +02:00
Émilie Feral
4ae39f56fd
[ion] Simulator: Layout uses jpg images instead of image built by the
...
inliner
2020-09-30 17:30:34 +02:00
Émilie Feral
652d2e6bac
TODOs
2020-09-30 17:30:34 +02:00
Émilie Feral
50031c4836
[ion] Unhighlight the key on mouse up event (when you clicked on the key
...
on a smartphone, you want the key to be deselected)
2020-09-30 17:30:34 +02:00
Émilie Feral
ef363c57ac
[ion] Reset the highlighted key once it has been drawn
2020-09-30 17:30:34 +02:00
Émilie Feral
ded2174578
[ion] simulator/shared: fix macro EPSILON_SDL_SCREEN_ONLY
2020-09-30 17:30:34 +02:00