Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | py: Move to guarded includes, everywhere in py/ core. | Damien George | 2015-01-01 |
| | | | | Addresses issue #1022. | ||
* | py: Optimise lexer by exposing lexer type. | Damien George | 2014-12-05 |
| | | | | | | | | | mp_lexer_t type is exposed, mp_token_t type is removed, and simple lexer functions (like checking current token kind) are now inlined. This saves 784 bytes ROM on 32-bit unix, 348 bytes on stmhal, and 460 bytes on bare-arm. It also saves a tiny bit of RAM since mp_lexer_t is a bit smaller. Also will run a bit more efficiently. | ||
* | py: Add further checks for failed malloc in lexer init functions. | Damien George | 2014-10-09 |
| | |||
* | Make lexer fail gracefully when memory can't be allocated. | Dave Hylands | 2014-10-08 |
| | |||
* | py: Change lexer stream API to return bytes not chars. | Damien George | 2014-07-30 |
| | | | | Lexer is now 8-bit clean inside strings. | ||
* | lexer: Convert type (u)int to mp_(u)int_t. | Damien George | 2014-07-03 |
| | |||
* | py: Include mpconfig.h before all other includes. | Paul Sokolovsky | 2014-06-21 |
| | | | | | | It defines types used by all other headers. Fixes #691. | ||
* | 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: Clean up includes. | xbe | 2014-03-17 |
| | | | | Remove unnecessary includes. Add includes that improve portability. | ||
* | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | 2014-02-12 |
| | |||
* | Implement mp_parse_node_free; print properly repr(string). | Damien George | 2014-01-25 |
| | |||
* | lexerstr: Free mp_lexer_str_buf_t structure itself. | Paul Sokolovsky | 2014-01-24 |
| | |||
* | 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 |