48 Commits (91d457a27752fa125e9c6107bf51c918e021dc95)

Author SHA1 Message Date
Damien George a11ceca807 Change int to uint for n_args in function with variable arguments. 11 years ago
Damien George ebde0b8a09 Tiny optimisation in objlist.c; a new test for inheritance. 11 years ago
Damien George 20006dbba9 Make VM stack grow upwards, and so no reversed args arrays. 11 years ago
Paul Sokolovsky 76d982ef34 type->print(): Distinguish str() and repr() variety by passing extra param. 11 years ago
Damien George 0f59203e37 Tidy up. 11 years ago
John R. Lenton 88cb1e60e0 Made sorted() raise an exception instead of aborting when given no arguments; moved around some things in objfun.c as a consequence 11 years ago
John R. Lenton 5c76839559 sorted 11 years ago
Paul Sokolovsky 1945e60aeb list: Implement comparison operators. 11 years ago
Paul Sokolovsky c698d266d1 list: Add extend() methods and += operator. 11 years ago
John R. Lenton b8698fca75 unified the bops 11 years ago
Paul Sokolovsky 074d3b5f86 list: Implement list multiplication. 11 years ago
Damien George 38a2da68c2 py: Stuff qstr in object pointer; keys for mp_map_t are now always mp_obj_t. 11 years ago
Damien George dfc0bac086 py: Small big fix to type declarations. 11 years ago
John R. Lenton 9c83ec0eda Merge remote-tracking branch 'upstream/master' into dict_feats 11 years ago
John R. Lenton 3391e19068 A bit of stylistic cleanup (chose the wrong side during conflict resolution). 11 years ago
John R. Lenton c06763a020 This implements a better (more python-conformant) list.sort. 11 years ago
ian-v a5a01df81d Make list and str method tables static 11 years ago
ian-v 5fd8fd2c16 Revert MP_BOOL, etc. and use <stdbool.h> instead 11 years ago
ian-v 7a16fadbf8 Co-exist with C++ (issue #85) 11 years ago
John R. Lenton c553162ebc Fix off-by-one in non-default values of index's 2nd and 3rd arguments. 11 years ago
Paul Sokolovsky 860ffb0a43 Convert many object types structs to use C99 tagged initializer syntax. 11 years ago
Damien George f0691f4ed5 Fix qstr in objlist.c; add more tests for list.index. 11 years ago
Damien George 71c5181a8d Convert Python types to proper Python type hierarchy. 11 years ago
Damien George eb7bfcb286 Split qstr into pools, and put initial pool in ROM. 11 years ago
John R. Lenton 6e1e98f864 Implements list.reverse; fixes issue #66 11 years ago
John R. Lenton 49fb6e53b3 Implements list.remove (in terms of list.index and list.pop). 11 years ago
John R. Lenton 45a8744617 Implements list.insert. Fixes issue #61. 11 years ago
John R. Lenton 5d4a821339 Implements list.index. Fixes issue #57. 11 years ago
John R. Lenton e241e8c169 Implemented list.count 11 years ago
John R. Lenton 26c211648b Implemented list.copy. Fixes issue #54. 11 years ago
John R. Lenton 069ded9514 Added list.clear. Fixes issue #53. 11 years ago
John R. Lenton 25f417c08c Worked on list.pop: 11 years ago
John R. Lenton 9bc56d933f Changed to use memcpy. 11 years ago
John R. Lenton aeb16c36b0 Add a bit of whitespace. 11 years ago
John R. Lenton 81ad89c46e untabified 11 years ago
John R. Lenton 4cb80582c4 Add list addition (fixes: #39) 11 years ago
Damien 732407f1bf Change memory allocation API to require size for free and realloc. 11 years ago
Damien d99b05282d Change object representation from 1 big union to individual structs. 11 years ago