91 Commits (59a4fee5161c198f59a4a1f7afe4096d23826ab1)

Author SHA1 Message Date
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
Damien George 2e2e404ff7 py: Allow to compile with extra warnings (sign-compare, unused-param). 10 years ago
Paul Sokolovsky cb0fc063ed objmemoryview: Introduce mp_obj_new_memoryview(). 10 years ago
Paul Sokolovsky 16b1f5e842 objarray: Fix typo in null TYPECODE_MASK. 10 years ago
Damien George d891452a73 py: Add MICROPY_MALLOC_USES_ALLOCATED_SIZE to allow simpler malloc API. 10 years ago
Paul Sokolovsky cefcbb22b2 objarray: Implement array slice assignment. 10 years ago
Damien George 4d77e1a034 py: Use m_{new,renew,del} consistently. 10 years ago
Damien George ff8dd3f486 py, unix: Allow to compile with -Wunused-parameter. 10 years ago
Paul Sokolovsky 343ca1e63a objarray: Make sure that longint works as bytearray size. 10 years ago
Damien George 51dfcb4bb7 py: Move to guarded includes, everywhere in py/ core. 10 years ago
Damien George 32ef3a3517 py: Allow bytes/bytearray/array to be init'd by buffer protocol objects. 10 years ago
Damien George c7ca01ad96 py: Generalise and reduce code size of array +, += and .extend(). 10 years ago
Damien George b2e731177e py: Implement +, += and .extend for bytearray and array objs. 10 years ago
stijn 49c47da804 Fix errors after enabling -Wpointer-arith 10 years ago
Damien George de3c806965 py: Fix memoryview referencing so it retains ptr to original buffer. 10 years ago
Damien George dd4f4530ab py: Add builtin memoryview object (mostly using array code). 10 years ago
Damien George 42f3de924b py: Convert [u]int to mp_[u]int_t where appropriate. 10 years ago
Damien George 4abff7500f py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h. 10 years ago
Damien George 4d91723587 py: Remove use of int type in obj.h. 10 years ago
Damien George d182b98a37 py: Change all uint to mp_uint_t in obj.h. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Paul Sokolovsky 5f930337bc objarray: Implement equality testing between arrays and other buffers. 10 years ago
Damien George 5467186b0e py: Remove unnecessary argument in bytearray print. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky cb78f862cb py: Allow to disable array module and bytearray type. 11 years ago
Paul Sokolovsky 2ec38a17d4 objstr: Be 8-bit clean even for repr(). 11 years ago
Damien George 11de8399fe py: Small changes to objstr.c, including a bug fix. 11 years ago
Damien George c49ddb9315 py: Fix configurability of builtin slice. 11 years ago
Paul Sokolovsky 5fd5af98d0 objlist: Implement support for arbitrary (3-arg) slices. 11 years ago
Paul Sokolovsky de4b9329f9 py: Refactor slice helpers, preparing to support arbitrary slicing. 11 years ago
Damien George 6ac5dced24 py: Rename MP_OBJ_NOT_SUPPORTED to MP_OBJ_NULL. 11 years ago
Paul Sokolovsky da9f0924ef py, unix: Add copyright for modules I worked closely on. 11 years ago
Paul Sokolovsky d915a52eb6 py: Fix prefix on few sequence helpers, was incorrectly "mp_". 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago