| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-10-22 | stmhal: Change cc3k.recv to only make 1 call to underlying recv(). | Damien George | |
| Also make cc3k.send and cc3k.recv independent functions (not wrapped by stream write/read). Also make wiznet5k.recv more memory efficient. This might address issue #920. | |||
| 2014-10-21 | stmhal: Overhaul UART class to use read/write, and improve it.v1.3.4 | Damien George | |
| UART object now uses a stream-like interface: read, readall, readline, readinto, readchar, write, writechar. Timeouts are configured when the UART object is initialised, using timeout and timeout_char keyword args. The object includes optional read buffering, using interrupts. You can set the buffer size dynamically using read_buf_len keyword arg. A size of 0 disables buffering. | |||
| 2014-10-21 | py: Make mp_const_empty_bytes globally available. | Damien George | |
| 2014-10-21 | Merge pull request #922 from swegener/for-upstream | Damien George | |
| stmhal: Set entry point for ELF binary debugging | |||
| 2014-10-21 | Use mode/encoding kwargs in io and unicode tests | stijn | |
| mode argument is used to assert it works encoding argument is used to make sure CPython uses the correct encoding as it does not automatically use utf-8 | |||
| 2014-10-21 | Implement kwargs for builtin open() and _io.FileIO | stijn | |
| This makes open() and _io.FileIO() more CPython compliant. The mode kwarg is fully iplemented. The encoding kwarg is allowed but not implemented; mainly to allow the tests to specify encoding for CPython, see #874 | |||
| 2014-10-21 | stmhal: Set entry point for ELF binary debugging | Sven Wegener | |
| When loading the ELF binary to the board with a debugger, the debugger needs to know at which point to start executing the code. Currently the entry point defaults to the start of the .text section. Signed-off-by: Sven Wegener <sven.wegener@stealer.net> | |||
| 2014-10-20 | stmhal: Add retry to SD card init. | Damien George | |
| This fixed an issue with a certain SD card sometimes not initialising first time round. See issue #822 for related, and thanks to @iabdalkader for the idea. | |||
| 2014-10-19 | examples: Update conwaylife to work with new LCD API. | Damien George | |
| 2014-10-19 | py: Partially fix viper multi-comparison; add test for it. | Damien George | |
| 2014-10-19 | tools, pyboard.py: Allow exec argument to be bytes or str. | Damien George | |
| 2014-10-18 | unix, stmhal: Implement file.readinto() method. | Paul Sokolovsky | |
| Also, usocket.readinto(). Known issue is that .readinto() should be available only for binary files, but micropython uses single method table for both binary and text files. | |||
| 2014-10-17 | unix: Make -c option parse input script as a file, as per CPython. | Damien George | |
| Addresses issue #915. | |||
| 2014-10-17 | py: Improve stream_read so it doesn't need to alloc 2 bits of heap. | Damien George | |
| 2014-10-17 | modure: Update to re1.5 v0.6.1, fixed and extended character class support. | Paul Sokolovsky | |
| 2014-10-17 | py: Add more compiler optimisations for constant if/while conditions. | Damien George | |
| 2014-10-17 | py: Simplify compilation of elif blocks. | Damien George | |
| 2014-10-17 | tests: Add test for nested while with exc and break. | Damien George | |
| 2014-10-17 | py: Add more debug printing code in gc_dump_alloc_table. | Damien George | |
| 2014-10-17 | py: Fix compiling of nested while/for and exception handler. | Damien George | |
| Addresses issue #912. | |||
| 2014-10-16 | py: Take gc_pool_start out of bss section, to reclaim 1st block of heap. | Damien George | |
| 2014-10-16 | stream: Handle non-blocking errors in readline() properly. | Paul Sokolovsky | |
| Just like they handled in other read*(). Note that behavior of readline() in case there's no data when it's called is underspecified in Python lib spec, implemented to behave as read() - return None. | |||
| 2014-10-16 | stream: Return errno value as first arg of OSError exception. | Paul Sokolovsky | |
| This is CPython-compatible convention established yet in acb13886fc837a1bb9. | |||
| 2014-10-16 | objclosure: Fix printing of generator closures. | Paul Sokolovsky | |
| The code previously assumed that only functions can be closed over. | |||
| 2014-10-15 | py: Fix GC realloc issue, where memory chunks were never shrunk. | Damien George | |
| Previously, a realloc to a smaller memory chunk size would not free the unused blocks in the tail of the chunk. | |||
| 2014-10-15 | py: Fix dummy definition of BEGIN/END_ATOMIC_SECTION. | Damien George | |
| 2014-10-15 | modure: Update to re1.5 v0.6, support for char sets/classes ([a-c]). | Paul Sokolovsky | |
| 2014-10-13 | Merge pull request #905 from pfalcon/remove-zlibd | Damien George | |
| Remove zlibd, superceded by uzlib | |||
| 2014-10-13 | modzlibd: Remove, superceded by moduzlib. | Paul Sokolovsky | |
| 2014-10-13 | windows: Enable moduzlib instead of modzlibd. | Paul Sokolovsky | |
| 2014-10-12 | moduzlib: Fix fn prototype and some code style; use it in stmhal port. | Damien George | |
| 2014-10-12 | Merge pull request #904 from pfalcon/moduzlib | Damien George | |
| Module "uzlib" - based on similarly named library | |||
| 2014-10-13 | moduzlib: Import uzlib v1.1. | Paul Sokolovsky | |
| https://github.com/pfalcon/uzlib | |||
| 2014-10-13 | moduzlib: Integrate into the system. | Paul Sokolovsky | |
| 2014-10-13 | moduzlib: New zlib-like module, based on uzlib. | Paul Sokolovsky | |
| 2014-10-12 | stmhal: Oops: rename mod files in Makefile. | Damien George | |
| 2014-10-12 | stmhal: Rename module files to keep consistency with module name. | Damien George | |
| 2014-10-12 | stmhal: Enable module weak links. | Damien George | |
| os, time, select modules are now prefixed with u, but are still available (via weak links) as their original names. ure and ujson now available as re and json via weak links. | |||
| 2014-10-12 | py: Add module weak link support. | Damien George | |
| With this patch a port can enable module weak link support and provide a dict of qstr->module mapping. This mapping is looked up only if an import fails to find the requested module in the filesystem. This allows to have the builtin module named, eg, usocket, and provide a weak link of "socket" to the same module, but this weak link can be overridden if a file by the name "socket.py" is found in the import path. | |||
| 2014-10-12 | py: Fix x86 viper code generation, mem8 <-> mem16 for load. | Damien George | |
| 2014-10-12 | py: Implement native load for viper. | Damien George | |
| Viper can now do: ptr8(buf)[0], which loads a byte from a buffer using machine instructions. | |||
| 2014-10-12 | py: Implement and,or,xor native ops for viper. | Damien George | |
| 2014-10-12 | modure: Make sure that re1.5 compiled in only of modure itself is enabled. | Paul Sokolovsky | |
| This is achieved by including re1.5 *.c files straight from modure.c . | |||
| 2014-10-12 | modure: Upgrade re1.5 to 0.5.1 | Paul Sokolovsky | |
| Changes include: regexp.h: Add double-include protection. | |||
| 2014-10-11 | Merge pull request #902 from pfalcon/readme-unix | Damien George | |
| README: Update "unix" section with more info/details. | |||
| 2014-10-11 | Merge branch 'pfalcon-modure' | Damien George | |
| 2014-10-11 | stmhal: Enable ure module (tests pass on pyboard). | Damien George | |
| 2014-10-11 | Merge branch 'modure' of https://github.com/pfalcon/micropython into ↵ | Damien George | |
| pfalcon-modure | |||
| 2014-10-11 | README: Update "unix" section with more info/details. | Paul Sokolovsky | |
| 2014-10-11 | Merge pull request #900 from dhylands/comp-deadtime | Damien George | |
| Add support for complimentary channel output and deadtime. | |||
