aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-04-14Make USE_COMPUTED_GOTO a config option in mpconfig.h.Damien George
Disabled by default. Enabled in unix port.
2014-04-14Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-04-14Merge pull request #482 from aitjcize/threadedDamien George
Use computed goto instead of switching op-codes.
2014-04-15Use computed goto instead of switching op-codes.AZ Huang
2014-04-14Merge pull request #483 from aitjcize/parallelDamien George
Fix parallel build.
2014-04-14Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-04-15Fix parallel build.AZ Huang
2014-04-14tools: Improve timout/reading of pyboard.py.Damien George
2014-04-14stmhal: Work around crazy bug in USB CDC.Damien George
Packets of 64 bytes length are not send to the host until the following packet is sent. Fixed by never sending packets of 64 bytes length.
2014-04-14stmhal: Improved usart module a bit.Damien George
2014-04-14stmhal: Add pyb.wfi() function (calls __WFI).Damien George
2014-04-14modsys: Implement sys.version.Paul Sokolovsky
The logic appears to be that (at least beginning of) sys.versions is the version of reference Python language implemented, not version of particular implementation. Also, bump set versions at 3.4.0, based on @dpgeorge preference.
2014-04-14objstr: Allow to define statically allocated str objects.Paul Sokolovsky
Similar to tuples, lists, dicts. Statically allocated strings don't have hash computed.
2014-04-14qstr, objstr: Make sure that valid hash != 0, treat 0 as "not computed".Paul Sokolovsky
This feature was proposed with initial hashing RFC, and is prerequisite for seamless static str object definition.
2014-04-13objdict: Add __delitem__.Paul Sokolovsky
2014-04-13objdict: Add __setitem__.Paul Sokolovsky
2014-04-13stmhal: Add stdin/stdout/stderr objects.Damien George
Available via sys.std{in,out,err}. Basic reading and writing supported. Even sys.stdin.readline!
2014-04-13tests: Add property test.Damien George
2014-04-13py: Add property object, with basic functionality.Damien George
Enabled by MICROPY_ENABLE_PROPERTY.
2014-04-13tests: Make tests pass on pyboard.Damien George
2014-04-13py: Detect ZeroDivisionError properly for floats.Damien George
2014-04-13stmhal: Improve USB CDC write function (increase timeout).Damien George
2014-04-13py: Fix SyntaxError exception: don't have a block name, so pass NULL.Damien George
2014-04-13py: Fix up source-line calculation.Damien George
Should address issue #475.
2014-04-13Make pyboard.py have its own exception; update run-tests for pyboard.Damien George
2014-04-13Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-04-13py: Adjust #includes in lexerunix.c.Damien George
2014-04-13modsys: Implement sys.byteorder.Paul Sokolovsky
2014-04-13modsys: Implement basic sys.version_info.Paul Sokolovsky
2014-04-13Merge pull request #470 from errordeveloper/misc_fix/lexerunixDamien George
py: don't look for any additional headers when lexerunix is disabled
2014-04-13Merge pull request #471 from errordeveloper/misc_fix/unistdDamien George
py: the entire `<unistd.h>` shouldn't be needed
2014-04-13bare-arm/unix-cpy: Minor changes.Damien George
2014-04-13stm[hal]: Init mp_sys_path and mp_sys_argv correctly.Damien George
2014-04-13py: Modify makeqstrdata to recognise better the output of CPP.Damien George
2014-04-13py: Add more #if's for configurable MOD_SYS.Damien George
2014-04-13Merge pull request #476 from pfalcon/static-sysDamien George
Convert sys module to static allocation
2014-04-13Merge pull request #473 from pfalcon/list-extend-iterDamien George
objlist: Make .extend accept arbitrary iterable.
2014-04-13py: Oops, fix int.from_bytes to correctly convert bytes!Damien George
2014-04-13py: Make int.from_bytes a classmethod; support arbitrary length buf.Damien George
2014-04-13py: Fix mp_get_buffer, and use it in more places.Damien George
Must use mp_obj_get_type to get the type of an object. Can't assume mp_obj_t is castable to mp_obj_base_t.
2014-04-13py: Add traceback info to syntax errors.Damien George
Should fix issue #463.
2014-04-13py: Update showbc to decode ptrs for MAKE_FUNCTION ops.Damien George
2014-04-13stmhal: Little hack to dump GC allocation table using pyb.info().Damien George
Pass a single parameter (doesn't matter what): pyb.info(1), will dump the GC alloc table.
2014-04-13py: Remove unique_codes from emitglue.c. Replace with pointers.Damien George
Attempt to address issue #386. unique_code_id's have been removed and replaced with a pointer to the "raw code" information. This pointer is stored in the actual byte code (aligned, so the GC can trace it), so that raw code (ie byte code, native code and inline assembler) is kept only for as long as it is needed. In memory it's now like a tree: the outer module's byte code points directly to its children's raw code. So when the outer code gets freed, if there are no remaining functions that need the raw code, then the children's code gets freed as well. This is pretty much like CPython does it, except that CPython stores indexes in the byte code rather than machine pointers. These indices index the per-function constant table in order to find the relevant code.
2014-04-13py: Factor out impl of special methods for builtin types into opmethods.cPaul Sokolovsky
2014-04-13objset: Implement __contains__() op-method.Paul Sokolovsky
2014-04-13py: Provide more details for too few and too much args for Python fun calls.Paul Sokolovsky
2014-04-13py: Rename collections module to _collections.Paul Sokolovsky
We're not going to implement all the plethora of types in there in C. Funnily, CPython implements defaultdict in C, and namedtuple in Python.
2014-04-13README: Update for modffi being enabled by default for unix port.Paul Sokolovsky
2014-04-13stmhal: Update for static mod sys.Paul Sokolovsky