| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-02-02 | py: Make list.sort keep stack usage within O(log(N)) bound. | Damien George | |
| Also fix list.sort so it works with user-defined types, and parse the keyword arguments properly. Addresses issue #338. | |||
| 2015-02-02 | tests: Add test for cmath module. | Damien George | |
| 2015-02-02 | py: Fix cmath.log10; fix printing of complex number with negative imag. | Damien George | |
| 2015-02-01 | esp8266: modesp: Add connect() function to connect to WiFi AP. | Paul Sokolovsky | |
| 2015-01-31 | esp8266: Add "reset" target to Makefile. | Paul Sokolovsky | |
| Just always keep jumper in bootloader position. After flashing, uPy automatically executed. And to get back to bootloader, do "make reset". | |||
| 2015-01-31 | esp8266: Update ROM address map to vendor SDK 0.9.5. | Paul Sokolovsky | |
| 2015-01-31 | py: Add MICROPY_PY_ALL_SPECIAL_METHODS and __iadd__ special method under it. | Paul Sokolovsky | |
| 2015-01-30 | py: Convert CR to LF and CR LF to LF in lexer. | Damien George | |
| Only noticeable difference is how newlines are encoded in triple-quoted strings. The behaviour now matches CPython3. | |||
| 2015-01-29 | py: Implement Ellipsis object in native emitter. | Damien George | |
| 2015-01-29 | tests: Add some tests to improve coverage. | Damien George | |
| 2015-01-29 | unix: Add "coverage" target to do coverage testing using gcov. | Damien George | |
| 2015-01-29 | py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str. | Damien George | |
| 2015-01-29 | tests: Make float/int_power.py pass on pyboard/single prec float. | Damien George | |
| 2015-01-29 | tests: Add some tests to improve coverage. | Damien George | |
| Used gcov to find some parts of vm.c, runtime.c, obj.c that were not covered by any tests. Still need to use gcov more thoroughly. | |||
| 2015-01-28 | py: Make REPL printing function print repr of object, not str. | Damien George | |
| Addresses issue #1014. | |||
| 2015-01-28 | py: Change vstr so that it doesn't null terminate buffer by default. | Damien George | |
| This cleans up vstr so that it's a pure "variable buffer", and the user can decide whether they need to add a terminating null byte. In most places where vstr is used, the vstr did not need to be null terminated and so this patch saves code size, a tiny bit of RAM, and makes vstr usage more efficient. When null termination is needed it must be done explicitly using vstr_null_terminate. | |||
| 2015-01-28 | tests: Add testcase for bytes() on values in range 128-255. | Paul Sokolovsky | |
| 2015-01-28 | py: bytes(): Make sure we add values as bytes, not as chars. | Paul Sokolovsky | |
| 2015-01-28 | py: Remove duplicated mp_obj_str_make_new function from objstrunicode.c. | Damien George | |
| 2015-01-28 | py: Be more precise about unicode type and disabled unicode behaviour. | Damien George | |
| 2015-01-28 | stmhal: Remove unnecessary #include "systick.h" from pyexec.c. | Damien George | |
| Makes pyexec.c more re-usable for other ports. | |||
| 2015-01-28 | moduzlib: Align out buffer to block size; shrink when decompression done. | Paul Sokolovsky | |
| 2015-01-28 | moduzlib: Implement raw DEFLATE decoding support. | Paul Sokolovsky | |
| 2015-01-27 | py: Add support for floats in mp_binary_{get,set}_val() | David Steinberg | |
| - This then provides support for floats in the struct package | |||
| 2015-01-27 | py: Specify unary/binary op name in TypeError error message. | Damien George | |
| Eg, "() + 1" now tells you that __add__ is not supported for tuple and int types (before it just said the generic "binary operator"). We reuse the table of names for slot lookup because it would be a waste of code space to store the pretty name for each operator. | |||
| 2015-01-27 | py: Fix comparison of minus-zero long int. | Damien George | |
| 2015-01-26 | moduzlib: Update to uzlib v1.2. | Paul Sokolovsky | |
| Actually manage size of the output buffer. | |||
| 2015-01-25 | qemu-arm: Disable try_finally1.py test (it fails randomly on Travis). | Damien George | |
| 2015-01-25 | py: Check for NDEBUG using #ifdef rather than #if. | Damien George | |
| Defining NDEBUG (to any value, even 0) disables debugging. Otherwise, if it's not defined, debugging is enabled. | |||
| 2015-01-25 | lib/mp-readline: Use simple VT100 commands to speed up line redraw. | Damien George | |
| 2015-01-25 | Merge branch 'master' of github.com:micropython/micropython | Damien George | |
| 2015-01-25 | esp8266: Handle exceptions in callback. | Paul Sokolovsky | |
| 2015-01-25 | esp8266: Add "esp" module with esp8266-specific "cooperative" networking. | Paul Sokolovsky | |
| So far implements .scan(lambda x: print(x)) function to scan for WiFi access points. | |||
| 2015-01-25 | docs: Bump version to 1.3.9. | Damien George | |
| 2015-01-24 | stmhal: Disable MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE. | Damien George | |
| It uses RAM and on pyboard we are generally tight on RAM, so disable this optimisation for general builds. If users need the speed then they can build their own version. Maybe in the future we can have different versions of pyboard firmware built with different tradeoffs. | |||
| 2015-01-25 | modffi: 's' (string) return type: handle NULL properly (return None). | Paul Sokolovsky | |
| 2015-01-24 | py: Don't use anonymous unions, name them instead. | Damien George | |
| This makes the code (more) compatible with the C99 standard. | |||
| 2015-01-24 | py: Be more machine-portable with size of bit fields. | Damien George | |
| 2015-01-24 | tests: Update float2int tests for new range classifications | David Steinberg | |
| - Tests vary based on build configuration (32/64-bit and internal int type). - Added tests for exceptions raised on overflow of int type. | |||
| 2015-01-24 | py: Use float-to-int classifications for mp_obj_new_int_from_float() functions | David Steinberg | |
| 2015-01-24 | py: Add float-to-int classification function | David Steinberg | |
| 2015-01-24 | py: Fix issue in mpz_set_from_float() when mp_int_t is larger than float | David Steinberg | |
| 2015-01-24 | py: Move mp_float_t related defines to misc.h | David Steinberg | |
| 2015-01-24 | py: Fix segfault in namedtuple when name is a non-interned string | stijn | |
| - namedtuple was wrongly using MP_OBJ_QSTR_VALUE instead of mp_obj_str_get_qstr, so when passed a non-interned string it would segfault; fix this by using mp_obj_str_get_qstr - store the namedtuple field names as qstrs so it is not needed to use mp_obj_str_get_qstr everytime the field name has to be accessed. This also slighty increases performance when fetching attributes | |||
| 2015-01-24 | stmhal: Bug fix for usocket's accept and setsockopt methods. | Damien George | |
| accept might raise an exception, in which case the new socket is not fully created. It has a finaliser so will run close() method when GC'd. Before this patch close would try to close an invalid socket. Now fixed. setsockopt took address of stack value which became out of scope. Now fixed. | |||
| 2015-01-24 | binary: Rework array accessors. They work with native, not stdint types. | Paul Sokolovsky | |
| 2015-01-24 | stream: readall(): Make sure there's a trailing NUL char. | Paul Sokolovsky | |
| 2015-01-23 | tests: Fix typo in file_long_read3.py. | Paul Sokolovsky | |
| 2015-01-23 | modujson: .loads(): Handle more whitespace characters. | Paul Sokolovsky | |
| 2015-01-23 | tests: Add extra test for reading multiple of internal chunk size. | Paul Sokolovsky | |
