Commit Graph

20 Commits

Author SHA1 Message Date
bdcb5c03c7 uri: add accessor for base value 2021-11-07 11:13:15 +10:00
fdaa5e1392 assert: split CHECK_LIMIT into INCLUSIVE and INDEX
LIMIT hid an off-by-one bug when tests used end iterators. We rename the
assertion to uncover all uses of the flawed implementation, and split it
into an identical assertion, and one intended to protect against
iterator ends.
2020-09-24 08:03:41 +10:00
cff7375cc1 uri: constructors should be implicit for ease of use
They don't act like other classes, or implicitly convert to other
classes, so the risks are minimal.
2020-01-02 11:20:59 +11:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
f6056153e3 rename root namespace from util to cruft
This places, at long last, the core library code into the same namespace
as the extended library code.
2018-08-05 14:42:02 +10:00
803acc9a87 relicense under MPL-2.0 2018-08-04 15:14:06 +10:00
681768093e hash: use a consistency, less flexible, interface 2018-01-13 15:24:12 +11:00
9bb2bdbaba Merge remote-tracking branch 'origin/master' 2018-01-10 17:19:39 +11:00
d8f3469987 uri: move component queries entirely into header 2017-12-26 17:34:08 +11:00
d86c8b5b2b uri: define more constructors 2017-12-26 17:34:08 +11:00
cb9e9afcd3 uri: add an `all' accessor for the entire string 2017-12-22 18:37:11 +11:00
d1649d4acf uri: remove componentwise ostream operator
componentwise output was a surprising behaviour for what is sometimes a
string-like object. users can elect to write the entire string via all()
or the components manually as required.
2017-12-22 18:35:47 +11:00
b4175e4593 uri: add more data fields
we now provide more fine grained field extraction from URIs, focusing
primarily on the utility of URLs.
2017-12-15 18:57:10 +11:00
1f432c13b7 build: avoid type truncation warnings
discovered with clang's -Wshorten-64-to-32
2016-05-12 17:39:33 +10:00
37f9390ef8 view: template on arbirtrary iterator types 2015-09-21 15:36:05 +10:00
fd319d579b build: make single argument constructors explicit 2015-06-04 22:18:43 +10:00
2658b41ea1 relicence under Apache-2.0 2015-04-13 18:05:28 +10:00
49e60e576f view: extract span class into standalone class 2015-02-11 16:18:43 +11:00
2a72943ad7 uri: add copyright header 2015-02-11 16:18:18 +11:00
4245785005 uri: add simple uri parser 2015-02-09 17:43:24 +11:00