| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-04-17 | acks: Add 1 name to the ACKNOWLEDGEMENTS file. | Damien George | |
| 2015-04-16 | stmhal: Allow sending CAN messages with timeout=0. | Damien George | |
| Thanks to Henrik Sölver for this patch. | |||
| 2015-04-16 | stmhal: Use new %q format to print qstr's in a few more places. | blmorris | |
| Saves 68 bytes. | |||
| 2015-04-16 | Add .gitattributes file to force text line endings to LF. | Damien George | |
| Some files are excluded, otherwise a whole lot of files need converting. | |||
| 2015-04-16 | logo: Change line endings in FONT-LICENSE.txt from CRLF to LF. | Damien George | |
| 2015-04-16 | tests: Convert line endings in fun_name.py from CRLF to LF. | Damien George | |
| 2015-04-16 | qemu-arm: Get compiling again with recent changes to print framework. | Damien George | |
| 2015-04-16 | cc3200: Get bootloader compiling with latest overhaul of printf code. | Damien George | |
| 2015-04-16 | py: Add %q format support to mp_[v]printf, and use it. | Damien George | |
| 2015-04-16 | py: Convert occurrences of non-debug printf to mp_printf. | Damien George | |
| 2015-04-16 | py: Make mp_sys_stdout_print object, wrapping sys.stdout for mp_print*. | Damien George | |
| So now all printing should go via either mp_plat_print or mp_sys_stdout_print. | |||
| 2015-04-16 | py: Overhaul and simplify printf/pfenv mechanism. | Damien George | |
| Previous to this patch the printing mechanism was a bit of a tangled mess. This patch attempts to consolidate printing into one interface. All (non-debug) printing now uses the mp_print* family of functions, mainly mp_printf. All these functions take an mp_print_t structure as their first argument, and this structure defines the printing backend through the "print_strn" function of said structure. Printing from the uPy core can reach the platform-defined print code via two paths: either through mp_sys_stdout_obj (defined pert port) in conjunction with mp_stream_write; or through the mp_plat_print structure which uses the MP_PLAT_PRINT_STRN macro to define how string are printed on the platform. The former is only used when MICROPY_PY_IO is defined. With this new scheme printing is generally more efficient (less layers to go through, less arguments to pass), and, given an mp_print_t* structure, one can call mp_print_str for efficiency instead of mp_printf("%s", ...). Code size is also reduced by around 200 bytes on Thumb2 archs. | |||
| 2015-04-16 | objarray: Support assignment of bytes to bytearray slice. | Paul Sokolovsky | |
| 2015-04-14 | acks: Add 2 names to the ACKNOWLEDGEMENTS file. | Damien George | |
| 2015-04-14 | cc3200: Correct the IP address byte order in the FTP server. | Daniel Campora | |
| 2015-04-14 | cc3200: Add IPPROTO_SEC to be able to create secure sockets. | Daniel Campora | |
| 2015-04-13 | stmhal: In USB HID driver, make polling interval configurable. | Damien George | |
| When setting usb_mode to "HID", hid config object now has polling-interval (in ms) as the 4th element. It mmust now be a 5-tuple of the form: (subclass, protocol, max_packet_len, polling_interval, report_desc) The mouse and keyboard defaults have polling interval at 8ms. | |||
| 2015-04-13 | cc3200: Disable MICROPY_COMP_TRIPLE_TUPLE_ASSIGN. | Daniel Campora | |
| Because it's only a compiler optimization and increases code size. | |||
| 2015-04-13 | cc3200: Add WLAN.config_ip(). | Daniel Campora | |
| This new method allows to assign an static IP to the device. | |||
| 2015-04-12 | py/formatfloat.c: Fix format of floating point numbers near 1.0. | Dave Hylands | |
| In particular, numbers which are less than 1.0 but which round up to 1.0. This also makes those numbers which round up to 1.0 to print with e+00 rather than e-00 for those formats which print exponents. Addresses issue #1178. | |||
| 2015-04-12 | objstr: split(None): Fix whitespace properly. | Paul Sokolovsky | |
| 2015-04-11 | py: In emitinlinethumb, use qstr_data instead of qstr_str and strlen. | Damien George | |
| 2015-04-11 | py: Remove old debugging printf's in compile.c. | Damien George | |
| 2015-04-11 | stmhal: Make LED object print LED(x) for consistency with constructor. | Damien George | |
| 2015-04-11 | py: Combine load_attr and store_attr type methods into one (attr). | Damien George | |
| This simplifies the API for objects and reduces code size (by around 400 bytes on Thumb2, and around 2k on x86). Performance impact was measured with Pystone score, but change was barely noticeable. | |||
| 2015-04-11 | lib/fatfs: Space optimise the ff_wtoupper function. | Damien George | |
| Saves 768 bytes code space on Thumb2 archs. | |||
| 2015-04-11 | cc3200: Enable TRIPLE_TUPLE_ASSIGN and UBINASCII. | Daniel Campora | |
| 2015-04-11 | cc3200: Enable long filename support in FatFS. | Daniel Campora | |
| This has implications all over the place. I have to admit that you can instantly see that usability improves, but it costs 3K. At the same time I took the oportunity to rename the '/SFLASH' drive to '/flash' which improves compatibility with the pyboard. | |||
| 2015-04-10 | input.c: Fix line-endings after recent changes. | Paul Sokolovsky | |
| 2015-04-09 | py: Provide typedefs for function types instead of writing them inline. | Damien George | |
| 2015-04-09 | py: Adjust some spaces in code style/format, purely for consistency. | Damien George | |
| 2015-04-09 | unix: Automatically fix incompatible readline build options. | stijn | |
| 2015-04-09 | py: Use a dummy type for referring to extern structs | stijn | |
| Fixes msvc linker warnings about mismatching sizes between the mp_obj_fdfile_t struct defined in file.c and the mp_uint_t declarations found in modsys.c and modbuiltins.c | |||
| 2015-04-09 | py: Fix msvc warning '*/ found outside of comment' | stijn | |
| Also prevents some of the weaker syntax parsers out there treating the whole '*/*const*/' part as a comment | |||
| 2015-04-09 | docs: Document pyb.main function to set main script. | Damien George | |
| 2015-04-07 | py: Implement full func arg passing for native emitter. | Damien George | |
| This patch gets full function argument passing working with native emitter. Includes named args, keyword args, default args, var args and var keyword args. Fully Python compliant. It reuses the bytecode mp_setup_code_state function to do all the hard work. This function is slightly adjusted to accommodate native calls, and the native emitter is forced a bit to emit similar prelude and code-info as bytecode. | |||
| 2015-04-07 | cc3200: Enable the stdio UART for the LaunchXL only. | Daniel Campora | |
| 2015-04-07 | cc3200: Enable pull-ups for the STDIO UART pins. | Daniel Campora | |
| 2015-04-07 | py: Simplify bytecode prelude when encoding closed over variables. | Damien George | |
| 2015-04-06 | py: Implement calling functions with *args in native emitter. | Damien George | |
| 2015-04-07 | py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports. | Paul Sokolovsky | |
| 2015-04-06 | py: Add MICROPY_PY_BUILTINS_ENUMERATE, disable for minimal ports. | Paul Sokolovsky | |
| 2015-04-05 | cc3200: Fix typo after previous refactor. | Paul Sokolovsky | |
| 2015-04-05 | teensy: Fix function prototype. | Paul Sokolovsky | |
| 2015-04-05 | string0.c: Move from stmhal/ to lib/. | Paul Sokolovsky | |
| 2015-04-05 | tests: Add some more tests to improve code coverage of corner cases. | Damien George | |
| 2015-04-04 | tests: Add tests to exercise lexer; and some more complex number tests. | Damien George | |
| 2015-04-04 | tests: Add missing tests for builtins, and many other things. | Damien George | |
| 2015-04-04 | stmhal, qemu-arm: Enable sys.maxsize attribute. | Damien George | |
| 2015-04-04 | cc3200: Add WLAN AP specific settings for each board. | Daniel Campora | |
