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
Quentin
973a64c813
[Fix] Github conflicts fail in qstrdefs.in.h
2020-06-07 22:34:42 +02:00
Émilie Feral
7f3f67aba0
[python] Clean type confusion
2020-05-18 14:39:46 +02:00
Émilie Feral
4e1f7c1cb8
[python] Fix comment
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
Émilie Feral
5a32006dcd
[python] Revert: collectRoots does not need to look for unaligned
...
pointers as they should not exist
2020-05-18 14:39:46 +02:00
Émilie Feral
3f5487ca90
[python] Forbid inlining on gc_collect to avoid missing some roots
2020-05-18 14:39:46 +02:00
Émilie Feral
9b419acf40
[python] kandinsky port: rename TupleForRGB to TupleForKDColor
2020-04-30 14:12:32 +02:00
Émilie Feral
4bca330f0d
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
0811221943
[python] Clean port ColorParser
2020-04-30 14:12:32 +02:00
Émilie Feral
7c24f2fc28
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
ba15415847
[python] modturtle: avoid unexpected cast
2020-04-30 14:12:32 +02:00
Émilie Feral
686a1493e5
[python] Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
e7df25d558
[python] Kandinsky module: color accepts "#FF0000", "red" kinds of
...
arguments
2020-04-30 14:12:32 +02:00
Émilie Feral
af0cdbcc1b
Coding style
2020-04-30 14:12:32 +02:00
Émilie Feral
1b0b9e48f5
[python] ColorParser: add a TODO
2020-04-30 14:12:32 +02:00
Émilie Feral
8f5fa50f22
[python] Color: avoid magic number 255, clean code of ColorParser and
...
Turtle::colormode
2020-04-30 14:12:32 +02:00
Émilie Feral
c920df1f76
[python] Change enum class name: ColorModes --> ColorMode
2020-04-30 14:12:32 +02:00
Émilie Feral
995cc04533
[python] Use of mp_obj_is_str instead of MP_OBJ_IS_STR for more
...
consistency
2020-04-30 14:12:32 +02:00
Émilie Feral
a564efcaa5
[python] Fix bug in ParseColor
2020-04-30 14:12:32 +02:00
Émilie Feral
3d1b3f9a0b
[python] Factorize implementation of pencode (Turtle module)
2020-04-30 14:12:32 +02:00
Émilie Feral
f5e8d4d9bb
[python] Avoid modifying micropython external source, use parsenum.h methods directly
2020-04-30 14:12:32 +02:00
Joachim LF
e76abcf67e
[Python] universal colors
2020-04-30 14:12:32 +02:00
Quentin
f37040dc8a
[Fix] Conflicts
2020-04-16 14:04:56 +02:00
Émilie Feral
61399d07eb
[python] Turtle: use std::fabs std::copysign when possible
2020-04-16 09:44:37 +02:00
Joachim LF
c15bb3d893
Negative diameter circle turtle support
2020-04-15 06:15:28 -07:00
Romain Goyet
644c44e069
Misc cleanups
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
Romain Goyet
56f4b275a5
[python] Turn a warning into a error when appropriate
2020-04-14 01:17:25 -07:00
Romain Goyet
8a43b17df9
[python] Reorder QSTRs to match an implicit assertion in uPy
...
In py/scope.c, an assertion is made that some qstrs should be "low".
Let's make sure it is indeed the case.
Note: https://github.com/micropython/micropython/pull/5903
2020-04-14 01:17:25 -07:00
Neven Sajko
dd6a729f65
Better usage of some floating point constants
2020-04-09 13:58:56 +02:00
Quentin
aea963dac0
[Fix] Fix conflicts ._.
2020-04-07 14:53:19 +02:00
Émilie Feral
7df8c2935a
[python] upgrade to micropython 1.12
2020-04-07 11:28:32 +02:00
Émilie Feral
010fb1894f
[python] Remove mpversion useless header
2020-04-07 11:28:32 +02:00
Émilie Feral
154625a945
[python] Fix warning: comparisons between signed and unsigned integers
2020-04-07 09:51:39 +02:00
Émilie Feral
c58456a058
[python] matplotlib: add comment WIP
2020-04-06 12:30:52 +02:00
Émilie Feral
b7392dbd95
[python] matplotlib: clean implementation (by using
...
mp_obj_float_binary_op)
2020-04-06 12:30:52 +02:00
Émilie Feral
190802aa23
[python] Remove unused duplicate file
2020-04-06 12:30:52 +02:00