circuitpython/unix
Scott Shawcroft 30ee7019ca Merge tag 'v1.9.1'
Fixes for stmhal USB mass storage, lwIP bindings and VFS regressions

This release provides an important fix for the USB mass storage device in
the stmhal port by implementing the SCSI SYNCHRONIZE_CACHE command, which
is now require by some Operating Systems.  There are also fixes for the
lwIP bindings to improve non-blocking sockets and error codes.  The VFS has
some regressions fixed including the ability to statvfs the root.

All changes are listed below.

py core:
- modbuiltins: add core-provided version of input() function
- objstr: catch case of negative "maxsplit" arg to str.rsplit()
- persistentcode: allow to compile with complex numbers disabled
- objstr: allow to compile with obj-repr D, and unicode disabled
- modsys: allow to compile with obj-repr D and PY_ATTRTUPLE disabled
- provide mp_decode_uint_skip() to help reduce stack usage
- makeqstrdefs.py: make script run correctly with Python 2.6
- objstringio: if created from immutable object, follow copy on write policy

extmod:
- modlwip: connect: for non-blocking mode, return EINPROGRESS
- modlwip: fix error codes for duplicate calls to connect()
- modlwip: accept: fix error code for non-blocking mode
- vfs: allow to statvfs the root directory
- vfs: allow "buffering" and "encoding" args to VFS's open()
- modframebuf: fix signed/unsigned comparison pendantic warning

lib:
- libm: use isfinite instead of finitef, for C99 compatibility
- utils/interrupt_char: remove support for KBD_EXCEPTION disabled

tests:
- basics/string_rsplit: add tests for negative "maxsplit" argument
- float: convert "sys.exit()" to "raise SystemExit"
- float/builtin_float_minmax: PEP8 fixes
- basics: convert "sys.exit()" to "raise SystemExit"
- convert remaining "sys.exit()" to "raise SystemExit"

unix port:
- convert to use core-provided version of built-in import()
- Makefile: replace references to make with $(MAKE)

windows port:
- convert to use core-provided version of built-in import()

qemu-arm port:
- Makefile: adjust object-file lists to get correct dependencies
- enable micropython.mem_*() functions to allow more tests

stmhal port:
- boards: enable DAC for NUCLEO_F767ZI board
- add support for NUCLEO_F446RE board
- pass USB handler as parameter to allow more than one USB handler
- usb: use local USB handler variable in Start-of-Frame handler
- usb: make state for USB device private to top-level USB driver
- usbdev: for MSC implement SCSI SYNCHRONIZE_CACHE command
- convert from using stmhal's input() to core provided version

cc3200 port:
- convert from using stmhal's input() to core provided version

teensy port:
- convert from using stmhal's input() to core provided version

esp8266 port:
- Makefile: replace references to make with $(MAKE)
- Makefile: add clean-modules target
- convert from using stmhal's input() to core provided version

zephyr port:
- modusocket: getaddrinfo: Fix mp_obj_len() usage
- define MICROPY_PY_SYS_PLATFORM (to "zephyr")
- machine_pin: use native Zephyr types for Zephyr API calls

docs:
- machine.Pin: remove out_value() method
- machine.Pin: add on() and off() methods
- esp8266: consistently replace Pin.high/low methods with .on/off
- esp8266/quickref: polish Pin.on()/off() examples
- network: move confusingly-named cc3200 Server class to its reference
- uos: deconditionalize, remove minor port-specific details
- uos: move cc3200 port legacy VFS mounting functions to its ref doc
- machine: sort machine classes in logical order, not alphabetically
- network: first step to describe standard network class interface

examples:
- embedding: use core-provided KeyboardInterrupt object
2017-06-20 10:56:05 -07:00
..
coverage-frzmpy tests: Improve frozen import test coverage. 2017-01-16 16:59:03 +11:00
coverage-frzstr tests/unix/extra_coverage: Add tests for importing frozen packages. 2017-01-08 22:45:55 +11:00
modules unix: Move upip to frozen bytecode dir. 2017-05-12 18:32:25 +03:00
.gitignore unix: Fix freedos port build problems. 2017-02-06 15:25:42 +11:00
Makefile unix/Makefile: replace references to make with $(MAKE) 2017-06-08 13:42:23 +10:00
alloc.c unix: Convert mp_uint_t to size_t in alloc.c. 2017-03-31 13:18:47 +11:00
coverage.c unix/coverage: Enable scheduler and add tests for it. 2017-03-20 15:20:26 +11:00
fatfs_port.c unix/fatfs_port: Include new oofatfs header. 2017-01-27 23:22:15 +11:00
fdfile.h unix/moduselect: Allow poll.register(), etc. accept fd-like objects. 2016-08-07 01:25:59 +03:00
file.c py: Add iter_buf to getiter type method. 2017-02-16 18:38:06 +11:00
gccollect.c unix: fix symbol references for x86 Mac 2016-11-02 00:42:04 +03:00
input.c unix: Convert to use core-provided version of built-in import(). 2017-06-01 16:02:49 +10:00
input.h unix: Support readline history saving to file, improves interactive usage. 2015-03-13 21:46:19 +00:00
main.c unix/main: Implement -m option for packages. 2017-05-09 14:22:21 +03:00
modffi.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
modjni.c Correct name of mp_raise_NotImplementedError to make error name. 2017-02-24 16:46:38 +01:00
modmachine.c unix/modmachine: Add Signal class to machine module. 2017-03-02 16:08:20 +11:00
modos.c unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 2017-03-25 19:54:07 +11:00
modsocket.c various: Spelling fixes 2017-05-29 11:36:05 +03:00
modtermios.c unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data. 2017-03-25 19:54:07 +11:00
modtime.c Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
moduos_vfs.c ports: Add ilistdir in uos module. 2017-05-10 12:13:53 +10:00
moduselect.c unix/moduselect: Properly implement ipoll object iteration. 2017-03-05 13:51:22 +01:00
mpconfigport.h unix: Convert to use core-provided version of built-in import(). 2017-06-01 16:02:49 +10:00
mpconfigport.mk unix: Remove obsolete MICROPY_FATFS macro. 2017-04-26 11:16:52 +10:00
mpconfigport_coverage.h unix: Enabled high-quality float hashing in coverage build. 2017-04-12 13:38:17 +10:00
mpconfigport_fast.h py: Add ability to have frozen persistent bytecode from .mpy files. 2016-04-13 16:07:47 +01:00
mpconfigport_freedos.h unix: Fix freedos port build problems. 2017-02-06 15:25:42 +11:00
mpconfigport_minimal.h unix, windows: Use core-provided KeyboardInterrupt exception object. 2017-04-11 13:31:49 +10:00
mpconfigport_nanbox.h unix: Add option to build 64-bit NaN-boxing interpreter. 2016-01-15 11:12:08 +00:00
mphalport.h unix: Convert to use core-provided version of built-in import(). 2017-06-01 16:02:49 +10:00
mpthreadport.c unix: Use mp_raise_OSError helper function. 2016-10-07 14:05:15 +11:00
mpthreadport.h unix: Implement garbage collection with threading. 2016-06-28 11:28:49 +01:00
qstrdefsport.h py: Add rules for automated extraction of qstrs from sources. 2016-04-16 13:18:09 +01:00
unix_mphal.c unix, windows: Use core-provided KeyboardInterrupt exception object. 2017-04-11 13:31:49 +10:00