.. |
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
|
various: Spelling fixes
|
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: Provide mp_decode_uint_skip() to help reduce stack usage.
|
8 years ago |
bc.h
|
py: Provide mp_decode_uint_skip() to help reduce stack usage.
|
8 years ago |
bc0.h
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
8 years ago |
binary.c
|
py/binary: Add missing "break" statements.
|
7 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/builtinimport: Remove unreachable code for relative imports.
|
7 years ago |
compile.c
|
py/compile: Optimise emitter label indices to save a word of heap.
|
7 years ago |
compile.h
|
py: Allow inline-assembler emitter to be generic.
|
8 years ago |
emit.h
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
8 years ago |
emitbc.c
|
py/emitbc: Fix bug with BC emitter computing Python stack size.
|
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: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
8 years ago |
formatfloat.c
|
py/formatfloat: Fix number of digits and exponent sign when rounding.
|
8 years ago |
formatfloat.h
|
py: Implement mp_format_float for doubles and use where appropriate
|
10 years ago |
frozenmod.c
|
py/modio: Implement uio.resource_stream(package, resource_path).
|
8 years ago |
frozenmod.h
|
py/frozenmod.h: Add missing header guards
|
7 years ago |
gc.c
|
py/gc: Execute finaliser code in a protected environment.
|
8 years ago |
gc.h
|
py/gc: Calculate (and report) maximum contiguous free block size.
|
8 years ago |
grammar.h
|
py/compile: Refactor handling of special super() call.
|
8 years ago |
lexer.c
|
py/lexer: Process CR earlier to allow newlines checks on chr1.
|
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: Make script run correctly with Python 2.6.
|
8 years ago |
makeversionhdr.py
|
py/makeversionhdr.py: Update to parse new release line in docs/conf.py.
|
7 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
|
py/runtime: Mark m_malloc_fail() as NORETURN.
|
7 years ago |
mkenv.mk
|
various: Spelling fixes
|
8 years ago |
mkrules.mk
|
py/mkrules.mk: Fix auto-qstr generation when "make -B" is used.
|
8 years ago |
modarray.c
|
all: Remove 'name' member from mp_obj_module_t struct.
|
8 years ago |
modbuiltins.c
|
all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
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/modio: resource_stream: Implement "package" param handling.
|
8 years ago |
modmath.c
|
py/modmath: Check for zero division in log with 2 args.
|
7 years ago |
modmicropython.c
|
py/modmicropython: Add micropython.kbd_intr() function.
|
8 years ago |
modstruct.c
|
py/binary: mp_binary_get_size: Raise error on unsupported typecodes.
|
8 years ago |
modsys.c
|
py/modsys: Allow to compile with obj-repr D and PY_ATTRTUPLE disabled.
|
8 years ago |
modthread.c
|
py/modthread: Raise RuntimeError in release() if lock is not acquired.
|
8 years ago |
moduerrno.c
|
py/moduerrno: Make list of errno codes configurable.
|
8 years ago |
mpconfig.h
|
py/mpconfig.h: Remove spaces in "Micro Python" and remove blank line.
|
7 years ago |
mperrno.h
|
extmod/modlwip: Fix error codes for duplicate calls to connect().
|
8 years ago |
mphal.h
|
extmod/utime_mphal: Factor out implementations in terms of mp_hal_* for reuse.
|
8 years ago |
mpprint.c
|
py/mpprint: Remove unreachable check for neg return of mp_format_float.
|
7 years ago |
mpprint.h
|
py/modsys: update conditionals for code referencing sys.stdout
|
8 years ago |
mpstate.c
|
py: Add MICROPY_DYNAMIC_COMPILER option to config compiler at runtime.
|
9 years ago |
mpstate.h
|
py: Make sure that static emg-exc-buffer is aligned to size of mp_obj_t.
|
8 years ago |
mpthread.h
|
py/mpthread: Include mpstate.h when defining GIL macros.
|
8 years ago |
mpz.c
|
py/mpz: In mpn_sub, use existing function to remove trailing zeros.
|
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: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
8 years ago |
nlr.h
|
py: Cleanup use of global DEBUG preprocessor definition
|
8 years ago |
nlrsetjmp.c
|
py/nlrsetjmp: Add check for failed NLR jump.
|
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
|
all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
8 years ago |
obj.h
|
py/objtype: mp_obj_new_super doesn't need to be public, so inline it.
|
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
|
all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
8 years ago |
objdict.c
|
py/objdict: Factorise dict accessor helper to reduce code size.
|
7 years ago |
objenumerate.c
|
py: Add iter_buf to getiter type method.
|
8 years ago |
objexcept.c
|
py: Optimise types for common case where type has a single parent type.
|
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: Reduce str/repr precision of float numbers when floats are 30-bit.
|
8 years ago |
objfun.c
|
py: Provide mp_decode_uint_skip() to help reduce stack usage.
|
8 years ago |
objfun.h
|
py: Add constant table to bytecode.
|
9 years ago |
objgenerator.c
|
py: Provide mp_decode_uint_skip() to help reduce stack usage.
|
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/objint: In to_bytes(), allow length arg to be any int and check sign.
|
8 years ago |
objint.h
|
py/objint: Consolidate mp_obj_new_int_from_float to one implementation.
|
8 years ago |
objint_longlong.c
|
all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
8 years ago |
objint_mpz.c
|
extmod/moductypes: Fix bigint handling for 32-bit ports.
|
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/objnamedtuple: Simplify and remove use of alloca building namedtuple.
|
7 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/objrange: Fix slicing of range when step of slice is negative.
|
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/objstr: Remove unnecessary "sign" variable in formatting code.
|
7 years ago |
objstr.h
|
py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate.
|
8 years ago |
objstringio.c
|
py/objstringio: If created from immutable object, follow copy on write policy.
|
8 years ago |
objstringio.h
|
py/objstringio: If created from immutable object, follow copy on write policy.
|
8 years ago |
objstrunicode.c
|
all: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
8 years ago |
objtuple.c
|
py/objtuple: Add support for inplace add (same as normal add).
|
8 years ago |
objtuple.h
|
py: Add iter_buf to getiter type method.
|
8 years ago |
objtype.c
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
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/persistentcode: Allow to compile with complex numbers disabled.
|
8 years ago |
persistentcode.h
|
py: Factor out persistent-code reader into separate files.
|
8 years ago |
py.mk
|
various: Spelling fixes
|
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
|
various: Spelling fixes
|
8 years ago |
runtime.c
|
py/runtime: Mark m_malloc_fail() as NORETURN.
|
7 years ago |
runtime.h
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
8 years ago |
runtime0.h
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
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/sequence: Fix boundary errors when slicing with a negative step.
|
8 years ago |
showbc.c
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
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: Make more use of mp_raise_{msg,TypeError,ValueError} helpers.
|
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: Make "if" control flow more obvious in YIELD_FROM opcode.
|
7 years ago |
vmentrytable.h
|
py: Add LOAD_SUPER_METHOD bytecode to allow heap-free super meth calls.
|
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 |