Commit Graph

418 Commits (de5a9d72dcdaacdd5048195cd5bab007f4b2baef)

Author SHA1 Message Date
Scott Shawcroft de5a9d72dc
Compress all translated strings with Huffman coding. 4 years ago
Scott Shawcroft 96ebf5bc3f
Two fixes and translate more strings. 4 years ago
Dan Halbert 6dfa527f79 do not call property if referenced by class, not object 4 years ago
Dan Halbert e2e01efa84 compiles and runs; hangs on import storage;storage.VfsFat.<tab> 4 years ago
Damien George 035906419d extmod/uos_dupterm: Use native C stream methods on dupterm object. 5 years ago
Roy Hooper 567f3e30a7 Initial implementation of supervisor.reload() 5 years ago
Damien George bc87b862fd py/runtime: Add mp_load_method_protected helper which catches exceptions 5 years ago
Damien George 3f420c0c27 py: Don't include mp_optimise_value or opt_level() if compiler disabled. 5 years ago
Damien George f50b64cab5 py/runtime: Be sure that non-intercepted thrown object is an exception. 5 years ago
Damien George 3280788195 py/runtime: Check that keys in dicts passed as ** args are strings. 5 years ago
Damien George a9f6d49218 py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 5 years ago
Damien George 209936880d py/builtinimport: Add compile-time option to disable external imports. 5 years ago
Dan Halbert 302ad40fb2 Revert "alloca seems buggy on M4" 5 years ago
Dan Halbert 4b1e9d8f92 alloca seems buggy on M4 5 years ago
Damien George f5fb68e94f py/runtime: Remove unnecessary break statements from switch. 5 years ago
Damien George 30fd8484eb py/runtime: Use the Python stack when building *arg and **kwarg state. 5 years ago
Damien George 1e5a33df41 py: Convert all uses of alloca() to use new scoped allocation API. 5 years ago
Damien George 02d830c035 py: Introduce a Python stack for scoped allocation. 5 years ago
Damien George 5b8998da6d py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 5 years ago
Paul Sokolovsky 39dd89fe31 py/runtime: When tracing unary/binary ops, output op (method) name. 5 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 5 years ago
Damien George 9783ac282e py/runtime: Simplify handling of containment binary operator. 5 years ago
Damien George 37282f8fc1 extmod/uos_dupterm: Update uos.dupterm() and helper funcs to have index. 5 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 5 years ago
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 5 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 5 years ago
Damien George ca21aed0a1 py: Make m_malloc_fail() have void return type, since it doesn't return. 5 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 5 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 5 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 5 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 5 years ago
Damien George 761e4c7ff6 all: Remove trailing spaces, per coding conventions. 5 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 5 years ago
Damien George 2138258fea py/runtime: Mark m_malloc_fail() as NORETURN. 5 years ago
Scott Shawcroft d6a24afd71 Change vfs mount ordering such that the root is always last in the 6 years ago
Scott Shawcroft e87a61ffb4 atmel-samd: Fix running off of the new VFS filesystem including 6 years ago
Damien George 79ce664952 py/runtime: When init'ing kbd intr exc, use tuple ptr instead of object. 6 years ago
Damien George 6b34107537 py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg. 6 years ago
Damien George 6213ad7f46 py: Convert mp_uint_t to size_t for tuple/list accessors. 6 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 6 years ago
Damien George 707f16b05c py: Use mp_locals/mp_globals accessor funcs instead of MP_STATE_CTX. 6 years ago
Damien George 6e74d24f30 py: Add micropython.schedule() function and associated runtime code. 6 years ago
Krzysztof Blazewicz 7e480e8a30 py: Use mp_obj_get_array where sequence may be a tuple or a list. 6 years ago
Krzysztof Blazewicz 1215dc47e2 py/runtime.c: Remove optimization of '*a,=b', it caused a bug. 6 years ago
Scott Shawcroft aef0586ee1 py: Fix varg helpers by adding vlist variant of mp_obj_new_exception_msg 6 years ago
Scott Shawcroft 75d6abe3bb Correct name of mp_raise_NotImplementedError to make error name. 6 years ago
Paul Sokolovsky 4b3da60324 py/runtime: mp_raise_msg(): Accept NULL argument for message. 6 years ago
Scott Shawcroft 12fa5b3a66 Switch exception throwing to mp_raise helpers. It saves a little code space each time to share the call. 6 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 6 years ago
Damien George cb6300697c py/runtime: Optimise case of identity iterator so it doesn't alloc RAM. 6 years ago