..
argcheck.c
py: Remove the word "yet" from exception messages.
2 years ago
asmarm.c
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmarm.h
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmbase.c
py/emitndebug: Add native debug emitter.
5 months ago
asmbase.h
py/asmrv32: Add RISC-V RV32IMC native code emitter.
5 months ago
asmrv32.c
py/asmrv32: Use REG_TEMP2 whenever possible.
3 months ago
asmrv32.h
py/asmrv32: Fix short/long jumps scheduling.
3 months ago
asmthumb.c
py/misc: Move mp_clz and mp_ctz intrinsics into misc.h.
5 months ago
asmthumb.h
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmx64.c
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmx64.h
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmx86.c
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmx86.h
py/asm: Add ASM_NOT_REG and ASM_NEG_REG macros for unary ops.
8 months ago
asmxtensa.c
py/asmxtensa: Optimise asm_xtensa_mov_reg_i32_optimised() for tiny ints.
8 months ago
asmxtensa.h
py/asmxtensa: Optimise asm_xtensa_mov_reg_i32_optimised() for tiny ints.
8 months ago
bc.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
bc.h
py/emitglue: Include fun_data_len in mp_raw_code_t only when saving.
9 months ago
bc0.h
py: Change jump-if-x-or-pop opcodes to have unsigned offset argument.
3 years ago
binary.c
all: Use new mp_obj_new_str_from_cstr() function.
4 months ago
binary.h
py/binary: Change mp_uint_t to size_t for index, size, align args.
5 years ago
builtin.h
extmod/modmachine: Use sys.exit as implementation of machine.soft_reset.
4 months ago
builtinevex.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
builtinhelp.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
builtinimport.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
compile.c
py/emitnative: Fix native async with.
5 months ago
compile.h
py/compile: Add option to allow compiling top-level await.
8 months ago
cstack.c
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
cstack.h
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
dynruntime.h
py/dynruntime: Export mp_load_method_maybe and mp_arg_parse_all* funcs.
6 months ago
dynruntime.mk
py/dynruntime.mk: Allow building assembly source in natmods.
2 years ago
emit.h
py/emitnative: Fix native async with.
5 months ago
emitbc.c
py: Remove 5 TODOs in emitbc, objrange and repl.
4 months ago
emitcommon.c
py/compile: Fix scope of assignment expression target in comprehensions.
2 years ago
emitglue.c
py/asmrv32: Add RISC-V RV32IMC native code emitter.
5 months ago
emitglue.h
py/emitglue: Add explicit cast of proto_fun to uint8_t pointer.
8 months ago
emitinlinethumb.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
emitinlinextensa.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
emitnarm.c
py/emitnative: Access qstr values using indirection table qstr_table.
2 years ago
emitnative.c
py/emitnative: Fix case of clobbered REG_TEMP0 when loading const obj.
3 months ago
emitndebug.c
py/emitndebug: Add native debug emitter.
5 months ago
emitnrv32.c
py/asmrv32: Add RISC-V RV32IMC native code emitter.
5 months 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
all: Remove the "STATIC" macro and just use "static" instead.
8 months 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 various spelling mistakes found by codespell 2.2.6.
1 year 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: Remove commented-out functions.
4 months ago
gc.h
py/gc: Add "max new split" value in result of gc.mem_free().
1 year ago
grammar.h
py/compile: Implement PEP 526, syntax for variable annotations.
4 years ago
lexer.c
py/lexer: Add static assert that token enum values all fit in a byte.
4 months ago
lexer.h
py/lexer: Add static assert that token enum values all fit in a byte.
4 months 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
py/makeqstrdata.py: Ensure that scope names get low qstr values.
8 months ago
makeqstrdefs.py
py/makeqstrdefs.py: Stop generating temporary intermediate file.
11 months ago
makeversionhdr.py
py/makeversionhdr.py: Reinstate MICROPY_GIT_HASH in mpversion.h.
9 months ago
malloc.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
map.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
misc.h
py/misc: Fix msvc and C++ compatibility.
3 months ago
mkenv.mk
windows: Use the MicroPython logo as application icon.
1 year ago
mkrules.cmake
py/mkrules.mk: List hash files as byproducts.
11 months ago
mkrules.mk
py/mkrules.mk: Fix 'make submodules' when building out-of-tree.
2 months ago
modarray.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modbuiltins.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modcmath.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modcollections.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
moderrno.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modgc.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modio.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modmath.c
py/modmath: Add option to work around -inf bug in a port's tgamma.
3 months ago
modmicropython.c
py/objringio: Add micropython.RingIO() interface for general use.
2 months ago
modstruct.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modsys.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
modthread.c
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
mpconfig.h
py/persistentcode: Explicitly track native BSS/rodata when needed.
1 month ago
mperrno.h
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
1 year ago
mphal.h
ports: Fix sys.stdout.buffer.write() return value.
11 months ago
mpprint.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months 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/mpstate: Don't declare mp_thread_get_state().
8 months ago
mpthread.h
py/modthread: Return thread id from start_new_thread().
1 year ago
mpz.c
py/mpz: Skip separators when running out of digits to print.
1 month ago
mpz.h
py/objint: Fix int.to_bytes() buffer size checks.
5 months ago
nativeglue.c
py/dynruntime: Export mp_load_method_maybe and mp_arg_parse_all* funcs.
6 months ago
nativeglue.h
py/dynruntime: Export mp_load_method_maybe and mp_arg_parse_all* funcs.
6 months ago
nlr.c
py/nlr: Implement jump callbacks.
1 year ago
nlr.h
py/nlrrv64: Add RISC-V RV64I NLR implementation.
1 month ago
nlraarch64.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
nlrmips.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
nlrpowerpc.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
nlrrv32.c
py/nlrrv32: Add RISC-V RV32I NLR implementation.
5 months ago
nlrrv64.c
py/nlrrv64: Add RISC-V RV64I NLR implementation.
1 month ago
nlrsetjmp.c
py/nlrsetjmp: Use MP_NLR_JUMP_HEAD macro to simplify code.
1 year ago
nlrthumb.c
py/nlrthumb: Make non-Thumb2 long-jump workaround opt-in.
7 months ago
nlrx64.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
nlrx86.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
nlrxtensa.c
py/nlr: Add "memory" to asm clobbers list in nlr_jump.
8 months ago
obj.c
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
obj.h
py/objtype: Allow passing keyword arguments to native base __init__.
1 month ago
objarray.c
py/objarray: Fix buffer overflow in case of memory allocation failure.
4 months ago
objarray.h
py/objarray: Raise error on out-of-bound memoryview slice start.
2 years ago
objattrtuple.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objbool.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objboundmeth.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objcell.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objclosure.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objcomplex.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objdeque.c
py/objdeque: Fix deque type flags based on option settings.
5 months ago
objdict.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objenumerate.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objexcept.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objexcept.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objfilter.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objfloat.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objfun.c
py/objtype: Allow passing keyword arguments to native base __init__.
1 month ago
objfun.h
py/objfun: Fix C++ compatibility with casting in inline functions.
7 months ago
objgenerator.c
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
objgenerator.h
all: Use the name MicroPython consistently in comments
7 years ago
objgetitemiter.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objint.c
py/objint: Make byteorder argument optional in int.from_bytes() method.
2 months ago
objint.h
py/objint: Fix int.to_bytes() buffer size checks.
5 months ago
objint_longlong.c
py/objint: Try to convert big-int back to small-int after binary op.
4 months ago
objint_mpz.c
py/objint: Try to convert big-int back to small-int after binary op.
4 months ago
objlist.c
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
objlist.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objmap.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objmodule.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objmodule.h
py/makemoduledefs.py: Automatically declare delegation attr functions.
1 year ago
objnamedtuple.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objnamedtuple.h
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objnone.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objobject.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objpolyiter.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objproperty.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objrange.c
py: Remove 5 TODOs in emitbc, objrange and repl.
4 months ago
objreversed.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objringio.c
py/objringio: Add micropython.RingIO() interface for general use.
2 months ago
objset.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objsingleton.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objslice.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objstr.c
py/objstr: Skip whitespace in bytes.fromhex().
3 months ago
objstr.h
py/objstr: Add a macro to define a bytes object at compile time.
8 months ago
objstringio.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objstringio.h
py/objstringio: If created from immutable object, follow copy on write policy.
8 years ago
objstrunicode.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objtuple.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
objtuple.h
all: Reformat C and Python source code with tools/codeformat.py.
5 years ago
objtype.c
py/objtype: Don't delegate lookup of descriptor methods to __getattr__.
3 weeks ago
objtype.h
py/obj: Optimise code size and performance for make_new as a slot.
2 years ago
objzip.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
opmethods.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months 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
py/parse: Remove old esp32 compiler workaround.
1 month ago
parse.h
py/parse: Factor obj extract code to mp_parse_node_extract_const_object.
3 years ago
parsenum.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months 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/persistentcode: Explicitly track native BSS/rodata when needed.
1 month ago
persistentcode.h
py/emitndebug: Add native debug emitter.
5 months ago
profile.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
profile.h
py: Rework bytecode and .mpy file format to be mostly static data.
3 years ago
py.cmake
py/nlrrv64: Add RISC-V RV64I NLR implementation.
1 month ago
py.mk
py/nlrrv64: Add RISC-V RV64I NLR implementation.
1 month 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/makeqstrdata.py: Ensure that scope names get low qstr values.
8 months ago
qstr.h
py/qstr: Add support for MICROPY_QSTR_BYTES_IN_HASH=0.
10 months ago
qstrdefs.h
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.
3 years ago
reader.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
reader.h
py/builtinevex: Handle invalid filenames for execfile.
1 year ago
repl.c
py: Remove 5 TODOs in emitbc, objrange and repl.
4 months ago
repl.h
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.
3 years ago
ringbuf.c
py/objringio: Add micropython.RingIO() interface for general use.
2 months ago
ringbuf.h
py/objringio: Add micropython.RingIO() interface for general use.
2 months ago
runtime.c
py/persistentcode: Explicitly track native BSS/rodata when needed.
1 month ago
runtime.h
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
runtime0.h
py/emitglue: Simplify mp_raw_code_t's kind and scope_flags members.
9 months ago
runtime_utils.c
py: mp_call_function_*_protected(): Pass-thru return value if possible.
7 years ago
scheduler.c
py/scheduler: Only run callbacks on the main thread if GIL is disabled.
2 months ago
scope.c
py/makeqstrdata.py: Ensure that scope names get low qstr values.
8 months ago
scope.h
py/emitglue: Include fun_data_len in mp_raw_code_t only when saving.
9 months ago
sequence.c
py/sequence: Remove unused len argument from mp_seq_extract_slice.
4 months ago
showbc.c
py/emitglue: Include fun_data_len in mp_raw_code_t only when saving.
9 months 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: Add new cstack API for stack checking, with limit margin macro.
3 months ago
stackctrl.h
py: Add new cstack API for stack checking, with limit margin macro.
3 months ago
stream.c
py/stream: Factor stream implementations.
8 months ago
stream.h
py/stream: Factor stream implementations.
8 months ago
unicode.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
unicode.h
py/objstr: Add check for valid UTF-8 when making a str from bytes.
7 years ago
usermod.cmake
py/usermod.cmake: Check target exists in usermod_gather_sources.
3 weeks ago
vm.c
py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
9 months ago
vmentrytable.h
py/vmentrytable: Ignore GCC -Woverride-init.
4 years ago
vstr.c
all: Remove the "STATIC" macro and just use "static" instead.
8 months ago
warning.c
py: Update my copyright info on some files.
6 years ago