Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-05-07 | unix: Add missing stdio.h header for readline. | Damien George | |
2014-05-07 | Add input command for unix | Dave Hylands | |
2014-05-07 | stream: Make non-blcoking stream support configurable. | Paul Sokolovsky | |
Enable only on unix. To avoid unpleasant surprises with error codes. | |||
2014-05-07 | unix modsocket: Add comments re: recv() vs read(), etc. semantics. | Paul Sokolovsky | |
2014-05-06 | modgc: Add new module for GC-related functionality. | Paul Sokolovsky | |
2014-05-05 | py, unix: Add -v option, print bytecode dump if used. | Paul Sokolovsky | |
This will work if MICROPY_DEBUG_PRINTERS is defined, which is only for unix/windows ports. This makes it convenient to user uPy normally, but easily get bytecode dump on the spot if needed, without constant recompiles back and forth. TODO: Add more useful debug output, adjust verbosity level on which specifically bytecode dump happens. | |||
2014-05-04 | unix: Remove test class and code. | Damien George | |
2014-05-03 | Add license header to (almost) all files. | Damien George | |
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | |||
2014-05-03 | py, stream: Implement readlines for a stream. | Damien George | |
2014-05-03 | Don't print git hash as well as git tag in banner.v1.0 | Damien George | |
2014-05-03 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
2014-05-03 | py: Print tag/version/git describe in uPy banner. | Damien George | |
2014-05-03 | Merge pull request #554 from stinos/mingw-realpath | Paul Sokolovsky | |
mingw: Add implementation of realpath() | |||
2014-05-03 | unix, file.c: adhere to coding conventions. | Damien George | |
2014-05-03 | mingw: Add implementation of realpath() | stijn | |
The mingw port used _fullpath() until now, but the behaviour is not exactly the same as realpath()'s on unix; major difference being that it doesn't return an error for non-existing files, which would bypass main's error checking and bail out without any error message. Also realpath() will return forward slashes only since main() relies on that. | |||
2014-05-03 | CPython compatibility: raise an error for operations on a closed file descriptor | stijn | |
In CPython any operations on a file that has been closed already reaises a ValueError with message "I/O operation on closed file" | |||
2014-05-02 | unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. | Paul Sokolovsky | |
2014-05-02 | py, unix: Make "mpconfig.h" be first included, as other headers depend on it. | Paul Sokolovsky | |
Specifically, nlr.h does. | |||
2014-05-01 | py: Add tentative scheme for error messages configuration. | Paul Sokolovsky | |
2014-04-26 | py: "read" & "write" are so common that make them core. | Paul Sokolovsky | |
Few other strings move to core, but make depend on "io" module. | |||
2014-04-26 | Add ARRAY_SIZE macro, and use it where possible. | Damien George | |
2014-04-26 | modsocket: Make .send() support arbitrary objects with buffer interface. | Paul Sokolovsky | |
This is CPython-compliant (except that CPython doesn't support buffer protocol for str). | |||
2014-04-22 | unix: Workaround MP_OBJ_NEW_SMALL_INT() 64-bit issues. | Paul Sokolovsky | |
2014-04-22 | modsocket: Clean up OSError-like exception a bit. | Paul Sokolovsky | |
Some BSD socket functions don't return error numbers in errno namespace, but rather in other error namespaces. CPython resolves this by using OSError subclasses for them. We don't do that so far, so there's ambiguity here. | |||
2014-04-22 | unix: OSError's args[0] should be errno numeric value. | Paul Sokolovsky | |
Well, Python3 also defines an attribute for that, but that's bloat. | |||
2014-04-22 | modffi: Don't use OSError for clearly unrelated errors. | Paul Sokolovsky | |
2014-04-22 | modffi: Describe typecodes where they differ from used by struct module. | Paul Sokolovsky | |
Exact behavior of typecodes may be not yet enforced. | |||
2014-04-21 | Merge pull request #513 from errordeveloper/misc_fix/modffi_pkg_config | Damien George | |
modffi: Fix how we call `pkg-config` | |||
2014-04-20 | unix windows: mingw32 doesn't have realpath(), use _fullpath() instead. | Paul Sokolovsky | |
2014-04-20 | unix file: mingw32 has STDIN_FILENO and friends in stdio.h . | Paul Sokolovsky | |
TODO: Never "optimize" includes any more! | |||
2014-04-20 | unix mem_info(): Dump GC info only if it's enabled. | Paul Sokolovsky | |
2014-04-20 | modsocket: Add setblocking() method. | Paul Sokolovsky | |
2014-04-20 | modffi: Fix how we call `pkg-config` | Ilya Dmitrichenko | |
2014-04-19 | modffi: Update for MP_OBJ_STOP_ITERATION refactor. | Paul Sokolovsky | |
2014-04-19 | modffi: Mark 'p' type spec deprecated, replace with 'P'. | Paul Sokolovsky | |
'p' in struct module is "pascal string". 'P' is void*. | |||
2014-04-18 | py: Allow to pass buffer protocol flags to get_buffer helper funcs. | Damien George | |
2014-04-18 | unix: Update to use new buffer protocol interface with typecode. | Damien George | |
2014-04-17 | py: Rename USE_COMPUTED_GOTOS to USE_COMPUTED_GOTO and enable on stmhal. | Damien George | |
On stmhal, computed gotos make the binary about 1k bigger, but makes it run faster, and we have the room, so why not. All tests pass on pyboard using computed gotos. | |||
2014-04-18 | unix modffi: Convert to static module structures. | Paul Sokolovsky | |
2014-04-17 | unix modsocket: Convert to static module structures. | Paul Sokolovsky | |
2014-04-17 | unix: Make mem_info() dump GC info too. | Paul Sokolovsky | |
mem_info() is already pretty hacky, let it be more hacky. | |||
2014-04-17 | unix modtime: Convert to static module structures. | Paul Sokolovsky | |
2014-04-17 | unix modtime: Adhere to MICROPY_ENABLE_FLOAT better. | Paul Sokolovsky | |
2014-04-17 | build: Simplify build directory layout by putting all headers in genhdr. | Damien George | |
Any generated headers go in $(BUILD)/genhdr/, and are #included as 'genhdr/xxx.h'. | |||
2014-04-17 | Merge branch 'relocatable-build-dir' of github.com:lurch/micropython into ↵ | Damien George | |
lurch-relocatable-build-dir | |||
2014-04-17 | Merge pull request #505 from lurch/patch-5 | Damien George | |
Add 'test' target to unix/Makefile | |||
2014-04-17 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
2014-04-17 | py: Add cmath module, for complex math. Disabled by default. | Damien George | |
Not all functions implemented. Not enabled on pyboard. | |||
2014-04-17 | modffi: Support float types. | Paul Sokolovsky | |
2014-04-17 | Updated the envvar used by ./run-tests | Andrew Scheller | |
As discussed in #504 |