aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-17Merge pull request #307 from iabdalkader/masterDamien George
Fix usart_obj_tx_char
2014-02-17Fix usart_obj_tx_charmux
2014-02-17Merge pull request #303 from dhylands/fix-netduino-discDamien George
Fix build for netduino and stm32f4disc
2014-02-17Merge pull request #302 from pfalcon/readme-updateDamien George
Update README to current state of affairs.
2014-02-16Fix build for netduino and stm32f4discDave Hylands
2014-02-16stm: Factor out GPIO code to its own file. Add functions to set GPIO mode.Damien George
GPIO functions are crude, and need to be replaced with better ones!
2014-02-17Update README to current state of affairs.Paul Sokolovsky
1. Invite x86 (32-bit) users. 2. Update interpreter name. 3. Update dependency install instructions.
2014-02-16stm: Rename mma -> accel.Damien George
2014-02-16stm: Put REPL functions in own file; add raw REPL mode.Damien George
Raw REPL mode is activated by CTRL-A, and allows you to more easily communicate with the pyboard over the serial channel. In particular, automated communication using, eg, pyserial on the PC side.
2014-02-16Merge pull request #301 from pfalcon/full-kwargsDamien George
Support passing positional args as keywords to bytecode functions.
2014-02-16Support passing positional args as keywords to bytecode functions.Paul Sokolovsky
For this, record argument names along with each bytecode function. The code still includes extensive debug logging support so far.
2014-02-16Make DEBUG_printf() a proper function, implementation is port-dependent.Paul Sokolovsky
In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null).
2014-02-16Rename fun-kwargs.py -> fun-kwvarargs.py to free up slot for simple kw test.Paul Sokolovsky
2014-02-16stm: Only define __packed if not already defined.Damien George
Addresses issue #299.
2014-02-16Propagate scope flags refactor to emitcpy.c.Paul Sokolovsky
2014-02-16builtinimport: Get the basic (and only basic) package imports work.Paul Sokolovsky
2014-02-16builtinimport.c: Recognize "namespace package" and error out as unsupported.Paul Sokolovsky
See http://www.python.org/dev/peps/pep-0420/#specification for spec. See https://github.com/micropython/micropython/issues/298 for the discussion of the implemented behavior.
2014-02-16py: Pass keyword arguments to byte code.Damien George
2014-02-16py: Implement *vargs support.Damien George
Addresses issue #295.
2014-02-15py: Revent some long int configuration.Damien George
2014-02-15Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-02-15py: VM never throws an exception, instead returns a status and value.Damien George
Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc.
2014-02-16objexcept: Fix thinko with args to mp_obj_new_list().Paul Sokolovsky
First arg is not alloc size, but real size, so if used as mp_obj_new_list(3, NULL), need to store items, not append.
2014-02-15Small change to configuration of long int.Damien George
2014-02-15py: Improve exception bases, reduces ROM usage.Damien George
Thanks to @pfalcon for the tip!
2014-02-15py: Pass all scope flags through to runtime.Damien George
2014-02-15Implement proper exception type hierarchy.Damien George
Each built-in exception is now a type, with base type BaseException. C exceptions are created by passing a pointer to the exception type to make an instance of. When raising an exception from the VM, an instance is created automatically if an exception type is raised (as opposed to an exception instance). Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper. Handling of parse error changed to match new exceptions. mp_const_type renamed to mp_type_type for consistency.
2014-02-15Change mp_obj_type_t.name from const char * to qstr.Damien George
Ultimately all static strings should be qstr. This entry in the type structure is only used for printing error messages (to tell the type of the bad argument), and printing objects that don't supply a .print method.
2014-02-15Add testcase for failing namespace switch throwing exception from a module.Paul Sokolovsky
Issue #290. This currently fails, to draw attention to the issue.
2014-02-14Merge pull request #291 from GordonMcGregor/osx_buildDamien George
OS X compatible -map syntax for LDFLAGS
2014-02-14py: Fix IMPORT_STAR, needs to pop the stack.Damien George
2014-02-14Merge pull request #288 from pfalcon/port-builtinsDamien George
Allow ports to define statically builtin functions.
2014-02-14Merge pull request #282 from pfalcon/from-starDamien George
Implement "from mod import *"
2014-02-14OS X compatible -map syntax for LDFLAGSGordon McGregor
2014-02-15mp_binary_get_val(): Fix value type.Paul Sokolovsky
2014-02-15objexcept: Fix a case of initialized object field.Paul Sokolovsky
2014-02-14objarray: Refactor to use array accessors from binary.c .Paul Sokolovsky
2014-02-14ffi: Implement ffivar.get()/set() methods.Paul Sokolovsky
Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules.
2014-02-14Allow ports to define statically builtin functions.Paul Sokolovsky
Convert unix open() to such.
2014-02-13stm: If SD card inserted on hard reset, it is the medium for USB MSD.Damien George
2014-02-14Add testcase for "from module import *".Paul Sokolovsky
2014-02-14Add testcase for "from module import sym".Paul Sokolovsky
2014-02-14Implement "from module import *" construct.Paul Sokolovsky
2014-02-12Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-02-12Remove mp_obj_new_exception_msg_1_arg and _2_arg.Damien George
2014-02-13Implement full arg handling for exec().Paul Sokolovsky
2014-02-12stm: Copy COPT style from unix port.Damien George
2014-02-12Merge pull request #279 from pfalcon/make-coptDamien George
unix Makefile: Split off optimization options to COPT variable.
2014-02-12unix Makefile: Split off optimization options to COPT variable.Paul Sokolovsky
To allow easily try different optimization and configuration options without patching any files.
2014-02-12Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky