Commit Graph

1569 Commits

Author SHA1 Message Date
M4x1m3
58a33e8190 [ion] Fixed issue with backspace 2020-07-19 15:39:27 +02:00
M4x1m3
efd2896a34 [ion/kb] Reverted #370, found a better way to fix. 2020-07-17 10:09:07 +02:00
Quentin
8ee213a443 Merge pull request #375 from M4xi1m3/omega-dev-e14
Various improvements to the 3DS simu.
2020-07-14 17:09:49 +02:00
M4x1m3
5c23d6fb8e [ion/3ds] Changed background to new one 2020-07-14 17:03:02 +02:00
Quentin Guidée
360bb17a4f [Fix] Conflicts 2020-07-14 14:36:39 +02:00
Joachim LF
04901e3231 Fixed % in alpha lock 2020-07-13 10:38:22 +02:00
Joachim LF
d7ac7e19bb [Update] Epsilon 14 2020-07-13 10:36:47 +02:00
Léa Saviot
1fde815769 [ion/android] Do not setWindowStyle if SDL not initialized
When a library was broken, we would see an error due to the failed
setWindowStyle call, instead of getting the briken library error.
2020-07-09 20:24:16 -04:00
M4x1m3
d0f3ec887e [mpy/files] Added ion.file 2020-07-05 21:19:49 +02:00
Léa Saviot
1ef3f34a31 [ion/apple] App needs to be inside Payload folder to build .ipa
Otherwise the .ipa cannot be uploaded to the app store.
2020-07-03 14:21:56 +02:00
Quentin Guidée
7996610451 [Update] Epsilon master 2020-07-02 19:07:29 +02:00
Romain Goyet
5dfccd4a04 [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:42:59 +02:00
Romain Goyet
7a9954152a [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:42:59 +02:00
Romain Goyet
026fe120fe [simulator] Make the calculator's screen pixel-perfect 2020-07-02 14:42:59 +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
1ed97500d0 [ion] Increase stack in DEBUG=1 to avoid breaking the test due to stack
overflow
2020-06-12 14:12:35 +02:00
Léa Saviot
d53a16eb91 [ion/storage] Add TODO 2020-06-05 11:02:39 +02:00
Léa Saviot
eeb42f2544 [apps/code] autocompletionText uses the right text length
Before, there was no notion that the autocompleted text might not be a
null terminated string.
2020-06-04 14:50:03 +02:00
Léa Saviot
f883516716 [apps/code] Editor asks VariableBox for autocompletion 2020-06-04 14:50:03 +02:00
Léa Saviot
1e2492c5f4 [apps/code] Autocomplete only at the end of the word
For instance, if the cursor is: "he|llo" and the user adds the letter
'i', there is no autocompletion provided as the cursor is still in the
middle of a word.
2020-06-04 14:50:03 +02:00
Léa Saviot
f82079a40a [apps/code] Autocomplete only if char before cursor is not ' ' or '\n' 2020-06-04 14:50:03 +02:00
Léa Saviot
343d2328b8 [ion/utf8_helper] EndOfWord helper 2020-06-04 14:50:03 +02:00
Ruben Dashyan
bc0b21463e [quiz][ion/test] Move time measurements to quiz
to be able to do measurements in any test
2020-06-04 14:50:00 +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