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.
 
 
 
 
 
 
Li Weiwei 3e6ab82179 py/repl: Fix handling of unmatched brackets and unfinished quotes. 7 years ago
..
argcheck.c py/argcheck: Remove #if guard around terse error message helper func. 7 years ago
asmarm.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
asmarm.h py/emitnative: Clean up asm macro names so they have dest as first arg. 7 years ago
asmbase.c py/asmbase: Revert removal of clearing of label offsets for native emit. 7 years ago
asmbase.h py/asm: Remove need for dummy_data when doing initial assembler passes. 8 years ago
asmthumb.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
asmthumb.h py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
asmx64.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
asmx64.h py/emitnative: Clean up asm macro names so they have dest as first arg. 7 years ago
asmx86.c py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
asmx86.h py/asm*.c: Remove unnecessary check for num_locals<0 in asm entry func. 7 years ago
asmxtensa.c py/asm: Remove need for dummy_data when doing initial assembler passes. 8 years ago
asmxtensa.h py/emitnative: Clean up asm macro names so they have dest as first arg. 7 years ago
bc.c py/bc: Update opcode_format_table to match the bytecode. 7 years ago
bc.h all: Remove inclusion of internal py header files. 7 years ago
bc0.h py: Clean up unary and binary enum list to keep groups together. 7 years ago
binary.c py/objstr: Remove "make_qstr_if_not_already" arg from mp_obj_new_str. 7 years ago
binary.h py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
builtin.h py/builtinhelp: Change signature of help text var from pointer to array. 7 years ago
builtinevex.c all: Remove inclusion of internal py header files. 7 years ago
builtinhelp.c py/builtinhelp: Change occurrence of mp_uint_t to size_t. 7 years ago
builtinimport.c py/builtinimport: Add compile-time option to disable external imports. 7 years ago
compile.c py/compile: Adjust c_assign_atom_expr() to use return instead of goto. 7 years ago
compile.h all: Use the name MicroPython consistently in comments 7 years ago
emit.h all: Remove inclusion of internal py header files. 7 years ago
emitbc.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
emitcommon.c all: Use the name MicroPython consistently in comments 7 years ago
emitglue.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
emitglue.h py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
emitinlinethumb.c all: Use the name MicroPython consistently in comments 7 years ago
emitinlinextensa.c py/emitinline: Move common code for end of final pass to compiler. 8 years ago
emitnarm.c py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
emitnative.c py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
emitnthumb.c py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
emitnx64.c py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
emitnx86.c py/emitnx86: Fix 32-bit x86 native emitter build by including header. 7 years ago
emitnxtensa.c py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
formatfloat.c py/formatfloat: Fix case where floats could render with negative digits. 7 years ago
formatfloat.h all: Use the name MicroPython consistently in comments 7 years ago
frozenmod.c all: Use the name MicroPython consistently in comments 7 years ago
frozenmod.h all: Use the name MicroPython consistently in comments 7 years ago
gc.c py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs. 7 years ago
gc.h all: Use the name MicroPython consistently in comments 7 years ago
grammar.h all: Use the name MicroPython consistently in comments 7 years ago
lexer.c all: Remove inclusion of internal py header files. 7 years ago
lexer.h all: Use the name MicroPython consistently in comments 7 years ago
makeqstrdata.py py/modbuiltins: Make built-in dir support the __dir__ special method. 7 years ago
makeqstrdefs.py py/makeqstrdefs.py: Optimise by using compiled re's so it runs faster. 7 years ago
makeversionhdr.py py: Use "GEN" consistently for describing files generated in the build. 7 years ago
malloc.c py/malloc: Remove unneeded code checking m_malloc return value. 7 years ago
map.c py/map: Don't include ordered-dict mutating code when not needed. 7 years ago
misc.h py/misc.h: Remove unused count_lead_ones() inline function. 7 years ago
mkenv.mk py/mkenv.mk: Use $(PYTHON) consistently when calling Python tools. 7 years ago
mkrules.mk py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
modarray.c all: Use the name MicroPython consistently in comments 7 years ago
modbuiltins.c py/modbuiltins: Make built-in dir support the __dir__ special method. 7 years ago
modcmath.c py: Change obsolete "///" comment formatting to normal comments. 7 years ago
modcollections.c py/objdeque: Implement ucollections.deque type with fixed size. 7 years ago
modgc.c py: Change obsolete "///" comment formatting to normal comments. 7 years ago
modio.c py/modio: Use correct config macro to enable resource_stream function. 7 years ago
modmath.c py/modmath: Convert log2 macro into a function. 7 years ago
modmicropython.c py: Don't include mp_optimise_value or opt_level() if compiler disabled. 7 years ago
modstruct.c py/modstruct: Check and prevent buffer-write overflow in struct packing. 7 years ago
modsys.c py/modsys: Don't compile getsizeof function if feature is disabled. 7 years ago
modthread.c py: Introduce a Python stack for scoped allocation. 7 years ago
moduerrno.c py/moduerrno: Make list of errno codes configurable. 8 years ago
mpconfig.h py/mpconfig.h: Be stricter when autodetecting machine endianness. 7 years ago
mperrno.h py/mperrno: Define MP_EWOULDBLOCK as EWOULDBLOCK, not EAGAIN. 7 years ago
mphal.h all: Use the name MicroPython consistently in comments 7 years ago
mpprint.c py/mpprint: Fix "%x" vs "%X" regression introduced in previous commit. 7 years ago
mpprint.h all: Use the name MicroPython consistently in comments 7 years ago
mpstate.c all: Use the name MicroPython consistently in comments 7 years ago
mpstate.h py/mpstate.h: Adjust start of root pointer section to exclude non-ptrs. 7 years ago
mpthread.h all: Unify header guard usage. 7 years ago
mpz.c py/mpz: In mpz_clone, remove unused check for NULL dig. 7 years ago
mpz.h py/mpz: Simplify handling of borrow and quo adjustment in mpn_div. 7 years ago
nativeglue.c py/emitnative: Implement floor-division and modulo for viper emitter. 7 years ago
nlr.c py/nlr: Fix missing trailing characters in comments in nlr.c 7 years ago
nlr.h py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 7 years ago
nlrsetjmp.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
nlrthumb.c py/nlrthumb: Fix Clang support wrt use of "return 0". 7 years ago
nlrx64.c py/nlr: Fix nlr functions for 64bit ports built with gcc on Windows 7 years ago
nlrx86.c py/nlrx86: Use naked attribute on nlr_push for gcc 8.0 and higher. 7 years ago
nlrxtensa.c py/nlr: Factor out common NLR code to macro and generic funcs in nlr.c. 7 years ago
obj.c all: Remove inclusion of internal py header files. 7 years ago
obj.h py/obj.h: Fix math.e constant for nan-boxing builds. 7 years ago
objarray.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
objarray.h all: Unify header guard usage. 7 years ago
objattrtuple.c all: Use the name MicroPython consistently in comments 7 years ago
objbool.c all: Remove inclusion of internal py header files. 7 years ago
objboundmeth.c py: Convert all uses of alloca() to use new scoped allocation API. 7 years ago
objcell.c all: Use the name MicroPython consistently in comments 7 years ago
objclosure.c all: Use the name MicroPython consistently in comments 7 years ago
objcomplex.c all: Remove inclusion of internal py header files. 7 years ago
objdeque.c py/objdeque: Fix sign extension bug when computing len of deque object. 7 years ago
objdict.c py/objdict: Disallow possible modifications to fixed dicts. 7 years ago
objenumerate.c all: Use the name MicroPython consistently in comments 7 years ago
objexcept.c py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs. 7 years ago
objexcept.h py/objexcept: Make MP_DEFINE_EXCEPTION public so ports can define excs. 7 years ago
objfilter.c all: Use the name MicroPython consistently in comments 7 years ago
objfloat.c py/objfloat: Fix case of raising 0 to -infinity. 7 years ago
objfun.c py/objfun: Fix variable name in DECODE_CODESTATE_SIZE() macro. 7 years ago
objfun.h all: Use the name MicroPython consistently in comments 7 years ago
objgenerator.c py/objgenerator: Check stack before resuming a generator. 7 years ago
objgenerator.h all: Use the name MicroPython consistently in comments 7 years ago
objgetitemiter.c all: Remove inclusion of internal py header files. 7 years ago
objint.c py/objint: Remove unreachable code checking for int type in format func. 7 years ago
objint.h py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
objint_longlong.c py/objint: Simplify LHS arg type checking in int binary op functions. 7 years ago
objint_mpz.c py/objint: Simplify LHS arg type checking in int binary op functions. 7 years ago
objlist.c all: Use NULL instead of "" when calling mp_raise exception helpers. 7 years ago
objlist.h py/obj.h: Move declaration of mp_obj_list_init to objlist.h. 7 years ago
objmap.c all: Use the name MicroPython consistently in comments 7 years ago
objmodule.c py/objmodule: Factor common code for calling __init__ on builtin module. 7 years ago
objmodule.h py/objmodule: Factor common code for calling __init__ on builtin module. 7 years ago
objnamedtuple.c py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
objnamedtuple.h py/objnamedtuple: Allow to reuse namedtuple basic functionality. 7 years ago
objnone.c all: Remove inclusion of internal py header files. 7 years ago
objobject.c py/objtype: Refactor object's handling of __new__ to not create 2 objs. 7 years ago
objpolyiter.c all: Remove inclusion of internal py header files. 7 years ago
objproperty.c all: Remove inclusion of internal py header files. 7 years ago
objrange.c py/objrange: Implement (in)equality comparison between range objects. 7 years ago
objreversed.c all: Remove inclusion of internal py header files. 7 years ago
objset.c py/objset: Remove unneeded check from set_equal. 7 years ago
objsingleton.c all: Remove inclusion of internal py header files. 7 years ago
objslice.c all: Remove inclusion of internal py header files. 7 years ago
objstr.c py/objstr: In find/rfind, don't crash when end < start. 7 years ago
objstr.h py/objstr: Make mp_obj_new_str_of_type check for existing interned qstr. 7 years ago
objstringio.c py/stream: Switch stream close operation from method to ioctl. 7 years ago
objstringio.h py/objstringio: If created from immutable object, follow copy on write policy. 8 years ago
objstrunicode.c py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 7 years ago
objtuple.c all: Remove inclusion of internal py header files. 7 years ago
objtuple.h all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
objtype.c py/objtype: Check and prevent delete/store on a fixed locals map. 7 years ago
objtype.h py/objtype: Refactor object's handling of __new__ to not create 2 objs. 7 years ago
objzip.c all: Use the name MicroPython consistently in comments 7 years ago
opmethods.c py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
parse.c py/parse: Fix macro evaluation by avoiding empty __VA_ARGS__. 7 years ago
parse.h all: Use the name MicroPython consistently in comments 7 years ago
parsenum.c py/parsenum: Fix parsing of floats that are close to subnormal. 7 years ago
parsenum.h all: Use the name MicroPython consistently in comments 7 years ago
parsenumbase.c all: Use the name MicroPython consistently in comments 7 years ago
parsenumbase.h all: Use the name MicroPython consistently in comments 7 years ago
persistentcode.c py/emitglue: When assigning bytecode only pass bytecode len if needed. 7 years ago
persistentcode.h py: Factor out persistent-code reader into separate files. 8 years ago
py.mk py: Refactor how native emitter code is compiled with a file per arch. 7 years ago
pystack.c py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 7 years ago
pystack.h py: Introduce a Python stack for scoped allocation. 7 years ago
qstr.c py/qstr: Rewrite find_qstr to make manifest that it returns a valid ptr. 7 years ago
qstr.h py/qstr: Add QSTR_TOTAL() macro to get number of qstrs. 7 years ago
qstrdefs.h py/pystack: Use "pystack exhausted" as error msg for out of pystack mem. 7 years ago
reader.c all: Don't include system errno.h when it's not needed. 7 years ago
reader.h py: Allow lexer to raise exceptions during construction. 8 years ago
repl.c py/repl: Fix handling of unmatched brackets and unfinished quotes. 7 years ago
repl.h all: Use the name MicroPython consistently in comments 7 years ago
ringbuf.h all: Unify header guard usage. 7 years ago
runtime.c py/runtime: Add mp_load_method_protected helper which catches exceptions 7 years ago
runtime.h py/runtime: Add mp_load_method_protected helper which catches exceptions 7 years ago
runtime0.h py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
runtime_utils.c py: mp_call_function_*_protected(): Pass-thru return value if possible. 7 years ago
scheduler.c py: Add micropython.schedule() function and associated runtime code. 8 years ago
scope.c all: Use the name MicroPython consistently in comments 7 years ago
scope.h all: Use the name MicroPython consistently in comments 7 years ago
sequence.c all: Remove inclusion of internal py header files. 7 years ago
showbc.c py: Clean up unary and binary enum list to keep groups together. 7 years ago
smallint.c all: Use the name MicroPython consistently in comments 7 years ago
smallint.h py: Extend nan-boxing config to have 47-bit small integers. 7 years ago
stackctrl.c py/runtime: Move mp_exc_recursion_depth to runtime and rename to raise. 7 years ago
stackctrl.h all: Use the name MicroPython consistently in comments 7 years ago
stream.c py/stream: Use uPy errno instead of system's for non-blocking check. 7 years ago
stream.h py/stream: Use uPy errno instead of system's for non-blocking check. 7 years ago
unicode.c py/unicode: Clean up utf8 funcs and provide non-utf8 inline versions. 7 years ago
unicode.h py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
vm.c py/vm: Improve performance of opcode dispatch when using switch stmt. 7 years ago
vmentrytable.h py: Clean up unary and binary enum list to keep groups together. 7 years ago
vstr.c py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 7 years ago
warning.c py: Add config option to print warnings/errors to stderr. 7 years ago