58 Commits (724ebb9916d2e29595fc2098e6ae1e7c4f1e3f52)

Author SHA1 Message Date
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 a52cd5b07d py/obj: Add accessors for type slots and use everywhere. 3 years ago
Lars Haulin 5bf3765631 py/objnamedtuple: Fix segfault with empty namedtuple. 2 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Damien George 9ec1caf42e py: Expand type equality flags to 3 separate ones, fix bool/namedtuple. 5 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky 8667a5f053 py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
stijn 79ed58f87b py/objnamedtuple: Add _asdict function if OrderedDict is supported 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 265500c5c8 py/objnamedtuple: Simplify and remove use of alloca building namedtuple. 7 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George f4ee1ba9b4 py/objnamedtuple: Use size_t where appropriate, instead of mp_uint_t. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Antonin ENFRUN ca41dc2750 py/objnamedtuple: Allow passing field names as a tuple. 9 years ago
Damien George 2a1cca20b1 py: Fix passing of some wide int types to printf varg format list. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Damien George 5aa311d330 py: Add attrtuple object, for space-efficient tuples with attr access. 10 years ago
Damien George 044c473de2 py: Add %q format support to mp_[v]printf, and use it. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Damien George b1bbe966c4 py: Combine load_attr and store_attr type methods into one (attr). 10 years ago
Paul Sokolovsky 44cd46a7e4 objnamedtuple: Accept field list as a string. 10 years ago
Paul Sokolovsky e38b892144 objnamedtuple: Check that 2nd arg to namedtuple() is a list. 10 years ago
stijn 6b636738b2 py: Fix segfault in namedtuple when name is a non-interned string 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 84e0cf0d21 py: Change namedtuple error messages to reduce code size. 10 years ago
Damien George 7f23384d49 py: Make terse_arg_mismatch a global function and use it elsewhere. 10 years ago
Paul Sokolovsky 276159e5dd objnamedtuple: Make sure to initialize type structure completely. 10 years ago
stijn 021dc44009 py: Allow keyword arguments for namedtuple 10 years ago
stijn 12340147b0 py: Use sequence of strings for named tuple initialization 10 years ago
Damien George 969a6b37bf py: Make functions static where appropriate. 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George ee3fd46f13 Rename configuration variables controling Python features. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Damien George 2323ef9182 py: Rename globally-accessible tuple functions, prefix with mp_obj_. 11 years ago
Paul Sokolovsky 7067d69bcc objnamedtuple: Support iteration. 11 years ago