Commit Graph

386 Commits

Author SHA1 Message Date
Laury
7c1dc4d5c3 [python] merge '6fcab395' and fix a bug in fill_polygon() 2021-08-30 19:40:30 +02:00
Laury
6fcab3952f [python] Add some useful functions in kandinsky 2021-07-08 22:34:43 +02:00
Maxime FRIESS
b795834c63 Merge branch 'omega-dev' into IonToolboxEpsilon 2021-03-15 21:23:35 +01:00
Joachim LF
b2e2f3c5a6 [Code] Added ion keys submenu 2021-03-15 20:10:54 +01:00
M4x1m3
134456267b Merge branch 'master' of https://github.com/Lauryy06/epsilon into Lauryy06-master 2021-03-15 19:50:10 +01:00
Maxime FRIESS
20d7094352 Merge branch 'omega-dev' into DrawStringFont 2021-03-15 19:31:16 +01:00
Laury
297fbd3c00 [python] Add a draw_line function in kandinsky 2021-03-11 19:47:22 +01:00
Joachim LF
8feb8e3ea2 [Python/kandinsky] Added font constant 2021-03-08 18:03:15 +01:00
Joachim LF
7b57f31fbf [Python/kandinsky] Added in draw_string choice of font 2021-03-08 17:56:49 +01:00
M4x1m3
6628b54218 [py] Fixed Illegal Instruction when building in debug 2021-02-15 14:56:41 +01:00
Joachim LF
9b17d1b882 [Update] Epsilon 15.3.1 2021-01-21 19:56:06 +01:00
Maxime FRIESS
f202a4f902 [mpy/files] Fixed append implementation (#434) 2020-12-10 21:30:54 +01:00
Joachim Le Fournis
36742789b0 [py] Support round on int 2020-11-30 14:01:12 +01:00
Quentin Guidée
1347b1a20c [upstream] Update 2020-11-27 13:23:07 +01:00
Joachim Le Fournis
bd5cdb0f65 [py] Support round on int 2020-11-23 12:12:46 +01:00
Émilie Feral
7acec88006 [python] Port: we used the wrong variable
Found by clang-analyzer
2020-11-05 10:28:24 +01:00
Hugo Saint-Vignes
7e5ddcd36b [python/turtle] Prevent position overflow from turtle
Change-Id: Ieb8a7b64bab1ce6fac23ca4c8dcb43467b8d4d5c
2020-11-04 15:33:01 +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
641186d89c [python] Accept "grey" color
Change-Id: Ia9b70eb3b4205ae9571eb4269410c30cfbdd1214
2020-11-04 15:07:20 +01:00
Hugo Saint-Vignes
e27c668c40 [apps,escher,kandinsky,poincare,python] Replace every "grey" with "gray"
Change-Id: I60a232849dce90f70e6977b6024d6e9b1ce1b731
2020-11-04 15:07:20 +01:00
Quentin Guidée
3c9bf7456e Merge branch 'omega-hotfix' into omega-dev 2020-10-18 09:59:17 +02:00
Quentin Guidée
e8b86ca6a1 [upstream] Update 2020-10-10 02:28:33 +02:00
Gabriel Ozouf
7dcf1662b0 [python/helpers] Change interrupt check delay
Keyboard interruption used to be checked once every 20000 calls to
micropython_port_vm_hook_loop. However, if costly functions were
executed in between calls to this method, the delay for activating
interruptions would increase.
Now, keyboard interruption is checked after a fixed amount of time has
passed. This way, if the process waits a long time between two calls
to micropython_port_vm_hook_loop, it is still interrupted in a timely
manner.

Change-Id: I37ca3bd4a996fa086078f504340dd857526e356a
2020-08-31 15:32:02 +02:00
Gabriel Ozouf
34ebf1e6e0 [python/kandinsky] Remove additional interrupt
Additional checks for interruptions were making the kandinsky module
slower.
/!\ Some scripts are now very difficult to interrupt

Change-Id: I4c18273d8895deaac68084411a52556c8459d52b
2020-08-31 15:32:02 +02:00
Jean-Baptiste Boric
43376996a1 [python] Add RTC functions in time module 2020-08-16 15:49:40 +02:00
Hugo Saint-Vignes
7eb694822d [python] Add magenta color
Change-Id: I7a5e12f6f3d79da802149a6aeef88387941ccdd8
2020-08-11 17:08:23 +02:00
M4x1m3
c5500eee06 [mpy/os] Removes useless file 2020-07-23 11:12:31 +02:00
M4x1m3
14a3ea51c4 [mpy/os] listdir 2020-07-21 22:27:04 +02:00
M4x1m3
18ccc0c771 [mpy/os] rename 2020-07-21 22:27:04 +02:00
M4x1m3
f65881420c [mpy/file] Fixed concurency issues 2020-07-21 22:27:04 +02:00
M4x1m3
8eeae5f161 [mpy/os] Added remove 2020-07-21 22:27:04 +02:00
M4x1m3
2dce8a1343 [mpy/os] uname 2020-07-21 22:27:00 +02:00
M4x1m3
b9a6298ffa [mpy] Added os module 2020-07-21 18:00:12 +02:00
M4x1m3
2040a2cd5b [mpy/files] Fixed crash with new files in append mode 2020-07-21 16:57:57 +02:00
M4x1m3
231223086c [mpy] Added passing errors to JS 2020-07-15 11:38:40 +02:00
Joachim LF
d7ac7e19bb [Update] Epsilon 14 2020-07-13 10:36:47 +02:00
M4x1m3
73688343a0 [apps/code] Added File category to python toolbox 2020-07-06 11:56:11 +02:00
M4x1m3
646088e429 [mpy/files] Removed RAM/FLASH logic, added a bit of doc. 2020-07-06 10:05:55 +02:00
M4x1m3
efcf9903a9 [mpy/files] implemented open 2020-07-05 21:20:52 +02:00
M4x1m3
61a9e492bd [mpy/files] truncate, readlines, writelines, name, mode 2020-07-05 21:20:47 +02:00
M4x1m3
55bc23c6d7 [mpy/files] __iter__, __next__ 2020-07-05 21:20:40 +02:00
M4x1m3
fba5295502 [mpy/files] readline 2020-07-05 21:20:37 +02:00
M4x1m3
a47ef29236 [mpy/files] __enter__, __exit__ 2020-07-05 21:20:32 +02:00
M4x1m3
1aebec52bb [mpy/files] fixed read, added write 2020-07-05 21:20:25 +02:00
M4x1m3
8178eadd49 [mpy/files] read 2020-07-05 21:20:20 +02:00
M4x1m3
7d61f867cf [mpy/files] closed attribute 2020-07-05 21:20:14 +02:00
M4x1m3
420edf6092 [mpy/files] close 2020-07-05 21:20:09 +02:00
M4x1m3
a20ac589ec [mpy/files] seek, tell, seekable 2020-07-05 21:19:57 +02:00
M4x1m3
d0f3ec887e [mpy/files] Added ion.file 2020-07-05 21:19:49 +02:00
Quentin
db10723e76 [Update] Upstream 2020-06-18 19:25:17 +02:00