..
argcheck.c
py: Add option to compile without any error messages at all.
4 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: Remove unused mp_opcode_format function.
2 years ago
bc.h
py/bc: Remove unused mp_opcode_format function.
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: Allow overriding of mp_builtin___import__.
2 years ago
compile.c
py/compile: Support large integers in inline-asm data directive.
2 years ago
compile.h
py: Rework bytecode and .mpy file format to be mostly static data.
3 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/emit: Remove logic to detect last-emit-was-return-value.
2 years ago
emitbc.c
py/emit: Suppress unreachable bytecode/native code that follows jump.
2 years ago
emitcommon.c
py/compile: De-duplicate constant objects in module's constant table.
3 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: Fix STORE_ATTR viper code-gen when value is not a pyobj.
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: Reduce code size when MICROPY_GC_SPLIT_HEAP is disabled.
2 years ago
gc.h
py/gc: Allow the GC heap to be split over multiple memory areas.
2 years ago
grammar.h
py/compile: Implement PEP 526, syntax for variable annotations.
4 years ago
lexer.c
py/persistentcode: Remove unicode feature flag from .mpy file.
3 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
py/qstr: Separate hash and len from string data.
3 years ago
makeqstrdefs.py
py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator.
2 years ago
makeversionhdr.py
py/makeversionhdr: Add --tags arg to git describe.
3 years ago
malloc.c
py/malloc: Introduce m_tracked_calloc, m_tracked_free functions.
3 years ago
map.c
py/obj: Add static safety checks to mp_obj_is_type().
2 years ago
misc.h
py/objtype: Optimise slot RAM usage for instance types.
2 years ago
mkenv.mk
all: Fix paths to mpy-cross and micropython binaries.
2 years ago
mkrules.cmake
all: Fix paths to mpy-cross and micropython binaries.
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
all: Remove third argument to MP_REGISTER_MODULE.
2 years ago
modmicropython.c
all: Remove third argument to MP_REGISTER_MODULE.
2 years ago
modstruct.c
py/objstr: Split mp_obj_str_from_vstr into bytes/str versions.
2 years ago
modsys.c
py/modsys: Use MP_REGISTER_ROOT_POINTER().
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/obj: Remove basic mp_obj_type_t sparse representation.
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/gc: Reduce code size when MICROPY_GC_SPLIT_HEAP is disabled.
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
all: Reformat remaining C code that doesn't have a space after a comma.
3 years ago
nlraarch64.c
py/nlraarch64: Add underscore prefix to function symbols for Darwin ABI.
4 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: Merge getiter and iternext mp_obj_type_t slots.
2 years ago
obj.h
py/obj: Optimise code size and performance for make_new as a slot.
2 years ago
objarray.c
py/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
objarray.h
py/objstr: Consolidate methods for str/bytes/bytearray/array.
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/obj: Optimise code size and performance for make_new as a slot.
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/obj: Add static safety checks to mp_obj_is_type().
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/obj: Convert make_new into a mp_obj_type_t slot.
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/obj: Optimise code size and performance for make_new as a slot.
2 years ago
objstr.h
py/objstr: Always validate utf-8 for mp_obj_new_str.
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/parsenum: Optimise when building with complex disabled.
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/persistentcode: Clarify ValueError when native emitter disabled.
2 years ago
persistentcode.h
py/persistentcode: Select ARMV6M as maximum when __thumb2__ not defined.
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/py.cmake: Introduce MICROPY_INC_CORE as a list with core includes.
4 years ago
py.mk
py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator.
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
all: Reformat C and Python source code with tools/codeformat.py.
5 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/obj: Convert make_new into a mp_obj_type_t slot.
2 years ago
runtime.h
py/scheduler: De-inline and fix race with pending exception / scheduler.
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