Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | common: change mp_snprintf_append semantics | wm4 | 2014-05-05 | 1 | -4/+11 |
| | | | | | | | | Make it more suitable for chaining. This means a function formatting a value to a string using a static buffer can work exactly like mp_snprintf_append itself. Also rename it to mp_snprintf_cat, because that's shorter. | ||||
* | common: add mp_snprintf_append() utility function | wm4 | 2014-04-29 | 1 | -0/+19 |
| | |||||
* | common: drop mp_append_utf8_buffer() | wm4 | 2013-12-30 | 1 | -11/+2 |
| | |||||
* | common: simplify and optimize string escape parsing | wm4 | 2013-12-30 | 1 | -4/+69 |
| | | | | | | | | | | | This code is shared between input.conf parser and option parser. Until now, the performance didn't really matter. But I want to use this code for JSON parsing too, and since JSON will have to be parsed a lot, it should probably try to avoid realloc'ing too much. This commit moves parsing of C-style escaped strings into a common function, and allows using it in a way realloc can be completely avoided, if the already allocated buffer is large enough. | ||||
* | Split mpvcore/ into common/, misc/, bstr/ | wm4 | 2013-12-17 | 1 | -0/+163 |