..
argcheck.c
py/argcheck: Remove #if guard around terse error message helper func.
7 years ago
asmarm.c
py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func.
7 years ago
asmarm.h
py/emitnative: Clean up asm macro names so they have dest as first arg.
7 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/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func.
7 years ago
asmthumb.h
py: Refactor how native emitter code is compiled with a file per arch.
7 years ago
asmx64.c
py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func.
7 years ago
asmx64.h
py/emitnative: Clean up asm macro names so they have dest as first arg.
7 years ago
asmx86.c
py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func.
7 years ago
asmx86.h
py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func.
7 years ago
asmxtensa.c
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmxtensa.h
py/emitnative: Clean up asm macro names so they have dest as first arg.
7 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/compile: Handle return/break/continue correctly in async with.
6 years ago
compile.h
all: Use the name MicroPython consistently in comments
7 years ago
emit.h
py/emit: Combine setup with/except/finally into one emit function.
7 years ago
emitbc.c
py/emit: Combine setup with/except/finally into one emit function.
7 years ago
emitcommon.c
py/emit: Combine name and global into one func for load/store/delete.
7 years ago
emitglue.c
py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances.
6 years ago
emitglue.h
py/emitglue: When assigning bytecode only pass bytecode len if needed.
7 years ago
emitinlinethumb.c
all: Use the name MicroPython consistently in comments
7 years ago
emitinlinextensa.c
py/emitinline: Move common code for end of final pass to compiler.
8 years ago
emitnarm.c
py: Refactor how native emitter code is compiled with a file per arch.
7 years ago
emitnative.c
py/emit: Combine setup with/except/finally into one emit function.
7 years ago
emitnthumb.c
py: Refactor how native emitter code is compiled with a file per arch.
7 years ago
emitnx64.c
py: Refactor how native emitter code is compiled with a file per arch.
7 years ago
emitnx86.c
py/emitnx86: Fix 32-bit x86 native emitter build by including header.
7 years ago
emitnxtensa.c
py: Refactor how native emitter code is compiled with a file per arch.
7 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: Add gc_sweep_all() function to run all remaining finalisers.
7 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: Remove unneeded code checking m_malloc return value.
7 years ago
map.c
py/map: Don't include ordered-dict mutating code when not needed.
7 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: Add checks for stream objects in print() and sys.print_exception().
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: Convert log2 macro into a function.
7 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
extmod/modure: Add ure.sub() function and method, and tests.
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/emit: Merge build set/slice into existing build emit function.
7 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
all: Remove inclusion of internal py header files.
7 years ago
obj.h
py/objmodule: Make mp_obj_module_get_globals an inline function.
6 years ago
objarray.c
py/objarray: Replace 0x80 with new MP_OBJ_ARRAY_TYPECODE_FLAG_RW macro.
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
all: Remove inclusion of internal py header files.
7 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/objfloat: Fix undefined integer behavior hashing negative zero.
7 years ago
objfun.c
py/objfun: Fix variable name in DECODE_CODESTATE_SIZE() macro.
7 years ago
objfun.h
all: Use the name MicroPython consistently in comments
7 years ago
objgenerator.c
py/objgenerator: Eliminate need for mp_obj_gen_wrap wrapper instances.
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/objint: Simplify LHS arg type checking in int binary op functions.
7 years ago
objint_mpz.c
py/objint: Simplify LHS arg type checking in int binary op functions.
7 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: In find/rfind, don't crash when end < start.
7 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/objtype: Optimise instance get/set/del by skipping special accessors.
7 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/parse: Fix macro evaluation by avoiding empty __VA_ARGS__.
7 years ago
parse.h
all: Use the name MicroPython consistently in comments
7 years ago
parsenum.c
py/lexer: Add support for underscores in numeric literals.
7 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
extmod/moducryptolib: Add ucryptolib module with crypto functions.
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/pystack: Use "pystack exhausted" as error msg for out of pystack mem.
7 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: Simplify some cases of accessing the map of module and type dict.
6 years ago
runtime.h
py/runtime: Add mp_load_method_protected helper which catches exceptions
7 years ago
runtime0.h
py/emit: Merge build set/slice into existing build emit function.
7 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
all: Use the name MicroPython consistently in comments
7 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: Remove stray empty line at start of file.
6 years ago
stream.h
py/stream: Introduce and use efficient mp_get_stream to access stream_p.
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/objtype: Don't expose mp_obj_instance_attr().
7 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