4077 Commits (b41aaaa8a918a6645ebc6bfa4483bd17286f9263)

Author SHA1 Message Date
Jim Mussared b41aaaa8a9 py/obj: Optimise code size and performance for make_new as a slot. 2 years ago
Jim Mussared 94beeabd2e py/obj: Convert make_new into a mp_obj_type_t slot. 2 years ago
Jim Mussared 6da41b5900 py/obj: Merge getiter and iternext mp_obj_type_t slots. 2 years ago
Jim Mussared 3c6127dfcf py/objnamedtuple: Optimise slot RAM usage for namedtuple. 2 years ago
Jim Mussared 165388e4eb py/objtype: Optimise slot RAM usage for instance types. 2 years ago
Jim Mussared cb0ffdd2bf py/obj: Remove basic mp_obj_type_t sparse representation. 2 years ago
Jim Mussared 3ac8b5851e py/obj: Add slot-index mp_obj_type_t representation. 3 years ago
Jim Mussared a52cd5b07d py/obj: Add accessors for type slots and use everywhere. 3 years ago
Jim Mussared e8355eb163 py/obj: Add "full" and "empty" non-variable-length mp_obj_type_t. 3 years ago
Jim Mussared 5ddf671944 py/objexcept: Make MP_DEFINE_EXCEPTION use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
Jim Mussared 9dce82776d all: Remove unnecessary locals_dict cast. 2 years ago
Jim Mussared b7d6ee9b75 all: Fix #if inside MP_DEFINE_CONST_OBJ_TYPE for msvc. 2 years ago
Jim Mussared 662b9761b3 all: Make all mp_obj_type_t defs use MP_DEFINE_CONST_OBJ_TYPE. 3 years ago
Jim Mussared cdb880789f py/obj: Add macro to declare ROM mp_obj_type_t instances. 3 years ago
Jim Mussared fb2a57800a all: Simplify buffer protocol to just a "get buffer" callback. 3 years ago
Jim Mussared 45972fa548 py/mkrules.mk: Add link to build troubleshooting on failure. 2 years ago
Damien George 74805435f9 py/objpolyiter: Fix comment about finaliser method. 2 years ago
Jim Mussared 3e5b1be8ca py/mpconfig: Add "everything" features from unix coverage. 2 years ago
Jim Mussared 605266ee9a py/mpconfig: Make feature levels available to mpconfigport.h. 2 years ago
Jim Mussared 89a0fefb6c py/mpconfig: Add LFS1/LFS2 options to match FAT/posix. 2 years ago
Andrew Leech 582b3e4e78 py/objpolyiter: Add a new polyiter type with finaliser support. 2 years ago
Andrew Leech d521899e18 py/persistentcode: Clarify ValueError when native emitter disabled. 2 years ago
Jim Mussared 6c3d8d38bf py/objstr: Always validate utf-8 for mp_obj_new_str. 2 years ago
Jim Mussared 3a910b1565 py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings. 2 years ago
Jim Mussared 88864587f5 py/objstr: Always ensure mp_obj_str_from_vstr is unicode-safe. 2 years ago
Jim Mussared 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
Laurens Valk d8ad87843a py/builtinimport: Allow overriding of mp_builtin___import__. 2 years ago
Damien George 3d65101a8a py: Clean up formatting of union definitions. 2 years ago
Jim Mussared af1f167820 py/dynruntime: Add mp_obj_is_true. 2 years ago
Damien George 8f4c108025 all: Remove MICROPY_PY_IO_FILEIO config option. 2 years ago
Dan Ellis 6f4d424f46 py/formatfloat: Use pow(10, e) instead of pos/neg_pow lookup tables. 2 years ago
Dan Ellis 6cd2e41918 py/parsenum: Ensure that trailing zeros lead to identical results. 2 years ago
Damien George cf90e24335 py/mkrules: Use abspath to find directory for mpy-cross dependency. 2 years ago
Damien George 945f377b43 py/objstr: Remove str function object declarations from header file. 2 years ago
Jim Mussared 28aaab9590 py/objstr: Add hex/fromhex to bytes/memoryview/bytearray. 3 years ago
Andrew Leech f7f56d4285 py/objstr: Consolidate methods for str/bytes/bytearray/array. 2 years ago
Damien George 82b3500724 py/qstr: Change qstr hash type from mp_uint_t to size_t. 2 years ago
Efi Weiss f3285fef07 py/nlrpowerpc: Fix generation of ppc64 code on ppc32 build. 2 years ago
Mat Booth 2e8816de91 py/dynruntime.mk: Allow building assembly source in natmods. 2 years ago
Daniel Jour 47c84286e8 all: Fix paths to mpy-cross and micropython binaries. 2 years ago
Daniel Jour b2e8240268 py/mkrules.mk: Keep all build artefacts inside $(BUILD) directory. 2 years ago
Damien George b5986784e4 py/objstr: Reformat str access macros to make them readable. 2 years ago
Damien George 7d91a9bf5b py/mpprint: Fix formatting typo with mp_print_ext_t struct name. 2 years ago
David Lechner 6baeded322 py/runtime: Fix crash in star arg unpacking. 2 years ago
Jim Mussared 579f330508 py/mkenv.mk: Use micropython-lib from submodule by default. 2 years ago
Angus Gratton 1230d86dca py/builtinimport: Remove duplicate static function argument. 2 years ago
Dan Ellis f9cbe6bc47 py/formatfloat: Format all whole-number floats exactly. 2 years ago
Jim Mussared e65d1e69e8 py/modio: Remove FileIO and TextIOWrapper from io module. 2 years ago
Damien George c0fa903d6b py/compile: Support large integers in inline-asm data directive. 2 years ago
Damien George 4fe3e493b1 py/obj: Make mp_obj_get_complex_maybe call mp_obj_get_float_maybe first. 2 years ago