3040 Commits (505671b698490918fe0ea6c6dfdab8c0b25339be)

Author SHA1 Message Date
Damien George ede8a0235b py/vstr: Raise a RuntimeError if fixed vstr buffer overflows. 7 years ago
Damien George 7885a425d7 py/stream: Remove unnecessary checks for NULL return from vstr_add_len. 7 years ago
Damien George 96fd80db13 py/objexcept: Prevent infinite recursion when allocating exceptions. 7 years ago
Paul Sokolovsky fc9a6dd09e py/objstr: strip: Don't strip "\0" by default. 7 years ago
Damien George 44f0a4d1e7 py/mpconfig.h: Add note that using computed gotos in VM is not C99. 7 years ago
Damien George fdb2aa81b7 py/{objfloat,objcomplex}: Optimise MP_UNARY_OP_ABS by reusing variables. 7 years ago
Paul Sokolovsky 9dce823cfd py/modbuiltins: Implement abs() by dispatching to MP_UNARY_OP_ABS. 7 years ago
Damien George 280fb4d928 py/emitbc: Remove stray semicolon in outer scope. 7 years ago
Damien George 89f657f073 py/runtime.h: Change empty mp_warning macro so var-args are non empty. 7 years ago
Damien George da8c4c2653 py/builtinhelp: Change signature of help text var from pointer to array. 7 years ago
ASM 52620c6b0e py/nlrx86: Fix building for Android/x86. 7 years ago
Paul Sokolovsky eb84a830df py/runtime: Implement dispatch for "reverse op" special methods. 7 years ago
Paul Sokolovsky 9355cca610 esp8266: Set DEFPSIZE=1024, MINCACHE=3 for "btree" module. 7 years ago
Damien George e6fbee0981 py/builtinhelp: Simplify code slightly by extracting object type. 7 years ago
Paul Sokolovsky b8ee7ab5b9 py/runtime0.h: Put inplace arith ops in front of normal operations. 7 years ago
Paul Sokolovsky c460f6f15a py/runtime0.h: Regroup operations a bit. 7 years ago
Paul Sokolovsky 6d4cac088e py/objtype: Make sure mp_binary_op_method_name has full size again. 7 years ago
Paul Sokolovsky 50b9329eba py/runtime0.h: Move MP_BINARY_OP_DIVMOD to the end of mp_binary_op_t. 7 years ago
Paul Sokolovsky d4d1c45a55 py/runtime0.h: Move relational ops to the beginning of mp_binary_op_t. 7 years ago
Paul Sokolovsky 5c603bd0fd py/objlist: Properly implement comparison with incompatible types. 7 years ago
tll 68c28174d0 py/objstr: Add check for valid UTF-8 when making a str from bytes. 7 years ago
Damien George 4a93801c12 all: Update Makefiles and others to build with new ports/ dir layout. 7 years ago
Paul Sokolovsky 1aaba5cabe py/objtuple: Properly implement comparison with incompatible types. 7 years ago
Paul Sokolovsky 60749e57f2 py/objtype: Implement fallback for instance inplace special methods. 7 years ago
Damien George 77a48e8cd4 py/obj: Remove declaration for mp_obj_new_none(), it's never defined. 7 years ago
Damien George d4b75f6b68 py/obj: Fix comparison of float/complex NaN with itself. 7 years ago
Paul Sokolovsky 9950865c39 py/objfloat: Fix binary ops with incompatible objects. 7 years ago
Damien George dd376a239d py/nlrthumb: Get working again on standard Thumb arch (ie not Thumb2). 7 years ago
Damien George 860eeeea9b py/qstrdefs: Remove unused qstrs. 7 years ago
Damien George 2daacc5cee py/modstruct: Check and prevent buffer-write overflow in struct packing. 7 years ago
Damien George 79d5acbd01 py/modstruct: Check and prevent buffer-read overflow in struct unpacking 7 years ago
Damien George 793d826d9d py/modstruct: In struct.pack, stop converting if there are no args left. 7 years ago
Damien George ca21aed0a1 py: Make m_malloc_fail() have void return type, since it doesn't return. 7 years ago
Damien George 6c9fca2aa9 py/map: Remove unused new/free functions. 7 years ago
Damien George 0e420d48ee py/map: Replace always-false condition with assertion. 7 years ago
Paul Sokolovsky 4556bd2acd py/objtype: mp_obj_class_lookup: Improve debug logging. 7 years ago
Paul Sokolovsky df6605eaba py/objtype: mp_obj_instance_make_new: Fix typos in comment. 7 years ago
Damien George 0102ee092b py: Change obsolete "///" comment formatting to normal comments. 7 years ago
Paul Sokolovsky 784909ce16 py/objtype: Handle NotImplemented return from binary special methods. 7 years ago
Damien George 58321dd985 all: Convert mp_uint_t to mp_unary_op_t/mp_binary_op_t where appropriate 7 years ago
Damien George be8e5744e6 py/nlrx86,x64: Replace #define of defined() with portable macro usage. 7 years ago
Paul Sokolovsky 37379a2974 py/objstr: startswith, endswith: Check arg to be a string. 7 years ago
Damien George f9ecaa132f py/asmthumb: Use existing macro to properly clear the D-cache. 7 years ago
Damien George f5309fc4ff py/formatfloat: Don't post-increment variable that won't be used again. 7 years ago
Damien George 103ae43f95 py/objcomplex: Remove unnecessary assignment of variable. 7 years ago
Damien George ad6aae13a4 py/compile: Remove unused pn_colon code when compiling func params. 7 years ago
Damien George b16a755a0b py/mkrules.mk: Use "find -path" when searching for frozen obj files. 7 years ago
Paul Sokolovsky e3383e9352 py/stream: seek: Consistently handle negative offset for SEEK_SET. 7 years ago
Paul Sokolovsky 0cd9ab7755 py/objstringio: Fix regression with handling SEEK_SET. 7 years ago
Tom Collins 168350cd98 py/objstringio: Prevent offset wraparound for io.BytesIO objects. 8 years ago