| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-04-28 | esp8266/scripts/onewire.py: Simplify and improve 1-wire driver. | Damien George | |
| Changes are: - added OneWireError exception and used where errors can occur - renamed read/write functions to use same names as C _onewire funcs - read_bytes is now read, write_bytes is now write - add ability to read/write DS18B20 scratch pad - rename start_measure to convert_temp (since that's what it does) - rename get_temp to read_temp (consistency with other read names) - removed test function | |||
| 2016-04-28 | esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/. | Damien George | |
| 2016-04-28 | docs: Make the short port names in the port/version sidebar lowercase. | Damien George | |
| To make it neater and simpler. | |||
| 2016-04-28 | esp8266: Move pyb.info() function to esp module and remove pyb module. | Damien George | |
| All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed. | |||
| 2016-04-28 | tests/run-tests: Add gen_yield_from_stopped to skipped for --emit=native. | Paul Sokolovsky | |
| Just as the rest of generator tests, which aren't yet supoorted for native. | |||
| 2016-04-28 | tests: Add testcase for yielding from a stopped generator. | Paul Sokolovsky | |
| 2016-04-28 | py/vm: "yield from" didn't handle MP_OBJ_STOP_ITERATION optimization. | Paul Sokolovsky | |
| E.g. crashed when yielding from already stopped generators. | |||
| 2016-04-28 | extmod/modussl: Throw Python exceptions in case of errors. | Paul Sokolovsky | |
| 2016-04-28 | esp8266/Makefile: Enable "ussl" module. | Paul Sokolovsky | |
| axTLS should be built first using "make axtls". | |||
| 2016-04-28 | esp8266/Makefile: Support linking with axTLS built from source. | Paul Sokolovsky | |
| 2016-04-27 | esp8266/tests/onewire.py: Don't run test on import. | Damien George | |
| 2016-04-28 | docs/network: esp8266: Describe wlan.config() method. | Paul Sokolovsky | |
| 2016-04-28 | docs/network: esp8266: Add wlan.ifconfig() method. | Paul Sokolovsky | |
| 2016-04-27 | lib/timeutils/timeutils: Typo fix in comment. | Paul Sokolovsky | |
| 2016-04-27 | docs/ubinascii: Clean up grammar. | Paul Sokolovsky | |
| 2016-04-27 | docs/library: Consistently use admonitions for CPython differences. | Paul Sokolovsky | |
| 2016-04-27 | docs/utime: Describe sleep() peculiarities in MicroPython. | Paul Sokolovsky | |
| Not all ports accept floating-point value. | |||
| 2016-04-27 | docs/utime: Describe time() peculiarities in MicroPython. | Paul Sokolovsky | |
| 2016-04-27 | esp8266/axtls_helpers: Helper/wrapper functions for axTLS. | Paul Sokolovsky | |
| 2016-04-27 | docs/library/utime: Add more time functions for unix and esp8266 ports. | Damien George | |
| 2016-04-27 | docs: Fix uos and utime heading underlines to be the correct length. | Damien George | |
| Otherwise Sphinx gives a warning. | |||
| 2016-04-27 | esp8266/Makefile: Override abort() when building axtls. | Paul Sokolovsky | |
| abort() is a special function known to compiler as no-return. | |||
| 2016-04-27 | extmod/modwebsocket: Handle CLOSE control frame. | Paul Sokolovsky | |
| This fixes situation when clients hangs waiting for disconnect and does so only on timeout. | |||
| 2016-04-27 | docs/library: "os" module is actually "uos". | Paul Sokolovsky | |
| 2016-04-27 | docs/Makefile: Default BUILDDIR based on MICROPY_PORT. | Paul Sokolovsky | |
| It doesn't make sense to duplicate both on command line, and MICROPY_PORT is effectively mandatory to build docs. | |||
| 2016-04-27 | docs/library/index: Order sections from the most to least standard modules. | Paul Sokolovsky | |
| 2016-04-27 | docs/library/index: Make single section for "micro-ified" modules. | Paul Sokolovsky | |
| Even the modules whose names don't start with "u" prefix are micro-ified anyway, i.e. provide only subset of CPython's functionality (and sometimes extensions to it). So, it doesn't make much sense to devide them by criteria of having/not having "u" prefix. | |||
| 2016-04-27 | docs: Module "time" is actually "utime". | Paul Sokolovsky | |
| 2016-04-27 | docs/library/index: esp8266 has the same set of stdlibs as pyboard/unix. | Paul Sokolovsky | |
| 2016-04-27 | docs/library/index: Move WiPy "micro-libraries" under corresponding heading. | Paul Sokolovsky | |
| 2016-04-27 | docs/library: Group MicroPython-specific modules under separate heading. | Paul Sokolovsky | |
| 2016-04-27 | esp8266/esp8266.ld: Put axTLS to FlashROM. | Paul Sokolovsky | |
| 2016-04-27 | esp8266/Makefile: Add target to build axTLS. | Paul Sokolovsky | |
| 2016-04-26 | extmod/modlwip: Add print_pcbs() debug function. | Paul Sokolovsky | |
| This requires lwIP built with LWIP_DEBUG (or it will be no-op). | |||
| 2016-04-26 | extmod/modlwip: Workaround esp8266 sendto issue where 1 is returned. | Damien George | |
| 2016-04-26 | extmod, stmhal: Fix typo of macro that detects if float is enabled. | Damien George | |
| 2016-04-26 | esp8266/scripts/webrepl: Add "ws://" to "daemon started at" message. | Paul Sokolovsky | |
| To remind people it's not HTTP. | |||
| 2016-04-26 | py/mkrules.mk: Typo fixes in comments. | Paul Sokolovsky | |
| 2016-04-26 | tests/extmod: Move split-on-empty-match tests to a separate test file. | Damien George | |
| And provide an expected-output file because these tests have a different behaviour under CPython. | |||
| 2016-04-26 | py/emitnative: Use MP_OBJ_NEW_SMALL_INT instead of manual bit shifting. | Damien George | |
| 2016-04-26 | py/obj.h: When constructing a small-int cast to mp_uint_t for bit-shift. | Damien George | |
| The C standard says that left-shifting a signed value (on the LHS of the operator) is undefined. So we cast to an unsigned integer before the shift. gcc does not issue a warning about this, but clang does. | |||
| 2016-04-26 | esp8266/scripts/flashbdev: Use all available Flash for filesystem. | Paul Sokolovsky | |
| All Flash sans firmware at the beginning and 16K SDK param block at the end is used for filesystem (and that's calculated depending on the Flash size). | |||
| 2016-04-26 | docs/network: esp8266: scan(): Add note that bssid is bytes object. | Paul Sokolovsky | |
| 2016-04-26 | esp8266/scripts/webrepl: Print client address for incoming connections. | Paul Sokolovsky | |
| 2016-04-26 | esp8266/scripts/webrepl: Print connection address. | Paul Sokolovsky | |
| Based on active network interfaces. | |||
| 2016-04-25 | windows/msvc: Rewrite qstr auto-generation. | stijn | |
| Builds have been broken since reworking autogeneration in c618f91 and related, this gets fixed here by applying similar qstr generation logic for the msvc builds: c files are only preprocessed when changed (or not yet preprocessed) and the concatenated output is fed into makeqstrdefs.py. To speed up this process, the concatenated output is already filtered to contain only lines which makeqstrdefs really needs: this makes the qstr generation stage about twice as fast (checked on different machines). | |||
| 2016-04-25 | py/makeqstrdefs.py: Windows compatibility. | stijn | |
| - msvc preprocessor output contains full paths with backslashes so the ':' and '\' characters needs to be erased from the paths as well - use a regex for extraction of filenames from preprocessor output so it can handle both gcc and msvc preprocessor output, and spaces in paths (also thanks to a PR from @travnicekivo for part of that regex) - os.rename will fail on windows if the destination file already exists, so simply attempt to delete that file first | |||
| 2016-04-25 | py/makeqstrdefs.py: Remove unused function/variable/import. | stijn | |
| 2016-04-25 | extmod/modlwip: Protect recv/accept Python callback against exceptions. | Paul Sokolovsky | |
| Using usual call_function_*_protected() helper, to avoid NLR jump crashes. | |||
| 2016-04-25 | py/runtime_utils: Fix nanbox build. | Paul Sokolovsky | |
