0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-03 12:28:52 +01:00
Commit graph

51 commits

Author SHA1 Message Date
Jason Volk
c5f4ab4a17 ircd::buffer: Compiler errors when copy source may be string literal. 2018-02-19 19:45:44 -08:00
Jason Volk
622e0a56a6 ircd::buffer: Add operator+ to compute a new buffer at offset. 2018-02-19 16:51:28 -08:00
Jason Volk
e9a84ff4d7 ircd::buffer: Improve typography/conversions related issues. 2018-02-19 16:51:28 -08:00
Jason Volk
f04ba38b42 ircd: Rename the stream_buffer to window_buffer. 2018-02-07 21:54:41 -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
ba1a0530ff ircd::buffer: Fix reverse iterations. 2018-01-20 13:59:24 -08:00
Jason Volk
af0c02cc10 ircd::buffer: Allow returning completed() mutable_buffer. 2018-01-14 20:45:30 -08:00
Jason Volk
26e04ecda4 ircd: buffer/net: Minor cleanup. 2018-01-04 17:44:34 -08:00
Jason Volk
e63632c78f ircd::buffer: Ensure default constructions available in all derivatives. 2017-12-24 21:54:59 -07:00
Jason Volk
8604819bd5 ircd::buffer: Remove the terminated string copy from this context. 2017-12-24 21:54:59 -07:00
Jason Volk
abcf2c2c14 ircd::buffer: Add convenience completed() conversion to stream_buffer. 2017-12-24 21:54:59 -07:00
Jason Volk
56f4d156af ircd::buffer: Attempt to tighten these buffers templates by specifying buffer. 2017-12-24 21:54:59 -07:00
Jason Volk
7d863091bb ircd::buffer: Add the stream_buffer. 2017-12-24 21:54:58 -07:00
Jason Volk
8d2e098d16 ircd::buffer: Proper exports of templates to compete in ircd::. 2017-12-24 21:54:58 -07:00
Jason Volk
82aa59c5ec ircd::buffer: Reverse convenience utils. 2017-12-24 20:25:40 -07:00
Jason Volk
e5f12e9750 ircd::buffer: Fix assertion for empty buffer. 2017-11-30 11:23:46 -08:00
Jason Volk
f2cfa5eccf ircd::buffer: Add full() and some assertions. 2017-11-30 11:23:45 -08:00
Jason Volk
81c3a87ee5 ircd::buffer: Fix bug. 2017-11-30 11:23:45 -08:00
Jason Volk
59e136ff68 ircd::buffer: Default construction for mutable_buffer for now. 2017-10-17 00:50:52 -07:00
Jason Volk
865270f70a ircd::buffer: Complete move construction and assignment for unique_buffer. 2017-10-17 00:50:30 -07:00
Jason Volk
a8b3d08c3a ircd::buffer: Add null()/empty() participation. 2017-10-17 00:50:07 -07:00
Jason Volk
dd80b127b4 ircd::buffer: Fix the closure type so it's not too strict. 2017-10-11 20:54:01 -07:00
Jason Volk
e3963da007 ircd: Various comments added/modified. 2017-10-11 18:18:20 -07:00
Jason Volk
51f5045c06 ircd::buffer: Add fixed_buffer with construction closure; minor cleanup. 2017-10-11 18:18:19 -07:00
Jason Volk
47f3167479 ircd::buffer: Move array constructors down a level. 2017-10-03 04:27:14 -07:00
Jason Volk
0cef42895c ircd::buffer: Patch alignment related on unique_buffer. 2017-10-03 04:27:13 -07:00
Jason Volk
4a6b3f5fcc Add support for libsodium (NaCl) cryptography. 2017-10-03 04:27:10 -07:00
Jason Volk
c91c1e39e8 ircd::buffer: de-template required conversions; cleanup. 2017-10-03 04:26:28 -07:00
Jason Volk
eeceba51b8 ircd::buffer: Add some doc; fixes. 2017-10-03 04:17:10 -07:00
Jason Volk
71e92e9f47 ircd::buffer: Improve interface / conversions / type decls. 2017-10-03 04:17:09 -07:00
Jason Volk
688f31afd3 ircd::buffer: Fix constness. 2017-10-03 04:17:09 -07:00
Jason Volk
798f87cac9 ircd::buffer: Minor cleanup. 2017-09-24 18:16:43 -07:00
Jason Volk
57bcae7a32 ircd: Update notes. 2017-09-24 18:16:42 -07:00
Jason Volk
b2bf6116b8 ircd::buffer: Improve conversion hierarchy. 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
ed59ef6e8e ircd::buffer: Add array operators. 2017-09-24 18:16:41 -07:00
Jason Volk
7f548cee1c ircd: Make asio header; comments; add special continuation for yielding to asio. 2017-09-24 18:16:39 -07:00
Jason Volk
e71d650d83 ircd::buffer: Add member iterator concept. 2017-09-24 18:16:36 -07:00
Jason Volk
0a9d7e2ec8 ircd::buffer: Add comment / fix error / minor cleanup. 2017-09-24 18:16:35 -07:00
Jason Volk
04e83c6b90 ircd::buffer: Add copy() overloads. 2017-09-24 18:16:35 -07:00
Jason Volk
7cc4ed56ab ircd: Support both iov and ilist for socket and buffer related. 2017-09-24 18:16:33 -07:00
Jason Volk
f2bbd9b23e ircd::buffer: Add missing default constructor for const_buffer. 2017-09-24 18:16:33 -07:00
Jason Volk
dd12f013cf ircd::buffer: Proper reference types for buffer / array ctor / cleanup. 2017-09-24 18:16:32 -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
ad611c5aa5 Complete the unique_buffer semantics. 2017-08-23 15:52:14 -06:00
Jason Volk
bd772a4452 ircd::buffer: Add std::ostream support. 2017-04-04 16:10:29 -07:00
Jason Volk
50b2942131 ircd::buffer: Add iov serializers. 2017-03-19 23:58:26 -07:00
Jason Volk
f2ac156e6a ircd::buffer: Functions for a non-const iov to keep xfer state using the iov. 2017-03-13 14:43:35 -07:00
Jason Volk
49c2a5361c ircd: Various fixes. 2017-03-13 14:43:27 -07:00