| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2014-03-31 | py: Fix vstr_init for case that alloc = 0. | Damien George | |
| 2014-03-17 | py: Clean up includes. | xbe | |
| Remove unnecessary includes. Add includes that improve portability. | |||
| 2014-03-15 | 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-02-12 | Replace global "static" -> "STATIC", to allow "analysis builds". Part 2. | Paul Sokolovsky | |
| 2014-02-06 | Implement fixed buffer vstrs; use them for import path. | Damien George | |
| 2014-01-22 | Fix 1 warning and 1 bug. | Damien George | |
| 2014-01-13 | Add "buffer management" and "shrink" API calls to vstr. | Paul Sokolovsky | |
| 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()). | |||
| 2014-01-03 | Basic implementation of import. | Damien George | |
| import works for simple cases. Still work to do on finding the right script, and setting globals/locals correctly when running an imported function. | |||
| 2013-12-29 | Change memory allocation API to require size for free and realloc. | Damien | |
| 2013-11-03 | Add simple var-arg functions; add simple string.format. | Damien | |
| 2013-10-23 | Fix func decls with no arguments: () -> (void). | Damien | |
| 2013-10-20 | Add vstr and its functions. | Damien | |
