aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-04Convert USE_READLINE config option to be consistent with others.Paul Sokolovsky
2014-01-04Unbreak string slice test by just switching to normal (not byte) strings.Paul Sokolovsky
2014-01-04tests/basics requires python3.3Paul Sokolovsky
tests/bytecode/run-tests already uses puthon3.3, so let's just use it here too. Fore reference, errors with python 3.2.3: File "tests/generator1.py", line 12 return None SyntaxError: 'return' with argument inside generator File "tests/list_clear.py", line 3, in <module> x.clear() AttributeError: 'list' object has no attribute 'clear' etc.
2014-01-04Don't error out if build/ directory already exists.Paul Sokolovsky
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 branch 'master' of github.com:dpgeorge/micropythonDamien George
2014-01-04stm: Add comments for storage read from cache.Damien George
2014-01-04Merge git://github.com/stevie67/micropython into stevie67-masterDamien George
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-04Fix issue #62: Cache loses datastevie67
Use the storage cache not only for writing but also for reading. This avoids reading stale data and thus data loss.
2014-01-04str slice: Trim slice indexes to be in range.Paul Sokolovsky
2014-01-04Merge remote-tracking branch 'upstream/master' into list_countJohn 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-04Add test for byte string slicing.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-03Merge pull request #52 from chipaca/masterDamien George
Tweaks to list.pop.
2014-01-03Merge pull request #56 from pfalcon/int_fmt-globalDamien George
Move INT_FMT, etc. declaration into global mpconfig.h .
2014-01-03Implemented list.countJohn R. Lenton
2014-01-04Move INT_FMT, etc. declaration into global mpconfig.h .Paul Sokolovsky
This in particular makes it available for stm port.
2014-01-03Implemented list.copy. Fixes issue #54.John R. Lenton
2014-01-03Added list.clear. Fixes issue #53.John R. Lenton
2014-01-03renamed some tests to have better names.John R. Lenton
2014-01-03Merge remote-tracking branch 'upstream/master'John R. Lenton
2014-01-03Worked on list.pop:John R. Lenton
* Fixes issue #51 * Adds a specific error message for when you try to pop an empty list. * Releases some memory if the list has shurnk a lot.
2014-01-03unix-cpy: Fix mpconfig to work with new scheme.Damien George
2014-01-03Merge pull request #41 from pfalcon/more-mem-statsDamien George
Collect more memory statistics
2014-01-03Merge pull request #49 from redteam316/svgDamien George
Added SVG vector logo.
2014-01-03Added SVG vector logo.Jonathan Greig
2014-01-03Rename default config file to mpconfig.h, and port's to mpconfigport.h.Paul Sokolovsky
mpconfig.h will automatically pull mpconfigport.h.
2014-01-03Make it possible to turn off collecting memory stats (MICROPY_MEM_STATS).Paul Sokolovsky
2014-01-03Add new alloc metric: peak_bytes_allocated.Paul Sokolovsky
This is just max value of current_bytes_allocated seen.
2014-01-03Add new alloc metric: current_bytes_allocated.Paul Sokolovsky
Unlike total_bytes_allocated, this tracks m_free()'s too.
2014-01-03m_realloc: Account only allocation size difference in total_bytes_allocated.Paul Sokolovsky
2014-01-03Merge pull request #43 from chipaca/masterDamien George
Implement list addition.