Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 vstr_init for case that alloc = 0. | Damien George | 2014-03-31 |
| | |||
* | py: Clean up includes. | xbe | 2014-03-17 |
| | | | | Remove unnecessary includes. Add includes that improve portability. | ||
* | py: Fix bug in vstr_ins_blank_bytes. | Damien George | 2014-03-15 |
| | |||
* | Add vstr_ins and vstr_cut_out; improve stmhal readline. | Damien George | 2014-03-15 |
| | |||
* | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | 2014-02-12 |
| | |||
* | Implement fixed buffer vstrs; use them for import path. | Damien George | 2014-02-06 |
| | |||
* | Fix 1 warning and 1 bug. | Damien George | 2014-01-22 |
| | |||
* | Add "buffer management" and "shrink" API calls to vstr. | Paul Sokolovsky | 2014-01-13 |
| | | | | | | | | | | | | | vstr is initially intended to deal with arbitrary-length strings. By providing a bit lower-level API calls, it will be also useful to deal with arbitrary-length I/O buffers (the difference from strings is that buffers are filled from "outside", via I/O). Another issue, especially aggravated by I/O buffer use, is alloc size vs actual size length. If allocated 1Mb for buffer, but actually read 1 byte, we don't want to keep rest of 1Mb be locked by this I/O result, but rather return it to heap ASAP ("shrink" buffer before passing it to qstr_from_str_take()). | ||
* | 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 |
| | |||
* | Add simple var-arg functions; add simple string.format. | Damien | 2013-11-03 |
| | |||
* | Fix func decls with no arguments: () -> (void). | Damien | 2013-10-23 |
| | |||
* | Add vstr and its functions. | Damien | 2013-10-20 |