| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-01-22 | stmhal: Enable help('modules') feature. | Damien George | |
| 2017-01-22 | tests/basics/builtin_help: Add test for help('modules'). | Damien George | |
| 2017-01-22 | unix: Enable MICROPY_PY_BUILTINS_HELP_MODULES in coverage build. | Damien George | |
| 2017-01-22 | py/builtinhelp: Implement help('modules') to list available modules. | Damien George | |
| This is how CPython does it, and it's very useful to help users discover the available modules for a given port, especially built-in and frozen modules. The function does not list modules that are in the filesystem because this would require a fair bit of work to do correctly, and is very port specific (depending on the filesystem). | |||
| 2017-01-22 | py: Move weak-link map to objmodule.c, and expose module maps as public. | Damien George | |
| 2017-01-22 | tests: Add test for builtin help function. | Damien George | |
| 2017-01-22 | unix: Enable builtin help function in coverage build. | Damien George | |
| 2017-01-22 | lib/utils: Remove old pyhelp helper, replaced with py/builtinhelp.c. | Damien George | |
| Ports should no longer use pyhelp_print_obj but instead should define MICROPY_PY_BUILTINS_HELP to 1 and then specify their help text using MICROPY_PY_BUILTINS_HELP_TEXT. | |||
| 2017-01-22 | zephyr: Convert to use builtin help function. | Damien George | |
| 2017-01-22 | teensy: Convert to use builtin help function. | Damien George | |
| 2017-01-22 | cc3200: Convert to use builtin help function. | Damien George | |
| 2017-01-22 | esp8266: Convert to use builtin help function. | Damien George | |
| 2017-01-22 | stmhal: Convert to use builtin help function. | Damien George | |
| 2017-01-22 | py: Add builtin help function to core, with default help msg. | Damien George | |
| This builtin is configured using MICROPY_PY_BUILTINS_HELP, and is disabled by default. | |||
| 2017-01-21 | tests/heapalloc_int_from_bytes: Test that int.from_bytes() can work w/o alloc. | Paul Sokolovsky | |
| For a small number of bytes, it's expected to return a small int without allocation. | |||
| 2017-01-21 | tests: Add test for int.from_bytes() for arbitrary-precision integer. | Paul Sokolovsky | |
| This test works only for MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_MPZ and needs a way of skipping in other cases. | |||
| 2017-01-21 | py/objint_longlong: Add stub for mp_obj_int_from_bytes_impl(). | Paul Sokolovsky | |
| To be implemented later. | |||
| 2017-01-21 | py/objint: from_bytes(): Implement "byteorder" param and arbitrary precision. | Paul Sokolovsky | |
| If result guaranteedly fits in a small int, it is handled in objint.c. Otherwise, it is delegated to mp_obj_int_from_bytes_impl(), which should be implemented by individual objint_*.c, similar to mp_obj_int_to_bytes_impl(). | |||
| 2017-01-21 | py/mpz: Implement mpz_set_from_bytes() as a foundation for int.from_bytes(). | Paul Sokolovsky | |
| 2017-01-21 | zephyr: Enable SLIP networking for the default build. | Paul Sokolovsky | |
| This makes MicroPython app running in QEMU be pingable from the host (by following QEMU networking setup instructions, https://www.zephyrproject.org/doc/samples/net/qemu_setup.html). | |||
| 2017-01-21 | zephyr: Add separate Zephyr config for "minimal" build. | Paul Sokolovsky | |
| In anticipation of enabling more features in the default build. Also, fix compilation of minimal build. | |||
| 2017-01-21 | zephyr: Remove deprecated .mdef file. | Paul Sokolovsky | |
| 2017-01-20 | zephyr/help: Update n_args param type to size_t. | Paul Sokolovsky | |
| 2017-01-20 | tests/basics: Add test for assignment of attribute to bound method. | Damien George | |
| 2017-01-20 | travis: Unconditionally run coveralls analysis, even if others failed. | Damien George | |
| If, for example, the code-size check failed we would still like to run the coveralls coverage analysis. | |||
| 2017-01-19 | tests/misc/non_compliant: Add test for inability to assign func attrs. | Damien George | |
| 2017-01-19 | tests/micropython/opt_level: Add test for opt_level 3. | Damien George | |
| 2017-01-19 | tests/extmod/framebuf1: Add test for no-op fill_rect. | Damien George | |
| 2017-01-19 | tests/float: Add test for assigning to attribute of complex number. | Damien George | |
| 2017-01-19 | py/objint_mpz: Refactor switch-statement to remove unreachable default. | Damien George | |
| 2017-01-19 | py/formatfloat: Remove unreachable code. | Damien George | |
| The if-block that this unreachable code is in has a condition "f>=5" so "fp_isless1(f)" will always fail. | |||
| 2017-01-19 | stmhal: Implement SNAK/CNAK mechanism for USB HID receive. | Pavol Rusnak | |
| This implements flow control in case user does not call recv method often enough (it tells host side to stop sending more data). | |||
| 2017-01-19 | stmhal: Implement ioctl for USB HID read. | Pavol Rusnak | |
| 2017-01-19 | stmhal: Fix USB HID receive not receiving the first packet. | Pavol Rusnak | |
| 2017-01-18 | drivers: Fix some minor spelling mistakes. | Mike Causer | |
| respones -> response succeses -> successes | |||
| 2017-01-18 | docs: Fix some minor spelling mistakes. | Mike Causer | |
| paramter -> parameter send a receive -> send and receive repsonse -> response particualr -> particular constructore -> constructor | |||
| 2017-01-17 | py/binary: mp_binary_get_size: Raise error on unsupported typecodes. | Paul Sokolovsky | |
| Previouly, we had errors checked in callers, which led to duplicate code or missing checks in some places. | |||
| 2017-01-17 | tests/extmod: Improve test coverage of ure module. | Rami Ali | |
| 2017-01-17 | py/runtime: Refactor default case of switch to remove assert(0). | Damien George | |
| 2017-01-17 | py/objexcept: Replace if-cond and assert(0) with simple assert. | Damien George | |
| 2017-01-17 | py/emitnative: Remove assert(0)'s or replace with mp_not_implemented. | Damien George | |
| 2017-01-17 | py/parse: Refactor code to remove assert(0)'s. | Damien George | |
| This helps to improve code coverage. Note that most of the changes in this patch are just de-denting the cases of the switch statements. | |||
| 2017-01-17 | tests/basics: Improve runtime.c test coverage. | Rami Ali | |
| 2017-01-17 | tests/io: Improve test coverage of io.BufferedWriter. | Rami Ali | |
| 2017-01-17 | tests: Update tests, and add new ones, for recent generator tweaks. | Damien George | |
| 2017-01-17 | py/objgenerator: Don't raise RuntimeError if GeneratorExit ignored. | Damien George | |
| In this case it's allowed to be ignored. | |||
| 2017-01-17 | py/objgenerator: When throwing an object, don't make an exc instance. | Damien George | |
| Arguments to throw() for generators don't need to be exceptions. | |||
| 2017-01-17 | py/runtime: Fix handling of throw() when resuming generator. | Damien George | |
| If GeneratorExit is injected as a throw-value then that should lead to the close() method being called, if it exists. If close() does not exist then throw() should not be called, and this patch fixes this. | |||
| 2017-01-17 | py/runtime: Refactor assert(0) to improve coverage. | Damien George | |
| 2017-01-16 | tests: Improve frozen import test coverage. | Rami Ali | |
