Quentin Guidée
7996610451
[Update] Epsilon master
2020-07-02 19:07:29 +02:00
Romain Goyet
585bf65294
[ion/simulator] Relayout on any windows event
...
We might be relayouting a bit too often, but better safe than sorry!
Jokes aside, most SDL_WINDOWEVENT should trigger a relayout, and in
general those events aren't triggered on a regular basis anyway.
2020-07-02 14:41:49 +02:00
Romain Goyet
85a10ab084
[ion/simulator] Ion::Simulator::Main::relayout() should not draw
...
That function is supposed to recompute the layout, not perform any
drawing. Namely, presenting the render without a potential previous call
to SDL_RenderClear could lead to some visual glitches.
2020-07-02 14:41:49 +02:00
Romain Goyet
3d24b3c054
[simulator] Make the calculator's screen pixel-perfect
2020-07-02 14:40:36 +02:00
M4x1m3
154152440b
Changed simulator background
2020-07-02 10:57:59 +02:00
M4x1m3
10a11dddeb
Fixed 3DS build, added 3DS CI
2020-07-01 11:45:26 +02:00
Quentin
50a0fce958
[Feature] Add Omega and Mu symbols, closes #301
2020-06-26 10:37:01 +02:00
M4x1m3
f04c645fee
[simu/web] Changed to emsdk upstream-latest. Now using WASM.
2020-06-20 19:05:22 +02:00
Evann DREUMONT
2dff5c511e
[Feature] Add \ and @
2020-06-18 22:28:55 +02:00
Quentin
db10723e76
[Update] Upstream
2020-06-18 19:25:17 +02:00
Émilie Feral
4cd0d20585
[ion] Fix comment
2020-05-18 14:39:46 +02:00
Émilie Feral
0f61b2ccf3
[ion] Add comment on default collectRegisters implementation
2020-05-18 14:39:46 +02:00
Émilie Feral
3f6647f3ae
[ion][python] Implement an architecture-dependant collect_registers.
...
setjmp is not guaranteed to collect all registers without modification
on all platforms.
This fixes the following bug: when the pointer of a newly allocated
object on the Python heap is stored in rpb registers on x86_64 arch, it
was not collected by the garbarge collector.
2020-05-18 14:39:46 +02:00
Léa Saviot
efe5b4d6f8
[ion/storage] Private constructor and cleaner sharedStorage()
2020-05-07 06:22:42 -07:00
M4x1m3
4434b528f6
[ion/3ds] LED driver
2020-04-26 12:50:48 +02:00
M4x1m3
b169c3dc2d
[ion/3ds] Cleaning, added support for battery and USB. Now can quit exam mode.
2020-04-21 22:08:13 +02:00
M4x1m3
1919933f8d
[ion/3ds] Cleaning, non-debug keyboard, can exit now.
2020-04-21 22:08:10 +02:00
M4x1m3
18ad90e2d3
[ion/3ds] Added smdh data to the 3dsx
2020-04-21 22:08:04 +02:00
M4x1m3
e8740edb04
[ion/3ds] Modified the build system to work with epsilon master
2020-04-19 15:29:21 +02:00
M4x1m3
b49af643ef
[ion/3ds] Added keyboard support.
2020-04-19 15:23:26 +02:00
M4x1m3
0deb74b47b
[ion/3ds] Added button support.
2020-04-19 15:23:16 +02:00
M4x1m3
3f976d3873
[ion/3ds] Got something on screen!
2020-04-19 15:23:10 +02:00
M4x1m3
2f01603c4d
[ion/3ds] Got it to build.
2020-04-19 15:23:04 +02:00
Quentin
13874cd2e0
Merge branch 'omega-hotfix' into omega-dev
2020-04-16 14:24:47 +02:00
Quentin
3013dda9d6
[Fix] Conflicts
2020-04-16 14:12:38 +02:00
Quentin
f37040dc8a
[Fix] Conflicts
2020-04-16 14:04:56 +02:00
Émilie Feral
dcfabf754d
[ion] Init random seed with time in simulator main
2020-04-15 09:11:52 -04:00
Émilie Feral
870dd868e9
[ion] Tidy files:
...
- move from shared to simulator/shared
- delete files used only be deprecated blackbox
2020-04-15 09:11:52 -04:00
Romain Goyet
84768472bd
Explicit std::min/max template usage
...
This is unfortunately required in several cases:
- Sometimes when we use either float and double (this should be changed)
- Because KDCoordinate is not an int, so any arithmemtic promotes it to
an int
- Because we mix pointer differences and ints
2020-04-14 09:31:02 -04:00
Romain Goyet
950862f8d0
Use std::min and std::max
2020-04-14 09:31:02 -04:00
Léa Saviot
2ed354710f
[build/simulator] NDEBUG flag in release mode
...
This way, asserts are not performed on simulator platforms
2020-04-10 00:49:15 -07:00
Joachim Le Fournis
4a9bfca1f6
[ion] Alpha-locked percent becomes backspace
2020-04-09 12:09:03 -04:00
Émilie Feral
068325d151
Coding style: remove unecessary 'virtual' keyword when 'override' is
...
present 2/2
2020-04-09 11:36:51 +02:00
Quentin
e383c3429f
[Fix] Conflicts
2020-04-08 15:05:17 +02:00
Quentin
26d68c8039
[Update] Upstream
2020-04-08 12:48:09 +02:00
Romain Goyet
743eb104bf
[ion] Replace Ion::Events::Event::id() by an explicit cast operator
2020-04-08 09:56:33 +02:00
Romain Goyet
35d446353f
[escher] Avoid long switches on Left/Up/Right/Down
2020-04-08 09:56:33 +02:00
Quentin
aea963dac0
[Fix] Fix conflicts ._.
2020-04-07 14:53:19 +02:00
Neven Sajko
bc7d598517
[ion] do not increment volatile variable in isr_systick
...
In 2019 a proposal was approved which is deprecating this and other
harmful usage of volatile in C++ in 2020. See web links at the end.
Note that this did not at all change the GCC-generated machine code.
Deprecating volatile (adopted in 2019 for C++20):
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1152r0.html
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1152r4.html
Related, but less relevant:
volatile_load<T> and volatile_store<T>:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1382r1.pdf
Deprecating volatile: library:
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1831r0.html
2020-04-06 17:18:03 +02:00
Neven Sajko
1c9b402645
[ion] Remove volatile qualifier from millis return type
...
Qualification of an integer return type as volatile is ignored by the
compiler. To clarify, an integer value (not a variable), which is what
the return type is, can not be assigned to anyway, so qualification as
volatile does not make sense.
2020-04-06 17:18:03 +02:00
Romain Goyet
1b2bbd163b
[ion/device] Rename a file
2020-04-03 22:26:55 -04:00
Romain Goyet
f7911bae72
[build] Remove DEFAULT
...
It was redundant with HANDY_TARGETS and HANDY_TARGETS_EXTENSIONS
2020-04-03 22:26:55 -04:00
Romain Goyet
99b916e179
[build] Share multi-app code
2020-04-03 22:26:55 -04:00
Romain Goyet
f9b0843578
[build/simulator/apple] Share code
2020-04-03 22:26:55 -04:00
Romain Goyet
fff20eb530
[ion/simulator/apple] Rename Make helper
2020-04-03 22:26:55 -04:00
Romain Goyet
d4149b1a3d
[build] Move %_run targets in the build dir
2020-04-03 22:26:55 -04:00
Romain Goyet
3f2b14ac3e
[build] Misc cleanups
2020-04-03 22:26:55 -04:00
Romain Goyet
ba57dbde61
[build] macOS and iOS can now build any binary
2020-04-03 22:26:55 -04:00
Romain Goyet
ada205b1a7
[build] Use variants
...
- Move helpers functions into build/helpers.mak
- Move official warning into official targets only
2020-04-03 22:26:55 -04:00
Quentin
0beec8f506
Merge branch 'omega-hotfix' into omega-dev
2020-03-27 21:17:09 +01:00