3e262f6aef
uri: constructors should be explicit
2022-02-15 13:20:33 +10:00
805ba5d1bf
uri: use vector rather than map for query exploding
2022-01-27 13:51:40 +10:00
2488846e38
uri: improve hierarchical parsing reliability
2021-12-21 13:56:28 +10:00
5e05584708
uri: change clear
into clear_fragment
2021-12-21 09:42:13 +10:00
458f109c6f
uri: add resolve and normalise operations
2021-12-17 10:46:59 +10:00
a1460a240f
uri: add minimal copy and move operators
2021-12-14 11:31:20 +10:00
d8d7c8f421
uri: add resolve and normalise stubs
2021-12-13 15:56:28 +10:00
58ae7f4d1c
uri: add clear(component) stub
2021-12-13 15:56:18 +10:00
74675d1e5a
uri: return std::string_view rather than cruft::view
...
These play better with external APIs
2021-12-13 15:55:39 +10:00
c3c022332b
uri: prefer pragma over header guards
2021-12-13 15:55:14 +10:00
1181291852
uri: add an ostream operator
2021-12-13 15:55:01 +10:00
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