aboutsummaryrefslogtreecommitdiffhomepage
path: root/bstr
Commit message (Collapse)AuthorAge
* bstr: add function for splitting UTF-8Gravatar wm42014-01-15
|
* bstr: check for overflow in buffer allocationGravatar wm42014-01-03
| | | | | We're being a little bit lazy here and limit the max allocation to SIZE_MAX/2, which is practically infinite anyway on 64 bit systems.
* bstr: use mp_append_utf8_bstr()Gravatar wm42013-12-30
| | | | Drop usage of the ugly PUT_UTF8() macro.
* bstr: add bstr_xappend functionGravatar wm42013-12-30
| | | | | | Apparently this can be really useful when being paranoid and trying to avoid too much malloc/realloc, since it can be used to appending into a buffer (with transparent realloc only if the buffer is too small).
* Split mpvcore/ into common/, misc/, bstr/Gravatar wm42013-12-17