.. |
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
|
py/emit: Suppress unreachable bytecode/native code that follows jump.
|
2 years ago |
asmbase.h
|
py/emit: Suppress unreachable bytecode/native code that follows jump.
|
2 years ago |
asmthumb.c
|
py/asmthumb: Provide implementations of clz/ctz for msvc.
|
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/builtinimport: Allow overriding of mp_builtin___import__.
|
2 years ago |
builtinevex.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
builtinhelp.c
|
py/obj: Add accessors for type slots and use everywhere.
|
2 years ago |
builtinimport.c
|
py/builtinimport: Fix unix port build with external imports disabled.
|
2 years ago |
compile.c
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
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
|
py/emit: Suppress unreachable bytecode/native code that follows jump.
|
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
|
py/emitnative: Explicitly compare comparison ops in binary_op emitter.
|
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
|
py/formatfloat: Use pow(10, e) instead of pos/neg_pow lookup tables.
|
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 gc_dump_info/gc_dump_alloc_table take a printer as argument.
|
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: Wrap in parenthesis all f-string arguments passed to format.
|
2 years 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
|
py/makecompresseddata.py: Make compression deterministic.
|
5 years ago |
makemoduledefs.py
|
py/makemoduledefs.py: Emit useful error for legacy MP_REGISTER_MODULE.
|
2 years ago |
makeqstrdata.py
|
top: Update Python formatting to black "2023 stable style".
|
2 years ago |
makeqstrdefs.py
|
py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator.
|
2 years 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: Add link to build troubleshooting on failure.
|
2 years ago |
modarray.c
|
all: Remove third argument to MP_REGISTER_MODULE.
|
2 years ago |
modbuiltins.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
modcmath.c
|
all: Remove third argument to MP_REGISTER_MODULE.
|
2 years ago |
modcollections.c
|
all: Remove third argument to MP_REGISTER_MODULE.
|
2 years ago |
modgc.c
|
all: Remove third argument to MP_REGISTER_MODULE.
|
2 years ago |
modio.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years 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
|
py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.
|
2 years ago |
modsys.c
|
py/modsys: Add support for sys.executable.
|
2 years ago |
modthread.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
moduerrno.c
|
all: Remove third argument to MP_REGISTER_MODULE.
|
2 years ago |
mpconfig.h
|
py/mpconfig: Provide config option for internal printf printer.
|
2 years ago |
mperrno.h
|
py/mperrno: Add MP_ECANCELED error code.
|
3 years 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/mpstate: Add mp_thread_is_main_thread() helper macro.
|
2 years 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
|
all: Reformat C and Python source code with tools/codeformat.py.
|
5 years ago |
nlr.h
|
py/nlrmips: Add native NLR support for MIPS architecture.
|
2 years ago |
nlraarch64.c
|
py/nlraarch64: Add underscore prefix to function symbols for Darwin ABI.
|
4 years 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/nlr: Factor out common NLR code to macro and generic funcs in nlr.c.
|
7 years 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: Add MP_NOINLINE to mp_obj_malloc_helper.
|
2 years ago |
obj.h
|
py: Add parenthesis to default impl of MP_OBJ_TO_PTR, MP_OBJ_FROM_PTR.
|
2 years ago |
objarray.c
|
py/objarray: Raise error on out-of-bound memoryview slice start.
|
2 years 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
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years 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
|
py/objdict: Implement dictionary union (PEP 584).
|
2 years ago |
objenumerate.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objexcept.c
|
py/obj: Optimise code size and performance for make_new as a slot.
|
2 years 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: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objfun.h
|
py: Rework bytecode and .mpy file format to be mostly static data.
|
3 years ago |
objgenerator.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years 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/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objint.h
|
py/modsys: Use consistent naming pattern for module-level const objects.
|
5 years ago |
objint_longlong.c
|
py/obj: Add static safety checks to mp_obj_is_type().
|
2 years ago |
objint_mpz.c
|
py/objint_mpz: Catch and reject @ and @= operating on big integers.
|
2 years ago |
objlist.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years 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/objmodule: Add support for __dict__.
|
2 years ago |
objmodule.h
|
py/objmodule: Support delegating failed attr lookups.
|
3 years 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
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years 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: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objslice.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objstr.c
|
py: Remove the word "yet" from exception messages.
|
2 years 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
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objtuple.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objtuple.h
|
all: Reformat C and Python source code with tools/codeformat.py.
|
5 years ago |
objtype.c
|
py/obj: Optimise code size and performance for make_new as a slot.
|
2 years 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
|
py/parse: Allow const types other than int to optimise as true/false.
|
2 years ago |
parse.h
|
py/parse: Factor obj extract code to mp_parse_node_extract_const_object.
|
3 years ago |
parsenum.c
|
py/objstr: Optimise mp_obj_new_str_from_vstr for known-safe strings.
|
2 years 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: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
profile.h
|
py: Rework bytecode and .mpy file format to be mostly static data.
|
3 years ago |
py.cmake
|
py/nlrmips: Add native NLR support for MIPS architecture.
|
2 years ago |
py.mk
|
py/nlrmips: Add native NLR support for MIPS architecture.
|
2 years 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
|
shared/readline: Make tab insert an indent when it follows whitespace.
|
3 years ago |
repl.h
|
py/modsys: Add optional mutable attributes sys.ps1/ps2 and use them.
|
3 years ago |
ringbuf.c
|
py/ringbuf: Add peek16 method.
|
5 years ago |
ringbuf.h
|
extmod/modbluetooth: Make modbluetooth event not a bitfield.
|
4 years ago |
runtime.c
|
py/runtime: Add mp_raise_OSError_with_filename helper function.
|
2 years ago |
runtime.h
|
py/runtime: Add mp_raise_OSError_with_filename helper function.
|
2 years ago |
runtime0.h
|
py/obj: Add support for __float__ and __complex__ functions.
|
2 years ago |
runtime_utils.c
|
py: mp_call_function_*_protected(): Pass-thru return value if possible.
|
7 years ago |
scheduler.c
|
py/scheduler: Use MP_REGISTER_ROOT_POINTER().
|
2 years ago |
scope.c
|
py: Rework bytecode and .mpy file format to be mostly static data.
|
3 years ago |
scope.h
|
py/emitcommon: Don't implicitly close class vars that are assigned to.
|
3 years ago |
sequence.c
|
all: Use MP_ERROR_TEXT for all error messages.
|
5 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
|
all: Reformat C and Python source code with tools/codeformat.py.
|
5 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/vm: Consistently indent #if guards to match the code they surround.
|
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 |