aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-27esp8266/axtls_helpers: Helper/wrapper functions for axTLS.Paul Sokolovsky
2016-04-27docs/library/utime: Add more time functions for unix and esp8266 ports.Damien George
2016-04-27docs: Fix uos and utime heading underlines to be the correct length.Damien George
Otherwise Sphinx gives a warning.
2016-04-27esp8266/Makefile: Override abort() when building axtls.Paul Sokolovsky
abort() is a special function known to compiler as no-return.
2016-04-27extmod/modwebsocket: Handle CLOSE control frame.Paul Sokolovsky
This fixes situation when clients hangs waiting for disconnect and does so only on timeout.
2016-04-27docs/library: "os" module is actually "uos".Paul Sokolovsky
2016-04-27docs/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-27docs/library/index: Order sections from the most to least standard modules.Paul Sokolovsky
2016-04-27docs/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-27docs: Module "time" is actually "utime".Paul Sokolovsky
2016-04-27docs/library/index: esp8266 has the same set of stdlibs as pyboard/unix.Paul Sokolovsky
2016-04-27docs/library/index: Move WiPy "micro-libraries" under corresponding heading.Paul Sokolovsky
2016-04-27docs/library: Group MicroPython-specific modules under separate heading.Paul Sokolovsky
2016-04-27esp8266/esp8266.ld: Put axTLS to FlashROM.Paul Sokolovsky
2016-04-27esp8266/Makefile: Add target to build axTLS.Paul Sokolovsky
2016-04-26extmod/modlwip: Add print_pcbs() debug function.Paul Sokolovsky
This requires lwIP built with LWIP_DEBUG (or it will be no-op).
2016-04-26extmod/modlwip: Workaround esp8266 sendto issue where 1 is returned.Damien George
2016-04-26extmod, stmhal: Fix typo of macro that detects if float is enabled.Damien George
2016-04-26esp8266/scripts/webrepl: Add "ws://" to "daemon started at" message.Paul Sokolovsky
To remind people it's not HTTP.
2016-04-26py/mkrules.mk: Typo fixes in comments.Paul Sokolovsky
2016-04-26tests/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-26py/emitnative: Use MP_OBJ_NEW_SMALL_INT instead of manual bit shifting.Damien George
2016-04-26py/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-26esp8266/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-26docs/network: esp8266: scan(): Add note that bssid is bytes object.Paul Sokolovsky
2016-04-26esp8266/scripts/webrepl: Print client address for incoming connections.Paul Sokolovsky
2016-04-26esp8266/scripts/webrepl: Print connection address.Paul Sokolovsky
Based on active network interfaces.
2016-04-25windows/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-25py/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-25py/makeqstrdefs.py: Remove unused function/variable/import.stijn
2016-04-25extmod/modlwip: Protect recv/accept Python callback against exceptions.Paul Sokolovsky
Using usual call_function_*_protected() helper, to avoid NLR jump crashes.
2016-04-25py/runtime_utils: Fix nanbox build.Paul Sokolovsky
2016-04-25py: Move call_function_*_protected() functions to py/ for reuse.Paul Sokolovsky
They almost certainly needed by any C code which calls Python callbacks.
2016-04-25cc3200, stmhal, teensy: Use pyhelp_print_obj function.Colin Hogben
Update the help() implementations in the cc3200, stmhal and teensy ports to use the pyhelp_print_obj function.
2016-04-25lib/utils/pyhelp: Extract implementation of help(obj) to a library function.Colin Hogben
Several ports use identical code for the 1-argument form of the builtin help function. Move this code to a library function to allow easier re-use by ports.
2016-04-25esp8266/scripts/webrepl: Allow to override port.Paul Sokolovsky
2016-04-25esp8266/scripts/webrepl: Don't start on import.Paul Sokolovsky
Explicit .start() is required now.
2016-04-25esp8266/scripts/webrepl: Convert to persistent daemon.Paul Sokolovsky
2016-04-24esp8266/scripts/webrepl: WebREPL based on C-level websocket object.Paul Sokolovsky
2016-04-23docs/usocket: Describe address format once at the beginning.Paul Sokolovsky
Different ports may have different formats.
2016-04-23docs/usocket: socket.IPPROTO_SEC is WiPy-specific.Paul Sokolovsky
2016-04-23docs/usocket: Socket-specific exceptions are for WiPy only.Paul Sokolovsky
2016-04-23docs/library/usocket: Add link to CPython's socket module.Paul Sokolovsky
2016-04-23docs: esp8266: Include usocket module reference.Paul Sokolovsky
2016-04-22docs/ustruct: There's no complete "struct" module, only "ustruct" subset.Paul Sokolovsky
"ustruct" is good example of micro-ified module, so rather should belong to the corresponding list.
2016-04-22docs/esp8266/tutorial: Add tutorial placeholder page.Paul Sokolovsky
2016-04-22esp8266/scripts/websocket_helper: Disable debug output.Paul Sokolovsky
2016-04-22esp8266/scripts/websocket_helper: Module encapsulating handshake sequences.Paul Sokolovsky
2016-04-22py/mkrules.mk: Remove obsolete rules for auto qstr generation.Damien George
2016-04-22esp8266: Change software SPI driver to use general pin HAL.Damien George