| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-04-29 | stmhal: Automatically re-enable IRQs on the USB REPL. | Dave Hylands | |
| This allows errors to be seen and prevents hanging the board from doing: pyb.disable_irq() | |||
| 2015-04-29 | py/repl.c: Fix shadowing of local variable "i". | Damien George | |
| 2015-04-29 | py, readline: Add tab autocompletion for REPL. | Damien George | |
| Can complete names in the global namespace, as well as a chain of attributes, eg pyb.Pin.board.<tab> will give a list of all board pins. Costs 700 bytes ROM on Thumb2 arch, but greatly increases usability of REPL prompt. | |||
| 2015-04-29 | mp-readline: Save "prompt" string in readline state. | Damien George | |
| 2015-04-29 | py: Fix attrtuple array length in print and creation. | Damien George | |
| 2015-04-28 | py: Replace py-version.sh with makeversionhdr.py, written in Python. | Damien George | |
| Also rename py-version.h to mpversion.h for consistency with mpconfig.h. | |||
| 2015-04-29 | cc3200: Make WLAN scan results a list of attrtupple. | Daniel Campora | |
| Each result is displayed like this: ssid='MySSID', bssid=b'\xc0J\x00z.\xcc', security=2, channel=None, rssi=-74 The CC3200 doesn't provide channel info, that why is 'None'. | |||
| 2015-04-29 | py: In attrtuple use the correct length value and index for 'fields'. | Daniel Campora | |
| 2015-04-29 | cc3200: Remove unneeded -lgcc in Makefile. | Daniel Campora | |
| 2015-04-29 | cc3200: Implement os.uname() to get details of the OS and hardware. | Daniel Campora | |
| 2015-04-29 | cc3200: Move telnet_process_credential with the other private functions. | Daniel Campora | |
| Just for consistency. | |||
| 2015-04-28 | unix/modffi: Support passing float/double args. | Damien George | |
| 2015-04-28 | cc3200: Improve telnet_parse_input() in case of an incomplete option. | Daniel Campora | |
| 2015-04-28 | cc3200: Make telnet login procedure work with Tera Term. | Matt Anderson | |
| This is actually a workaround Ter Term's issue of not obeying to the telnet options that the server is sending. Therefore, we must buffer chars until either a '\r' or the max length of the username/password is received. | |||
| 2015-04-28 | lib/libc: Add memchr. We already have strchr, but memchr is useful too. | Daniel Campora | |
| 2015-04-28 | cc3200: Add delays to allow the servers to start and stop properly. | Daniel Campora | |
| 2015-04-28 | cc3200: Select NIC when the socket is created. | Daniel Campora | |
| This makes sense since only WLAN is supported here. | |||
| 2015-04-28 | stmhal: Actually disable unhandled timer interrupts. | Dave Hylands | |
| 2015-04-25 | py: Fix handling of negative numbers in struct.pack of q/Q. | Damien George | |
| 2015-04-26 | vm: On exiting except block, clear sys.exc_info() value. | Paul Sokolovsky | |
| This doesn't handle case fo enclosed except blocks, but once again, sys.exc_info() support is a workaround for software which uses it instead of properly catching exceptions via variable in except clause. | |||
| 2015-04-25 | py: Implement power op for long-long implementation of bignum. | Damien George | |
| 2015-04-25 | py: Support conversion of bignum to bytes. | Damien George | |
| This gets int.to_bytes working for bignum, and also struct.pack with 'q' and 'Q' args on 32-bit machines. Addresses issue #1155. | |||
| 2015-04-25 | cc3200: Correct MAKE_SOCKADDR and UNPACK_SOCKADDR byte order. | Daniel Campora | |
| 2015-04-25 | modsys: Add basic sys.exc_info() implementation. | Paul Sokolovsky | |
| The implementation is very basic and non-compliant and provided solely for CPython compatibility. The function itself is bad Python2 heritage, its usage is discouraged. | |||
| 2015-04-25 | objfun: Fix to stackless mode after recent refactor. | Paul Sokolovsky | |
| 2015-04-24 | py: Modify bytecode "with" behaviour so it doesn't use any heap. | Damien George | |
| Before this patch a "with" block needed to create a bound method object on the heap for the __exit__ call. Now it doesn't because we use load_method instead of load_attr, and save the method+self on the stack. | |||
| 2015-04-23 | py: Add optional code to check bytes constructor values are in range. | Damien George | |
| Compiled in only if MICROPY_CPYTHON_COMPAT is set. Addresses issue #1093. | |||
| 2015-04-22 | stmhal: Reset the timer counter to zero after changing the auto reload. | Dave Hylands | |
| Because if the counter is above the new value of the auto-reload register then it may be a long time until the timer wraps around. | |||
| 2015-04-22 | tests: Add more tests for viper, including tests for ViperTypeError's. | Damien George | |
| 2015-04-22 | py/objint_mpz.c: Make int_from_uint actually return uint. | Damien George | |
| 2015-04-22 | py/mpz.c: Fix bug with shl not truncating zero digits correctly. | Damien George | |
| 2015-04-22 | py/emitnative.c: Fix stack adjustment when erroring on binary op. | Damien George | |
| 2015-04-22 | cc3200: Add WiPy specific information to README.md | Daniel Campora | |
| 2015-04-22 | tests: Add tests for attrtuple, and for more corner cases. | Damien George | |
| 2015-04-22 | py: Fix printing of "inf" and "nan" floating point values. | Damien George | |
| 2015-04-22 | msvc: Update genhdr script to emit MicroPython version numbers | stijn | |
| 2015-04-21 | docs: Document pyb.stop, pyb.standby and pyb.RTC.wakeup. | Damien George | |
| 2015-04-21 | py: Clean up some bits and pieces in parser, grammar. | Damien George | |
| 2015-04-21 | py: Simplify grammar for stmt rule (this is also how CPython has it). | Damien George | |
| 2015-04-21 | stmhal: Implement os.uname() to get details of OS and hardware. | Damien George | |
| 2015-04-21 | py: Add sys.implementation, containing uPy name and version number. | Damien George | |
| Uses attrtuple if it's enabled, otherwise just a normal tuple. | |||
| 2015-04-21 | py: Add attrtuple object, for space-efficient tuples with attr access. | Damien George | |
| If you need the functionality of a namedtuple but will only make 1 or a few instances, then use an attrtuple instead. | |||
| 2015-04-21 | tools: Add STM32F4DISC and ESPRUINO_PICO to stmhal build script. | Damien George | |
| 2015-04-21 | docs: Bump version to 1.4.2. | Damien George | |
| 2015-04-21 | acks: Add 2 names to ACKNOWLEDGEMENTS file. | Damien George | |
| 2015-04-20 | py: Make viper codegen raise proper exception (ViperTypeError) on error. | Damien George | |
| This fixes a long standing problem that viper code generation gave terrible error messages, and actually no errors on pyboard where assertions are disabled. Now all compile-time errors are raised as proper Python exceptions, and are of type ViperTypeError. Addresses issue #940. | |||
| 2015-04-19 | tools/pyboard.py: Make it 8-bit clean, so it works with unicode chars. | Damien George | |
| Addresses issue #1190. | |||
| 2015-04-19 | stmhal/pyexec.c: Make raw REPL mode 8-bit clean. | Damien George | |
| 2015-04-19 | cc3200: Fix bootloader and modpyb after printf overhaul. | Daniel Campora | |
| The bootloader needs string0.c because of memset, memcpy and others, without string0.c it magically links, but calling any of those functions results in a hard fault. In debug mode, modpyb needs printf, and including stdio.h leads to conflicts due to the redefinitions made in the simplelink drivers. | |||
| 2015-04-19 | qemu-arm: Disable inline asm tests that use floating point. | Damien George | |
