summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-18tests/basics/builtin_range: Add tests for negative slicing of range.Damien George
2017-05-18py/objrange: Fix slicing of range when step of slice is negative.Damien George
2017-05-18tests/basics/list_slice_3arg: Add more tests for negative slicing.Damien George
2017-05-18py/sequence: Fix boundary errors when slicing with a negative step.Damien George
2017-05-18docs/library/micropython: Document the newer micropython functions.Damien George
2017-05-17drivers/display/lcd160cr_test: Allow test to take orientation parameter.Damien George
2017-05-17drivers/display/lcd160cr: Fix get_line method and enhance screen_dump.Damien George
The docs are updated and describe the new behaviour of these methods.
2017-05-17docs: Change single occurrence of "Micropython" to "MicroPython".Damien George
2017-05-17examples/hwapi/soft_pwm2_uasyncio: Update for call_later_ms().Paul Sokolovsky
Following finalized naming in uasyncio.
2017-05-17zephyr/modusocket: getaddrinfo: Use RAISE_ERRNO for proper error decoding.Paul Sokolovsky
2017-05-17zephyr/main: Check default netif before applying operations to it.Paul Sokolovsky
If no network driver is enabled (e.g., it doesn't exist for a particular board), it will be NULL.
2017-05-16zephyr/modusocket: Get rid of cur_pkt object member.Paul Sokolovsky
Instead, just peek a packet at the head of the queue and work with it.
2017-05-16zephyr/modusocket: First step to switch to alternative FIFO processing.Paul Sokolovsky
Here we wait for non-empty FIFO, and then directly access/drop its head element.
2017-05-16tools/mpy-tool.py: Fix regression with freezing floats in obj repr C.Damien George
Regression was introduced by ec534609f665cb791b8fc1eae1a44e514c297659
2017-05-16stmhal/modmachine: Remove TODO comment that is now implemented.Damien George
2017-05-16stmhal/modmachine: Add machine.UART class, linking to pyb.UART.Damien George
pyb.UART has a superset of machine.UART functionality so can be used to provide compatibility with other ports that also implement machine.UART.
2017-05-16esp8266/modnetwork: In connect, fix potential buffer overflows.puuu
2017-05-15tests/io/bytesio_ext: Test read() after seek() past end of BytesIO object.Tom Collins
2017-05-15py/objstringio: Fix StringIO reads at or beyond EOF.Tom Collins
Existing code failed if seek() went past EOF (which is acceptable when writing).
2017-05-15docs/library/index: Add important summary of the intro section as warning.Paul Sokolovsky
To make them harder to miss.
2017-05-14docs/machine.Signal: Add initial draft description of Signal class.Paul Sokolovsky
2017-05-14docs/machine.Pin: There's no toggle() method in MicroPython hardware API.Paul Sokolovsky
May be a port-specific method, not portable, not part of the official specification.
2017-05-14py/modsys: update conditionals for code referencing sys.stdoutTom Collins
Working on a build with PY_IO enabled (for PY_UJSON support) but PY_SYS_STDFILES disabled (no filesystem). There are multiple references to mp_sys_stdout_obj that should only be enabled if both PY_IO and PY_SYS_STDFILES are enabled.
2017-05-14tools/mpy_cross_all.py: Helper tool to run mpy-cross on the entire project.Paul Sokolovsky
2017-05-13zephyr/modusocket: Implement getaddrinfo().Paul Sokolovsky
2017-05-13zephyr/modusocket: If there're no packets in recv_q, cancel waiter.Paul Sokolovsky
This solves a case when socker_read() has blocked on fifo, and then peer closed event arrives.
2017-05-13zephyr/modusocket: Switch to net_pkt_append() returning length.Paul Sokolovsky
Requires patch in review.
2017-05-13zephyr/modusocket: Update for net_pkt refactor.Paul Sokolovsky
2017-05-13zephyr/modusocket: Wrap pkt_get_info() call.Paul Sokolovsky
The most important info it returns are numbers of free buffers in different pools (rx/tx packet headers, data fragments).
2017-05-13tests/extmod/vfs_fat_more: Make skippable is uos is not available.Paul Sokolovsky
Fixes Zephyr tests.
2017-05-13tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.Damien George
2017-05-13extmod/vfs_fat_misc: Remove dot-dirs filter since FatFS already does it.Damien George
2017-05-13esp8266/ets_alt_task.c: Prevent spurious large increment of ticks_ms()Robert HH
This happened when the overflow counter for ticks_ms() was interrupted by an external hard interrupt (issue #3076).
2017-05-13tools/mpy-tool.py: Use MP_ROM_xxx macros to support nanbox builds.Damien George
2017-05-12zephyr/README: Update to require Zephyr 1.8.Paul Sokolovsky
There're a lot of changes and fixes in 1.8 regarding IP stack, incompatible with previous Zephyr versions, so supporting them doesn't make sense. This is the last commit which should build with Zephyr 1.7.
2017-05-12zephyr/prj_qemu_x86.conf: Bump RAM size to 320K.Paul Sokolovsky
2017-05-12zephyr/modusocket: Add SOL_SOCKET and SO_REUSEADDR constants.Paul Sokolovsky
2017-05-12zephyr/modusocket: Add dummy setsockopt() implementation.Paul Sokolovsky
2017-05-12unix: Move upip to frozen bytecode dir.Paul Sokolovsky
For x86_64 build, this saves only 128 bytes on the final executable size, but still an improvement.
2017-05-12unix/Makefile: Enable frozen bytecode modules dir.Paul Sokolovsky
2017-05-12esp8266/scripts: Move initsetup & port_diag tools to modules/.Paul Sokolovsky
2017-05-12esp8266/scripts: Move drivers/modules to modules/ (frozen bytecode).Paul Sokolovsky
2017-05-12esp8266/modules/flashbdev: Reserve one sector for native code storage.Paul Sokolovsky
2017-05-12esp8266/modesp: flash_user_start: Use value from linker script.Paul Sokolovsky
Make esp8266_common.ld export size reserved to all code segments, and use that in esp.flash_user_start() implementation.
2017-05-12esp8266/esp8266.ld, esp8266_ota.ld: Grow main firmware size by 32KB.Paul Sokolovsky
To accommodate both system and user frozen modules.
2017-05-12tests/basics/lexer: Add line continuation tests for lexer.Tom Collins
Tests for an issue with line continuation failing in paste mode due to the lexer only checking for \n in the "following" character position, before next_char() has had a chance to convert \r and \r\n to \n.
2017-05-12py/lexer: Process CR earlier to allow newlines checks on chr1.Tom Collins
Resolves an issue where lexer failed to accept CR after line continuation character. It also simplifies the code.
2017-05-12examples/hwapi/hwconfig*: Use inline Signal() args where possible.Paul Sokolovsky
2017-05-11mpy-cross/Makefile: Override undefine any inherited variables.Damien George
This is a temporary hack to allow othe Makefiles to build mpy-cross recursively.
2017-05-11py/mkrules.mk: Add dependency of .mpy files upon mpy-cross.Damien George
This ensures that mpy-cross is automatically built (and is up-to-date) for ports that use frozen bytecode. It also makes sure that .mpy files are re-built if mpy-cross is changed.