Commit Graph

44 Commits (6821260c37a9f1ad8790d5160079c63fedf5f65c)

Author SHA1 Message Date
Daniel Kolesa 6821260c37 separate header/impl for strman 2021-03-23 01:25:47 +01:00
Daniel Kolesa 4588ae2373 separate cs_state, cs_std 2021-03-23 01:11:21 +01:00
Daniel Kolesa 2f3d5ea938 further clean up list parser api 2021-03-20 19:34:51 +01:00
Daniel Kolesa cb926a5750 get rid of ostd requirements inside library entirely 2021-03-20 07:24:25 +01:00
Daniel Kolesa 68669413cc get rid of most remaining ostd usage 2021-03-20 06:52:10 +01:00
Daniel Kolesa 10b2a81cec redo (un)escape_string around output iterators 2021-03-20 06:18:31 +01:00
Daniel Kolesa 320fdbaefd use c++20 std::span 2021-03-20 05:41:25 +01:00
Daniel Kolesa 5648c1a757 use string_view everywhere that returns or takes a string 2021-03-20 04:10:27 +01:00
Daniel Kolesa 2e725771e4 eliminate remaining cs_string 2021-03-19 22:35:39 +01:00
Daniel Kolesa 5ee7e27839 add cs_charbuf (mutable buffer controlled by our allocator)
also use it in a few places
2021-03-19 02:44:29 +01:00
Daniel Kolesa 5a4cccf194 move strref impl to cs_util 2021-03-19 02:28:30 +01:00
Daniel Kolesa b42da1e56f add custom buffer allocation into string manager 2021-03-19 01:00:11 +01:00
Daniel Kolesa 26bcc43578 get rid of tvals_concat in favor of simpler api 2021-03-19 00:31:18 +01:00
Daniel Kolesa 9d0494a9da replace list_parser with a simpler api 2021-03-18 23:53:16 +01:00
Daniel Kolesa 8def7ce85c intern all strings in cs_value 2021-03-17 02:47:34 +01:00
Daniel Kolesa dcae5b30b2 initial implementation of unique/interned string manager 2021-03-16 00:45:09 +01:00
Daniel Kolesa 07666c7564 naming consistency 2018-04-25 01:49:58 +02:00
Daniel Kolesa efdc82324e fix includes 2017-06-20 21:21:39 +02:00
Daniel Kolesa d01349886a remove slice_until 2017-06-15 20:44:09 +02:00
Daniel Kolesa 5b1baafdb3 fixes 2017-04-01 01:06:36 +02:00
Daniel Kolesa 73d1b142d1 fixes 2017-03-31 03:34:09 +02:00
Daniel Kolesa 6b17c4594f remove slice_until 2017-03-31 03:18:26 +02:00
Daniel Kolesa 8343979e03 fix build after style update 2017-02-16 19:07:22 +01:00
Daniel Kolesa 41eb8b211f begin naming scheme rework 2017-02-13 18:11:19 +01:00
Daniel Kolesa 1c5c0939e1 use size_t 2017-01-25 02:09:50 +01:00
Daniel Kolesa 7be2ee5a08 remove multi-item parse 2016-11-18 15:17:50 +01:00
Daniel Kolesa 128a961869 simpler char-to-hexdigit conversion func (can assume because of isxdigit) 2016-11-08 23:12:02 +01:00
Daniel Kolesa 4f7c05a60d clean up ListParser api 2016-11-07 23:33:53 +01:00
Daniel Kolesa 049cbd0035 make input private in listparser 2016-10-27 00:49:16 +02:00
Daniel Kolesa 78df1ca95d move element() out to header 2016-10-26 23:02:48 +02:00
Daniel Kolesa 6fcdbe7ac1 non-allocating element() variant on ListParser 2016-10-24 02:52:25 +02:00
Daniel Kolesa 1a08b018c6 remove list_index, add parse() that takes number of items 2016-10-24 02:45:15 +02:00
Daniel Kolesa 61135fb79b remove list_length and instead add a method 2016-10-24 02:33:04 +02:00
Daniel Kolesa ed106d7e11 remove list_explode 2016-10-23 19:32:24 +02:00
Daniel Kolesa b5568456a5 forgot some exports 2016-10-22 19:34:52 +02:00
Daniel Kolesa 0a88a10d99 add a line-counting parse_string to util 2016-10-11 21:15:23 +02:00
Daniel Kolesa 27affb1057 expose string parse 2016-10-10 20:14:16 +02:00
Daniel Kolesa cd515a4cff expose word parsing into API and unify with parser 2016-09-29 20:57:47 +02:00
Daniel Kolesa 9995fcf2e1 str parse cleanup 2016-09-26 02:27:33 +02:00
Daniel Kolesa 15e692f755 save state within ListParser and throw errors on unfinished strings in lists 2016-09-25 15:26:38 +02:00
Daniel Kolesa ccf24e95f5 line breaking in strings without inserting newlines 2016-09-24 03:31:56 +02:00
Daniel Kolesa b3110c30b9 use ConstCharRange for source 2016-09-22 01:12:32 +02:00
Daniel Kolesa 33c6479539 move ListParser utils out of the way 2016-09-21 21:02:13 +02:00
Daniel Kolesa cdb5a5f6f8 source tree reorg 2016-09-07 22:57:28 +02:00