330 Commits (f2baa9ec245a66c4cd7d990e39a4af3f6fab1cb7)

Author SHA1 Message Date
Damien George 77a48e8cd4 py/obj: Remove declaration for mp_obj_new_none(), it's never defined. 7 years ago
Paul Sokolovsky 9950865c39 py/objfloat: Fix binary ops with incompatible objects. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 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
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Alexander Steffen 299bc62586 all: Unify header guard usage. 7 years ago
Damien George 4df013c8cc py/objtype: mp_obj_new_super doesn't need to be public, so inline it. 8 years ago
Damien George a73501b1d6 py/objfloat: Add implementation of high-quality float hashing. 8 years ago
Damien George 816413e4b2 py: Optimise types for common case where type has a single parent type. 8 years ago
Damien George fc710169b7 py/obj: Clean up and add comments describing mp_obj_type_t struct. 8 years ago
Damien George 19f2e47d59 py: Add very simple but correct hashing for float and complex numbers. 8 years ago
Damien George a5500a8aad py/obj.h: Make sequence grow more efficient and support overlapping. 8 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 8 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 8 years ago
Damien George 3f810daeb3 py/obj: Change mp_uint_t to size_t for mp_obj_get_array_fixed_n len arg. 8 years ago
Damien George 60656eaea4 py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf. 8 years ago
Damien George 507119f4d8 py/sequence: Convert mp_uint_t to size_t where appropriate. 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 ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George da36f5232d py/objint: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George fa5a591757 py/objexcept: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George efa629028a py/objclosure: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George dbcdb9f8d8 py/objfun: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George ccc5254224 py/objarray: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George c0d9500eee py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. 8 years ago
Damien George 68cd3a93f0 py/objset: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 1ea2f7a8ce py/objdict: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 58d9eeb8d9 py/objlist: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George 229823942c py/objtuple: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George af622eb2a6 py/map: Change mp_uint_t to size_t where appropriate. 8 years ago
Damien George e4af712125 py/objint: Rename mp_obj_int_as_float to mp_obj_int_as_float_impl. 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 4ebdb1f2b2 py: Be more specific with MP_DECLARE_CONST_FUN_OBJ macros. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 41fceae559 py/obj.h: For obj reprs A,B,C use void* explicitly for mp_obj_t typedef. 8 years ago
Paul Sokolovsky 07209f8592 all: Rename mp_obj_type_t::stream_p to protocol. 9 years ago
Damien George eb54e4d065 py/obj: Add warning note about get_array return value and GC blocks. 9 years ago
Damien George 2bddfd4922 py/obj.h: When constructing a small-int cast to mp_uint_t for bit-shift. 9 years ago
pohmelie 81ebba7e02 py: add async/await/async for/async with syntax 9 years ago
Paul Sokolovsky e6a4d4e23c py: Move stream-related declarations from obj.h to stream.h. 9 years ago
Paul Sokolovsky 069654f2be py/obj.h: Add comment why mp_fun_kw_t takes non-const mp_map_t*. 9 years ago
Damien George 0d1f8868b6 py: For mp_buffer_info_t, change len type from mp_uint_t to size_t. 9 years ago
Paul Sokolovsky dc3eb55e6a py/obj.h: If not float support is enabled, define mp_obj_is_float(o) to false. 9 years ago
Damien George 8f54c08691 py/inlineasm: Add ability to specify return type of asm_thumb funcs. 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 fe6756aa2d py: Remove long-obsolete mp_method_t typedef. 9 years ago
Damien George 1fa6be5264 py/obj: For OBJ_REPR_D, use uint32_t cast when extracting qstr value. 9 years ago
Damien George 1b0aab621b py: Change struct and macro for builtin fun so they can be type checked. 9 years ago