You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Andrew Leech 89ff506513 py: Update and rework build system for including external C modules. 6 years ago
..
argcheck.c py: Shorten error messages by using contractions and some rewording. 6 years ago
asmarm.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmarm.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmbase.c py/asmbase: Revert removal of clearing of label offsets for native emit. 7 years ago
asmbase.h py/asm: Remove need for dummy_data when doing initial assembler passes. 8 years ago
asmthumb.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmthumb.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmx64.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmx64.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmx86.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmx86.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmxtensa.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
asmxtensa.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
bc.c py/persistentcode: Pack qstrs directly in bytecode to reduce mpy size. 6 years ago
bc.h py/persistentcode: Pack qstrs directly in bytecode to reduce mpy size. 6 years ago
bc0.h py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
binary.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
binary.h py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
builtin.h extmod/moduwebsocket: Refactor `websocket` to `uwebsocket`. 6 years ago
builtinevex.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
builtinhelp.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
builtinimport.c py: Remove calls to file reader functions when these are disabled. 6 years ago
compile.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
compile.h py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h. 6 years ago
emit.h py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
emitbc.c py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
emitcommon.c py/scope: Optimise scope_find_or_add_id to not need "added" arg. 6 years ago
emitglue.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
emitglue.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
emitinlinethumb.c py: Shorten error messages by using contractions and some rewording. 6 years ago
emitinlinextensa.c py: Shorten error messages by using contractions and some rewording. 6 years ago
emitnarm.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnative.c py: Add support to save native, viper and asm code to .mpy files. 6 years ago
emitnthumb.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnx64.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
emitnx86.c py/emitnative: Implement yield and yield-from in native emitter. 6 years ago
emitnxtensa.c py/emitnative: Add support for return/break/continue in try and with. 6 years ago
formatfloat.c py/formatfloat: Fix case where floats could render with negative digits. 7 years ago
formatfloat.h all: Use the name MicroPython consistently in comments 7 years ago
frozenmod.c all: Use the name MicroPython consistently in comments 7 years ago
frozenmod.h all: Use the name MicroPython consistently in comments 7 years ago
gc.c py/gc: Adjust gc_alloc() signature to be able to accept multiple flags. 6 years ago
gc.h py/gc: Adjust gc_alloc() signature to be able to accept multiple flags. 6 years ago
grammar.h py/compile: Combine expr, xor_expr and and_expr into one function. 6 years ago
lexer.c py/lexer: Add support for underscores in numeric literals. 7 years ago
lexer.h all: Use the name MicroPython consistently in comments 7 years ago
makemoduledefs.py py: Allow registration of modules at their definition. 6 years ago
makeqstrdata.py py/persistentcode: Define static qstr set to reduce size of mpy files. 6 years ago
makeqstrdefs.py py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster. 7 years ago
makeversionhdr.py py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h. 6 years ago
malloc.c py/malloc: Give a compile warning if using finaliser without GC. 6 years ago
map.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
misc.h py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions. 7 years ago
mkenv.mk py: Update and rework build system for including external C modules. 6 years ago
mkrules.mk py: Update and rework build system for including external C modules. 6 years ago
modarray.c py: Allow registration of modules at their definition. 6 years ago
modbuiltins.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
modcmath.c py: Change obsolete "///" comment formatting to normal comments. 7 years ago
modcollections.c py/objdeque: Implement ucollections.deque type with fixed size. 7 years ago
modgc.c py: Change obsolete "///" comment formatting to normal comments. 7 years ago
modio.c py: Eliminate warnings about unused arguments when debugging disabled. 6 years ago
modmath.c py/modmath: Add math.factorial, optimised and non-opt implementations. 6 years ago
modmicropython.c py: Don't include mp_optimise_value or opt_level() if compiler disabled. 7 years ago
modstruct.c py/modstruct: Check and prevent buffer-write overflow in struct packing. 7 years ago
modsys.c py/mpconfig: Move MICROPY_VERSION macros to static ones in mpconfig.h. 6 years ago
modthread.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
moduerrno.c py/moduerrno: Make list of errno codes configurable. 8 years ago
mpconfig.h py: Add independent config for debugging sentinel object values. 6 years ago
mperrno.h py/mperrno: Define MP_EWOULDBLOCK as EWOULDBLOCK, not EAGAIN. 7 years ago
mphal.h all: Use the name MicroPython consistently in comments 7 years ago
mpprint.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
mpprint.h all: Use the name MicroPython consistently in comments 7 years ago
mpstate.c all: Use the name MicroPython consistently in comments 7 years ago
mpstate.h py: Add option to reduce GC stack integer size to save RAM. 6 years ago
mpthread.h all: Unify header guard usage. 7 years ago
mpz.c py/mpz: Avoid undefined behavior at integer overflow in mpz_hash. 7 years ago
mpz.h py/mpz: Simplify handling of borrow and quo adjustment in mpn_div. 7 years ago
nativeglue.c py/emitnative: Put None/False/True in global native const table. 6 years ago
nlr.c py/nlr: Fix missing trailing characters in comments in nlr.c 7 years ago
nlr.h py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 7 years ago
nlrsetjmp.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
nlrthumb.c py/nlrthumb: Fix Clang support wrt use of "return 0". 7 years ago
nlrx64.c py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 7 years ago
nlrx86.c py/nlrx86: Use naked attribute on nlr_push for gcc 8.0 and higher. 7 years ago
nlrxtensa.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
obj.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
obj.h py: Allow registration of modules at their definition. 6 years ago
objarray.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objarray.h py/objarray: Introduce "memview_offset" alias for "free" field of object 6 years ago
objattrtuple.c all: Use the name MicroPython consistently in comments 7 years ago
objbool.c all: Remove inclusion of internal py header files. 7 years ago
objboundmeth.c py/objboundmeth: Support loading generic attrs from the method. 6 years ago
objcell.c all: Use the name MicroPython consistently in comments 7 years ago
objclosure.c all: Use the name MicroPython consistently in comments 7 years ago
objcomplex.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objdeque.c py/objdeque: Fix sign extension bug when computing len of deque object. 7 years ago
objdict.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
objenumerate.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objexcept.c py/objexcept: Fix hash of exc str created in mp_obj_new_exception_msg. 6 years ago
objexcept.h py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs. 7 years ago
objfilter.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objfloat.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objfun.c py/objfun: Make fun_data arg of mp_obj_new_fun_asm() a const pointer. 6 years ago
objfun.h py/objgenerator: Implement __name__ with normal fun attr accessor code. 6 years ago
objgenerator.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objgenerator.h all: Use the name MicroPython consistently in comments 7 years ago
objgetitemiter.c all: Remove inclusion of internal py header files. 7 years ago
objint.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objint.h py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
objint_longlong.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objint_mpz.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objlist.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objlist.h py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
objmap.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objmodule.c py: Update and rework build system for including external C modules. 6 years ago
objmodule.h py/objmodule: Factor common code for calling __init__ on builtin module. 7 years ago
objnamedtuple.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objnamedtuple.h py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
objnone.c all: Remove inclusion of internal py header files. 7 years ago
objobject.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objpolyiter.c all: Remove inclusion of internal py header files. 7 years ago
objproperty.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objrange.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objreversed.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objset.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
objsingleton.c all: Remove inclusion of internal py header files. 7 years ago
objslice.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objstr.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objstr.h py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objstringio.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 8 years ago
objstrunicode.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objtuple.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
objtuple.h all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
objtype.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
objtype.h py/objtype: Don't expose mp_obj_instance_attr(). 7 years ago
objzip.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
opmethods.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
parse.c py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
parse.h all: Use the name MicroPython consistently in comments 7 years ago
parsenum.c py/parsenum: Avoid rounding errors with negative powers-of-10. 6 years ago
parsenum.h all: Use the name MicroPython consistently in comments 7 years ago
parsenumbase.c all: Use the name MicroPython consistently in comments 7 years ago
parsenumbase.h all: Use the name MicroPython consistently in comments 7 years ago
persistentcode.c py/persistentcode: Bump .mpy version to 4. 6 years ago
persistentcode.h py: Add support to save native, viper and asm code to .mpy files. 6 years ago
py.mk py: Update and rework build system for including external C modules. 6 years ago
pystack.c py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 7 years ago
pystack.h py: Introduce a Python stack for scoped allocation. 7 years ago
qstr.c py/qstr: Evaluate find_qstr only once then pass to Q_GET_HASH macro. 6 years ago
qstr.h py/qstr: Add QSTR_TOTAL() macro to get number of qstrs. 7 years ago
qstrdefs.h py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULO 6 years ago
reader.c py/reader: Allow MICROPY_VFS_POSIX to work with MICROPY_READER_POSIX. 7 years ago
reader.h py: Allow lexer to raise exceptions during construction. 8 years ago
repl.c py/repl: Fix handling of unmatched brackets and unfinished quotes. 7 years ago
repl.h all: Use the name MicroPython consistently in comments 7 years ago
ringbuf.h all: Unify header guard usage. 7 years ago
runtime.c py: Downcase MP_xxx_SLOT_IS_FILLED inline functions. 6 years ago
runtime.h py/warning: Support categories for warnings. 6 years ago
runtime0.h py/obj: Add support for __int__ special method. 6 years ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
scheduler.c py: Add micropython.schedule() function and associated runtime code. 8 years ago
scope.c py/scope: Optimise scope_find_or_add_id to not need "added" arg. 6 years ago
scope.h py/scope: Optimise scope_find_or_add_id to not need "added" arg. 6 years ago
sequence.c all: Remove inclusion of internal py header files. 7 years ago
showbc.c py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
smallint.c all: Use the name MicroPython consistently in comments 7 years ago
smallint.h py: Extend nan-boxing config to have 47-bit small integers. 7 years ago
stackctrl.c py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
stackctrl.h all: Use the name MicroPython consistently in comments 7 years ago
stream.c py: Update my copyright info on some files. 6 years ago
stream.h py/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t. 6 years ago
unicode.c py/unicode: Fix check for valid utf8 being stricter about contn chars. 6 years ago
unicode.h py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
vm.c py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
vmentrytable.h py: Replace POP_BLOCK and POP_EXCEPT opcodes with POP_EXCEPT_JUMP. 6 years ago
vstr.c py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 7 years ago
warning.c py: Update my copyright info on some files. 6 years ago