You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
David Lechner 81dbea1ce3 shared/readline: Use MP_REGISTER_ROOT_POINTER(). 2 years ago
..
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/obj: Add static safety checks to mp_obj_is_type(). 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/builtin: Remove unnecessary module declarations. 2 years ago
builtinevex.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
builtinhelp.c py/builtinhelp: Don't show help for an MP_MODULE_ATTR_DELEGATION_ENTRY. 2 years ago
builtinimport.c py/builtinimport: Alias sys to usys if import weak links aren't enabled. 3 years ago
compile.c py/emit: Remove logic to detect last-emit-was-return-value. 2 years ago
compile.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
dynruntime.h py/dynruntime: Add macros to access more types and mp_const_empty_bytes. 2 years ago
dynruntime.mk py/dynruntime.mk: Add basic support for armv6m architecture. 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 all: Fix implicit conversion from double to float. 5 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: Update debug code to compile with changes to qstr pool types. 3 years ago
gc.h py/gc: Change include of stdint.h to stddef.h. 4 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/misc: Add MP_STATIC_ASSERT_NOT_MSC(). 2 years ago
mkenv.mk py/mkrules: Automatically build mpy-cross if it doesn't exist. 3 years ago
mkrules.cmake py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 years ago
mkrules.mk py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 years ago
modarray.c all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
modbuiltins.c all: Remove third argument to MP_REGISTER_MODULE. 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 all: Remove third argument to MP_REGISTER_MODULE. 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 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
modsys.c all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
modthread.c all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
moduerrno.c all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
mpconfig.h shared/readline: Use MP_REGISTER_ROOT_POINTER(). 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 extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
mpstate.c all: Use the name MicroPython consistently in comments 7 years ago
mpstate.h py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 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 all: Reformat C and Python source code with tools/codeformat.py. 5 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 static safety checks to mp_obj_is_type(). 2 years ago
obj.h py/make_root_pointers: Add MP_REGISTER_ROOT_POINTER parser/generator. 2 years ago
objarray.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objarray.h py/objarray.h: Add mp_obj_memoryview_init() helper function. 4 years ago
objattrtuple.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objbool.c all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objboundmeth.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objcell.c py/objcell: Make cell get/set funcs static-inline to reduce code size. 2 years ago
objclosure.c py/objclosure: Forward function attributes for closures. 2 years ago
objcomplex.c py/parsenum: Optimise when building with complex disabled. 2 years ago
objdeque.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objdict.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objenumerate.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objexcept.c py/obj: Add static safety checks to mp_obj_is_type(). 2 years ago
objexcept.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objfilter.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objfloat.c py/parsenum: Optimise when building with complex disabled. 2 years ago
objfun.c py/obj: Add static safety checks to mp_obj_is_type(). 2 years ago
objfun.h py: Rework bytecode and .mpy file format to be mostly static data. 3 years ago
objgenerator.c py/emitnative: Put a pointer to the native prelude in child_table array. 3 years ago
objgenerator.h all: Use the name MicroPython consistently in comments 7 years ago
objgetitemiter.c py: Support single argument to optimised MP_OBJ_STOP_ITERATION. 3 years ago
objint.c py/obj: Add static safety checks to mp_obj_is_type(). 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 extmod/modujson: Add support for dump/dumps separators keyword-argument. 3 years ago
objlist.h py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
objmap.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objmodule.c py: Change makemoduledefs process so it uses output of qstr extraction. 2 years ago
objmodule.h py/objmodule: Support delegating failed attr lookups. 3 years ago
objnamedtuple.c py/objnamedtuple: Fix segfault with empty namedtuple. 2 years ago
objnamedtuple.h py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
objnone.c py/obj: Add MICROPY_OBJ_IMMEDIATE_OBJS option to reduce code size. 5 years ago
objobject.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objpolyiter.c all: Remove inclusion of internal py header files. 7 years ago
objproperty.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objrange.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objreversed.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objset.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objsingleton.c py/objsingleton: Use mp_generic_unary_op for singleton objects. 5 years ago
objslice.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objstr.c py/obj: Add static safety checks to mp_obj_is_type(). 2 years ago
objstr.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objstringio.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 8 years ago
objstrunicode.c py/mpprint: Fix length calculation for strings with precision-modifier. 4 years ago
objtuple.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objtuple.h all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
objtype.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
objtype.h py/runtime: Don't allocate iter buf for user-defined types. 5 years ago
objzip.c all: Use mp_obj_malloc everywhere it's applicable. 3 years ago
opmethods.c py: Make mp_obj_get_type() return a const ptr to mp_obj_type_t. 5 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/parsenum: Optimise when building with complex disabled. 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/parsenum: Optimise when building with complex disabled. 2 years ago
persistentcode.h py/persistentcode: Select ARMV6M as maximum when __thumb2__ not defined. 2 years ago
profile.c py: Rework bytecode and .mpy file format to be mostly static data. 3 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: Use `const` consistently to avoid a cast. 3 years ago
qstr.h py: Rework bytecode and .mpy file format to be mostly static data. 3 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 all: Remove third argument to MP_REGISTER_MODULE. 2 years ago
runtime.h py/scheduler: De-inline and fix race with pending exception / scheduler. 2 years ago
runtime0.h py/nativeglue: Add new header file with native function table typedef. 5 years ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
scheduler.c py/scheduler: De-inline and fix race with pending exception / scheduler. 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/stream: Remove mp_stream_errno and use system errno instead. 5 years ago
stream.h py/stream.h: Include sys/types.h to get size_t and off_t for POSIX API. 5 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