circuitpython/docs/library
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
..
array.rst docs/array: Document array module. 2016-08-07 00:13:48 +03:00
btree.rst various: Spelling fixes 2017-05-29 11:36:05 +03:00
builtins.rst docs/library/builtins: int: Add notice on byteorder param for to/from_bytes. 2017-04-09 00:06:54 +03:00
cmath.rst docs: math, cmath: Add port availability information. 2016-06-01 22:12:39 +03:00
esp.rst docs/library/esp: Remove para and add further warning about flash. 2017-01-06 18:32:49 +11:00
framebuf.rst extmod/modframebuf: Make monochrome bitmap formats start with MONO_. 2017-04-04 17:38:33 +10:00
gc.rst docs: Cleanup and update some docs. 2014-10-31 22:21:37 +00:00
index.rst Merge tag 'v1.9.1' 2017-06-20 10:56:05 -07:00
lcd160cr.rst drivers/display/lcd160cr: Fix get_line method and enhance screen_dump. 2017-05-17 19:53:13 +10:00
machine.ADC.rst docs/library/machine.*: Add cross-reference label to individual classes. 2017-04-18 15:27:37 +10:00
machine.I2C.rst docs/library/machine.I2C: Remove WiPy-specific return values. 2017-04-18 15:39:27 +10:00
machine.Pin.rst docs/machine.Pin: Add on() and off() methods. 2017-05-29 20:56:13 +03:00
machine.rst docs/machine: Sort machine classes in logical order, not alphabetically. 2017-06-03 14:50:54 +03:00
machine.RTC.rst docs/library/machine.*: Add cross-reference label to individual classes. 2017-04-18 15:27:37 +10:00
machine.SD.rst various: Spelling fixes 2017-05-29 11:36:05 +03:00
machine.Signal.rst docs/machine.Signal: Add initial draft description of Signal class. 2017-05-14 23:12:06 +03:00
machine.SPI.rst docs/library/machine.SPI: Fix formatting of bullet list to stop warning. 2017-04-18 15:40:04 +10:00
machine.Timer.rst docs/library/machine.*: Add cross-reference label to individual classes. 2017-04-18 15:27:37 +10:00
machine.UART.rst various: Spelling fixes 2017-05-29 11:36:05 +03:00
machine.WDT.rst docs/library/machine.*: Add cross-reference label to individual classes. 2017-04-18 15:27:37 +10:00
math.rst docs: math, cmath: Add port availability information. 2016-06-01 22:12:39 +03:00
micropython.rst docs/library/micropython: Document the newer micropython functions. 2017-05-18 00:25:09 +10:00
network.rst docs/network: First step to describe standard network class interface. 2017-06-04 21:25:23 +03:00
pyb.Accel.rst docs/library/pyb.Accel: Add hardware note about pins used by accel. 2016-12-02 17:39:13 +11:00
pyb.ADC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.CAN.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.DAC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.ExtInt.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.I2C.rst stmhal/i2c: Add option to I2C to enable/disable use of DMA transfers. 2016-11-11 17:36:19 +11:00
pyb.LCD.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.LED.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.Pin.rst docs/library/pyb.Pin: Minor typo fix, B6 should be A0. 2017-02-13 11:52:44 +11:00
pyb.rst stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour. 2017-02-06 13:22:17 +11:00
pyb.RTC.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.Servo.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.SPI.rst docs/library/pyb.SPI: init(): Describe "bits" argument. 2016-09-18 21:41:21 +03:00
pyb.Switch.rst docs/pyb.*: Use proper class case in method headers. 2016-06-08 16:21:28 +03:00
pyb.Timer.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
pyb.UART.rst docs/library/pyb.UART: Moved writechar doc to sit with other writes. 2016-12-15 09:59:45 +11:00
pyb.USB_HID.rst stmhal/usb: Add support to receive USB HID messages from host. 2016-10-04 15:38:01 +11:00
pyb.USB_VCP.rst docs: Remove references to readall() and update stream read() docs. 2016-11-14 23:31:40 +11:00
select.rst docs/select: Add an article. 2016-06-18 19:06:42 +03:00
sys.rst docs/sys: print_exception: Fixes/clarifications. 2016-06-18 19:06:53 +03:00
ubinascii.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
ucollections.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
uctypes.rst docs: Spelling mistakes 2016-08-02 11:17:46 +03:00
uhashlib.rst various: Spelling fixes 2017-05-29 11:36:05 +03:00
uheapq.rst Update uheapq.rst 2014-11-28 17:32:29 +00:00
uio.rst docs/uio: Typo fixes/lexical improvements. 2017-01-29 16:18:33 +03:00
ujson.rst docs: Cleanup and update some docs. 2014-10-31 22:21:37 +00:00
uos.rst docs/uos: Move cc3200 port legacy VFS mounting functions to its ref doc. 2017-06-03 14:19:53 +03:00
ure.rst docs/ure: Typo fix. 2016-06-07 08:53:54 +03:00
usocket.rst docs/usocket: Deconditionalize. 2017-04-09 00:48:28 +03:00
ussl.rst docs/library/ussl: Deconditionalize, wipy notes moved to its documentation. 2017-04-16 09:41:32 +03:00
ustruct.rst docs/ustruct: Describe supported type codes. 2016-05-14 20:48:43 +03:00
utime.rst various: Spelling fixes 2017-05-29 11:36:05 +03:00
uzlib.rst docs: uzlib: Typo fix. 2014-12-05 02:08:30 +02:00
wipy.rst docs: Add usocket and ussl modules' documentation. 2015-10-21 15:30:56 +02:00