Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |