0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-05 05:18:54 +01:00
Commit graph

40 commits

Author SHA1 Message Date
Jason Volk
045a944911 ircd: Move a2u / pretty() suites from lex_cast to util::; start util.cc unit. 2018-10-21 01:00:41 -07:00
Jason Volk
0d6b49a0b6 ircd: Add pretty() human readable time utils. 2018-10-18 17:31:43 -07:00
Jason Volk
580a041ab5 ircd: Improve human readable unit tool suite. 2018-09-24 23:56:29 -07:00
Jason Volk
4214977b78 ircd: Rename; use precision for pretty_iec(). 2018-09-20 23:30:50 -07:00
Jason Volk
5e158e37a5 ircd: Add pretty IEC unit printing utils. 2018-09-20 23:30:50 -07:00
Jason Volk
db9d1dcb99 ircd: Minor cleanup. 2018-09-20 23:30:50 -07:00
Jason Volk
2d04d51cdc ircd: Prevent nulls in the output buffer of u2a(). 2018-08-11 00:42:09 -07:00
Jason Volk
0f0ed1ba08 ircd: Fix width of string to not assume and case for implicit null. 2018-07-05 19:05:00 -07:00
Jason Volk
7de1c38d0e ircd: Use std snprintf() in u2a(). 2018-07-05 18:57:58 -07:00
Jason Volk
0766000b20 ircd::lexical: Eliminate allocation on lex_cast(string) conversions. 2018-05-29 02:52:47 -07:00
Jason Volk
f049bbf0d0 ircd: Split tokens.cc from lexical.cc 2018-04-24 17:01:11 -07:00
Jason Volk
6574da4b22 ircd: Add tokens_before() to suite. 2018-03-25 17:32:57 -07:00
Jason Volk
2ea245bf58 ircd: Improve bad_lex_cast message with demangled typeid. 2018-03-16 12:44:12 -07:00
Jason Volk
505b3b5115 ircd: Add non-throwing/defaulting token() overload. 2018-03-03 23:37:17 -08:00
Jason Volk
ebed17d9d0 ircd: Fix error / simplify. 2018-03-01 02:30:59 -08:00
Jason Volk
79198527a7 configure/ircd: Consider all boost headers unconditional. 2018-02-05 21:24:36 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
d53eef4ab6 ircd: Eliminate the raw_buffer concept. 2018-02-05 18:54:55 -08:00
Jason Volk
f7e928e852 ircd: Simplify various string generations. 2018-01-29 08:39:06 -08:00
Jason Volk
68b408a065 ircd: Add allocated string convenience for u2a(). 2018-01-28 21:18:25 -08:00
Jason Volk
09dc4acf06 ircd: Remove legacy stringops. 2018-01-19 02:47:08 -08:00
Jason Volk
0a6ea976a5 ircd: Split base64 from lexical. 2018-01-18 18:17:02 -08:00
Jason Volk
cdcd2e2fb9 ircd: Add std::chrono lex_cast; cleanup lex_cast buffer argument related. 2017-10-17 00:41:51 -07:00
Jason Volk
87b62002dd fixup! ircd::json: Better bool related conversions etc. 2017-10-15 21:25:03 -07:00
Jason Volk
908fde12c4 ircd: Add string replace() utils. 2017-10-11 20:54:02 -07:00
Jason Volk
4f0de4915d ircd: Rename tokens_count() to token_count(). 2017-10-11 20:54:02 -07:00
Jason Volk
8da4874f2c ircd: Uniform initialization style for these. 2017-10-11 20:54:01 -07:00
Jason Volk
bd1a66e608 ircd: minor simplifications; minor cleanup. 2017-10-11 18:18:18 -07:00
Jason Volk
8c4925419a ircd: Improve base64 suite. 2017-10-03 04:27:14 -07:00
Jason Volk
0eb10c0495 ircd: Add b64encoded_unpadded variant. 2017-10-03 04:27:13 -07:00
Jason Volk
9c712486a1 ircd: Split up lexical.h; comments; cleanup. 2017-10-03 04:27:13 -07:00
Jason Volk
57bcae7a32 ircd: Update notes. 2017-09-24 18:16:42 -07:00
Jason Volk
4b17211a04 ircd::buffer: Add raw_buffer for binary data; lexical: simplify a2u/b64 related. 2017-09-24 18:16:42 -07:00
Jason Volk
d7def063b6 ircd: Add tools for binary/hex/b64 conversions. 2017-09-24 18:16:42 -07:00
Jason Volk
3a56a30d77 ircd: Support char overloads for all tokenizers. 2017-09-24 18:16:38 -07:00
Jason Volk
05f297c756 ircd: Fix token_last() iteration. 2017-04-04 22:12:32 -07:00
Jason Volk
98c51be27d fixup! ircd: Add tokens_after() util. 2017-03-20 19:22:58 -07:00
Jason Volk
8ef0b50131 ircd: Add tokens_after() util. 2017-03-17 20:25:42 -07:00
Jason Volk
03cf816bb7 ircd: Add labeled-params tokenizer; fix bad lexical cast exception type. 2017-03-16 13:31:17 -07:00
Jason Volk
c9ddf4f6ab ircd: Add lex_cast wrapper interface; various cleanup. 2017-03-14 15:03:15 -07:00
Renamed from ircd/stringops.cc (Browse further)