| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-04-08 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-08 | py: Improve inline assembler; add a few more opcodes. | Damien George | |
| 2014-04-08 | py: implement UNPACK_EX byte code (for: a, *b, c = d) | Damien George | |
| 2014-04-08 | unix modffi: Support any object implementing buffer protocol as a native arg. | Paul Sokolovsky | |
| 2014-04-08 | bytes: Support buffer protocol. | Paul Sokolovsky | |
| 2014-04-08 | bytearray: Support bytearray(int) constructor. | Paul Sokolovsky | |
| To create bytearray of given length. | |||
| 2014-04-08 | py: Raise exception for unimplemented byte codes. | Damien George | |
| 2014-04-08 | py: Improve compiler syntax errors; catch more errors. | Damien George | |
| 2014-04-08 | stmhal: in EXTI interrupt handler wrap uPy calls in gc_lock and nlr_buf. | Damien George | |
| 2014-04-08 | unix: Oops, remove nlr_jump test in main. | Damien George | |
| 2014-04-08 | Add a check for NULL nlr_top in nlr_jump. | Damien George | |
| If no nlr_buf has been pushed, and an nlr_jump is called, then control is transferred to nlr_jump_fail (which should bail out with a fatal error). | |||
| 2014-04-08 | windows: Use most of the source files from unix/ port. | Damien George | |
| To keep it maintainable, windows port now uses as much as possible from unix port. Maybe could even use mpconfigport.h. | |||
| 2014-04-08 | py: Continue line if last character is backslash. | Damien George | |
| 2014-04-08 | py: Improve GC locking/unlocking, and make it part of the API. | Damien George | |
| 2014-04-08 | Merge pull request #451 from lurch/repr-fixes | Damien George | |
| Display \r and \t escape codes in string repr | |||
| 2014-04-08 | Improve REPL detecting when input needs to continue. | Damien George | |
| Full CPython compatibility with this requires actually parsing the input so far collected, and if it fails parsing due to lack of tokens, then continue collecting input. It's not worth doing it this way. Not having compatibility at this level does not hurt the goals of Micro Python. | |||
| 2014-04-08 | Display \r and \t escape codes in string repr | Andrew Scheller | |
| 2014-04-08 | unix, stmhal: Consistently use "FileIO" as class name for file objects. | Paul Sokolovsky | |
| They correspond to io.FileIO in io module hierarchy (with small caveat that io.FileIO is raw file and works with bytes, not strings). | |||
| 2014-04-08 | unix, windows: There's no "help" builtin. | Paul Sokolovsky | |
| 2014-04-08 | py: Rename pfenv_print_int to pfenv_print_mp_int, and add back former. | Damien George | |
| stmhal relies on pfenv_* to implement its printf. Thus, it needs a pfenv_print_int which prints a proper 32-bit integer. With latest change to pfenv, this function became one that took mp_obj_t, and extracted the integer value from that object. To fix temporarily, pfenv_print_int has been renamed to pfenv_print_mp_int (to indicate it takes a mp_obj_t for the int), and pfenv_print_int has been added (which takes a normal C int). Currently, pfenv_print_int proxies to pfenv_print_mp_int, but this means it looses the MSB. Need to find a way to fix this, but the only way I can think of will duplicate lots of code. | |||
| 2014-04-07 | Merge pull request #447 from dhylands/str-format-mpz | Damien George | |
| Add string formatting support for longlong and mpz. | |||
| 2014-04-07 | Fix truncation problem when using longlong implementation. | Dave Hylands | |
| 2014-04-07 | README: Be specific that ARMv7 Linux is supported. | Paul Sokolovsky | |
| 2014-04-07 | Add string formatting support for longlong and mpz. | Dave Hylands | |
| 2014-04-07 | Add uPy welcome message to UNIX and Windows ports; update Teensy port. | Damien George | |
| Partly addresses issue #154. | |||
| 2014-04-07 | windows: Make it compile with latest changes to py core. | Damien George | |
| 2014-04-07 | Merge pull request #439 from lurch/makefile-tweaks | Damien George | |
| Makefile tweaks | |||
| 2014-04-07 | Merge pull request #445 from lurch/test-sorted-sets | Damien George | |
| Modify set tests to print sorted sets directly | |||
| 2014-04-07 | py: Detect unmatched tripple quote in repl helper. | Damien George | |
| 2014-04-07 | Merge pull request #444 from lurch/test-sorted | Damien George | |
| Add tests for sorted() function | |||
| 2014-04-07 | Modify set tests to print sorted sets directly | Andrew Scheller | |
| instead of creating temporary lists and sorting those in-place | |||
| 2014-04-07 | Add tests for sorted() function | Andrew Scheller | |
| and check that sorted(list) produces same output as list.sort() | |||
| 2014-04-07 | Merge remote-tracking branch 'upstream/master' into makefile-tweaks | Andrew Scheller | |
| 2014-04-07 | Replace some Makefile commands with variables in py/mkenv.mk | Andrew Scheller | |
| 2014-04-07 | py: Revert revert for allocation policy of set hash table. | Damien George | |
| 2014-04-07 | objset: Fix incorrect workaround against mp_set_init() munging alloc size. | Paul Sokolovsky | |
| No longer needed after recent change which guarantees that mp_set_init() will allocate exact number of slots requested. | |||
| 2014-04-07 | tests: Fix more tests which depend on order of elements in set. | Paul Sokolovsky | |
| 2014-04-07 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2014-04-07 | tests: Fix few tests which depend on order of elements in set. | Paul Sokolovsky | |
| 2014-04-07 | py: Revert change to allocation policy for mp_set_t. | Damien George | |
| Seems that this fixes all set tests. | |||
| 2014-04-07 | pip-micropython: Require command verb, but restrict to "install" only. | Paul Sokolovsky | |
| So, pip-micropython can/should be run as normal pip: pip-micropython install micropython-unittest | |||
| 2014-04-07 | tests: Fix tests with sets to print sorted set. | Damien George | |
| 2014-04-07 | py: Fix str.replace for case when arg 0 or 1 is empty string. | Damien George | |
| 2014-04-06 | unix-cpy: Pass emit opt to mp_compile. | Damien George | |
| 2014-04-06 | tests: Fix few tests which depend on order of elements in dict. | Paul Sokolovsky | |
| With dict being unordered of course. | |||
| 2014-04-06 | tests/dict2.py: Add combined test for dict(dict) and dict equality. | Paul Sokolovsky | |
| 2014-04-06 | objdict: Implement equality operator. | Paul Sokolovsky | |
| Sure, it's O(n^2). | |||
| 2014-04-06 | py: Fix dict.copy() and low-level map/set allocation. | Paul Sokolovsky | |
| Two things: 1) set flags in copy properly; make mp_map_init() not be too smart and do something with requested alloc size. Policy of using prime numbers for alloc size is high-level policy which should be applied at corresponding high levels. Low-level functions should just do what they're asked to, because they don't have enough context to be smarter than that. For example, munging with alloc size of course breaks dict copying (as changing sizes requires rehashing). | |||
| 2014-04-06 | objdict: Support creating dict from another dict. | Paul Sokolovsky | |
| 2014-04-06 | py: Implement more features in native emitter. | Damien George | |
| On x64, native emitter now passes 70 of the tests. | |||
