87 Commits (master)

Author SHA1 Message Date
Damien George b91b2a7fe9 py/mpstate: Don't declare mp_thread_get_state(). 8 months ago
Jim Mussared 3883f29485 py/modthread: Initialise nlr_jump_callback_top on threads. 1 year ago
Damien Tournoud 2dcd745434 py/gc: Speed up incremental GC cycles by tracking the last used block. 2 years ago
Jim Mussared 5e50975a6d py/modsys: Allow sys.path to be assigned to. 1 year ago
Jim Mussared 7d2ee8aed0 py/mpconfig: Enable module delegation if sys needs it. 1 year ago
Damien George 2757acf6ed py/nlr: Implement jump callbacks. 2 years ago
Damien George d54208a2ff py/scheduler: Implement VM abort flag and mp_sched_vm_abort(). 2 years ago
Damien George 5d4bfce034 py/mpstate: Add mp_thread_is_main_thread() helper macro. 2 years ago
Rob Knegjens 4a48531803 py/gc: Reduce code size when MICROPY_GC_SPLIT_HEAP is disabled. 3 years ago
Ayke van Laethem bcc827d695 py/gc: Allow the GC heap to be split over multiple memory areas. 7 years ago
David Lechner a1ef5ac65d py/scheduler: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 85b4f36100 py/modsys: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner a98aa66df6 py/persistentcode: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 2c728c5330 extmod/modbluetooth: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 32e32bd761 extmod/vfs: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner d532c55e3b extmod/modlwip: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 631b692177 extmod/uos_dupterm: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 68f46342aa shared/runtime/pyexec: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
David Lechner 7e4b205cb0 py/mpstate: Drop MICROPY_PORT_ROOT_POINTERS from mp_state_vm_t. 2 years ago
David Lechner fc3d7ae11b py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 years ago
Damien George c49d5207e9 py/persistentcode: Remove unicode feature flag from .mpy file. 3 years ago
Damien George fca5701f74 py/malloc: Introduce m_tracked_calloc, m_tracked_free functions. 3 years ago
Damien George 75506e496f py/scheduler: Add support for scheduling static C-based callbacks. 3 years ago
Damien George ac2293161e py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them. 3 years ago
Damien George cac939ddc3 py/modsys: Add optional sys.tracebacklimit attribute. 3 years ago
Damien George bc181550a4 py/modsys: Add optional attribute delegation. 3 years ago
Artyom Skrobov 18b1ba086c py/qstr: Separate hash and len from string data. 4 years ago
Damien George fe9ffff9c0 py/mpstate.h: Only include sys.path/argv objects in state when enabled. 3 years ago
Damien George de43b500bd py/runtime: Allow initialising sys.path/argv with defaults. 3 years ago
Jim Mussared b326edf68c all: Remove MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. 3 years ago
Jim Mussared 11ef8f22fe py/map: Add an optional cache of (map+index) to speed up map lookups. 3 years ago
Damien George bb00125aaa py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
David Lechner 259d9b69fe py/mpstate: Schedule KeyboardInterrupt on main thread. 4 years ago
David Lechner ca920f7218 py/mpstate: Make exceptions thread-local. 4 years ago
Damien George b6b39bff47 py/gc: Make gc_lock_depth have a count per thread. 4 years ago
Damien George 9883d8e818 py/persistentcode: Maintain root ptr list of imported native .mpy code. 4 years ago
David Lechner edbb73a411 py/qstr: Don't include or init qstr_mutex when GIL is enabled. 5 years ago
David Lechner ccc18f047d py/gc: Don't include or init gc_mutex when GIL is enabled. 5 years ago
Jim Mussared 16f8ceeaaa extmod/modbluetooth: Add low-level Python BLE API. 5 years ago
Damien George b596638b9b mpy-cross: Set number of registers in nlr_buf_t based on native arch. 5 years ago
Milan Rossa 310b3d1b81 py: Integrate sys.settrace feature into the VM and runtime. 5 years ago
Damien George af20c2ead3 py: Add global default_emit_opt variable to make emit kind persistent. 5 years ago
Milan Rossa cb3647004f py: Implement new sys.atexit feature. 5 years ago
Jim Mussared bc66fe9064 py/scheduler: Rename sched_stack to sched_queue. 5 years ago
Andrew Leech 8977c7eb58 py/scheduler: Convert micropythyon.schedule() to a circular buffer. 6 years ago
Damien George d9d92f27d7 py/compile: Add support to select the native emitter at runtime. 6 years ago
Ayke van Laethem 31cf528c75 py: Add option to reduce GC stack integer size to save RAM. 7 years ago
Damien George 035906419d extmod/uos_dupterm: Use native C stream methods on dupterm object. 6 years ago
Damien George 749b16174b py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs. 7 years ago
Damien George 3f420c0c27 py: Don't include mp_optimise_value or opt_level() if compiler disabled. 7 years ago