..
argcheck.c
py: Shorten error messages by using contractions and some rewording.
6 years ago
asmarm.c
py/asm*: Support assembling code to jump to a register, and get PC+off.
6 years ago
asmarm.h
py/asm*: Support assembling code to jump to a register, and get PC+off.
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/asmthumb: Detect presence of I-cache using CMSIS macro.
6 years ago
asmthumb.h
py/asm*: Support assembling code to jump to a register, and get PC+off.
6 years ago
asmx64.c
py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs.
6 years ago
asmx64.h
py/asm*: Support assembling code to jump to a register, and get PC+off.
6 years ago
asmx86.c
py/{asmx86,asmx64}: Extend test_r8_with_r8 to accept all 8 lower regs.
6 years ago
asmx86.h
py/asm*: Support assembling code to jump to a register, and get PC+off.
6 years ago
asmxtensa.c
py/asmxtensa: Make indirect calls using func table, not raw pointers.
6 years ago
asmxtensa.h
py/asmxtensa: Make indirect calls using func table, not raw pointers.
6 years ago
bc.c
py/bc: Update opcode_format_table to match the bytecode.
7 years ago
bc.h
all: Remove inclusion of internal py header files.
7 years ago
bc0.h
py: Clean up unary and binary enum list to keep groups together.
7 years ago
binary.c
py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str.
7 years ago
binary.h
py/binary: Change internal bytearray typecode from 0 to 1.
7 years ago
builtin.h
extmod/moducryptolib: Add ucryptolib module with crypto functions.
6 years ago
builtinevex.c
all: Remove inclusion of internal py header files.
7 years ago
builtinhelp.c
py: Simplify some cases of accessing the map of module and type dict.
6 years ago
builtinimport.c
py/builtinimport: Add compile-time option to disable external imports.
7 years ago
compile.c
py: Shorten error messages by using contractions and some rewording.
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/emit: Completely remove set_native_type, arg type is set in compiler.
6 years ago
emitbc.c
py/emit: Completely remove set_native_type, arg type is set in compiler.
6 years ago
emitcommon.c
py/emit: Combine name and global into one func for load/store/delete.
7 years ago
emitglue.c
py: Make viper functions have the same entry signature as native.
6 years ago
emitglue.h
py/emit: Move MP_EMIT_OPT_xxx enums from compile.h to emitglue.h.
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/asmxtensa: Make indirect calls using func table, not raw pointers.
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: Make viper functions have the same entry signature as native.
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: In gc_alloc, reset n_free var right before search for free mem.
6 years ago
gc.h
py/gc: Add gc_sweep_all() function to run all remaining finalisers.
7 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
makeqstrdata.py
py/modbuiltins: Make built-in dir support the __dir__ special method.
7 years ago
makeqstrdefs.py
py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster.
7 years ago
makeversionhdr.py
py: Use "GEN" consistently for describing files generated in the build.
7 years ago
malloc.c
py/malloc: Give a compile warning if using finaliser without GC.
6 years ago
map.c
py: Fix compiling with debug enabled and make more use of DEBUG_printf.
6 years ago
misc.h
py/misc.h: Add MP_STATIC_ASSERT macro to do static assertions.
7 years ago
mkenv.mk
py/mkenv.mk: Use $(PYTHON) consistently when calling Python tools.
7 years ago
mkrules.mk
py/mkrules.mk: Regenerate all qstrs when config files change.
7 years ago
modarray.c
all: Use the name MicroPython consistently in comments
7 years ago
modbuiltins.c
py/modbuiltins: Make oct/hex work when !MICROPY_PY_BUILTINS_STR_OP_MODULO
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/modio: Add uio.IOBase class to allow to define user streams.
7 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: Add checks for stream objects in print() and sys.print_exception().
6 years ago
modthread.c
py: Introduce a Python stack for scoped allocation.
7 years ago
moduerrno.c
py/moduerrno: Make list of errno codes configurable.
8 years ago
mpconfig.h
py/modmath: Add math.factorial, optimised and non-opt implementations.
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/mpprint: Fix "%x" vs "%X" regression introduced in previous commit.
7 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
extmod/uos_dupterm: Use native C stream methods on dupterm object.
7 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: Make viper functions have the same entry signature as native.
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: Shorten error messages by using contractions and some rewording.
6 years ago
obj.h
py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro.
6 years ago
objarray.c
py/objarray: bytearray: Allow 2nd/3rd arg to constructor.
6 years ago
objarray.h
py/objarray: Replace 0x80 with new MP_OBJ_ARRAY_TYPECODE_FLAG_RW macro.
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: Convert all uses of alloca() to use new scoped allocation API.
7 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: Shorten error messages by using contractions and some rewording.
6 years ago
objdeque.c
py/objdeque: Fix sign extension bug when computing len of deque object.
7 years ago
objdict.c
py/objdict: Make mp_obj_dict_get_map an inline function.
6 years ago
objenumerate.c
all: Use the name MicroPython consistently in comments
7 years ago
objexcept.c
py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs.
7 years ago
objexcept.h
py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs.
7 years ago
objfilter.c
all: Use the name MicroPython consistently in comments
7 years ago
objfloat.c
py: Shorten error messages by using contractions and some rewording.
6 years ago
objfun.c
py: Make viper functions have the same entry signature as native.
6 years ago
objfun.h
py/objgenerator: Implement __name__ with normal fun attr accessor code.
6 years ago
objgenerator.c
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
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/objint: Remove unreachable code checking for int type in format func.
7 years ago
objint.h
py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS.
7 years ago
objint_longlong.c
py: Shorten error messages by using contractions and some rewording.
6 years ago
objint_mpz.c
py: Shorten error messages by using contractions and some rewording.
6 years ago
objlist.c
all: Use NULL instead of "" when calling mp_raise exception helpers.
7 years ago
objlist.h
py/obj.h: Move declaration of mp_obj_list_init to objlist.h.
7 years ago
objmap.c
all: Use the name MicroPython consistently in comments
7 years ago
objmodule.c
py/objmodule: Make mp_obj_module_get_globals an inline function.
6 years ago
objmodule.h
py/objmodule: Factor common code for calling __init__ on builtin module.
7 years ago
objnamedtuple.c
py/objnamedtuple: Allow to reuse namedtuple basic functionality.
7 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/objtype: Refactor object's handling of __new__ to not create 2 objs.
7 years ago
objpolyiter.c
all: Remove inclusion of internal py header files.
7 years ago
objproperty.c
all: Remove inclusion of internal py header files.
7 years ago
objrange.c
py/objrange: Implement (in)equality comparison between range objects.
7 years ago
objreversed.c
all: Remove inclusion of internal py header files.
7 years ago
objset.c
py/objset: Remove unneeded check from set_equal.
7 years ago
objsingleton.c
all: Remove inclusion of internal py header files.
7 years ago
objslice.c
all: Remove inclusion of internal py header files.
7 years ago
objstr.c
py/objstr: format: Return bytes result for bytes format string.
6 years ago
objstr.h
py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr.
7 years ago
objstringio.c
py/stream: Switch stream close operation from method to ioctl.
7 years ago
objstringio.h
py/objstringio: If created from immutable object, follow copy on write policy.
8 years ago
objstrunicode.c
py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions.
7 years ago
objtuple.c
all: Remove inclusion of internal py header files.
7 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: Shorten error messages by using contractions and some rewording.
6 years ago
objtype.h
py/objtype: Don't expose mp_obj_instance_attr().
7 years ago
objzip.c
all: Use the name MicroPython consistently in comments
7 years ago
opmethods.c
py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN.
7 years ago
parse.c
py: Shorten error messages by using contractions and some rewording.
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/emitglue: When assigning bytecode only pass bytecode len if needed.
7 years ago
persistentcode.h
py: Factor out persistent-code reader into separate files.
8 years ago
py.mk
py/py.mk: Build axtls library directly from its source files.
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: Rewrite find_qstr to make manifest that it returns a valid ptr.
7 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: Shorten error messages by using contractions and some rewording.
6 years ago
runtime.h
py: Fix msvc C++ compiler warnings with MP_OBJ_FUN_MAKE_SIG macro.
6 years ago
runtime0.h
py: Make viper functions have the same entry signature as native.
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
all: Use the name MicroPython consistently in comments
7 years ago
scope.h
py/emit: Completely remove set_native_type, arg type is set in compiler.
6 years ago
sequence.c
all: Remove inclusion of internal py header files.
7 years ago
showbc.c
py: Clean up unary and binary enum list to keep groups together.
7 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/stream: Adjust mp_stream_posix_XXX to take void*, not mp_obj_t.
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: Clean up utf8 funcs and provide non-utf8 inline versions.
7 years ago
unicode.h
py/objstr: Add check for valid UTF-8 when making a str from bytes.
7 years ago
vm.c
py/vm: Fix handling of finally-return with complex nested finallys.
6 years ago
vmentrytable.h
py: Clean up unary and binary enum list to keep groups together.
7 years ago
vstr.c
py/vstr: Raise a RuntimeError if fixed vstr buffer overflows.
7 years ago
warning.c
py: Add config option to print warnings/errors to stderr.
7 years ago