Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Add further checks for failed malloc in lexer init functions. | Damien George | 2014-10-09 |
| | |||
* | py: Change lexer stream API to return bytes not chars. | Damien George | 2014-07-30 |
| | | | | Lexer is now 8-bit clean inside strings. | ||
* | py: Include mpconfig.h before all other includes. | Paul Sokolovsky | 2014-06-21 |
| | | | | | | It defines types used by all other headers. Fixes #691. | ||
* | Tidy up some configuration options. | Damien George | 2014-05-21 |
| | | | | | | | | | | MP_ALLOC_* -> MICROPY_ALLOC_* MICROPY_PATH_MAX -> MICROPY_ALLOC_PATH_MAX MICROPY_ENABLE_REPL_HELPERS -> MICROPY_HELPER_REPL MICROPY_ENABLE_LEXER_UNIX -> MICROPY_HELPER_LEXER_UNIX MICROPY_EXTRA_* -> MICROPY_PORT_* See issue #35. | ||
* | Add license header to (almost) all files. | Damien George | 2014-05-03 |
| | | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | ||
* | py: Fix lexerunix, where not all data may be read from a file. | Damien George | 2014-04-28 |
| | | | | Addresses issue #526. | ||
* | py: Adjust #includes in lexerunix.c. | Damien George | 2014-04-13 |
| | |||
* | py: don't look for any additional headers when lexerunix is disabled | Ilya Dmitrichenko | 2014-04-12 |
| | |||
* | Make lexerunix not allocate RAM for the entire script. | Damien George | 2014-04-10 |
| | | | | Now reads in small chunks at a time. | ||
* | py: Clean up includes. | xbe | 2014-03-17 |
| | | | | Remove unnecessary includes. Add includes that improve portability. | ||
* | Remove older import helpers, no longer used. | Paul Sokolovsky | 2014-02-05 |
| | |||
* | Implement support for sys.path when loading modules. | Paul Sokolovsky | 2014-02-05 |
| | | | | | | | | sys.path is not initialized by rt_init(), that's left for platform-specific startup code. (For example, bare metal port may have some hardcoded defaults, and let user change sys.path directly; while port for OS with environment feature can take path from environment). If it's not explicitly initialized, modules will be imported only from a current directory. | ||
* | Implement mp_parse_node_free; print properly repr(string). | Damien George | 2014-01-25 |
| | |||
* | Revamp qstrs: they now include length and hash. | Damien George | 2014-01-21 |
| | | | | | Can now have null bytes in strings. Can define ROM qstrs per port using qstrdefsport.h | ||
* | Move lexerstr to main py directory (everyone uses it). | Damien George | 2014-01-08 |
| | |||
* | Factor and simplify Makefile's and mpconfig, part 2. | Damien George | 2014-01-07 |
| | |||
* | Basic implementation of import. | Damien George | 2014-01-03 |
| | | | | | | import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function. | ||
* | Change memory allocation API to require size for free and realloc. | Damien | 2013-12-29 |
| | |||
* | Handle return value of read() call. | Paul Sokolovsky | 2013-12-29 |
| | |||
* | Add unix-cpy, used to test Micro Python byte code against CPython. | Damien | 2013-12-29 |