..
argcheck.c
py: Remove the word "yet" from exception messages.
2 years ago
asmarm.c
py/asmarm: Add asm_arm_ldrh_reg_reg_offset() helper func.
2 years ago
asmarm.h
py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset.
2 years ago
asmbase.c
all: Fix spelling mistakes based on codespell check.
2 years ago
asmbase.h
py/emit: Suppress unreachable bytecode/native code that follows jump.
2 years ago
asmthumb.c
all: Fix spelling mistakes based on codespell check.
2 years ago
asmthumb.h
py/asmthumb: Make ARMv7-M instruction use dynamically selectable.
2 years ago
asmx64.c
py/asmx64: Support full range of regs in asm_x64_lea_disp_to_r64.
3 years ago
asmx64.h
py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset.
2 years ago
asmx86.c
py/asm: Add funcs/macros to emit machine code for logical-shift-right.
4 years ago
asmx86.h
py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset.
2 years ago
asmxtensa.c
py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding.
3 years ago
asmxtensa.h
py/asm: Add ASM_LOAD16_REG_REG_OFFSET macro for load-u16 with offset.
2 years ago
bc.c
py/bc: Fix checking for duplicate **kwargs.
2 years ago
bc.h
py: Pass in address to compiled module instead of returning it.
2 years ago
bc0.h
py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.
3 years ago
binary.c
py: Clean up formatting of union definitions.
2 years ago
binary.h
py/binary: Change mp_uint_t to size_t for index, size, align args.
5 years ago
builtin.h
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
builtinevex.c
py: Use nlr jump callbacks to optimise compile/execute functions.
1 year ago
builtinhelp.c
py/objmodule: Add a table of built-in modules with delegation.
1 year ago
builtinimport.c
py/modsys: Allow sys.path to be assigned to.
1 year ago
compile.c
py/compile: Remove over-eager optimisation of tuples as if condition.
2 years ago
compile.h
py: Pass in address to compiled module instead of returning it.
2 years ago
dynruntime.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
dynruntime.mk
py/dynruntime.mk: Allow building assembly source in natmods.
2 years ago
emit.h
py/compile: Fix scope of assignment expression target in comprehensions.
2 years ago
emitbc.c
all: Fix spelling mistakes based on codespell check.
2 years ago
emitcommon.c
py/compile: Fix scope of assignment expression target in comprehensions.
2 years ago
emitglue.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitglue.h
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitinlinethumb.c
py/emitinlinethumb: Make float instruction use dynamically selectable.
2 years ago
emitinlinextensa.c
py: Use unsigned comparison of chars.
4 years ago
emitnarm.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnative.c
all: Fix spelling mistakes based on codespell check.
2 years ago
emitnthumb.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnx64.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnx86.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnxtensa.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnxtensawin.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
formatfloat.c
all: Fix spelling mistakes based on codespell check.
2 years ago
formatfloat.h
all: Use the name MicroPython consistently in comments
7 years ago
frozenmod.c
py: Rework bytecode and .mpy file format to be mostly static data.
3 years ago
frozenmod.h
py/builtin: Clean up and simplify import_stat and builtin_open config.
2 years ago
gc.c
py/gc: Make improvements to MICROPY_GC_HOOK_LOOP.
2 years ago
gc.h
py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument.
2 years ago
grammar.h
py/compile: Implement PEP 526, syntax for variable annotations.
4 years ago
lexer.c
py/lexer: Allow conversion specifiers in f-strings (e.g. !r).
1 year ago
lexer.h
py/builtin: Clean up and simplify import_stat and builtin_open config.
2 years ago
make_root_pointers.py
py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator.
2 years ago
makecompresseddata.py
all: Fix spelling mistakes based on codespell check.
2 years ago
makemoduledefs.py
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
makeqstrdata.py
top: Update Python formatting to black "2023 stable style".
2 years ago
makeqstrdefs.py
py/objmodule: Add a table of built-in modules with delegation.
1 year ago
makeversionhdr.py
py/makeversionhdr.py: Always add micro to version string even if it's 0.
2 years ago
malloc.c
py/malloc: Introduce m_tracked_calloc, m_tracked_free functions.
3 years ago
map.c
py/map: Clear value when re-using slot with ordered dictionaries.
2 years ago
misc.h
py/misc: Remove use of bitfield from vstr_t.
2 years ago
mkenv.mk
py/mkenv.mk: Make CPP definition explicit for consistency.
2 years ago
mkrules.cmake
py/mkrules.cmake: Force build mpversion.h and frozen_content.c.
2 years ago
mkrules.mk
py/mkrules.mk: Allow $(AFLAGS) to set flags to $(AS).
1 year ago
modarray.c
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
1 year ago
modbuiltins.c
all: Fix spelling mistakes based on codespell check.
2 years ago
modcmath.c
all: Remove third argument to MP_REGISTER_MODULE.
2 years ago
modcollections.c
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
1 year ago
moderrno.c
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
1 year ago
modgc.c
all: Remove third argument to MP_REGISTER_MODULE.
2 years ago
modio.c
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
1 year ago
modmath.c
py/modmath: Fix two-argument math function domain check.
2 years ago
modmicropython.c
py/gc: Make gc_dump_info/gc_dump_alloc_table take a printer as argument.
2 years ago
modstruct.c
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
1 year ago
modsys.c
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
modthread.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
mpconfig.h
extmod/asyncio: Rename uasyncio to asyncio.
1 year ago
mperrno.h
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
mphal.h
all: Rename absolute time-based functions to include "epoch".
4 years ago
mpprint.c
py/mpprint: Fix length calculation for strings with precision-modifier.
4 years ago
mpprint.h
py/mpprint: Fix formatting typo with mp_print_ext_t struct name.
2 years ago
mpstate.c
all: Use the name MicroPython consistently in comments
7 years ago
mpstate.h
py/modsys: Allow sys.path to be assigned to.
1 year ago
mpthread.h
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
mpz.c
py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive.
3 years ago
mpz.h
py/mpz: Fix bugs with bitwise of -0 by ensuring all 0's are positive.
3 years ago
nativeglue.c
py/bc: Provide separate code-state setup funcs for bytecode and native.
3 years ago
nativeglue.h
py/bc: Provide separate code-state setup funcs for bytecode and native.
3 years ago
nlr.c
py/nlr: Implement jump callbacks.
1 year ago
nlr.h
py/nlr: Implement jump callbacks.
1 year ago
nlraarch64.c
py/nlraarch64: Fix dangerous use of input register.
1 year ago
nlrmips.c
py/nlrmips: Add native NLR support for MIPS architecture.
2 years ago
nlrpowerpc.c
py/nlrpowerpc: Fix generation of ppc64 code on ppc32 build.
2 years ago
nlrsetjmp.c
py/nlrsetjmp: Use MP_NLR_JUMP_HEAD macro to simplify code.
1 year ago
nlrthumb.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
nlrx64.c
py/nlrx64: Correct the detection of Darwin ABI.
4 years ago
nlrx86.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
nlrxtensa.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
obj.c
py/obj: Accept user types in mp_obj_get_int_maybe.
1 year ago
obj.h
py/objmodule: Add a table of built-in modules with delegation.
1 year ago
objarray.c
py/objarray: Disallow memoryview addition.
1 year ago
objarray.h
py/objarray: Raise error on out-of-bound memoryview slice start.
2 years ago
objattrtuple.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objbool.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objboundmeth.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objcell.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objclosure.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objcomplex.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objdeque.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objdict.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objenumerate.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objexcept.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objexcept.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objfilter.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objfloat.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objfun.c
py/obj: Remove mp_generic_unary_op().
1 year ago
objfun.h
py: Rework bytecode and .mpy file format to be mostly static data.
3 years ago
objgenerator.c
py/obj: Remove mp_generic_unary_op().
1 year ago
objgenerator.h
all: Use the name MicroPython consistently in comments
7 years ago
objgetitemiter.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objint.c
py/objint: Allow int() to parse anything with the buffer protocol.
1 year ago
objint.h
py/modsys: Use consistent naming pattern for module-level const objects.
5 years ago
objint_longlong.c
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
1 year ago
objint_mpz.c
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
1 year ago
objlist.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objlist.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objmap.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objmodule.c
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
objmodule.h
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
objnamedtuple.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objnamedtuple.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objnone.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objobject.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objpolyiter.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objproperty.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objrange.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objreversed.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objset.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objsingleton.c
py/obj: Remove mp_generic_unary_op().
1 year ago
objslice.c
py/objslice: Ensure slice is not hashable.
1 year ago
objstr.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objstr.h
py/objstr: Add a helper to set mp_obj_str_t data.
2 years ago
objstringio.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objstringio.h
py/objstringio: If created from immutable object, follow copy on write policy.
8 years ago
objstrunicode.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objtuple.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
objtuple.h
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
objtype.c
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
1 year ago
objtype.h
py/obj: Optimise code size and performance for make_new as a slot.
2 years ago
objzip.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
opmethods.c
py/obj: Add accessors for type slots and use everywhere.
2 years ago
pairheap.c
py/pairheap: Properly unlink node on pop and delete.
5 years ago
pairheap.h
py/pairheap: Add helper function to initialise a new node.
5 years ago
parse.c
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
parse.h
py/parse: Factor obj extract code to mp_parse_node_extract_const_object.
3 years ago
parsenum.c
py/parsenum: Fix typo in #endif comment.
1 year ago
parsenum.h
py/parsenum: Optimise when building with complex disabled.
2 years ago
parsenumbase.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
parsenumbase.h
all: Use the name MicroPython consistently in comments
7 years ago
persistentcode.c
py: Pass in address to compiled module instead of returning it.
2 years ago
persistentcode.h
py: Pass in address to compiled module instead of returning it.
2 years ago
profile.c
py/obj: Remove mp_generic_unary_op().
1 year ago
profile.h
py: Rework bytecode and .mpy file format to be mostly static data.
3 years ago
py.cmake
all: Rename *umodule*.c to remove the "u" prefix.
1 year ago
py.mk
all: Rename *umodule*.c to remove the "u" prefix.
1 year ago
pystack.c
py: Introduce and use mp_raise_type_arg helper.
3 years ago
pystack.h
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
qstr.c
py/qstr: Change qstr hash type from mp_uint_t to size_t.
2 years ago
qstr.h
py/qstr: Change qstr hash type from mp_uint_t to size_t.
2 years ago
qstrdefs.h
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.
3 years ago
reader.c
py: Include filename in errors from loading/saving files via "open".
2 years ago
reader.h
py: Allow lexer to raise exceptions during construction.
8 years ago
repl.c
py/makemoduledefs.py: Add a way to register extensible built-in modules.
1 year ago
repl.h
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.
3 years ago
ringbuf.c
py/ringbuf: Implement put_bytes/get_bytes functions.
2 years ago
ringbuf.h
py/ringbuf: Implement put_bytes/get_bytes functions.
2 years ago
runtime.c
py/modsys: Allow sys.path to be assigned to.
1 year ago
runtime.h
py/modsys: Allow sys.path to be assigned to.
1 year ago
runtime0.h
py: Change MP_UNARY_OP_INT to MP_UNARY_OP_INT_MAYBE.
1 year ago
runtime_utils.c
py: mp_call_function_*_protected(): Pass-thru return value if possible.
7 years ago
scheduler.c
py/scheduler: Implement VM abort flag and mp_sched_vm_abort().
2 years ago
scope.c
py: Rework bytecode and .mpy file format to be mostly static data.
3 years ago
scope.h
all: Fix spelling mistakes based on codespell check.
2 years ago
sequence.c
all: Fix spelling mistakes based on codespell check.
2 years ago
showbc.c
py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.
3 years ago
smallint.c
all: Use the name MicroPython consistently in comments
7 years ago
smallint.h
py/smallint: Introduce MP_SMALL_INT_BITS macro.
3 years ago
stackctrl.c
py/stackctrl: Add gcc pragmas to ignore dangling-pointer warning.
2 years ago
stackctrl.h
py/stackctrl: Prevent unused-var warning when stack checking disabled.
3 years ago
stream.c
py/obj: Add accessors for type slots and use everywhere.
2 years ago
stream.h
py/obj: Add accessors for type slots and use everywhere.
2 years ago
unicode.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
unicode.h
py/objstr: Add check for valid UTF-8 when making a str from bytes.
7 years ago
usermod.cmake
rp2: Add support for USER_C_MODULES to CMake build system.
4 years ago
vm.c
py/scheduler: Implement VM abort flag and mp_sched_vm_abort().
2 years ago
vmentrytable.h
py/vmentrytable: Ignore GCC -Woverride-init.
4 years ago
vstr.c
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
warning.c
py: Update my copyright info on some files.
6 years ago