..
argcheck.c
py/argcheck: Use size_t instead of mp_uint_t to count number of args.
9 years ago
asmarm.c
py: Implement native multiply operation in viper emitter.
10 years ago
asmarm.h
py: Implement native multiply operation in viper emitter.
10 years ago
asmthumb.c
py/asmthumb: Allow to compile with -Wsign-compare and -Wunused-parameter.
9 years ago
asmthumb.h
py: Add lsl/lsr/asr opcode support to inline Thumb2 assembler.
9 years ago
asmx64.c
py/asmx64: Support all 16 regs in reg to memory move instructions.
9 years ago
asmx64.h
py: Implement ptr32 load and store in viper emitter.
9 years ago
asmx86.c
py/asmx86: Fix function definition to use int32_t instead of int.
9 years ago
asmx86.h
py: Implement native multiply operation in viper emitter.
10 years ago
bc.c
py: Fix bug passing a string as a keyword arg in a dict.
9 years ago
bc.h
py/bc: Use size_t instead of mp_uint_t to count size of state and args.
9 years ago
bc0.h
py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics.
9 years ago
binary.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
binary.h
py/binary: Make return type of mp_binary_get_size size_t instead of int.
10 years ago
builtin.h
py: Add uerrno module, with errno constants and dict.
9 years ago
builtinevex.c
py: Change type signature of builtin funs that take variable or kw args.
9 years ago
builtinimport.c
py: Add ability to have frozen persistent bytecode from .mpy files.
9 years ago
compile.c
py: Fix constant folding and inline-asm to work with new async grammar.
9 years ago
compile.h
py/compile: Add mp_compile_to_raw_code() to return raw code object.
9 years ago
emit.h
py: Combine continuous block of emit steps into with_cleanup emit call.
9 years ago
emitbc.c
py: Combine continuous block of emit steps into with_cleanup emit call.
9 years ago
emitcommon.c
py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.
9 years ago
emitglue.c
py: Add ability to have frozen persistent bytecode from .mpy files.
9 years ago
emitglue.h
py/emitglue: Make mp_raw_code_t* arguments constant pointers.
9 years ago
emitinlinethumb.c
py/emitinlinethumb: Use qstrs instead of char* for names of asm ops.
9 years ago
emitnative.c
py/emitnative: Use MP_OBJ_NEW_SMALL_INT instead of manual bit shifting.
9 years ago
formatfloat.c
py/formatfloat: Fix further cases of buffer overflow in formatting.
9 years ago
formatfloat.h
py: Implement mp_format_float for doubles and use where appropriate
10 years ago
frozenmod.c
py/frozenmod: Pass the source name of the frozen module to the lexer.
9 years ago
frozenmod.h
py: Add ability to have frozen persistent bytecode from .mpy files.
9 years ago
gc.c
py/gc: Make (byte)array type dumping conditional on these types being enabled.
9 years ago
gc.h
py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t.
9 years ago
grammar.h
py: Simplify "and" action within parser by making ident-rules explicit.
9 years ago
lexer.c
py: add async/await/async for/async with syntax
9 years ago
lexer.h
py: add async/await/async for/async with syntax
9 years ago
lexerstr.c
py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.
9 years ago
lexerunix.c
unix: Allow to cat a script into stdin from the command line.
10 years ago
makeqstrdata.py
py/makeqstrdata: Add special case to handle \n qstr.
9 years ago
makeqstrdefs.py
py/makeqstrdefs.py: Windows compatibility.
9 years ago
makeversionhdr.py
py/makeversionhdr.py: Work with backslashes in paths.
9 years ago
malloc.c
py/malloc: Provide a proper malloc-based implementation of realloc_ext.
9 years ago
map.c
py/map: Change hash-table allocation policy to be less aggressive.
9 years ago
misc.h
py/repl: Check for an identifier char after the keyword.
9 years ago
mkenv.mk
py/mkenv.mk: Remove -s and -S args from PYTHON variable.
9 years ago
mkrules.mk
py/mkrules.mk: Typo fixes in comments.
9 years ago
modarray.c
py: Add MP_ROM_* macros and mp_rom_* types and use them.
9 years ago
modbuiltins.c
py: add async/await/async for/async with syntax
9 years ago
modcmath.c
py: Make it easy to build without MICROPY_PY_BUILTINS_COMPLEX.
9 years ago
modcollections.c
py/modcollections: Rename module name have "u" prefix for consistency.
9 years ago
modgc.c
py/modgc: Remove obsolete extern declaration.
9 years ago
modio.c
py/modio: Rename module name to "uio" for consistency with other modules.
9 years ago
modmath.c
py: Change type signature of builtin funs that take variable or kw args.
9 years ago
modmicropython.c
py/modmicropython: Add stack_use, heap_lock and heap_unlock functions.
9 years ago
modstruct.c
py: Add ustruct.pack_into and unpack_from
9 years ago
modsys.c
py: Change type signature of builtin funs that take variable or kw args.
9 years ago
moduerrno.c
py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.
9 years ago
mpconfig.h
py: Add uerrno module, with errno constants and dict.
9 years ago
mperrno.h
py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.
9 years ago
mphal.h
all: Add py/mphal.h and use it in all ports.
9 years ago
mpprint.c
py/mpprint: Fix sign extension when printf'ing %u, %x and %X.
9 years ago
mpprint.h
py: Change mp_print_strn_t func type to use size_t for the str length.
9 years ago
mpstate.c
py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.
9 years ago
mpstate.h
py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.
9 years ago
mpz.c
py/mpz: Fix mpn_div so that it doesn't modify memory of denominator.
9 years ago
mpz.h
windows/py: Support 64bit mingw-w64 builds
9 years ago
nativeglue.c
py/viper: Allow casting of Python integers to viper pointers.
9 years ago
nlr.h
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
nlrsetjmp.c
py: Put all global state together in state structures.
10 years ago
nlrthumb.S
py/nlrthumb: Make compatible with Cortex-M0 (ARMv6M instr set).
9 years ago
nlrx64.S
nlr: Use single preprocessor symbol to check if building on Windows
9 years ago
nlrx86.S
nlr: Use single preprocessor symbol to check if building on Windows
9 years ago
nlrxtensa.S
py: Put all global state together in state structures.
10 years ago
obj.c
py/obj: Add warning note about get_array return value and GC blocks.
9 years ago
obj.h
py/obj: Add warning note about get_array return value and GC blocks.
9 years ago
objarray.c
py/objarray: Fix array.append so it doesn't extend if append fails.
9 years ago
objattrtuple.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
objbool.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objboundmeth.c
py/objboundmeth: Allocate arg state on stack if heap alloc fails.
9 years ago
objcell.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
objclosure.c
py: Fix passing of some wide int types to printf varg format list.
9 years ago
objcomplex.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objdict.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objenumerate.c
py: Use new code pattern for parsing kw args with mp_arg_parse_all.
9 years ago
objexcept.c
py: Add mp_errno_to_str() and use it to provide nicer OSError msgs.
9 years ago
objexcept.h
py: Change exception traceback data to use size_t instead of mp_uint_t.
9 years ago
objfilter.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objfloat.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objfun.c
py/objfun: Allow inline-asm functions to be called with 4 arguments.
9 years ago
objfun.h
py: Add constant table to bytecode.
9 years ago
objgenerator.c
py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization.
9 years ago
objgenerator.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
objgetitemiter.c
py/objgetitemiter: Typo fix in comment.
9 years ago
objint.c
py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.
9 years ago
objint.h
py: Change mp_obj_int_is_positive to more general mp_obj_int_sign.
9 years ago
objint_longlong.c
py: Use MP_SMALL_INT_POSITIVE_MASK to check if uint fits in a small int.
9 years ago
objint_mpz.c
py/mpz: Do Python style division/modulo within bignum divmod routine.
9 years ago
objlist.c
py: Use new code pattern for parsing kw args with mp_arg_parse_all.
9 years ago
objlist.h
py: Fix adding of traceback so that it appends to existing info.
10 years ago
objmap.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objmodule.c
py: Add uerrno module, with errno constants and dict.
9 years ago
objmodule.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
objnamedtuple.c
py: Fix passing of some wide int types to printf varg format list.
9 years ago
objnone.c
py: Convert hash API to use MP_UNARY_OP_HASH instead of ad-hoc function.
10 years ago
objobject.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objpolyiter.c
py/objpolyiter: Implement instance-polymorphic iterator type.
9 years ago
objproperty.c
py/objproperty: Fix static struct to build with OBJ_REPR_D.
9 years ago
objrange.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objreversed.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objset.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objsingleton.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
objslice.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
objstr.c
Revert "py/objstr: .format(): Avoid call to vstr_null_terminated_str()."
9 years ago
objstr.h
py/objarray: Implement "in" operator for bytearray.
9 years ago
objstringio.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objstrunicode.c
py: Use polymorphic iterator type where possible to reduce code size.
9 years ago
objtuple.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objtuple.h
py: Add MP_ROM_* macros and mp_rom_* types and use them.
9 years ago
objtype.c
py: When printf'ing an object as a pointer, pass the concrete pointer.
9 years ago
objtype.h
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
objzip.c
py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*.
9 years ago
opmethods.c
py: Move to guarded includes, everywhere in py/ core.
10 years ago
parse.c
py/parse: Add uerrno to list of modules to look for constants in.
9 years ago
parse.h
py/parse: Improve constant folding to operate on small and big ints.
9 years ago
parsenum.c
py/parsenum: Use pow function to apply exponent to decimal number.
9 years ago
parsenum.h
py/parsenum: Use size_t to count bytes, and int for type of base arg.
9 years ago
parsenumbase.c
py/parsenum: Fix compiler warnings for no decl and signed comparison.
9 years ago
parsenumbase.h
py/parsenum: Use size_t to count bytes, and int for type of base arg.
9 years ago
py.mk
py: Add uerrno module, with errno constants and dict.
9 years ago
qstr.c
py: Rework QSTR extraction to work in simple and obvious way.
9 years ago
qstr.h
py: Rework QSTR extraction to work in simple and obvious way.
9 years ago
qstrdefs.h
py: Add rules for automated extraction of qstrs from sources.
9 years ago
repl.c
py/repl: Fix handling of backslash in quotes when checking continuation.
9 years ago
repl.h
py, readline: Add tab autocompletion for REPL.
10 years ago
ringbuf.h
py/ringbuf.h: Add reusable ring buffer class.
9 years ago
runtime.c
py/runtime: Properly handle passing user mappings to ** keyword args.
9 years ago
runtime.h
py: Move call_function_*_protected() functions to py/ for reuse.
9 years ago
runtime0.h
py: Extend native type-sig to use 4 bits, so uint is separate to ptr.
9 years ago
runtime_utils.c
py/runtime_utils: Fix nanbox build.
9 years ago
scope.c
py: Add MICROPY_ENABLE_COMPILER and MICROPY_PY_BUILTINS_EVAL_EXEC opts.
9 years ago
scope.h
py: Put all bytecode state (arg count, etc) in bytecode.
9 years ago
sequence.c
py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR.
9 years ago
showbc.c
py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics.
9 years ago
smallint.c
py: Move to guarded includes, everywhere in py/ core.
10 years ago
smallint.h
py/smallint: Allow to override MP_SMALL_INT_MIN et al.
9 years ago
stackctrl.c
py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value.
9 years ago
stackctrl.h
py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value.
9 years ago
stream.c
py/stream: Move uPy func obj wrappers to below their respective funcs.
9 years ago
stream.h
py/stream: Add Python-level ioctl() method.
9 years ago
unicode.c
py/repl: Check for an identifier char after the keyword.
9 years ago
unicode.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
vm.c
py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization.
9 years ago
vmentrytable.h
py: Make UNARY_OP_NOT a first-class op, to agree with Py not semantics.
9 years ago
vstr.c
py/vstr: Change allocation policy, +16 to requested size, instead of *2.
9 years ago
warning.c
py: Convert occurrences of non-debug printf to mp_printf.
10 years ago