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