432 Commits (acbdbcd95e6d953b08f0642a844c1808323e0b7c)

Author SHA1 Message Date
Damien George 9400229766 py/objfun: Split viper fun type out to separate mp_type_fun_viper type. 9 months ago
Damien George 648a7578da py/objfun: Make mp_obj_new_fun_native/mp_obj_new_fun_asm static-inline. 9 months ago
Damien George 4133c03040 py/obj: Introduce mp_obj_malloc_with_finaliser to allocate and set type. 9 months ago
Damien George 2423493774 py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro. 9 months ago
stijn a968888f69 py/obj: Fix mp_obj_is_type compilation with C++. 12 months ago
Damien George 9c7ea9b14a py/obj: Generalise mp_get_buffer so it can raise if a flag is set. 1 year ago
Daniël van de Giessen 4f5e165d0b py/objboundmeth: Support comparing and hashing bound methods. 4 years ago
Jim Mussared 13c817e61c py/objmodule: Add a table of built-in modules with delegation. 1 year ago
Jim Mussared 24c02c4eb5 py/makemoduledefs.py: Add a way to register extensible built-in modules. 1 year ago
Jim Mussared 525557738c py/builtinimport: Optimise sub-package loading. 2 years ago
David Lechner eaccaa3677 py/obj: Remove mp_generic_unary_op(). 2 years ago
David Lechner 283c1ba07e py/obj: Fix spelling of staticmethod. 2 years ago
Alex Riesen abaa4abd2d py: Add parenthesis to default impl of MP_OBJ_TO_PTR, MP_OBJ_FROM_PTR. 2 years ago
Jim Mussared 9e91764671 py/obj: Remove unused MP_DEFINE_CONST_OBJ_FULL_TYPE macro. 2 years ago
Jim Mussared d75c7e822c py/obj: Add comments explaining the slot index scheme. 2 years ago
Jim Mussared b161abc574 py/obj: Verify floating point type is correct for repr C. 2 years ago
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 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 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
Andrew Leech 582b3e4e78 py/objpolyiter: Add a new polyiter type with finaliser support. 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 8a0ee5a5c0 py/objstr: Split mp_obj_str_from_vstr into bytes/str versions. 2 years ago
Damien George 3d65101a8a py: Clean up formatting of union definitions. 2 years ago
Andrew Leech f7f56d4285 py/objstr: Consolidate methods for str/bytes/bytearray/array. 2 years ago
David Lechner fc3d7ae11b py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 years ago
Yonatan Goldschmidt a8d78cc398 py/obj: Add debug-only runtime checks to mp_obj_is_type(). 5 years ago
Yonatan Goldschmidt 2a6ba47110 py/obj: Add static safety checks to mp_obj_is_type(). 5 years ago
Damien George 5d3a0bb59c py/objcell: Make cell get/set funcs static-inline to reduce code size. 2 years ago
Damien George efe23aca71 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
Damien George 47f634300c py: Change makemoduledefs process so it uses output of qstr extraction. 2 years ago
Jim Mussared 709e8328d9 py/obj: Introduce mp_obj_malloc macro to allocate, and set object type. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
stijn dd6967202a py/modmath: Add math.tau, math.nan and math.inf constants. 5 years ago
Laurens Valk e2ca8ab8fc py/runtime: Allow types to use both .attr and .locals_dict. 4 years ago
Damien George 70b8e1d1f5 py/obj: Fix formatting of comment for mp_obj_is_integer. 3 years ago
Damien George 022b8a7fea py/objexcept: Make mp_obj_new_exception_arg1 inline. 3 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Jim Mussared 880875bea1 py/objdict: Add mp_const_empty_dict_obj, use it for mp_const_empty_map. 4 years ago
Damien George a853fff838 py/obj.h: Fix mp_seq_replace_slice_no_grow to use memmove not memcpy. 4 years ago
Damien George 332d83343f py: Rework mp_convert_member_lookup to properly handle built-ins. 4 years ago
Damien George d06ae1d2b1 py/obj.h: Make existing MP_TYPE_FLAG_xxx macros sequential. 4 years ago
Damien George 9f911d822e py/objcomplex: Add mp_obj_get_complex_maybe for use in complex bin-op. 4 years ago
Damien George 456a3abe8d py/obj.h: Add public mp_obj_is_dict_or_ordereddict() helper macro. 4 years ago