.. |
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{arm,thumb,x64,x86,xtensa}: Remove unused macros.
|
1 year 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/asm{arm,thumb,x64,x86,xtensa}: Remove unused macros.
|
1 year ago |
asmx64.c
|
py/asmx64: Support full range of regs in asm_x64_lea_disp_to_r64.
|
3 years ago |
asmx64.h
|
py/asm{arm,thumb,x64,x86,xtensa}: Remove unused macros.
|
1 year ago |
asmx86.c
|
py/asm: Add funcs/macros to emit machine code for logical-shift-right.
|
4 years ago |
asmx86.h
|
py/asm{arm,thumb,x64,x86,xtensa}: Remove unused macros.
|
1 year ago |
asmxtensa.c
|
py/asmxtensa: Fix use of l32i/s32i when offset won't fit in encoding.
|
3 years ago |
asmxtensa.h
|
py/asm{arm,thumb,x64,x86,xtensa}: Remove unused macros.
|
1 year ago |
bc.c
|
py/emitnative: Simplify layout and loading of native function prelude.
|
9 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
|
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/builtinevex: Fix setting globals for native functions in compile().
|
9 months ago |
builtinhelp.c
|
py/objmodule: Add a table of built-in modules with delegation.
|
1 year ago |
builtinimport.c
|
py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
|
9 months ago |
compile.c
|
py/compile: Remove TODO about name mangling.
|
9 months ago |
compile.h
|
py: Pass in address to compiled module instead of returning it.
|
2 years ago |
dynruntime.h
|
py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
|
9 months 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/emitbc: Remove call to adjust Python stack by 0 entries.
|
8 months ago |
emitcommon.c
|
py/compile: Fix scope of assignment expression target in comprehensions.
|
2 years ago |
emitglue.c
|
py/emitglue: Make mp_emit_glue_assign_native's fun_data arg a const ptr.
|
9 months ago |
emitglue.h
|
py/emitglue: Make mp_emit_glue_assign_native's fun_data arg a const ptr.
|
9 months 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: Simplify layout and loading of native function prelude.
|
9 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
|
py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
|
9 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: Improve calculation of new heap size in split-heap-auto mode.
|
11 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: Change token position for new lines.
|
1 year ago |
lexer.h
|
py/builtinevex: Handle invalid filenames for execfile.
|
1 year 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/qstr: Add support for MICROPY_QSTR_BYTES_IN_HASH=0.
|
10 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
|
py/malloc: Fix DEBUG_print() args in m_realloc_maybe.
|
1 year ago |
map.c
|
py/map: Clear value when re-using slot with ordered dictionaries.
|
2 years ago |
misc.h
|
py/misc: Remove m_new_obj[_var]_with_finaliser macros.
|
9 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
|
ports: Fix handling of paths containing spaces in Makefiles.
|
10 months ago |
modarray.c
|
all: Use MP_REGISTER_EXTENSIBLE_MODULE for overrideable built-ins.
|
1 year ago |
modbuiltins.c
|
py/modbuiltins: Share vstr_add_char's implementation of utf8 encoding.
|
11 months 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
|
py/gc: Add "max new split" value in result of gc.mem_free().
|
1 year ago |
modio.c
|
py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months 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/modstruct: Support pad bytes in struct format.
|
1 year ago |
modsys.c
|
py/modsys: Implement optional sys.intern.
|
11 months ago |
modthread.c
|
py/misc: Change sizeof to offsetof for variable-length alloc.
|
1 year ago |
mpconfig.h
|
py/mpconfig: Change the default enable level for the vfs module.
|
9 months 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
|
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: 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: 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/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
|
9 months ago |
nativeglue.h
|
py/emitglue: Introduce mp_proto_fun_t as a more general mp_raw_code_t.
|
9 months 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: Mark nlr_push() as naked function when possible.
|
1 year 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: Introduce mp_obj_malloc_with_finaliser to allocate and set type.
|
9 months ago |
obj.h
|
py/objfun: Split viper fun type out to separate mp_type_fun_viper type.
|
9 months 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: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months ago |
objbool.c
|
all: Rename UMODULE to MODULE in preprocessor/Makefile vars.
|
1 year ago |
objboundmeth.c
|
py/objboundmeth: Optimise check for types in binary_op.
|
1 year ago |
objcell.c
|
py/obj: Convert make_new into a mp_obj_type_t slot.
|
2 years ago |
objclosure.c
|
py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months 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
|
py/mphal: Move configuration of ATOMIC_SECTION macros to mphal.h.
|
11 months 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/objfun: Inline mp_obj_code_get_name() into mp_obj_fun_get_name().
|
9 months ago |
objfun.h
|
py/emitnative: Simplify layout and loading of native function prelude.
|
9 months ago |
objgenerator.c
|
py/emitnative: Simplify layout and loading of native function prelude.
|
9 months 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: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months 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: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months 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: Validate that the argument to indices() is an integer.
|
12 months ago |
objstr.c
|
py/objstr: Fix `str % {}` edge case.
|
1 year ago |
objstr.h
|
py/objstr: Add a helper to set mp_obj_str_t data.
|
2 years ago |
objstringio.c
|
py/stream: Add mp_stream___exit___obj that calls mp_stream_close.
|
1 year 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
|
py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months ago |
objtuple.h
|
all: Reformat C and Python source code with tools/codeformat.py.
|
5 years ago |
objtype.c
|
py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months ago |
objtype.h
|
py/obj: Optimise code size and performance for make_new as a slot.
|
2 years ago |
objzip.c
|
py/obj: Change sizeof to offsetof in mp_obj_malloc_var macro.
|
9 months 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: Always free lexer even if an exception is raised.
|
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/emitglue: Include fun_data_len in mp_raw_code_t only when saving.
|
9 months ago |
persistentcode.h
|
py/persistentcode: Bump .mpy sub-version.
|
1 year ago |
profile.c
|
py/profile: Remove the requirement to disable MICROPY_COMP_CONST.
|
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
|
py/py.mk: Remove extra build dir created for frozen_content.
|
10 months 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: Add support for MICROPY_QSTR_BYTES_IN_HASH=0.
|
10 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
|
py/builtinevex: Handle invalid filenames for execfile.
|
1 year ago |
reader.h
|
py/builtinevex: Handle invalid filenames for execfile.
|
1 year 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/runtime: Remove declaration of function from inside function.
|
1 year ago |
runtime.h
|
py: Add port-agnostic inline functions for event handling.
|
11 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: Add port-agnostic inline functions for event handling.
|
11 months ago |
scope.c
|
py: Rework bytecode and .mpy file format to be mostly static data.
|
3 years ago |
scope.h
|
py/emitglue: Include fun_data_len in mp_raw_code_t only when saving.
|
9 months ago |
sequence.c
|
all: Fix spelling mistakes based on codespell check.
|
2 years 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/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/stream: Add mp_stream___exit___obj that calls mp_stream_close.
|
1 year ago |
stream.h
|
extmod/vfs_reader: Add file ioctl to set read buffer size.
|
1 year 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/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: 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 |