371 Commits (7bd10c1ffe54f9c1e3b63f8f372c024461b3a4ff)

Author SHA1 Message Date
Damien George 2138258fea py/runtime: Mark m_malloc_fail() as NORETURN. 7 years ago
Damien George 79ce664952 py/runtime: When init'ing kbd intr exc, use tuple ptr instead of object. 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 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George 707f16b05c py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX. 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 8 years ago
Krzysztof Blazewicz 7e480e8a30 py: Use mp_obj_get_array where sequence may be a tuple or a list. 8 years ago
Krzysztof Blazewicz 1215dc47e2 py/runtime.c: Remove optimization of '*a,=b', it caused a bug. 8 years ago
Paul Sokolovsky 4b3da60324 py/runtime: mp_raise_msg(): Accept NULL argument for message. 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 cb6300697c py/runtime: Optimise case of identity iterator so it doesn't alloc RAM. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George 4e3bac2e42 py/runtime: Convert mp_uint_t to size_t where appropriate. 8 years ago
Damien George dcb9ea7215 extmod: Add generic VFS sub-system. 8 years ago
Damien George e9cb1f8077 py/objmodule: Move module init/deinit code into runtime functions. 8 years ago
Damien George d7150b09d7 py/runtime: Refactor default case of switch to remove assert(0). 8 years ago
Damien George aeb2655073 py/runtime: Fix handling of throw() when resuming generator. 8 years ago
Damien George 40863fce6f py/runtime: Refactor assert(0) to improve coverage. 8 years ago
Damien George 7f1da0a03b py: Add MICROPY_KBD_EXCEPTION config option to provide mp_kbd_exception. 8 years ago
Damien George e8f2db7da3 py/runtime: Zero out fs_user_mount array in mp_init. 8 years ago
Paul Sokolovsky a0b2c6ad32 py/runtime: mp_resume: Fix exception handling for nanbox port. 8 years ago
Paul Sokolovsky 79d996a57b py/runtime: mp_resume: Handle exceptions in Python __next__(). 8 years ago
Damien George 571e6f26db py: Specialise builtin funcs to use separate type for fixed arg count. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 5f3bda422a py: If str/bytes hash is 0 then explicitly compute it. 8 years ago
Paul Sokolovsky 9e1b61dedd py/runtime: Factor out exception raising helpers. 8 years ago
Damien George 4cec63a9db py: Implement a simple global interpreter lock. 9 years ago
Damien George 470c429ee1 py/runtime: Properly handle passing user mappings to ** keyword args. 9 years ago
Damien George fea40ad468 py: Fix bug passing a string as a keyword arg in a dict. 9 years ago
Damien George 2a1cca20b1 py: Fix passing of some wide int types to printf varg format list. 9 years ago
Paul Sokolovsky d3b1f0b627 py/runtime: mp_stack_ctrl_init() should be called immediately on startup. 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 978d2e55ef py/runtime: Use appropriate printf fmt for malloc num_bytes. 9 years ago
Damien George 78913211a9 py: Be more restrictive binding self when looking up instance attrs. 9 years ago
Damien George dd5353a405 py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts. 9 years ago
Damien George bdbe8c9ae2 py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics. 9 years ago
Damien George 3ff259a262 py: Fix calling of parent classmethod from instance of subclass. 9 years ago
Damien George 7a99639cff py: Fix function calls that have positional and a star-arg-with-iterator. 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 aaef1851a7 py: Add mp_obj_is_float function (macro) and use it where appropriate. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George 58e0f4ac50 py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. 9 years ago
Damien George e5635f4ab3 py: Catch all cases of integer (big and small) division by zero. 9 years ago
Paul Sokolovsky 6557a096d6 runtime: Improve mp_import_name() debug logging. 10 years ago
Damien George 59fba2d6ea py: Remove mp_load_const_bytes and instead load precreated bytes object. 10 years ago
Damien George ed570e4b2a py: Remove mp_load_const_str and replace uses with inlined version. 10 years ago
Damien George 06593fb0f2 py: Use a wrapper to explicitly check self argument of builtin methods. 10 years ago