152 Commits (fe16e785fe76ca2c84b82512c427c7fa57176abe)

Author SHA1 Message Date
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George 09376f0e47 py: Introduce MP_ROM_NONE macro for ROM to refer to None object. 5 years ago
Damien George 035180ca01 py: Remove commented-out debug printf's from emitbc and objlist. 5 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Damien George f4059dcc0c all: Use NULL instead of "" when calling mp_raise exception helpers. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Paul Sokolovsky 5c603bd0fd py/objlist: Properly implement comparison with incompatible types. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George c88cfe165b py: Use size_t as len argument and return type of mp_get_index. 8 years ago
Damien George 89267886cc py/objlist: For list slice assignment, allow RHS to be a tuple or list. 8 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 58d9eeb8d9 py/objlist: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Paul Sokolovsky c4a8004933 py: Get rid of assert() in method argument checking functions. 8 years ago
Damien George 22d85ec5be py: Use new code pattern for parsing kw args with mp_arg_parse_all. 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 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 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 8212d97317 py: Use polymorphic iterator type where possible to reduce code size. 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
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George 9a2913ed1c py/objlist: Make list += accept all arguments and add test. 9 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Paul Sokolovsky 3d598256df py: Cast mp_obj_t to concrete types explicitly. 10 years ago
Paul Sokolovsky 69922c602c objlist: list_reverse(): Fix typesafety error. 10 years ago
Paul Sokolovsky cefcbb22b2 objarray: Implement array slice assignment. 10 years ago
Damien George 4852e09c79 py: Fix adding of traceback so that it appends to existing info. 10 years ago
Damien George eff359e114 py: Expose mp_obj_list_remove as a public function. 10 years ago
Paul Sokolovsky fa3b895145 objexcept: Optimize traceback allocation for exception. 10 years ago
Damien George 744e767458 py: Make list.sort keep stack usage within O(log(N)) bound. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Damien George 963a5a3e82 py, unix: Allow to compile with -Wsign-compare. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 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 612045f53f py: Add native json printing using existing print framework. 10 years ago
Damien George 9c4cbe2ac0 py: Make tuple and list use mp_int_t/mp_uint_t. 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 17ae2395c2 py: Use memmove instead of memcpy when appropriate. 10 years ago
Damien George 9b7a8ee8f1 py: Fix mult by negative number of tuple, list, str, bytes. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
Paul Sokolovsky 5fd5af98d0 objlist: Implement support for arbitrary (3-arg) slices. 11 years ago