..
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 basic _thread module, with ability to start a new thread.
8 years ago
builtinevex.c
py: Change type signature of builtin funs that take variable or kw args.
9 years ago
builtinimport.c
py/builtinimport: Disable "imported as namespace package" warning.
8 years ago
compile.c
py: Declare constant data as properly constant.
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/emitglue: Fix build on AArch64 (ARMv8, etc.) related to loading .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: Allow to stat and import frozen mpy files using new frozen "VFS".
9 years ago
frozenmod.h
py/{builtinimport,frozenmod}: Rework frozen modules support to support packages.
9 years ago
gc.c
py/gc: Implement GC running by allocation threshold.
8 years ago
gc.h
py/gc: Calculate (and report) maximum contiguous free block size.
8 years ago
grammar.h
py: Simplify "and" action within parser by making ident-rules explicit.
9 years ago
lexer.c
py: Declare constant data as properly constant.
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.py: Allow to have double-quote characters in qstrs.
9 years ago
makeqstrdefs.py
py/makeqstrdefs.py: Remove restriction that source path can't be absolute.
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: Declare constant data as properly constant.
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: Rename __QSTR_EXTRACT flag to NO_QSTR.
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/gc: Implement GC running by allocation threshold.
8 years ago
modio.c
all: Rename mp_obj_type_t::stream_p to protocol.
9 years ago
modmath.c
py/objfloat, py/modmath: Ensure M_PI and M_E defined.
9 years ago
modmicropython.c
py: Add MP_STATE_THREAD to hold state specific to a given thread.
8 years ago
modstruct.c
py/modstruct: Allow to have "0s" in struct format.
9 years ago
modsys.c
py: Change type signature of builtin funs that take variable or kw args.
9 years ago
modthread.c
py/modthread: Allow to properly set the stack limit of a thread.
8 years ago
moduerrno.c
py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.
9 years ago
mpconfig.h
py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.
8 years ago
mperrno.h
py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.
9 years ago
mphal.h
py/mphal.h: If virtpin API is used, automagically include its header.
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/gc: Implement GC running by allocation threshold.
8 years ago
mpthread.h
py/mpthread: Include mpstate.h when defining GIL macros.
8 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/nlrsetjmp: Update to take into account new location of nlr_top.
8 years ago
nlrsetjmp.c
py/nlrsetjmp: Update to take into account new location of nlr_top.
8 years ago
nlrthumb.c
py: Fix nlrthumb.c when DEBUG=1 is defined
8 years ago
nlrx64.S
py/nlrx64.S: Prefix mp_thread_get_state with an underscore on Mac.
8 years ago
nlrx86.S
py: Add basic _thread module, with ability to start a new thread.
8 years ago
nlrxtensa.S
py: Put all global state together in state structures.
10 years ago
obj.c
unix: Enable MICROPY_PY_STR_BYTES_CMP_WARN.
8 years ago
obj.h
all: Rename mp_obj_type_t::stream_p to protocol.
9 years ago
objarray.c
py/objarray: Split out header to allow direct access to object.
8 years ago
objarray.h
py/objarray: Split out header to allow direct access to object.
8 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/objdict: Implemented OrderedDict equality check.
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/objexcept: Don't convert errno to str in constructor, do it in print.
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/objfloat, py/modmath: Ensure M_PI and M_E defined.
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 basic _thread module, with ability to start a new thread.
8 years ago
objmodule.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
objnamedtuple.c
py/objnamedtuple: Allow passing field names as a tuple.
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
py/objstr: Fix mix-signed comparison in str.center().
9 years ago
objstr.h
py/objstr: Implement str.center().
9 years ago
objstringio.c
py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method.
8 years ago
objstrunicode.c
py/objstrunicode: str_index_to_ptr: Implement positive indexing properly.
8 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/objtype: Inherit protocol vtable from base class only if it exists.
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: Treat constants that start with underscore as private.
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
lib/embed/abort_: Implementation of abort_() function raising uPy exception.
8 years ago
qstr.c
py: Don't use gc or qstr mutex when the GIL is enabled.
8 years ago
qstr.h
py: Rename __QSTR_EXTRACT flag to NO_QSTR.
9 years ago
qstrdefs.h
py: Add rules for automated extraction of qstrs from sources.
9 years ago
repl.c
py: Declare constant data as properly constant.
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: Implement a simple global interpreter lock.
8 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: Add MP_STATE_THREAD to hold state specific to a given thread.
8 years ago
stackctrl.h
py/stackctrl: Add mp_stack_set_top() to explicitly set stack top value.
9 years ago
stream.c
py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.
8 years ago
stream.h
py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.
8 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: Implement a simple global interpreter lock.
8 years ago
vmentrytable.h
py: Declare constant data as properly constant.
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