aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-29py: Fix bug with LOAD_METHOD; fix int->machine_int_t for small int.Damien George
LOAD_METHOD bug was: emitbc did not correctly calculate the amount of stack usage for a LOAD_METHOD operation. small int bug was: int was being used to pass small ints, when it should have been machine_int_t.
2014-01-29py: Msg in exception is no longer interned.Damien George
2014-01-29Add qstr_info() function and bindings for unix port.Damien George
2014-01-29Fix unused function warning in mainmux
* Add SD card test to fix warning
2014-01-29Remove redundant include in file.cmux
* Remove include mpconfigport.h from file.c
2014-01-29Move HEAP_END and RAM_END to linker scriptmux
* Issue #232
2014-01-28stm: Increase timeout for RTC LSE startup; use backup regs.Damien George
2014-01-28py: Implement 'not' in compiler, and improve rt_is_true.Damien George
2014-01-28Rename array test to array1 so it doesn't clash with array module.Damien George
On my machine, 'import array' in CPython tries to load the array test.
2014-01-28unix: Fix compile warnings for ffi module on 64-bit machine.Damien George
2014-01-28Merge pull request #235 from pfalcon/modffiDamien George
unix: Initial FFI module implementation
2014-01-29Add FFI module example.Paul Sokolovsky
2014-01-29unix: Initial implementation of FFI module.Paul Sokolovsky
Foreign Function Interface module allows to load native dynamic libraries, call functions and access variables in them. This makes possible to write interface modules in pure Python. This module provides thin wrapper around libffi. ctypes compatibility might be possible to implement on top of this module (though ctypes allow to call functions without prototypes, which is not supported by libffi (i.e. implementation would be inefficient))).
2014-01-29mp_obj_new_bytearray_by_ref(): Allow to create array by reference.Paul Sokolovsky
This is special feature for FFI.
2014-01-28Fixed problems with nlx86.S on LinuxMarkus Siemens
Fixed '#ifdef's so Linux would compile again and added .scl and .type for Windows.
2014-01-28Added Windows port (see #233)Markus Siemens
2014-01-28bytearray: Print objects properly.Paul Sokolovsky
2014-01-28Factor out quoted string print function for reuse (mp_str_print_quoted()).Paul Sokolovsky
2014-01-28Add basic array.array test.Paul Sokolovsky
2014-01-28array: CPython prints empty arrays inconsistently (only typecode, no []).Paul Sokolovsky
2014-01-28Don't pre-import array module.Paul Sokolovsky
2014-01-28array.array: Allow to create empty arrays.Paul Sokolovsky
2014-01-27stm: Remove unneccesary include of mpconfigport (already in mpconfig).Damien George
2014-01-27Merge pull request #231 from iabdalkader/masterDamien George
Fix implicit double conversion warning
2014-01-27Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-27py: Add unary op not for NoneType, bool, tuple, list, dict; fix for int.Damien George
2014-01-27Add LCD check to stdout_print_strnmux
2014-01-27long int: Implement more operations.Paul Sokolovsky
2014-01-27Add missing LCD driver definitions for STM32F4DISCmux
* Add missing LCD definitions for STM32F4DISC target, current code breaks build.
2014-01-27Fix implicit double conversion warningmux
2014-01-27list.pop(): Don't allow ->alloc drop to zero, which causes unexpected behavior.Paul Sokolovsky
2014-01-27gen.send(): Throw StopIteration. Also, explicitly shutdown finished gen.Paul Sokolovsky
Otherwise, some generator statements still may be spuriously executed on subsequent calls to next()/send().
2014-01-26Merge pull request #228 from pfalcon/gen-sendDamien George
Implement send() method for generators.
2014-01-26Implement send() method for generators.Paul Sokolovsky
2014-01-26Change -Og to -O0 in unix-cpy/Makefile; cast to small int in socket.c.Damien George
2014-01-26Merge pull request #226 from pfalcon/make-debugDamien George
unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.
2014-01-26Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-01-26stm: USB host mode working! Restructure stm library directories.Damien George
2014-01-26sock-server.py: Use SO_REUSEADDR to avoid errors on quick restart.Paul Sokolovsky
2014-01-26unix socket: Add setsockopt() method.Paul Sokolovsky
2014-01-26Functions of fixed number of args are special-cased only for 3 or less args.Paul Sokolovsky
2014-01-26Add MP_OBJ_IS_INT(), for symmetry with MP_OBJ_IS_STR().Paul Sokolovsky
2014-01-26unix socket: Add few more socket constants.Paul Sokolovsky
2014-01-26unix socket: Store module constants in data structure.Paul Sokolovsky
-147 bytes on x86.
2014-01-25unix Makefile: -Og doesn't work (at least) with gcc 4.6 below.Paul Sokolovsky
Also, don't try to force debug info format, use native.
2014-01-25Merge pull request #225 from dhylands/fix-make-depDamien George
Fixed dependency problem for qstrdefs.generated.h
2014-01-25Fixed dependency problem for qstrdefs.generated.hDave Hylands
The problem manifests itself in make 4.0 I also fixed the LINK message when linking the final executable for unix and unix-cpy.
2014-01-25stm: Improved ADC module; add BOARD_NAME config value.Damien George
2014-01-25Implement mp_parse_node_free; print properly repr(string).Damien George
2014-01-25Merge branch 'free-parse-tree' of github.com:pfalcon/micropython into ↵Damien George
pfalcon-free-parse-tree