159 Commits (b796f1e3f12f3c0a0a75b4b1b7f01f234a3f4dda)

Author SHA1 Message Date
Damien George c9089e71a1 py/runtime: Add helpers to call a general function on nlr jump callback. 1 year ago
Jim Mussared 5e50975a6d py/modsys: Allow sys.path to be assigned to. 1 year ago
Damien George ce31e5a2dc py: Use nlr jump callbacks to optimise compile/execute functions. 2 years ago
Damien George 48ffd6596e py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE. 1 year ago
Damien George d54208a2ff py/scheduler: Implement VM abort flag and mp_sched_vm_abort(). 2 years ago
Damien George cc588ac3a9 py/runtime: Add mp_raise_OSError_with_filename helper function. 2 years ago
Jim Mussared 8db99f11a7 py/scheduler: De-inline and fix race with pending exception / scheduler. 2 years ago
Damien George 75506e496f py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
Damien George 38a204ed96 py: Introduce and use mp_raise_type_arg helper. 3 years ago
Damien George bb00125aaa py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
Damien George e9e9c76ddf all: Rename mp_keyboard_interrupt to mp_sched_keyboard_interrupt. 4 years ago
Damien George 7cbf826a95 py/scheduler: Add mp_sched_exception() to schedule a pending exception. 4 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
Damien George f792e6c283 py/scheduler: Convert mp_sched_full and mp_sched_num_pending to macros. 5 years ago
Jim Mussared 85858e72df py/objexcept: Allow compression of exception message text. 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 97eca38c4f py: Add mp_raise_type helper macro and use it where appropriate. 5 years ago
Damien George 9efb36bfa6 py/scheduler: Move mp_keyboard_interrupt from lib/utils to py core. 5 years ago
Damien George 98a3911c43 py/scheduler: Add "raise_exc" argument to mp_handle_pending. 5 years ago
Damien George 01e5802ee3 py: Remove 3 obsolete commented-out lines from header files. 5 years ago
Damien George bff4e13009 py/nativeglue: Make private glue funs all static, remove commented code. 6 years ago
Andrew Leech 8977c7eb58 py/scheduler: Convert micropythyon.schedule() to a circular buffer. 6 years ago
Damien George 0e4c24ec08 py/nativeglue: Rename native convert funs to match other native helpers. 6 years ago
Damien George 3b973a5658 py: Move mp_native_type_from_qstr() from emitnative.c to nativeglue.c. 6 years ago
Paul Sokolovsky 2f5d113fad py/warning: Support categories for warnings. 6 years ago
Damien George 5089b3ffb6 py/obj.h: Explicitly cast args to uint32_t in MP_OBJ_FUN_MAKE_SIG. 6 years ago
stijn 57a7d5be9a py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro. 6 years ago
Damien George 9f241ef398 py: Optimise call to mp_arg_check_num by compressing fun signature. 6 years ago
Damien George 4f3d9429b5 py: Fix native functions so they run with their correct globals context. 6 years ago
Damien George bc87b862fd py/runtime: Add mp_load_method_protected helper which catches exceptions 7 years ago
Damien George 02d830c035 py: Introduce a Python stack for scoped allocation. 7 years ago
Damien George 5b8998da6d py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
Paul Sokolovsky 62b96147e6 py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
Paul Sokolovsky 9956fd0710 py/objtype: Fit qstrs for special methods in byte type. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 6c82cfc089 py/objtype: Change type of enum-to-qstr table to uint16_t to save space. 7 years ago
Damien George 89f657f073 py/runtime.h: Change empty mp_warning macro so var-args are non empty. 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
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 dd11af209d py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls. 8 years ago
Damien George 64a4f11b2d py: Remove MP_STATE_CTX, use MP_STATE_THREAD instead (it's an alias). 8 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 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
Paul Sokolovsky 037e6912c6 py/objtype: Implement __call__ handling for an instance w/o heap alloc. 8 years ago
Damien George 3a0a771730 py: Add mp_raise_OSError(errno) helper function. 8 years ago
Damien George e97df97600 py: Shrink mp_arg_t struct by using reduced-size integer members. 8 years ago