Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | unix: Remove obsolete MICROPY_FATFS macro. | Damien George | 2017-04-26 |
| | | | | | It doesn't do anything. The VFS feature is controlled by MICROPY_VFS and the FatFS driver, by MICROPY_VFS_FAT (which are set in mpconfigport.h). | ||
* | mpy-cross, unix, windows, stmhal: Enable return-if-else optimisation. | Damien George | 2017-04-22 |
| | | | | | | Prior to making this a config option it was previously available on these (and all other) ports, and it makes sense to keep it enabled for mpy-cross as well as ports that have a decent amount of space for the code. | ||
* | unix: Enabled high-quality float hashing in coverage build. | Damien George | 2017-04-12 |
| | |||
* | unix, windows: Use core-provided KeyboardInterrupt exception object. | Damien George | 2017-04-11 |
| | |||
* | all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h | Damien George | 2017-04-01 |
| | | | | | It can still be overwritten by a port in mpconfigport.h but for almost all cases one can use the provided default. | ||
* | all: Use full path name when including mp-readline/timeutils/netutils. | Damien George | 2017-03-31 |
| | | | | | | | This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed. | ||
* | unix: Convert mp_uint_t to size_t in alloc.c. | Pavol Rusnak | 2017-03-31 |
| | |||
* | unix: Convert mp_uint_t to size_t for use of mp_obj_list_get. | Damien George | 2017-03-29 |
| | |||
* | unix: Use mp_obj_str_get_str instead of mp_obj_str_get_data. | Damien George | 2017-03-25 |
| | |||
* | all/Makefile: Remove -ansi from GCC flags, its ignored anyway. | Krzysztof Blazewicz | 2017-03-23 |
| | | | | | | The -ansi flag is used for C dialect selection and it is equivalent to -std=c90. Because it goes right before -std=gnu99 it is ignored as for conflicting flags GCC always uses the last one. | ||
* | unix/coverage: Enable scheduler and add tests for it. | Damien George | 2017-03-20 |
| | |||
* | unix: Use mp_handle_pending() in time.sleep(). | Damien George | 2017-03-20 |
| | |||
* | tests: Improve binary.c test coverage. | Rami Ali | 2017-03-14 |
| | |||
* | unix/main: Refactor to put lexer constructors all in one place. | Damien George | 2017-03-14 |
| | | | | | The lexer can now raise an exception on construction so it must go within an nlr handler block. | ||
* | unix/moduselect: Properly implement ipoll object iteration. | Paul Sokolovsky | 2017-03-05 |
| | | | | | TODO: There's another issue to care about: poll set being modified during iteration. | ||
* | unix: Remove remaining, obsolete traces of GNU readline support. | Damien George | 2017-03-03 |
| | |||
* | unix/modmachine: Add Signal class to machine module. | Damien George | 2017-03-02 |
| | |||
* | py: Add iter_buf to getiter type method. | Damien George | 2017-02-16 |
| | | | | | | | | | | | | | | | Allows to iterate over the following without allocating on the heap: - tuple - list - string, bytes - bytearray, array - dict (not dict.keys, dict.values, dict.items) - set, frozenset Allows to call the following without heap memory: - all, any, min, max, sum TODO: still need to allocate stack memory in bytecode for iter_buf. | ||
* | unix/moduselect: Implement ipoll() method with no-allocation policy. | Paul Sokolovsky | 2017-02-13 |
| | | | | | | | | | ipoll() allows to poll streams without allocating any memory: this method returns an iterator (a poll object itself), and the iterator yields preallocated "callee-owned tuple" with polling results for each active stream. The only operation a caller is allowed to do with this tuple is extracting values from it (storing the tuple as a whole somewhere is not allowed). | ||
* | py/objtype: Implement __delattr__ and __setattr__. | dmazzella | 2017-02-09 |
| | | | | | | This patch implements support for class methods __delattr__ and __setattr__ for customising attribute access. It is controlled by the config option MICROPY_PY_DELATTR_SETATTR and is disabled by default. | ||
* | unix/main: Properly handle MICROPYPATH starting with ':'. | Paul Sokolovsky | 2017-02-07 |
| | | | | In other words, where first path component is an empty string. | ||
* | unix: Fix freedos port build problems. | Nikita Melentev | 2017-02-06 |
| | |||
* | py: Added optimised support for 3-argument calls to builtin.pow() | Nicko van Someren | 2017-02-02 |
| | | | | | | Updated modbuiltin.c to add conditional support for 3-arg calls to pow() using MICROPY_PY_BUILTINS_POW3 config parameter. Added support in objint_mpz.c for for optimised implementation. | ||
* | unix/modos: Remove VfsFat from uos module, it's now in uos_vfs module. | Damien George | 2017-01-30 |
| | |||
* | extmod/vfs_fat: Remove MICROPY_FATFS_OO config option. | Damien George | 2017-01-30 |
| | | | | | Everyone should now be using the new ooFatFs library. The old one is no longer supported and will be removed. | ||
* | unix/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config. | Damien George | 2017-01-30 |
| | |||
* | extmod: Remove MICROPY_FSUSERMOUNT and related files. | Damien George | 2017-01-30 |
| | | | | Replaced by MICROPY_VFS and the VFS sub-system. | ||
* | unix/fatfs_port: Include new oofatfs header. | Damien George | 2017-01-27 |
| | |||
* | unix: Change to use new generic VFS sub-system in coverage build. | Damien George | 2017-01-27 |
| | | | | | This patch includes a new module "uos_vfs" which can be used for testing the VFS syb-system. | ||
* | extmod: Rename vfs_fat_file.h to vfs_fat.h. | Damien George | 2017-01-27 |
| | | | | And move declaration of mp_fat_vfs_type to this file. | ||
* | unix: Get minimal version compiling again. | Damien George | 2017-01-27 |
| | |||
* | unix: Switch to OO version of FatFS library. | Damien George | 2017-01-27 |
| | |||
* | unix: Enable MICROPY_PY_BUILTINS_HELP_MODULES in coverage build. | Damien George | 2017-01-22 |
| | |||
* | unix: Enable builtin help function in coverage build. | Damien George | 2017-01-22 |
| | |||
* | tests: Improve frozen import test coverage. | Rami Ali | 2017-01-16 |
| | |||
* | unix/coverage: Move coverage #if guard back to top of file. | Damien George | 2017-01-16 |
| | |||
* | tests: Improve stream.c test coverage. | Rami Ali | 2017-01-16 |
| | |||
* | tests/unix/extra_coverage: Add tests for importing frozen packages. | Damien George | 2017-01-08 |
| | |||
* | unix/Makefile: Allow cache-map-lookup optimisation with frozen bytecode. | Damien George | 2017-01-05 |
| | |||
* | unix: Enable and add basic frozen str and frozen mpy in coverage build. | Damien George | 2017-01-05 |
| | |||
* | unix/Makefile: Split long line for coverage target, easier to modify. | Damien George | 2017-01-05 |
| | |||
* | tests/unix: Improve formatfloat.c test coverage using C. | Rami Ali | 2017-01-05 |
| | |||
* | tests: Improve warning.c test coverage. | Rami Ali | 2017-01-05 |
| | |||
* | all: Consistently update signatures of .make_new and .call methods. | Paul Sokolovsky | 2017-01-04 |
| | | | | | Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build. | ||
* | unix/moduselect: Fix nanbox build with recent changes. | Paul Sokolovsky | 2016-12-31 |
| | |||
* | unix/moduselect: If file object passed to .register(), return it in .poll(). | Paul Sokolovsky | 2016-12-31 |
| | | | | | | | | | | | This makes unix "uselect" compatible with baremetal "uselect". Previosuly, unix version accepted file/socket objects, but internally converted that to file descriptors, and that's what .poll() returned. To acheive new behavior, file-like objects are stored internally in an array, in addition to existing array of struct pollfd. This array is created only on first case of file-like object being passed to .register(). If only raw fd's are passed, there will be no additional memory used comparing to the original implementation. | ||
* | tests/unix: Improve runtime_utils.c test coverage. | Rami Ali | 2016-12-29 |
| | |||
* | unix/Makefile: Make "coverage_test" target mirror Travis test actions. | Damien George | 2016-12-22 |
| | |||
* | unix/main: Allow to print the parse tree in coverage build. | Damien George | 2016-12-22 |
| | | | | | Passing -v -v -v on the command line of the coverage build will now print the parse tree (as well as other things at this verbosity level). | ||
* | unix: Enable utimeq module. | Paul Sokolovsky | 2016-12-22 |
| |