Jason Volk
|
fa7b708e03
|
ircd::util: Fix inline namespace reopening for clang.
|
2019-06-23 07:37:23 -06:00 |
|
Jason Volk
|
7aaee4c68d
|
ircd: Mark recommended noexcept on inline constructors.
|
2019-06-22 17:36:42 -06:00 |
|
Jason Volk
|
91ce49d671
|
ircd::util: Add a weak interface for the test trigger stub.
|
2019-05-24 18:24:33 -07:00 |
|
Jason Volk
|
7d61473fcf
|
ircd::util: Update TODO comment.
|
2019-05-24 18:23:26 -07:00 |
|
Jason Volk
|
0cdbe472d1
|
ircd::util: Add pretty() convenience to timer.
|
2019-04-27 15:51:36 -07:00 |
|
Jason Volk
|
53fed2c4e9
|
ircd::util: Null the instance_list allocator ptr after use.
|
2019-04-19 17:42:34 -07:00 |
|
Jason Volk
|
91a7426899
|
ircd::util: Fix list node allocation related in optimized builds.
|
2019-04-19 16:35:50 -07:00 |
|
Jason Volk
|
c6a59ab6b1
|
ircd::util: Add an unwind::defer device.
|
2019-04-18 05:46:07 -07:00 |
|
Jason Volk
|
4038973297
|
ircd::util: Use allocator::node for instance_list instances.
|
2019-04-16 20:48:00 -07:00 |
|
Jason Volk
|
cd8b645b91
|
ircd::util: Stub a TODO for util::closure.
|
2019-04-09 21:08:15 -07:00 |
|
Jason Volk
|
29775f0866
|
ircd::util: Add hton()/ntoh() in-place swap overloads.
|
2019-04-06 17:12:01 -07:00 |
|
Jason Volk
|
1b0853a9c5
|
ircd::util: Split custom_ptr; make strong type; pointer conversion.
|
2019-04-03 17:18:21 -07:00 |
|
Jason Volk
|
7027264ea2
|
ircd::util::params: Relax class access.
|
2019-03-10 14:25:10 -07:00 |
|
Jason Volk
|
63d591b2b8
|
ircd::util::fpe: Add interface to set the except flag.
|
2019-03-04 13:20:39 -08:00 |
|
Jason Volk
|
8054317106
|
ircd::util: Make scope_count a template.
|
2019-02-28 17:12:03 -08:00 |
|
Jason Volk
|
d8536ca9a9
|
ircd: Move fpe into util.
|
2019-02-16 13:17:44 -08:00 |
|
Jason Volk
|
9f7db84dd3
|
ircd::util: Add string_buffer() reclosure template.
|
2019-02-07 18:29:57 -08:00 |
|
Jason Volk
|
cc636d375f
|
ircd::util: Improve string() suite; add flags for shrink_to_fit().
|
2019-02-07 18:03:21 -08:00 |
|
Jason Volk
|
a30c808b0e
|
ircd: Start a README.md for any directory missing one; fix conformity of existing.
|
2019-01-26 12:29:08 -08:00 |
|
Jason Volk
|
9b703f9915
|
ircd::util: Truncate when stream's tellp is out of range.
|
2019-01-19 17:01:53 -08:00 |
|
Jason Volk
|
067a2f8651
|
ircd::util: Use a long double nanoseconds template rep.
|
2019-01-09 17:05:58 -08:00 |
|
Jason Volk
|
1cb3db6726
|
ircd::util: Add scope_restore; remove scope_light because generalized.
|
2019-01-02 15:19:05 -08:00 |
|
Jason Volk
|
7628b8b7f7
|
ircd::util: Add scope_count tool.
|
2019-01-02 10:48:05 -08:00 |
|
Jason Volk
|
09424ab344
|
ircd::util: Add scope_light tool.
|
2019-01-02 10:47:56 -08:00 |
|
Jason Volk
|
43a354da49
|
ircd::util: Add a format option for pretty_nanoseconds() et al for abbreviated units.
|
2018-12-30 13:38:14 -08:00 |
|
Jason Volk
|
a70d65f171
|
ircd::util: Allow custom format string for pretty() suite.
|
2018-11-28 14:41:27 -08:00 |
|
Jason Volk
|
ad5305f151
|
ircd::util: Use tuple rather than pair for va_rtti value_type.
|
2018-11-28 13:15:42 -08:00 |
|
Jason Volk
|
a7e4acc519
|
ircd: Split and reorg ircd::hash/ircd::crh related headers and units.
|
2018-11-08 17:04:15 -08:00 |
|
Jason Volk
|
13f38782f5
|
ircd::util: Deinline various utils; minor cleanup.
|
2018-10-25 13:39:41 -07:00 |
|
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
|
a220891800
|
ircd::util: Support comparator in instance_multimap template.
|
2018-09-29 16:46:55 -07:00 |
|
Jason Volk
|
0d4013536a
|
ircd::util: Add overload to ircd::string() to pubsetbuf() a provided buffer.
|
2018-09-27 17:00:15 -07:00 |
|
Jason Volk
|
d72713d91c
|
ircd::util: Fix comment.
|
2018-09-15 10:15:02 -07:00 |
|
Jason Volk
|
e6a62b41b3
|
ircd::util: Start an env var convenience suite.
|
2018-09-15 03:27:26 -07:00 |
|
Jason Volk
|
16bbecf649
|
ircd::util: Add a callbacks list util.
|
2018-09-15 00:35:57 -07:00 |
|
Jason Volk
|
9f35483e4e
|
ircd: Include unistd.h in stdinc stack; remove the syscall() fwddecl.
|
2018-09-15 00:14:22 -07:00 |
|
Jason Volk
|
0238364421
|
ircd::util: Fix template function reference.
|
2018-09-13 06:39:04 -07:00 |
|
Jason Volk
|
7d94b1c17b
|
ircd: Relax noexcept in std::function template declarations.
|
2018-09-13 05:12:25 -07:00 |
|
Jason Volk
|
5e06c4795b
|
ircd: Replace any std::uncaught_exception() -> std::uncaught_exceptions().
|
2018-09-13 05:02:24 -07:00 |
|
Jason Volk
|
1154d15c5e
|
ircd::util: Add instance_multimap.
|
2018-09-01 21:04:34 -07:00 |
|
Jason Volk
|
349edc2c97
|
ircd::util: Fix instance_list noexcept specification for move semantics.
|
2018-09-01 20:45:04 -07:00 |
|
Jason Volk
|
3ed2a32555
|
ircd::util: Add README blerb to directory.
|
2018-08-17 12:51:48 -07:00 |
|
Jason Volk
|
fd36e553d5
|
ircd::util: Add suite to util::params for fetch-by-name.
|
2018-08-15 23:00:42 -07:00 |
|
Jason Volk
|
69e1c3478f
|
ircd::util: Add index() util.
|
2018-08-15 23:00:42 -07:00 |
|
Jason Volk
|
d1c1fb931f
|
ircd::util: Add specific endian bswaps e.g arpa/inet.h; minor cleanup.
|
2018-07-01 16:39:43 -07:00 |
|
Jason Volk
|
070f359707
|
ircd::util: Add output iterator bounded pointers transform.
|
2018-05-08 14:28:43 -07:00 |
|
Jason Volk
|
63d77c2392
|
ircd::util: Split what(); use default param of std::current_exception().
|
2018-05-07 19:20:59 -07:00 |
|
Jason Volk
|
08be1cb010
|
ircd::util: Elaborate the object semantics for instance_list instances.
|
2018-05-06 22:28:18 -07:00 |
|
Jason Volk
|
671053de74
|
ircd::util: Remove impossible semantics for instance_list.
|
2018-05-06 18:02:33 -07:00 |
|
Jason Volk
|
47dc4c2afa
|
ircd::util: Split various from util.h
|
2018-04-24 17:01:11 -07:00 |
|
Jason Volk
|
b3b11fab7d
|
ircd::util: Fix conditions for is_zero template test.
|
2018-04-11 23:40:30 -07:00 |
|
Jason Volk
|
05fcdd458a
|
ircd::util: Assert the stream didn't overflow our buffer.
|
2018-04-06 22:35:14 -07:00 |
|
Jason Volk
|
4760d36847
|
ircd::ctx: Move unlock_guard from util:: to ctx::.
|
2018-03-28 22:17:09 -07:00 |
|
Jason Volk
|
15c65924ee
|
ircd::util: Abstract stringstream utils into template; add view hack.
|
2018-03-25 23:17:42 -07:00 |
|
Jason Volk
|
a68d97d22d
|
ircd::util: Static assertion of va_rtti argument count.
|
2018-03-22 13:31:58 -07:00 |
|
Jason Volk
|
6dc834b9c9
|
ircd::util: Add unwind utils that assert whether exception is taking place.
|
2018-03-14 20:23:54 -07:00 |
|
Jason Volk
|
12fb9747a7
|
ircd::util: Add template to remove_all_pointers<T>.
|
2018-03-11 17:03:06 -07:00 |
|
Jason Volk
|
19e6db0a33
|
ircd::util: Add util to get what() from std::exception_ptr.
|
2018-03-08 08:23:50 -08:00 |
|
Jason Volk
|
a9b87a5c09
|
ircd::util: Add pointer transform suite.
|
2018-03-03 21:53:09 -08:00 |
|
Jason Volk
|
98ceb154c3
|
ircd::util: Retype ctype<> for const_buffer; fix return type; simplify loop.
|
2018-02-20 15:40:40 -08:00 |
|
Jason Volk
|
3683341aa9
|
ircd::util: Ensure null termination after all direct writes into string.
|
2018-02-18 22:38:23 -08:00 |
|
Jason Volk
|
9ebf8b0b73
|
ircd::util: Eliminate false -Wnull-dereference seen with g++ 6.3.0 20170519.
|
2018-02-18 01:20:39 -08:00 |
|
Jason Volk
|
3d216fda84
|
ircd::util: Use std::all_of for boolean ctype test.
|
2018-02-15 12:09:17 -08:00 |
|
Jason Volk
|
025909e1eb
|
ircd: Move ctype<> into util::; add valid(string_view) boolean convenience.
|
2018-02-14 14:11:18 -08:00 |
|
Jason Volk
|
ee0d6423f3
|
ircd: Move params back into ircd::util... (w/ manual inclusion).
|
2018-02-06 13:20:24 -08:00 |
|
Jason Volk
|
be624ca7f6
|
Update Copyrastafaris.
|
2018-02-05 21:24:34 -08:00 |
|
Jason Volk
|
bce1206c70
|
ircd::util: Add string construction buffer closures over a common pattern.
|
2018-01-29 08:19:14 -08:00 |
|
Jason Volk
|
e23ee1543b
|
ircd::util: Comment on the ircd::string() template; minor cleanup.
|
2018-01-28 21:30:53 -08:00 |
|
Jason Volk
|
6bc6d9f8a1
|
ircd: Minor cleanup.
|
2018-01-28 08:44:47 -08:00 |
|
Jason Volk
|
fd2a7974e8
|
ircd: Minor cleanup; comments; spacing.
|
2018-01-26 19:27:12 -08:00 |
|
Jason Volk
|
b2503ba1d0
|
ircd::util: Fix bswap() to not rely on data()/size() et al.
|
2018-01-14 20:45:30 -08:00 |
|
Jason Volk
|
d3be7129cf
|
ircd: Minor housekeeping fixes.
|
2018-01-12 03:22:57 -08:00 |
|
Jason Volk
|
d566e90402
|
ircd::util: Move more utils into util; minor cleanup.
|
2018-01-12 02:59:21 -08:00 |
|
Jason Volk
|
2a65c17ce3
|
ircd::util: Split out typography related; minor cleanup.
|
2018-01-11 23:36:42 -08:00 |
|
Jason Volk
|
b0acc95559
|
ircd::util: Update syscall() comments; minor cleanup.
|
2018-01-11 03:21:19 -08:00 |
|
Jason Volk
|
40bead52b7
|
ircd: Move and breakup util.h into util/; move fs.h into fs/.
|
2018-01-10 21:34:21 -08:00 |
|