..
argcheck.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
asmarm.c
py/asmarm: Fix assembler's PASS_EMIT constant name.
8 years ago
asmarm.h
py: Move arch-specific assembler macros from emitnative to asmXXX.h.
8 years ago
asmbase.c
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmbase.h
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmthumb.c
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmthumb.h
py: Move arch-specific assembler macros from emitnative to asmXXX.h.
8 years ago
asmx64.c
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmx64.h
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmx86.c
py/asm: Fix x86 and ARM assemblers due to recent code refactoring.
8 years ago
asmx86.h
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmxtensa.c
py/asm: Remove need for dummy_data when doing initial assembler passes.
8 years ago
asmxtensa.h
py/asmxtensa.h: Explicitly cast args to 32-bits so left-shift is legal.
8 years ago
bc.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
bc.h
py: Provide mp_decode_uint_value to help optimise stack usage.
8 years ago
bc0.h
py: Allow bytecode/native to put iter_buf on stack for simple for loops.
8 years ago
binary.c
py/binary: mp_binary_get_size: Raise error on unsupported typecodes.
8 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 builtin help function to core, with default help msg.
8 years ago
builtinevex.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
builtinhelp.c
py/builtinhelp: Implement help('modules') to list available modules.
8 years ago
builtinimport.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
compile.c
py/compile: Provide terse error message for invalid dict/set literals.
8 years ago
compile.h
py: Allow inline-assembler emitter to be generic.
8 years ago
emit.h
py: Remove unused "use_stack" argument from for_iter_end emit function.
8 years ago
emitbc.c
py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.
8 years ago
emitcommon.c
py/scope: Factor common code to find locals and close over them.
8 years ago
emitglue.c
py/emitglue: Refactor to remove assert(0), to improve coverage.
8 years ago
emitglue.h
py: Factor persistent code load/save funcs into persistentcode.[ch].
8 years ago
emitinlinethumb.c
py: Create str/bytes objects in the parser, not the compiler.
8 years ago
emitinlinextensa.c
py/emitinline: Move common code for end of final pass to compiler.
8 years ago
emitnative.c
py: Define and use MP_OBJ_ITER_BUF_NSLOTS to get size of stack iter buf.
8 years ago
formatfloat.c
py/formatfloat: Remove unreachable code.
8 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: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.
8 years ago
gc.h
py/gc: Calculate (and report) maximum contiguous free block size.
8 years ago
grammar.h
py/grammar: Remove unused rule.
8 years ago
lexer.c
py/lexer: Simplify and reduce code size for operator tokenising.
8 years ago
lexer.h
py/lexer: Convert mp_uint_t to size_t where appropriate.
8 years ago
makeqstrdata.py
py/makeqstrdata.py: Compute the qstr hash from bytes, not characters.
8 years ago
makeqstrdefs.py
py/makeqstrdefs.py: Use python 2.6 syntax for set creation.
8 years ago
makeversionhdr.py
py/makeversionhdr.py: Work with backslashes in paths.
9 years ago
malloc.c
py/gc: Add MICROPY_GC_CONSERVATIVE_CLEAR option to always zero memory.
8 years ago
map.c
py/map: Fix bugs with deletion of elements from OrderedDict.
8 years ago
misc.h
cc3200: Re-add support for UART REPL (MICROPY_STDIO_UART setting).
8 years ago
mkenv.mk
py: Move frozen bytecode Makefile rules from ports to common mk files.
8 years ago
mkrules.mk
zephyr/Makefile: Rework to use modern, official build integration.
8 years ago
modarray.c
all: Remove 'name' member from mp_obj_module_t struct.
8 years ago
modbuiltins.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
modcmath.c
all: Remove 'name' member from mp_obj_module_t struct.
8 years ago
modcollections.c
all: Remove 'name' member from mp_obj_module_t struct.
8 years ago
modgc.c
all: Remove 'name' member from mp_obj_module_t struct.
8 years ago
modio.c
py: Add mp_raise_OSError(errno) helper function.
8 years ago
modmath.c
py/modmath: Allow trunc/ceil/floor to return a big int if necessary.
8 years ago
modmicropython.c
py: Add micropython.schedule() function and associated runtime code.
8 years ago
modstruct.c
py/binary: mp_binary_get_size: Raise error on unsupported typecodes.
8 years ago
modsys.c
py/modsys: Use MP_SMALL_INT_MAX for sys.maxsize in case of LONGINT_IMPL_NONE.
8 years ago
modthread.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 years ago
moduerrno.c
py/moduerrno: Make list of errno codes configurable.
8 years ago
mpconfig.h
py: Add micropython.schedule() function and associated runtime code.
8 years ago
mperrno.h
py/moduerrno: Add ECONNREFUSED, one of frequent networking errors.
9 years ago
mphal.h
extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse.
8 years ago
mpprint.c
py/mpprint: Fix int formatting so "+" is printed for 0-valued integer.
8 years ago
mpprint.h
lib/utils/pyhelp.c: Use mp_printf() instead of printf()
8 years ago
mpstate.c
py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.
9 years ago
mpstate.h
py: Remove MP_STATE_CTX, use MP_STATE_THREAD instead (it's an alias).
8 years ago
mpthread.h
py/mpthread: Include mpstate.h when defining GIL macros.
8 years ago
mpz.c
py/mpz: Change type of "base" args from mp_uint_t to unsigned int.
8 years ago
mpz.h
py/mpz: Change type of "base" args from mp_uint_t to unsigned int.
8 years ago
nativeglue.c
py: Optimise storage of iterator so it takes only 4 slots on Py stack.
8 years ago
nlr.h
py/nlr.h: Mark nlr_jump_fail as NORETURN.
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.c
py/nlrx64: Fixes to support Mac OS.
8 years ago
nlrx86.c
py/nlrx86: Better check for Zephyr (requires 1.7).
8 years ago
nlrxtensa.c
py/nlrxtensa: Convert from assembler to C file with inline asm.
8 years ago
obj.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 years ago
obj.h
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objarray.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
objarray.h
py/objarray: Convert mp_uint_t to size_t where appropriate.
8 years ago
objattrtuple.c
py/objtuple: Convert mp_uint_t to size_t where appropriate.
8 years ago
objbool.c
py/objbool: Make a slight simplification of bool constructor.
8 years ago
objboundmeth.c
py/objtype: Implement __call__ handling for an instance w/o heap alloc.
8 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/objclosure: Convert mp_uint_t to size_t where appropriate.
8 years ago
objcomplex.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objdict.c
py: Shorten a couple of error messages.
8 years ago
objenumerate.c
py: Add iter_buf to getiter type method.
8 years ago
objexcept.c
py/objexcept: Convert mp_uint_t to size_t where appropriate.
8 years ago
objexcept.h
py/objexcept: Convert mp_uint_t to size_t where appropriate.
8 years ago
objfilter.c
py: Add iter_buf to getiter type method.
8 years ago
objfloat.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objfun.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objfun.h
py: Add constant table to bytecode.
9 years ago
objgenerator.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
objgenerator.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
objgetitemiter.c
py: Add iter_buf to getiter type method.
8 years ago
objint.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objint.h
py: Added optimised support for 3-argument calls to builtin.pow()
8 years ago
objint_longlong.c
py/objint_longlong: Implement mp_obj_int_from_bytes_impl().
8 years ago
objint_mpz.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
objlist.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 years ago
objlist.h
py/objlist: Convert mp_uint_t to size_t where appropriate.
8 years ago
objmap.c
py/objmap: Convert mp_uint_t to size_t.
8 years ago
objmodule.c
py/objmodule: Move module init/deinit code into runtime functions.
8 years ago
objmodule.h
py/objmodule: Move module init/deinit code into runtime functions.
8 years ago
objnamedtuple.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 years ago
objnone.c
py/objnone: Use mp_generic_unary_op instead of custom one.
8 years ago
objobject.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
objpolyiter.c
py: Add iter_buf to getiter type method.
8 years ago
objproperty.c
py: Get rid of assert() in method argument checking functions.
8 years ago
objrange.c
py: Use size_t as len argument and return type of mp_get_index.
8 years ago
objreversed.c
py: Add iter_buf to getiter type method.
8 years ago
objset.c
py: De-optimise some uses of mp_getiter, so they don't use the C stack.
8 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: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
objstr.h
py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate.
8 years ago
objstringio.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
objstringio.h
extmod/modujson: Implement ujson.load() to load JSON from a stream.
8 years ago
objstrunicode.c
py: Use size_t as len argument and return type of mp_get_index.
8 years ago
objtuple.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 years ago
objtuple.h
py: Add iter_buf to getiter type method.
8 years ago
objtype.c
py: Convert mp_uint_t to size_t for tuple/list accessors.
8 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/objzip: Convert mp_uint_t to size_t.
8 years ago
opmethods.c
py: Move to guarded includes, everywhere in py/ core.
10 years ago
parse.c
py/parse: Simplify handling of errors by raising them directly.
8 years ago
parse.h
py/parse: Make mp_parse_node_new_leaf an inline function.
8 years ago
parsenum.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 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
persistentcode.c
py: Allow lexer to raise exceptions during construction.
8 years ago
persistentcode.h
py: Factor out persistent-code reader into separate files.
8 years ago
py.mk
all: Use full path name when including mp-readline/timeutils/netutils.
8 years ago
qstr.c
py: Fix wrong assumption that m_renew will not move if shrinking
8 years ago
qstr.h
py: Rename __QSTR_EXTRACT flag to NO_QSTR.
9 years ago
qstrdefs.h
extmod: Add generic VFS sub-system.
8 years ago
reader.c
py: Allow lexer to raise exceptions during construction.
8 years ago
reader.h
py: Allow lexer to raise exceptions during construction.
8 years ago
repl.c
py: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 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: Change mp_uint_t to size_t for mp_obj_str_get_data len arg.
8 years ago
runtime.h
py: Remove MP_STATE_CTX, use MP_STATE_THREAD instead (it's an alias).
8 years ago
runtime0.h
py: Optimise storage of iterator so it takes only 4 slots on Py stack.
8 years ago
runtime_utils.c
py/runtime_utils: Fix nanbox build.
9 years ago
scheduler.c
py: Add micropython.schedule() function and associated runtime code.
8 years ago
scope.c
py/scope: Factor common code to find locals and close over them.
8 years ago
scope.h
py/scope: Factor common code to find locals and close over them.
8 years ago
sequence.c
py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible.
8 years ago
showbc.c
py: Allow bytecode/native to put iter_buf on stack for simple for loops.
8 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
all: Remove readall() method, which is equivalent to read() w/o args.
8 years ago
stream.h
py/stream: Move ad-hoc ioctl constants to stream.h and rename them.
8 years ago
unicode.c
py/unicode: Comment-out unused function unichar_isprint.
8 years ago
unicode.h
py: Move to guarded includes, everywhere in py/ core.
10 years ago
vm.c
py/vm: Fix VM opcode tracing to print correct stack pointer.
8 years ago
vmentrytable.h
py: Allow bytecode/native to put iter_buf on stack for simple for loops.
8 years ago
vstr.c
py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.
8 years ago
warning.c
py: fix null pointer dereference in mpz.c, fix missing va_end in warning.c
8 years ago