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.
Damien George 9884a2c712
py/objint: Remove unreachable code checking for int type in format func.
5 years ago
..
argcheck.c py/argcheck: Remove #if guard around terse error message helper func. 5 years ago
asmarm.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 5 years ago
asmarm.h py/emitnative: Clean up asm macro names so they have dest as first arg. 5 years ago
asmbase.c py/asmbase: Revert removal of clearing of label offsets for native emit. 5 years ago
asmbase.h py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmthumb.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 5 years ago
asmthumb.h py/emitnative: Clean up asm macro names so they have dest as first arg. 5 years ago
asmx64.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 5 years ago
asmx64.h py/emitnative: Clean up asm macro names so they have dest as first arg. 5 years ago
asmx86.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 5 years ago
asmx86.h py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 5 years ago
asmxtensa.c py/asm: Remove need for dummy_data when doing initial assembler passes. 6 years ago
asmxtensa.h py/emitnative: Clean up asm macro names so they have dest as first arg. 5 years ago
bc.c py/bc: Update opcode_format_table to match the bytecode. 5 years ago
bc.h all: Remove inclusion of internal py header files. 5 years ago
bc0.h py: Clean up unary and binary enum list to keep groups together. 5 years ago
binary.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 5 years ago
binary.h py/binary: Change internal bytearray typecode from 0 to 1. 6 years ago
builtin.h py/builtinhelp: Change signature of help text var from pointer to array. 5 years ago
builtinevex.c all: Remove inclusion of internal py header files. 5 years ago
builtinhelp.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 5 years ago
builtinimport.c py/builtinimport: Add compile-time option to disable external imports. 5 years ago
compile.c py/compile: Adjust c_assign_atom_expr() to use return instead of goto. 5 years ago
compile.h all: Use the name MicroPython consistently in comments 6 years ago
emit.h all: Remove inclusion of internal py header files. 5 years ago
emitbc.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 5 years ago
emitcommon.c all: Use the name MicroPython consistently in comments 6 years ago
emitglue.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 5 years ago
emitglue.h py/emitglue: When assigning bytecode only pass bytecode len if needed. 5 years ago
emitinlinethumb.c all: Use the name MicroPython consistently in comments 6 years ago
emitinlinextensa.c py/emitinline: Move common code for end of final pass to compiler. 6 years ago
emitnative.c py/emitnative: Clean up asm macro names so they have dest as first arg. 5 years ago
formatfloat.c py/formatfloat: Fix case where floats could render with negative digits. 5 years ago
formatfloat.h all: Use the name MicroPython consistently in comments 6 years ago
frozenmod.c all: Use the name MicroPython consistently in comments 6 years ago
frozenmod.h all: Use the name MicroPython consistently in comments 6 years ago
gc.c py/gc: Update comment now that gc_drain_stack is called gc_mark_subtree. 5 years ago
gc.h all: Use the name MicroPython consistently in comments 6 years ago
grammar.h all: Use the name MicroPython consistently in comments 6 years ago
lexer.c all: Remove inclusion of internal py header files. 5 years ago
lexer.h all: Use the name MicroPython consistently in comments 6 years ago
makeqstrdata.py py/objtype: Fit qstrs for special methods in byte type. 5 years ago
makeqstrdefs.py py/makeqstrdefs.py: Make script run correctly with Python 2.6. 6 years ago
makeversionhdr.py py: Use "GEN" consistently for describing files generated in the build. 5 years ago
malloc.c py/malloc: Remove unneeded code checking m_malloc return value. 5 years ago
map.c py/map: Don't include ordered-dict mutating code when not needed. 5 years ago
misc.h py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 5 years ago
mkenv.mk py/mkenv.mk: Use $(PYTHON) consistently when calling Python tools. 5 years ago
mkrules.mk py: Use "GEN" consistently for describing files generated in the build. 5 years ago
modarray.c all: Use the name MicroPython consistently in comments 6 years ago
modbuiltins.c py/modbuiltins: Simplify and generalise dir() by probing qstrs. 5 years ago
modcmath.c py: Change obsolete "///" comment formatting to normal comments. 6 years ago
modcollections.c py/objdeque: Implement ucollections.deque type with fixed size. 5 years ago
modgc.c py: Change obsolete "///" comment formatting to normal comments. 6 years ago
modio.c py/modio: Use correct config macro to enable resource_stream function. 5 years ago
modmath.c py/modmath: Convert log2 macro into a function. 5 years ago
modmicropython.c py/modmicropython: Allow to have stack_use() func without mem_info(). 5 years ago
modstruct.c py/modstruct: Check and prevent buffer-write overflow in struct packing. 6 years ago
modsys.c all: Remove inclusion of internal py header files. 5 years ago
modthread.c py: Introduce a Python stack for scoped allocation. 5 years ago
moduerrno.c py/moduerrno: Make list of errno codes configurable. 6 years ago
mpconfig.h py/objdeque: Implement ucollections.deque type with fixed size. 5 years ago
mperrno.h py/mperrno: Allow mperrno.h to be correctly included before other hdrs. 6 years ago
mphal.h all: Use the name MicroPython consistently in comments 6 years ago
mpprint.c py/mpprint: Fix "%x" vs "%X" regression introduced in previous commit. 5 years ago
mpprint.h all: Use the name MicroPython consistently in comments 6 years ago
mpstate.c all: Use the name MicroPython consistently in comments 6 years ago
mpstate.h py/mpstate.h: Add repl_line state for MICROPY_REPL_EVENT_DRIVEN. 5 years ago
mpthread.h all: Unify header guard usage. 6 years ago
mpz.c py/mpz: In mpz_clone, remove unused check for NULL dig. 5 years ago
mpz.h py/mpz: Simplify handling of borrow and quo adjustment in mpn_div. 5 years ago
nativeglue.c py/emitnative: Implement floor-division and modulo for viper emitter. 5 years ago
nlr.c py/nlr: Fix missing trailing characters in comments in nlr.c 5 years ago
nlr.h py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 5 years ago
nlrsetjmp.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 5 years ago
nlrthumb.c py/nlrthumb: Do not mark nlr_push as not returning anything. 5 years ago
nlrx64.c py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 5 years ago
nlrx86.c py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 5 years ago
nlrxtensa.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 5 years ago
obj.c all: Remove inclusion of internal py header files. 5 years ago
obj.h py/objdeque: Implement ucollections.deque type with fixed size. 5 years ago
objarray.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 5 years ago
objarray.h all: Unify header guard usage. 6 years ago
objattrtuple.c all: Use the name MicroPython consistently in comments 6 years ago
objbool.c all: Remove inclusion of internal py header files. 5 years ago
objboundmeth.c py: Convert all uses of alloca() to use new scoped allocation API. 5 years ago
objcell.c all: Use the name MicroPython consistently in comments 6 years ago
objclosure.c all: Use the name MicroPython consistently in comments 6 years ago
objcomplex.c all: Remove inclusion of internal py header files. 5 years ago
objdeque.c py/objdeque: Use m_new0 when allocating items to avoid need to clear. 5 years ago
objdict.c py/objdict: Disallow possible modifications to fixed dicts. 5 years ago
objenumerate.c all: Use the name MicroPython consistently in comments 6 years ago
objexcept.c py/objexcept: Remove long-obsolete mp_const_MemoryError_obj. 5 years ago
objexcept.h all: Use the name MicroPython consistently in comments 6 years ago
objfilter.c all: Use the name MicroPython consistently in comments 6 years ago
objfloat.c py/objfloat: Fix case of raising 0 to -infinity. 5 years ago
objfun.c py: Convert all uses of alloca() to use new scoped allocation API. 5 years ago
objfun.h all: Use the name MicroPython consistently in comments 6 years ago
objgenerator.c py/objgenerator: Allow to pend an exception for next execution. 5 years ago
objgenerator.h all: Use the name MicroPython consistently in comments 6 years ago
objgetitemiter.c all: Remove inclusion of internal py header files. 5 years ago
objint.c py/objint: Remove unreachable code checking for int type in format func. 5 years ago
objint.h py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 5 years ago
objint_longlong.c py/objint_longlong: Check for zero division/modulo. 5 years ago
objint_mpz.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 5 years ago
objlist.c all: Use NULL instead of "" when calling mp_raise exception helpers. 5 years ago
objlist.h all: Use the name MicroPython consistently in comments 6 years ago
objmap.c all: Use the name MicroPython consistently in comments 6 years ago
objmodule.c py/objmodule: Factor common code for calling __init__ on builtin module. 5 years ago
objmodule.h py/objmodule: Factor common code for calling __init__ on builtin module. 5 years ago
objnamedtuple.c py/objnamedtuple: Allow to reuse namedtuple basic functionality. 5 years ago
objnamedtuple.h py/objnamedtuple: Allow to reuse namedtuple basic functionality. 5 years ago
objnone.c all: Remove inclusion of internal py header files. 5 years ago
objobject.c py/objtype: Refactor object's handling of __new__ to not create 2 objs. 5 years ago
objpolyiter.c all: Remove inclusion of internal py header files. 5 years ago
objproperty.c all: Remove inclusion of internal py header files. 5 years ago
objrange.c py/objrange: Implement (in)equality comparison between range objects. 5 years ago
objreversed.c all: Remove inclusion of internal py header files. 5 years ago
objset.c py/objset: Remove unneeded check from set_equal. 5 years ago
objsingleton.c all: Remove inclusion of internal py header files. 5 years ago
objslice.c all: Remove inclusion of internal py header files. 5 years ago
objstr.c py/objstr: Remove unnecessary check for positive splits variable. 5 years ago
objstr.h py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr. 5 years ago
objstringio.c all: Remove inclusion of internal py header files. 5 years ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 6 years ago
objstrunicode.c py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 5 years ago
objtuple.c all: Remove inclusion of internal py header files. 5 years ago
objtuple.h all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 6 years ago
objtype.c py/objtype: Check and prevent delete/store on a fixed locals map. 5 years ago
objtype.h py/objtype: Refactor object's handling of __new__ to not create 2 objs. 5 years ago
objzip.c all: Use the name MicroPython consistently in comments 6 years ago
opmethods.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 5 years ago
parse.c py/parse: Fix macro evaluation by avoiding empty __VA_ARGS__. 5 years ago
parse.h all: Use the name MicroPython consistently in comments 6 years ago
parsenum.c py/parsenum: Fix parsing of floats that are close to subnormal. 5 years ago
parsenum.h all: Use the name MicroPython consistently in comments 6 years ago
parsenumbase.c all: Use the name MicroPython consistently in comments 6 years ago
parsenumbase.h all: Use the name MicroPython consistently in comments 6 years ago
persistentcode.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 5 years ago
persistentcode.h py: Factor out persistent-code reader into separate files. 6 years ago
py.mk extmod/vfs_fat: Merge remaining vfs_fat_misc.c code into vfs_fat.c. 5 years ago
pystack.c py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 5 years ago
pystack.h py: Introduce a Python stack for scoped allocation. 5 years ago
qstr.c py/qstr: Rewrite find_qstr to make manifest that it returns a valid ptr. 5 years ago
qstr.h py/qstr: Add QSTR_TOTAL() macro to get number of qstrs. 5 years ago
qstrdefs.h py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 5 years ago
reader.c all: Don't include system errno.h when it's not needed. 6 years ago
reader.h py: Allow lexer to raise exceptions during construction. 6 years ago
repl.c py/repl: Generalise REPL autocomplete to use qstr probing. 5 years ago
repl.h all: Use the name MicroPython consistently in comments 6 years ago
ringbuf.h all: Unify header guard usage. 6 years ago
runtime.c py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 5 years ago
runtime.h py: Introduce a Python stack for scoped allocation. 5 years ago
runtime0.h py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 5 years ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 5 years ago
scheduler.c py: Add micropython.schedule() function and associated runtime code. 6 years ago
scope.c all: Use the name MicroPython consistently in comments 6 years ago
scope.h all: Use the name MicroPython consistently in comments 6 years ago
sequence.c all: Remove inclusion of internal py header files. 5 years ago
showbc.c py: Clean up unary and binary enum list to keep groups together. 5 years ago
smallint.c all: Use the name MicroPython consistently in comments 6 years ago
smallint.h py: Extend nan-boxing config to have 47-bit small integers. 5 years ago
stackctrl.c py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 5 years ago
stackctrl.h all: Use the name MicroPython consistently in comments 6 years ago
stream.c all: Remove inclusion of internal py header files. 5 years ago
stream.h py/objstringio: Fix regression with handling SEEK_SET. 6 years ago
unicode.c py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 5 years ago
unicode.h py/objstr: Add check for valid UTF-8 when making a str from bytes. 5 years ago
vm.c py/vm: Simplify handling of special-case STOP_ITERATION in yield from. 5 years ago
vmentrytable.h py: Clean up unary and binary enum list to keep groups together. 5 years ago
vstr.c py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 5 years ago
warning.c py: Add config option to print warnings/errors to stderr. 5 years ago