Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | objint_longlong: Don't assert on invalid syntax, raise SyntaxError instead. | Paul Sokolovsky | 2014-02-18 |
| | |||
* | stm: Initialize sys.path with ["0:/", "0:/src", "0:/lib"]. | Paul Sokolovsky | 2014-02-18 |
| | | | | | This is compatible with what search path was before sys.path refactor, with addition of module library path ("0:/lib"). | ||
* | Support passing positional args as keywords to bytecode functions. | Paul Sokolovsky | 2014-02-16 |
| | | | | | For this, record argument names along with each bytecode function. The code still includes extensive debug logging support so far. | ||
* | Make DEBUG_printf() a proper function, implementation is port-dependent. | Paul Sokolovsky | 2014-02-16 |
| | | | | | In particular, unix outputs to stderr, to allow to run testsuite against micropython built with debug output (by redirecting stderr to /dev/null). | ||
* | Propagate scope flags refactor to emitcpy.c. | Paul Sokolovsky | 2014-02-16 |
| | |||
* | builtinimport: Get the basic (and only basic) package imports work. | Paul Sokolovsky | 2014-02-16 |
| | |||
* | builtinimport.c: Recognize "namespace package" and error out as unsupported. | Paul Sokolovsky | 2014-02-16 |
| | | | | | | 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. | ||
* | py: Pass keyword arguments to byte code. | Damien George | 2014-02-16 |
| | |||
* | py: Implement *vargs support. | Damien George | 2014-02-16 |
| | | | | Addresses issue #295. | ||
* | py: Revent some long int configuration. | Damien George | 2014-02-15 |
| | |||
* | py: VM never throws an exception, instead returns a status and value. | Damien George | 2014-02-15 |
| | | | | | Addresses issue #290, and hopefully sets up things to allow generators throwing exceptions, etc. | ||
* | Small change to configuration of long int. | Damien George | 2014-02-15 |
| | |||
* | py: Improve exception bases, reduces ROM usage. | Damien George | 2014-02-15 |
| | | | | Thanks to @pfalcon for the tip! | ||
* | py: Pass all scope flags through to runtime. | Damien George | 2014-02-15 |
| | |||
* | Implement proper exception type hierarchy. | Damien George | 2014-02-15 |
| | | | | | | | | | | | | | | 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. | ||
* | Change mp_obj_type_t.name from const char * to qstr. | Damien George | 2014-02-15 |
| | | | | | | 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. | ||
* | py: Fix IMPORT_STAR, needs to pop the stack. | Damien George | 2014-02-14 |
| | |||
* | Merge pull request #288 from pfalcon/port-builtins | Damien George | 2014-02-14 |
|\ | | | | | Allow ports to define statically builtin functions. | ||
| * | Allow ports to define statically builtin functions. | Paul Sokolovsky | 2014-02-14 |
| | | | | | | | | Convert unix open() to such. | ||
* | | Merge pull request #282 from pfalcon/from-star | Damien George | 2014-02-14 |
|\ \ | | | | | | | Implement "from mod import *" | ||
| * | | Implement "from module import *" construct. | Paul Sokolovsky | 2014-02-14 |
| |/ | |||
* | | mp_binary_get_val(): Fix value type. | Paul Sokolovsky | 2014-02-15 |
| | | |||
* | | objexcept: Fix a case of initialized object field. | Paul Sokolovsky | 2014-02-15 |
| | | |||
* | | objarray: Refactor to use array accessors from binary.c . | Paul Sokolovsky | 2014-02-14 |
| | | |||
* | | ffi: Implement ffivar.get()/set() methods. | Paul Sokolovsky | 2014-02-14 |
|/ | | | | | Done by introducing another factored out helper API in binary.c. This API can be reused also by array and struct modules. | ||
* | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-02-12 |
|\ | |||
| * | Implement full arg handling for exec(). | Paul Sokolovsky | 2014-02-13 |
| | | |||
* | | Remove mp_obj_new_exception_msg_1_arg and _2_arg. | Damien George | 2014-02-12 |
|/ | |||
* | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | 2014-02-12 |
| | |||
* | Replace global "static" -> "STATIC", to allow "analysis builds". Part 1. | Paul Sokolovsky | 2014-02-12 |
| | | | | | | | | Some tools do not support local/static symbols (one example is GNU ld map file). Exposing all functions will allow to do detailed size comparisons, etc. Also, added bunch of statics where they were missing, and replaced few identity functions with global mp_identity(). | ||
* | Add prototype for gc_dump_info(). | Paul Sokolovsky | 2014-02-11 |
| | |||
* | More GC debugging improvements. | Paul Sokolovsky | 2014-02-11 |
| | |||
* | Generalize malloc-via-gc-heap support, make it available to unix port. | Paul Sokolovsky | 2014-02-11 |
| | |||
* | objstr: Mark few local symbols as static, cleanup codestyle. | Paul Sokolovsky | 2014-02-11 |
| | | | | Please don't submit patches with tab indentation! | ||
* | gc: Don't segfault if gc_realloc() fails. | Paul Sokolovsky | 2014-02-11 |
| | |||
* | gc: Make debug output configurable, revamp test function. | Paul Sokolovsky | 2014-02-11 |
| | | | | | Test function needs to be called by something else. Test heap size reduced so its dump fits on a screenful of a typical terminal. | ||
* | mp_obj_equal(): Instead of assert(), throw NotImplementedError. | Paul Sokolovsky | 2014-02-11 |
| | | | | With a nice traceback, helps debugging much better. | ||
* | Typo fix in comment. | Paul Sokolovsky | 2014-02-11 |
| | |||
* | Merge pull request #270 from pfalcon/down-with-calloc | Damien George | 2014-02-10 |
|\ | | | | | Get rid of calloc(). | ||
| * | Get rid of calloc(). | Paul Sokolovsky | 2014-02-10 |
| | | | | | | | | | | If there's malloc and memset, then there's no need for calloc, especially if we need to implement it ourselves. | ||
* | | Merge pull request #267 from pfalcon/func-ret-ann | Damien George | 2014-02-10 |
|\ \ | | | | | | | Clean up handling of function return type annotation. | ||
| * | | Clean up handling of function return type annotation. | Paul Sokolovsky | 2014-02-10 |
| | | | |||
* | | | Fix some int casting that failed on 64 bit architecture. | Damien George | 2014-02-10 |
| | | | |||
* | | | Merge branch 'master' of github.com:micropython/micropython | Damien George | 2014-02-10 |
|\ \ \ | | |/ | |/| | |||
| * | | Factor out mp_seq_count_obj() and implement tuple.count(). | Paul Sokolovsky | 2014-02-10 |
| | | | |||
| * | | Implement tuple.index(). | Paul Sokolovsky | 2014-02-10 |
| | | | |||
| * | | Factor out mp_seq_index_obj() function to implement .index() on sequences. | Paul Sokolovsky | 2014-02-10 |
| |/ | |||
| * | Add NotImplementedError. | Paul Sokolovsky | 2014-02-09 |
| | | |||
| * | Implement tuple multiplication. | Paul Sokolovsky | 2014-02-08 |
| | | |||
| * | Implement tuple addition. | Paul Sokolovsky | 2014-02-08 |
| | |