aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-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 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-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-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.
2014-01-03Merge pull request #45 from iabdalkader/masterDamien George
Change dfu.py to be Python 2/3 compatible
2014-01-03Merge pull request #40 from redteam316/dxfDamien George
MicroPython DXF Vector Logo
2014-01-03Change mp_compile so that it returns a function object for the module.Damien George
2014-01-03Add note about implementing inplace operators.Damien George
2014-01-03Basic implementation of import.Damien George
import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function.
2014-01-03Changed to use memcpy.John R. Lenton
2014-01-03Change dfu.py to be Python 2/3 compatiblemux
* Chane dfu.py to use Python 3 syntax to avoid dependency on Python 2. * Update Makefile to call python instead of python2 * Fix #33
2014-01-03Add a bit of whitespace.John R. Lenton
2014-01-03untabifiedJohn R. Lenton
2014-01-03Add list addition (fixes: #39)John R. Lenton
2014-01-02Added DXF R2000 vector logo.Jonathan Greig