124 Commits (596fb73927df4f9202729ff9d92a1db479a95ed7)

Author SHA1 Message Date
stijn dc4d119d3d py/objarray: Fix sign mismatch in comparison. 5 years ago
stijn b909e8b2dd Revert "all: Fix implicit casts of float/double, and signed comparison." 5 years ago
Jim Mussared def76fe4d9 all: Use MP_ERROR_TEXT for all error messages. 5 years ago
David Lechner a2110bd3fc all: Fix implicit casts of float/double, and signed comparison. 5 years ago
Damien George 69661f3343 all: Reformat C and Python source code with tools/codeformat.py. 5 years ago
Jim Mussared 3ccce89b83 py/objarray: Turn on MP_TYPE_FLAG_EQ_CHECKS_OTHER_TYPE for memoryview. 5 years ago
Damien George 9ec1caf42e py: Expand type equality flags to 3 separate ones, fix bool/namedtuple. 5 years ago
Nicko van Someren 3aab54bf43 py: Support non-boolean results for equality and inequality tests. 5 years ago
Damien George acfbb9febd py/objarray: Fix amount of free space in array when doing slice assign. 5 years ago
stijn fb54736bdb py/objarray: Add decode method to bytearray. 6 years ago
stijn 90fae9172a py/objarray: Add support for memoryview.itemsize attribute. 6 years ago
Jun Wu 089c9b71d1 py: remove "if (0)" and "if (false)" branches. 6 years ago
Damien George eee1e8841a py: Downcase all MP_OBJ_IS_xxx macros to make a more consistent C API. 6 years ago
Paul Sokolovsky a261d8b615 py/objarray: Introduce "memview_offset" alias for "free" field of object 6 years ago
Paul Sokolovsky 674e069ba9 py/objarray: bytearray: Allow 2nd/3rd arg to constructor. 6 years ago
Damien George a785a3dbfb py/objarray: Allow to build again when bytearray is disabled. 6 years ago
Damien George c00ee200ac py/objarray: Replace 0x80 with new MP_OBJ_ARRAY_TYPECODE_FLAG_RW macro. 6 years ago
Damien George 5e34a113ea py/runtime: Add MP_BINARY_OP_CONTAINS as reverse of MP_BINARY_OP_IN. 7 years ago
Damien George f4059dcc0c all: Use NULL instead of "" when calling mp_raise exception helpers. 7 years ago
Damien George a3dc1b1957 all: Remove inclusion of internal py header files. 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
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 94c41bb06f py: Use mp_raise_TypeError/mp_raise_ValueError helpers where possible. 8 years ago
Damien George ab5689bc9d py/objarray: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 8 years ago
Damien George c88cfe165b py: Use size_t as len argument and return type of mp_get_index. 8 years ago
Damien George f4a12dca58 py/objarray: Disallow slice-assignment to read-only memoryview. 8 years ago
Damien George e6003f466e py: De-optimise some uses of mp_getiter, so they don't use the C stack. 8 years ago
Damien George ae8d867586 py: Add iter_buf to getiter type method. 9 years ago
Damien George ccc5254224 py/objarray: Convert mp_uint_t to size_t where appropriate. 8 years ago
Paul Sokolovsky af90461931 py/binary: mp_binary_get_size: Raise error on unsupported typecodes. 8 years ago
Damien George 7d0d7215d2 py: Use mp_raise_msg helper function where appropriate. 8 years ago
Paul Sokolovsky ec7fe92531 py/objarray: Split out header to allow direct access to object. 8 years ago
Damien George 04d5e644fc py/objarray: Fix array.append so it doesn't extend if append fails. 9 years ago
Damien George 77f85db41e py/objarray: Fix array slice assignment when array is reallocated. 9 years ago
Paul Sokolovsky c38809e26b py/objarray: Implement "in" operator for bytearray. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George a0c97814df py: Change type of .make_new and .call args: mp_uint_t becomes size_t. 9 years ago
Damien George 999cedb90f py: Wrap all obj-ptr conversions in MP_OBJ_TO_PTR/MP_OBJ_FROM_PTR. 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky 1b586f3a73 py: Rename MP_BOOL() to mp_obj_new_bool() for consistency in naming. 9 years ago
Damien George 3a2171e406 py: Eliminate some cases which trigger unused parameter warnings. 9 years ago
Damien George 821b7f22fe py: Use mp_not_implemented consistently for not implemented features. 9 years ago
Delio Brignoli 6a388aaa7c py: reduce array slice assignment code size 10 years ago
Damien George 4915c2b871 py: Small code space optimisations for memoryview slice assigment. 9 years ago
Delio Brignoli 32aba40830 py: Implement memoryview slice assignment. 10 years ago
Damien George 035deae1c6 py/objarray.c: Allow to build with debugging and bytearray but no array. 9 years ago
Kaspar Schleiser f5dd6f7f37 py/binary: Make return type of mp_binary_get_size size_t instead of int. 10 years ago
Damien George 7f9d1d6ab9 py: Overhaul and simplify printf/pfenv mechanism. 10 years ago
Paul Sokolovsky 56beb01724 objarray: Support assignment of bytes to bytearray slice. 10 years ago