3011 Commits (08a196697c5dfb8cbe3b3e85c1c5f94e3a27804c)

Author SHA1 Message Date
Damien George 08a196697c py/formatfloat: Don't print the negative sign of a NaN value. 7 years ago
Damien George d8d4e4dfbe py/modmath: Convert log2 macro into a function. 7 years ago
Damien George 25e140652b py/modmath: Add full checks for math domain errors. 7 years ago
Damien George 933eab46fc py/bc: Update opcode_format_table to match the bytecode. 7 years ago
Damien George ff93fd4f50 py/persistentcode: Bump .mpy version number to version 3. 7 years ago
Damien George 36f7952f76 py/objtype: Clean up unary- and binary-op enum-to-qstr mapping tables. 7 years ago
Damien George 0864a6957f py: Clean up unary and binary enum list to keep groups together. 7 years ago
Damien George 23faf88cab py/mpprint: Only check for null string printing when NDEBUG not defined. 7 years ago
Damien George dfa563c71f py/objstr: Make empty bytes object have a null-terminating byte. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 7 years ago
Damien George 6c82cfc089 py/objtype: Change type of enum-to-qstr table to uint16_t to save space. 7 years ago
chrismas9 3289b9b7a7 py/{mkenv.mk,mkrules.mk}: Append .exe for Windows executable files. 7 years ago
Damien George 1394258f37 py/objset: Include the failed key in a KeyError raised from set.remove. 7 years ago
Damien George 2ac1364688 py/objset: Check that RHS of a binary op is a set/frozenset. 7 years ago
Damien George 01978648fd py/objset: Simplify set and frozenset by separating their locals dicts. 7 years ago
Damien George bdc6e86e07 py/objfloat: Support raising a negative number to a fractional power. 7 years ago
David Lechner 62849b7010 py: Add config option to print warnings/errors to stderr. 7 years ago
Paul Sokolovsky 9d836fedbd py: Clarify which mp_unary_op_t's may appear in the bytecode. 7 years ago
Anton Patrushev f008263022 py/persistentcode: Define mp_raw_code_save_file() for any unix target. 7 years ago
Damien George 8edc2e4b14 py/runtime0: Add comments about unary/binary-op enums used in bytecode. 7 years ago
Damien George e2ba45c35f py/vm: Use lowercase letter at start of exception message. 7 years ago
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