aboutsummaryrefslogtreecommitdiff
path: root/py
AgeCommit message (Collapse)Author
2014-01-06Use constructor to create small int (avoid exposing mp_obj_t internals to VM).Paul Sokolovsky
2014-01-06Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton
2014-01-05Merge branch 'list_remove' of git://github.com/chipaca/micropython into ↵Damien George
chipaca-list_remove
2014-01-05Merge pull request #92 from chipaca/list_insertDamien George
List insert. Fixes issue #61.
2014-01-05Merge pull request #91 from chipaca/list_indexDamien George
Fix off-by-one in non-default values of index's 2nd and 3rd arguments.
2014-01-05Merge pull request #89 from pfalcon/c99-tagged-structsDamien George
Convert many object types structs to use C99 tagged initializer syntax.
2014-01-05Merge remote-tracking branch 'upstream/master' into list_reverseJohn R. Lenton
2014-01-05Merge remote-tracking branch 'upstream/master' into list_removeJohn R. Lenton
2014-01-05Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton
2014-01-05Fix off-by-one in non-default values of index's 2nd and 3rd arguments.John R. Lenton
2014-01-05Convert many object types structs to use C99 tagged initializer syntax.Paul Sokolovsky
2014-01-05Make qstr_init reinitialize last_pool.Dave Hylands
This causes the pool to get reinitialized properly on a soft-reset.
2014-01-05Merge pull request #80 from xyb/striterDamien George
Implements str iterator
2014-01-05Fix qstr in objlist.c; add more tests for list.index.Damien George
list.index fails on an edge case.
2014-01-05Implements str iteratorxyb
2014-01-05Merge remote-tracking branch 'upstream/master' into list_indexJohn R. Lenton
2014-01-05Oops: add objint.cDamien George
2014-01-04Merge pull request #73 from mikaeleiman/apple-clang-fixesDamien George
Apple clang fixes
2014-01-04Convert Python types to proper Python type hierarchy.Damien George
Now much more inline with how CPython does types.
2014-01-04OSX: fixes to make nlrx64.S with Apple's clang (switched to Apple-specific ↵Mikael Eiman
define instead of __llvm__)
2014-01-04OSX: fixes to make nlrx64.S with Apple's clang (forgot a few places)Mikael Eiman
2014-01-04OSX: fixes to make nlrx64.S with Apple's clangMikael Eiman
2014-01-04Add ellipsis object.Damien George
2014-01-04Merge pull request #70 from chipaca/list_countDamien George
Implements list.count. Fixes isue #55.
2014-01-04Split qstr into pools, and put initial pool in ROM.Damien George
Qstr's are now split into a linked-list of qstr pools. This has 2 benefits: the first pool can be in ROM (huge benefit, since we no longer use RAM for the core qstrs), and subsequent pools use m_new for the next pool instead of m_renew (thus avoiding a huge single table for all the qstrs). Still would be better to use a hash table, but this scheme takes us part of the way (eventually convert the pools to hash tables). Also fixed bug with import. Also improved the way the module code is referenced (not magic number 1 anymore).
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn R. Lenton
2014-01-04Improve configurability for native x64/thumb emitter.Damien George
With MICROPY_EMIT_X64 and MICROPY_EMIT_THUMB disabled, the respective emitters and assemblers will not be included in the code. This can significantly reduce binary size for unix version.
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn R. Lenton
2014-01-04Merge pull request #64 from pfalcon/str-slice-range-checkDamien George
str slice: Trim slice indexes to be in range.
2014-01-04Merge pull request #60 from chipaca/list_copyDamien George
Implemented list.copy. Fixes issue #54.
2014-01-04Implements list.reverse; fixes issue #66John R. Lenton
2014-01-04Implements list.remove (in terms of list.index and list.pop).John R. Lenton
Fixes issue #63.
2014-01-04str slice: Trim slice indexes to be in range.Paul Sokolovsky
2014-01-04Merge remote-tracking branch 'upstream/master' into list_insertJohn R. Lenton
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn R. Lenton
2014-01-04Implements list.insert. Fixes issue #61.John R. Lenton
2014-01-04Fix int -> machine_int_t; add print to slice test.Damien George
2014-01-03Merge pull request #59 from pfalcon/sliceDamien George
Implement basic slice object and string slicing
2014-01-03Merge pull request #58 from chipaca/list_clearDamien George
Added list.clear. Fixes issue #53.
2014-01-04str: Throw TypeError for invalid index type and clean up comments.Paul Sokolovsky
2014-01-04slice: Allow building with MICROPY_ENABLE_SLICE=0.Paul Sokolovsky
2014-01-04str: Handle non-positive slice indexes.Paul Sokolovsky
2014-01-04slice: Implement special handling of omitted start/stop indexes.Paul Sokolovsky
2014-01-04Enable slice support in config.Paul Sokolovsky
2014-01-04str: Initial implementation of string slicing.Paul Sokolovsky
Only step=1 and non-negative indexes are supported so far.
2014-01-04Implement BUILD_SLICE opcode (2-arg version).Paul Sokolovsky
2014-01-04Add basic implementation of slice object.Paul Sokolovsky
So far, only start and stop integer indexes are supported. Step is not supported, as well as objects of arbitrary types.
2014-01-04Implements list.index. Fixes issue #57.John R. Lenton
2014-01-03Merge pull request #52 from chipaca/masterDamien George
Tweaks to list.pop.
2014-01-03Implemented list.countJohn R. Lenton