Commit Graph

23 Commits

Author SHA1 Message Date
2488846e38 uri: improve hierarchical parsing reliability 2021-12-21 13:56:28 +10:00
458f109c6f uri: add resolve and normalise operations 2021-12-17 10:46:59 +10:00
d3a7a48544 uri: move non-parsing routines out of ragel source 2021-12-14 11:13:50 +10:00
1181291852 uri: add an ostream operator 2021-12-13 15:55:01 +10:00
0977fb89b3 debug/assert: don't use iostream 2021-04-12 16:56:06 +10:00
8beada1646 debug: split debug headers into components 2019-05-17 12:26:08 +10:00
32427a1df2 Change remnant GPL licence to MPL 2019-03-19 16:00:44 +11:00
340d873d3a iterator: move each iterator to their own unit 2019-03-18 16:18:27 +11: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
497d3ca970 build: update for gcc-8.1 warnings 2018-05-03 18:32:08 +10: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
14d3169c26 rfc3986: don't enforce actions for rules
some users may not care about actions for the top level rules so we
shouldn't enforce them.
2017-12-26 17:34:08 +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
d0d5ae549e uri: extract grammar into contained ragel file
this will allow us to reference the grammar from other grammars, eg http
parsing.
2017-12-20 12:45:05 +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
640b4aa6ca build: fix switch/enum coverage warnings
uncovered using clang's -Wswitch-enum
2016-05-12 17:45:29 +10:00
37f9390ef8 view: template on arbirtrary iterator types 2015-09-21 15:36:05 +10:00
4764015f9b uri: turn off parser tracing 2015-02-11 16:43:27 +11:00
e14b17c0bd uri: use begin and end methods, not variables 2015-02-11 16:43:27 +11: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