summaryrefslogtreecommitdiffstatshomepage
path: root/py/vstr.c
Commit message (Expand)AuthorAge
* all: Reformat C and Python source code with tools/codeformat.py.Damien George2020-02-28
* various: Add and update my copyright line based on git history.Paul Sokolovsky2019-05-17
* py/vstr: Raise a RuntimeError if fixed vstr buffer overflows.Damien George2017-09-21
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
* py,extmod: Some casts and minor refactors to quiet compiler warnings.Tom Collins2017-07-07
* py/vstr: Combine vstr_new_size with vstr_new since they are rarely used.Damien George2016-10-14
* py/vstr: Remove vstr.had_error flag and inline basic vstr functions.Damien George2016-09-19
* py/vstr: Change allocation policy, +16 to requested size, instead of *2.Paul Sokolovsky2016-05-10
* py/vstr: vstr_null_terminated_str(): Extend string by at most one byte.Paul Sokolovsky2016-05-09
* py: Prevent many extra vstr allocations.Dave Hylands2015-07-06
* py/vstr.c: Allow vstr_printf to print correctly to a fixed buffer.Damien George2015-04-18
* py: Overhaul and simplify printf/pfenv mechanism.Damien George2015-04-16
* py: Change vstr_null_terminate -> vstr_null_terminated_str, returns str.Damien George2015-01-29
* py: Change vstr so that it doesn't null terminate buffer by default.Damien George2015-01-28
* py: Add comments for vstr_init and mp_obj_new_str.Damien George2015-01-21
* py: Remove mp_obj_str_builder and use vstr instead.Damien George2015-01-21
* py: Add mp_obj_new_str_from_vstr, and use it where relevant.Damien George2015-01-21
* py, unix: Allow to compile with -Wsign-compare.Damien George2015-01-16
* py: Move to guarded includes, everywhere in py/ core.Damien George2015-01-01
* py: Make functions static where appropriate.Damien George2014-12-10
* py: Convert [u]int to mp_[u]int_t where appropriate.Damien George2014-10-03
* py: For malloc and vstr functions, use size_t exclusively for int type.Damien George2014-09-25
* vstr: Restore bytestr compatibility.Paul Sokolovsky2014-06-27
* lexer, vstr: Add unicode support.Chris Angelico2014-06-27
* py: Include mpconfig.h before all other includes.Paul Sokolovsky2014-06-21
* Add license header to (almost) all files.Damien George2014-05-03
* py: Fix vstr_init for case that alloc = 0.Damien George2014-03-31
* py: Clean up includes.xbe2014-03-17
* py: Fix bug in vstr_ins_blank_bytes.Damien George2014-03-15
* Add vstr_ins and vstr_cut_out; improve stmhal readline.Damien George2014-03-15
* Replace global "static" -> "STATIC", to allow "analysis builds". Part 2.Paul Sokolovsky2014-02-12
* Implement fixed buffer vstrs; use them for import path.Damien George2014-02-06
* Fix 1 warning and 1 bug.Damien George2014-01-22
* Add "buffer management" and "shrink" API calls to vstr.Paul Sokolovsky2014-01-13
* Basic implementation of import.Damien George2014-01-03
* Change memory allocation API to require size for free and realloc.Damien2013-12-29
* Add simple var-arg functions; add simple string.format.Damien2013-11-03
* Fix func decls with no arguments: () -> (void).Damien2013-10-23
* Add vstr and its functions.Damien2013-10-20