summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-04-10input.c: Fix line-endings after recent changes.Paul Sokolovsky
2015-04-09py: Provide typedefs for function types instead of writing them inline.Damien George
2015-04-09py: Adjust some spaces in code style/format, purely for consistency.Damien George
2015-04-09unix: Automatically fix incompatible readline build options.stijn
2015-04-09py: Use a dummy type for referring to extern structsstijn
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-09py: 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-09docs: Document pyb.main function to set main script.Damien George
2015-04-07py: 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-07cc3200: Enable the stdio UART for the LaunchXL only.Daniel Campora
2015-04-07cc3200: Enable pull-ups for the STDIO UART pins.Daniel Campora
2015-04-07py: Simplify bytecode prelude when encoding closed over variables.Damien George
2015-04-06py: Implement calling functions with *args in native emitter.Damien George
2015-04-07py: Add MICROPY_PY_BUILTINS_REVERSED, disable for minimal ports.Paul Sokolovsky
2015-04-06py: Add MICROPY_PY_BUILTINS_ENUMERATE, disable for minimal ports.Paul Sokolovsky
2015-04-05cc3200: Fix typo after previous refactor.Paul Sokolovsky
2015-04-05teensy: Fix function prototype.Paul Sokolovsky
2015-04-05string0.c: Move from stmhal/ to lib/.Paul Sokolovsky
2015-04-05tests: Add some more tests to improve code coverage of corner cases.Damien George
2015-04-04tests: Add tests to exercise lexer; and some more complex number tests.Damien George
2015-04-04tests: Add missing tests for builtins, and many other things.Damien George
2015-04-04stmhal, qemu-arm: Enable sys.maxsize attribute.Damien George
2015-04-04cc3200: Add WLAN AP specific settings for each board.Daniel Campora
2015-04-04py: Implement delete for property and descriptors.Damien George
Without this patch deleting a property, or class with descriptor, will call the setter with a NULL value and lead to a crash.
2015-04-04py: In str unicode, str_subscr will never be passed a bytes object.Damien George
2015-04-04docs: Bump version to 1.4.1.v1.4.1Damien George
2015-04-04stmhal: Enable new str.splitlines() method.Damien George
2015-04-04py: Some trivial cosmetic changes, for code style consistency.Damien George
2015-04-04objstr: Fix bugs introduced by inability to have shadow variables.Paul Sokolovsky
Warnings lead to programming errors - as expected.
2015-04-04objstr: Avoid variable shadowing.Paul Sokolovsky
2015-04-04tests: Add test for str.splitlines().Paul Sokolovsky
2015-04-04objstr: Add .splitlines() method.Paul Sokolovsky
splitlines() occurs ~179 times in CPython3 standard library, so was deemed worthy to implement. The method has subtle semantic differences from just .split("\n"). It is also defined as working for any end-of-line combination, but this is currently not implemented - it works only with LF line-endings (which should be OK for text strings on any platforms, but not OK for bytes).
2015-04-03tests: Add specific test for closures in native emitter.Damien George
2015-04-03py: Fix bug in native emitter when closing over an argument.Damien George
2015-04-03py: Get native emitter working again with x86 (now supports closures).Damien George
2015-04-03py: Implement closures in native code generator.Damien George
Currently supports only x64 and Thumb2 archs.
2015-04-03py: Implement (non-compliant) support for delete_fast in native emitter.Damien George
This implementation is smaller (in code size) than #1024.
2015-04-03README: Add note about pic16bit port.Damien George
2015-04-03pic16bit: Initial version of port to 16-bit PIC family.Damien George
Reference MCU is dsPIC33J256GP506 with 256k ROM and 8k RAM, on the dsPIC DSC Starter Kit board. The REPL works, GC works, pyb module has LED and Switch objects. It passes some tests from the test suite (most it can't run because it doesn't have the Python features enabled).
2015-04-03py: Make heap printing compatible with 16-bit word size.Damien George
2015-04-03py: Allow MPZ_DIG_SIZE to be optionally configured by a port.Damien George
2015-04-03py: Allow configurable object representation, with 2 different options.Damien George
2015-04-02py: Add finer configuration of static funcs when not in stackless mode.Damien George
Also rename call_args_t to mp_call_args_t.
2015-04-03unix: Add stackless config settings, for easy access.Paul Sokolovsky
2015-04-03vm: Support strict stackless mode, with proper exception reporting.Paul Sokolovsky
I.e. in this mode, C stack will never be used to call a Python function, but if there's no free heap for a call, it will be reported as RuntimeError (as expected), not MemoryError.
2015-04-03vm: Implement stackless for CALL_FUNCTION_VAR_KW & CALL_METHOD_VAR_KW.Paul Sokolovsky
2015-04-03runtime: Split mp_call_prepare_args_n_kw_var() from mp_call_method_n_kw_var().Paul Sokolovsky
Allow for reuse for stackless design, where preparing args is separate from calling.
2015-04-03vm: Stackless support for MP_BC_CALL_METHOD.Paul Sokolovsky
2015-04-03vm: If there's no heap to call function in stackless manner, call via C stack.Paul Sokolovsky
2015-04-03vm: Initial support for calling bytecode functions w/o C stack ("stackless").Paul Sokolovsky
2015-04-02makeqstrdata.py: Add support for strings with backslash escapes.Paul Sokolovsky