0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-02 00:38:24 +02:00
Commit graph

32 commits

Author SHA1 Message Date
Jason Volk 4ae50c97d1 ircd: Various symbol internalizing and PLT reductions. 2022-06-17 21:11:54 -07:00
Jason Volk 0721f8ca5a ircd::fmt: Add several class comment briefs. [ci skip] 2021-03-05 13:02:12 -08:00
Jason Volk 253de07229 ircd::fmt: Use trapping exceptions for developer error types. 2020-12-17 20:23:50 -08:00
Jason Volk 4db835ef5f ircd::fmt: Use POD array here; avoid member function use out of initialization order. 2020-10-08 20:49:49 -07:00
Jason Volk a3cf1dfa30 ircd::fmt: Introduce the format string literal operator. 2019-10-02 18:16:55 -07:00
Jason Volk 2eaf5c74c2 ircd::fmt: Minor simplify; cleanup. 2018-12-14 15:51:12 -08:00
Jason Volk 24ad230aed ircd::fmt: Modernize buffering, cleanup, comment various. 2018-11-28 14:41:27 -08:00
Jason Volk 7825114281 ircd::fmt: Internalize specifier related; various cleanup. 2018-05-30 09:05:15 -07:00
Jason Volk 16c86f9a76 ircd::fmt: Fix copying / nulling / assertions. 2018-05-19 20:53:40 -07:00
Jason Volk be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk 275efb3a7b ircd::fmt: Add this overdue conversion. 2018-01-20 02:28:03 -08:00
Jason Volk 936f138a3f ircd::fmt: Cleanup. Reduce sketchiness. 2018-01-19 02:47:08 -08:00
Jason Volk 61eb6d34df ircd: Add additional comments / documentation. 2017-10-15 21:40:10 -07:00
Jason Volk 8da4874f2c ircd: Uniform initialization style for these. 2017-10-11 20:54:01 -07:00
Jason Volk 87771b00ba ircd::fmt: Add bsprintf(): all-in-one printf and buffer. 2017-10-11 18:18:18 -07:00
Jason Volk d0fe0218f4 ircd::fmt: mutable_buffer overloads for *snprintf(). 2017-10-03 04:17:09 -07:00
Jason Volk 2c07ed673a ircd::fmt: Add snstringf() suite. 2017-09-24 18:16:44 -07:00
Jason Volk 54d6793f59 Update various documentation and comments. 2017-09-24 18:16:33 -07:00
Jason Volk d9a4f06bf6 ircd: Employ namespace scope extensions from c++1z/gnu++14.
This is not a move to c++17. If the compiler happens to have support
for c++17 namespace scope resolution, they have been kind enough to
backport it to gnu++14. This limits our support for really old c++14
compilers, but that was limited anyway. GCC 6.1 and clang 3.6 tested.
2017-09-08 03:47:46 -07:00
Jason Volk 39ab4d1c68 fixup! ircd::fmt: Cleanup grammar; fixes; support std::exception type to %s. 2017-04-06 18:34:09 -07:00
Jason Volk 91cd0327bd ircd::fmt: Remove rfc1459 builtin specifiers; various/cleanup. 2017-03-20 19:20:33 -07:00
Jason Volk 99a4e523b8 fixup! fixup! fixup! fixup! ircd: Add the va_rtti construct. 2017-03-17 23:30:09 -07:00
Jason Volk 96ff6c8a4d fixup! fixup! ircd: Add the va_rtti construct. 2017-03-17 22:37:54 -07:00
Jason Volk fa1c393d7a fixup! ircd: Add the va_rtti construct. 2017-03-17 20:05:36 -07:00
Jason Volk 86804755c8 ircd: Add the va_rtti construct. 2017-03-17 17:36:09 -07:00
Jason Volk 33b5dc21b7 ircd::fmt: Support string_view; updates to the format string system. 2017-03-17 17:00:41 -07:00
Jason Volk c9ddf4f6ab ircd: Add lex_cast wrapper interface; various cleanup. 2017-03-14 15:03:15 -07:00
Jason Volk 5dd280bb3b ircd::fmt: snprintf -> category. 2016-09-22 16:18:32 -07:00
Jason Volk 21aacf6509 ircd::fmt: Add syntax for specifier forced-termination.
This is available for a particular corner case due to our use of full-
word format specifiers.

Case: "%couch" is that %c followed by ouch, or is that the handled
format specifier '%couch' ?

If '%couch' is not registered there is no fallback to finding '%c'
(maybe one day), so in this case one must write "%c$ouch" and '%c'
becomes the specifier and the output for 'p' will be "pouch" and for
"%c$$ouch" the output will be "p$ouch."
2016-09-22 16:18:32 -07:00
Jason Volk d82c013552 ircd::fmt: Develop format string basics. 2016-09-22 16:18:32 -07:00
Jason Volk 2b8bf0a4d1 ircd::fmt: Add modular format specifiers. 2016-09-22 16:18:32 -07:00
Jason Volk d698b8a4a8 ircd: Break up rfc1459:: 2016-09-22 16:18:32 -07:00