74 Commits (69922c602cea2b54c30b04078f066717b18425d6)

Author SHA1 Message Date
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
Paul Sokolovsky f54bcbf099 py, unix: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Paul Sokolovsky a224067846 py: Clear allocated, but unused memory in containers. 11 years ago
Paul Sokolovsky 26905259d0 objarray: Slice subscription operation: properly test for op subtype. 11 years ago
Damien George a3f94e0030 py: Add arg checking helper functions. 11 years ago
Paul Sokolovsky d6e12723ed objarray: Implement slice subscription. 11 years ago
Paul Sokolovsky 1355cf42f2 modstruct: Fix .calcsize() to account for struct type/alignment. 11 years ago
Damien George 57a4b4f178 py: Add typecode to buffer protocol. 11 years ago
Damien George 32ca164992 py: Tidy up array.array; add more error handling. 11 years ago
Damien George ea8d06c39d py: Add MP_OBJ_STOP_ITERATION and make good use of it. 11 years ago
Damien George 729f7b42d6 py: Merge BINARY_OP_SUBSCR and store_subscr (w/ delete) into subscr. 11 years ago
Paul Sokolovsky ef9124f5ff binary: Rename array accessors for clarity. 11 years ago
Damien George f4c9b33abf py: Remove DELETE_SUBSCR opcode, combine with STORE_SUBSCR. 11 years ago
Paul Sokolovsky 4dcb605ac4 py: Make bytearray a proper type. 11 years ago
Paul Sokolovsky b9cf3d3730 bytearray: Support bytearray(int) constructor. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Paul Sokolovsky f7eaf605c0 py: Fix "TypeError: 'iterator' object is not iterable", doh. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago