3226 Commits (ca2b1d6b36b11706b537eba90144469ba28561d2)

Author SHA1 Message Date
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
Damien George 025e5f2b33 py/binary: Change internal bytearray typecode from 0 to 1. 7 years ago
Stefan Naumann ace9fb5405 py: Add verbose debug compile-time flag MICROPY_DEBUG_VERBOSE. 7 years ago
Bas van Sisseren a14ce77b28 py/binary.c: Fix bug when packing big-endian 'Q' values. 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Paul Sokolovsky bfc2092dc5 py/modsys: Initial implementation of sys.getsizeof(). 7 years ago
Damien George 7d4a2f773c all: Make use of $(TOP) variable in Makefiles, instead of "..". 7 years ago
Damien George 3d25d9c7d9 py/objstr: Raise an exception for wrong type on RHS of str binary op. 7 years ago
Damien George eb2784e8a2 py/objtuple: Allow to use inplace-multiplication operator on tuples. 7 years ago
Paul Sokolovsky 4dc7c5649b py/mkrules.mk: Show frozen modules sizes together with executable size. 7 years ago
Damien George 0f12082f5b py,extmod,stmhal: Use "static inline" for funcs that should be inline. 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George b62bb53d0e py/modsys: Use MP_ROM_INT for int values in an mp_rom_map_elem_t. 7 years ago
Paul Sokolovsky 456450437f py/modio: BufferedWriter: Convert to mp_rom_map_elem_t. 7 years ago
Damien George 04552ff71b py: Implement raising a big-int to a negative power. 7 years ago