Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py/objint: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objexcept: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objclosure: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objfun: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objarray: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objset: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objdict: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objlist: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/objtuple: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/persistentcode: Replace mp_uint_t with size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/mpz: Change type of "base" args from mp_uint_t to unsigned int. | Damien George | 2017-02-16 |
| | |||
* | py/mpz: Remove obsolete declaration of mpz_as_str_size. | Damien George | 2017-02-16 |
| | |||
* | py/mpz: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | py/runtime: Convert mp_uint_t to size_t where appropriate. | Damien George | 2017-02-16 |
| | |||
* | extmod/modlwip: Add my copyright. | Paul Sokolovsky | 2017-02-15 |
| | | | | | | | | | Per: $ git log modlwip.c |grep ^Auth | sort | uniq -c 9 Author: Damien George 2 Author: Galen Hazelwood 43 Author: Paul Sokolovsky | ||
* | tests/basic/: Make various tests skippable. | Paul Sokolovsky | 2017-02-15 |
| | | | | To run the testsuite on small ports. | ||
* | tests/gen_yield_from_close: Use range() instead of reversed(). | Paul Sokolovsky | 2017-02-15 |
| | | | | As a "more basic" builtin iterator, present even in smaller ports. | ||
* | examples/embedding/README: Convert to markdown, grammar and clarity fixes. | Paul Sokolovsky | 2017-02-15 |
| | |||
* | stmhal: Use generic interrupt char code. | Damien George | 2017-02-15 |
| | |||
* | stmhal: Implement a proper thread scheduler. | Damien George | 2017-02-15 |
| | | | | | | This patch changes the threading implementation from simple round-robin with busy waits on mutexs, to proper scheduling whereby threads that are waiting on a mutex are only scheduled when the mutex becomes available. | ||
* | py/vm: Add MICROPY_PY_THREAD_GIL_VM_DIVISOR option. | Damien George | 2017-02-15 |
| | | | | | | This improves efficiency of GIL release within the VM, by only doing the release after a fixed number of jump-opcodes have executed in the current thread. | ||
* | py/modthread: Use system-provided mutexs for _thread locks. | Damien George | 2017-02-15 |
| | | | | | | It's more efficient using the system mutexs instead of synthetic ones with a busy-wait loop. The system can do proper scheduling and blocking of the threads waiting on the mutex. | ||
* | tests/thread: Add stress-test for creating many threads. | Damien George | 2017-02-15 |
| | |||
* | tests/thread: Replace busy waiting loops with a loop that sleeps. | Damien George | 2017-02-15 |
| | | | | | | Depending on the thread scheduler, a busy-wait loop can hog the CPU and make the tests very slow. So convert such loops to loops that have an explicit sleep, allowing the worker threads to do their job. | ||
* | tests/extmod: Make tests skippable. | Paul Sokolovsky | 2017-02-15 |
| | |||
* | tests/dict_fromkeys: Revert to use reversed() to run in native codegen mode. | Paul Sokolovsky | 2017-02-15 |
| | |||
* | tests/basic/[a-f]*: Make skippable. | Paul Sokolovsky | 2017-02-15 |
| | | | | For small ports which don't have all features enabled. | ||
* | zephyr/main: Don't unconditionally dump stats on each GC. | Paul Sokolovsky | 2017-02-14 |
| | | | | This was a debug output for initial porting, breaks tests. | ||
* | tests/builtin_dir: The most expected thing in sys is exit, test for it. | Paul Sokolovsky | 2017-02-14 |
| | |||
* | tests/comprehension1, containment: Split set tests to separate files. | Paul Sokolovsky | 2017-02-14 |
| | | | | To make skippable. | ||
* | tests/run-tests: Allow to skip tests using async/await keywords. | Paul Sokolovsky | 2017-02-14 |
| | |||
* | tests: Add option to not clear MICROPYPATH when running tests | stijn | 2017-02-14 |
| | | | | | | | | | This allows using the test runner for other scenarios than just testing uPy itself. The principle of comparing either to CPython or else to a .exp file is really handy but to be able to test custom modules not built into micropython.exe one needs to be able to specify the module search path a.k.a MICROPYPATH. | ||
* | zephyr: Add qemu_cortex_m3 config fragment. | Paul Sokolovsky | 2017-02-14 |
| | | | | Should work for QEMU networking with soon-to-merged upstream patch. | ||
* | zephyr: Enable IPv6 networking in addition to IPv4. | Paul Sokolovsky | 2017-02-14 |
| | |||
* | docs/uos: Remove mention of uos.sep. | Paul Sokolovsky | 2017-02-14 |
| | | | | | | MicroPython guarantees '/' to be a path separator, so extra constant taking precious ROM space are not needed. MicroPython never had such constant, only one vendor port had it (now unmaintained). | ||
* | examples/hwapi/soft_pwm: Use Signal on()/off() methods. | Paul Sokolovsky | 2017-02-14 |
| | | | | | | Just one sample is updated with on()/off() for now, there should be remaining sample(s) showing .value() use (but more can be converted later, as long as 1 or so good samples of .value() remains). | ||
* | py/objtype: Replace non-ASCII single-quote char with ASCII version. | Damien George | 2017-02-14 |
| | |||
* | docs/library/machine: Make separate TOC for WiPy vs non-WiPy. | Damien George | 2017-02-13 |
| | | | | | WiPy is the only port with ADC and SD, so they shouldn't be included in other ports' documentation. | ||
* | extmod/vfs: Allow to stat the root directory. | Damien George | 2017-02-13 |
| | | | | | os.stat('/') now works and returns a mostly-empty tuple. Really all that is useful is the mode which tells that it's a directory. | ||
* | docs/library/pyb.Pin: Minor typo fix, B6 should be A0. | Dave Hylands | 2017-02-13 |
| | | | | On the PYBv1.0, X1 maps to A0, not B6. | ||
* | esp8266/moduos: Populate release field of uname in case it was GC'd. | Damien George | 2017-02-13 |
| | |||
* | stmhal/boards: For STM32F411DISC, change I2C pin according to datasheet. | Johannes Wågen | 2017-02-13 |
| | | | | The pin had to be changed to get the I2C sensors on board to work. | ||
* | 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). | ||
* | tools/upip: Update to 1.1.5. Better and more user-friendly error handling. | Paul Sokolovsky | 2017-02-10 |
| | |||
* | tests/misc: Add test for line number printing with large bytecode chunk. | Damien George | 2017-02-10 |
| | |||
* | py/emitbc: Produce correct line number info for large bytecode chunks. | Damien George | 2017-02-10 |
| | | | | | | | | | | | | | | | Previous to this patch, for large chunks of bytecode that originated from a single source-code line, the bytecode-line mapping would generate something like (for 42 bytecode bytes and 1 line): BC_SKIP=31 LINE_SKIP=1 BC_SKIP=11 LINE_SKIP=0 This would mean that any errors in the last 11 bytecode bytes would be reported on the following line. This patch fixes it to generate instead: BC_SKIP=31 LINE_SKIP=0 BC_SKIP=11 LINE_SKIP=1 | ||
* | extmod/vfs: Raise OSError(EEXIST) on attempt to mkdir a mount point. | Damien George | 2017-02-09 |
| | |||
* | examples/hwapi: Be sure to import Signal when it's used. | Damien George | 2017-02-09 |
| | |||
* | examples/hwapi: Add hwconfig_pyboard.py for pyboard. | Kai Fricke | 2017-02-09 |
| |