162 Commits (066243ea74050523e807211f208e24fac08f69fc)

Author SHA1 Message Date
Angus Gratton decf8e6a8b all: Remove the "STATIC" macro and just use "static" instead. 8 months ago
Damien George e2ff00e811 py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t. 9 months ago
Matthias Urlichs d19371cb23 py/builtinimport: Simplify calls to stat_path(). 10 months ago
Jim Mussared 5015779a6f py/builtinevex: Handle invalid filenames for execfile. 1 year ago
Jim Mussared 671b35ceae py/builtinimport: Fix built-in imports when external import is disabled. 1 year ago
Jim Mussared 5e50975a6d py/modsys: Allow sys.path to be assigned to. 1 year ago
Jim Mussared 2eba98f1e0 all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins. 1 year ago
Jim Mussared 24c02c4eb5 py/makemoduledefs.py: Add a way to register extensible built-in modules. 1 year ago
Jim Mussared dfe232d000 py/builtinimport: Remove weak links. 2 years ago
David Grayson a79a6ab364 py/builtinimport: Remove partially-loaded modules from sys.modules. 1 year ago
Damien George ce31e5a2dc py: Use nlr jump callbacks to optimise compile/execute functions. 2 years ago
Jim Mussared ed90f30dd5 py/builtinimport: Allow builtin modules to be packages. 2 years ago
Jim Mussared 525557738c py/builtinimport: Optimise sub-package loading. 2 years ago
Jim Mussared 42f3f66431 py/builtinimport: Handle empty sys.path correctly. 2 years ago
Laurens Valk f3a596db7d py/builtinimport: Fix unix port build with external imports disabled. 2 years ago
Damien George 2283b6d68f py: Pass in address to compiled module instead of returning it. 2 years ago
Simon Arlott f8b0ae32d3 py/builtinimport: Fix crash handling "weak link" module names. 2 years ago
Laurens Valk d8ad87843a py/builtinimport: Allow overriding of mp_builtin___import__. 2 years ago
Angus Gratton 1230d86dca py/builtinimport: Remove duplicate static function argument. 2 years ago
Damien George b312a7abf5 py/builtinimport: Alias sys to usys if import weak links aren't enabled. 3 years ago
Damien George f2040bfc7e py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
Jim Mussared e0bf4611c3 py: Only search frozen modules when '.frozen' is found in sys.path. 3 years ago
Jim Mussared a7fa18c203 py/builtinimport: Refactor module importing. 5 years ago
stijn ea880d5674 py/builtinimport: Forward all debug printing to MICROPY_DEBUG_PRINTER. 3 years ago
David Lechner afcc77cebc py/builtinimport: Fix condition for including do_execute_raw_code(). 3 years ago
Damien George 53519e322a py/builtinimport: Change relative import's ValueError to ImportError. 3 years ago
Damien George d4b706c4d0 py: Add option to compile without any error messages at all. 4 years ago
stijn 84fa3312cf all: Format code to add space after C++-style comment start. 5 years ago
Damien George 8e048d2548 all: Clean up error strings to use lowercase and change cannot to can't. 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
Jim Mussared a9a745e4b4 py: Use preprocessor to detect error reporting level (terse/detailed). 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Damien George a642241a12 py/builtinimport: Adjust if-block order in find_file to clean up #if's. 5 years ago
Damien George ad7213d3c3 py: Add mp_raise_msg_varg helper and use it where appropriate. 5 years ago
Léa Saviot a7bc4d1a14 py/builtinimport: Raise exception on empty module name. 5 years ago
Damien George d2384efa80 py: Automatically provide weak links from "foo" to "ufoo" module name. 5 years ago
Paul m. p. P a8e3201b37 py/builtinimport: Populate __file__ when importing frozen or mpy files. 5 years ago
Sean Burton e33bc59712 py: Remove calls to file reader functions when these are disabled. 6 years ago
Damien George 209936880d py/builtinimport: Add compile-time option to disable external imports. 7 years ago
Damien George 6e7819ee2e py/objmodule: Factor common code for calling __init__ on builtin module. 7 years ago
Damien George f1c9e7760d py/builtinimport: Call __init__ for modules imported via a weak link. 8 years ago
Damien George 1e5a33df41 py: Convert all uses of alloca() to use new scoped allocation API. 7 years ago
Damien George 4601759bf5 py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Tom Collins 145796f037 py,extmod: Some casts and minor refactors to quiet compiler warnings. 7 years ago
Damien George 7bd10c1ffe py: Change mp_uint_t to size_t in builtins code. 7 years ago
Damien George 2f7fad66a2 py/builtinimport: Remove unreachable code for relative imports. 8 years ago
Damien George 48d867b4a6 all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers. 8 years ago