2
0
mirror of https://github.com/boostorg/url.git synced 2026-02-13 00:42:15 +00:00
Commit Graph

341 Commits

Author SHA1 Message Date
Vinnie Falco
8daeba9fed rename to tuple_rule 2022-08-05 12:52:00 -07:00
Vinnie Falco
c1a0f7c3b3 tuple empty base optimization
fix #342

Unfortunately MSVC constexpr empty
base is broken for all versions, so
this is disabled there.
2022-08-05 07:40:27 -07:00
Vinnie Falco
4371c66e28 url_view_base javadocs 2022-08-04 22:47:09 -07:00
Vinnie Falco
54192bea66 doc warnings 2022-08-04 18:56:01 -07:00
Vinnie Falco
d9667bf525 Refactor url base classes:
fix #221, fix #222, close #330
2022-08-04 18:14:50 -07:00
Vinnie Falco
6e7a71c02d remove static_pool
fix #337
2022-08-04 18:13:32 -07:00
alandefreitas
6626e6b39e add BOOST_URL_NO_INLINE 2022-08-04 22:10:07 -03:00
Vinnie Falco
136bd5ab42 fix maybe uninitialized warning 2022-08-04 15:43:44 -07:00
alandefreitas
087ee40067 is_mutable_string takes one argument
fix #242, close #316
2022-08-03 21:20:14 -07:00
alandefreitas
0c92f290d9 Tidy pct_encoding
fix #277, close #322
2022-08-03 17:15:15 -07:00
alandefreitas
51d0db2565 static_url operator<<
fix #320
2022-08-03 15:16:48 -07:00
alandefreitas
509b728ae3 Add operator<< to quick reference
fix #299
2022-08-03 13:46:57 -07:00
Vinnie Falco
ea9588c1bd Fix pointer calc in unsigned_dec_rule
fix #285
2022-08-03 13:44:13 -07:00
Vinnie Falco
ac3b4e784e Doc work 2022-08-03 12:54:15 -07:00
alandefreitas
59eda485de fix doc warnings
fix #291
2022-08-03 15:12:16 -03:00
Vinnie Falco
a9e0b2d1db Tidy ci_string.hpp 2022-08-03 10:33:09 -07:00
Vinnie Falco
541148ea94 Silence strict-aliasing warning 2022-08-03 10:09:58 -07:00
Vinnie Falco
40790c9f70 Add hostname
fix #302
2022-08-03 08:10:00 -07:00
Vinnie Falco
a3447a91c4 Doc work 2022-08-02 18:17:10 -07:00
Vinnie Falco
403636bfae Add ref 2022-08-02 18:16:58 -07:00
alandefreitas
7b75711a81 views are default constructible
fix #273
2022-08-02 21:43:50 -03:00
Vinnie Falco
7c3ecd5a0b Paths tidy, add origin-form
fix #281, fix #205
2022-08-01 19:08:44 -07:00
Vinnie Falco
5b1f143370 Add recycled_ptr and optimize ranges 2022-08-01 17:49:14 -07:00
Vinnie Falco
ced6e9fcec Range work and rule refactoring 2022-08-01 13:41:07 -07:00
Vinnie Falco
b70f9745a7 Doc work and sequence work 2022-07-31 18:21:07 -07:00
Vinnie Falco
3f148e69af Refactor range
Instead of awkward function pointers we just
store the begin and increment rules directly.
2022-07-31 15:00:30 -07:00
Vinnie Falco
13e59a6cec More tuple tidying 2022-07-31 14:45:42 -07:00
Vinnie Falco
92b1f54742 Tidy up detail::tuple 2022-07-31 11:47:30 -07:00
Vinnie Falco
5ffeeadb6b Refactor URL implementation:
fix #274, fix #270, fix #268, fix #265
fix #261, fix #257, fix #256, fix #251

The guts of the url are moved into a private
implementation detail which can be accessed
by various parts. Rules that the user doesn't
need are made private, and the public rfc
rules use the well defined types.

Paths is still remaining to be done.
2022-07-29 16:28:53 -07:00
alandefreitas
8bad7695ed iterate empty query
fix #129
2022-07-29 16:02:50 -03:00
Vinnie Falco
49c8e06260 params_encoded_view is default constructible 2022-07-28 17:11:51 -07:00
Vinnie Falco
4c426bf71e fix missing namespace qualifier 2022-07-28 11:38:47 -07:00
Vinnie Falco
9d2c1e5409 Refactor grammar:
The Rule concept is changed:

* rules are stateful values
* nested value_type holds the result of parsing
* member function `Rule::parse` is the algorithm
* parse returns `result<value_type>`

And:

* All rfc3986 rules are reimplemented
* New grammar non-terminal elements introduced:
  - char_rule
  - not_empty_rule
  - optional_rule
  - sequence_rule
  - variant_rule
2022-07-27 19:31:16 -07:00
alandefreitas
5c307a889a use pct_encoded_view
fix #235, fix #223, fix #168, fix #164, fix #163, fix #159
2022-07-26 17:46:56 -03:00
Vinnie Falco
aecf3a6218 remove unused files 2022-07-22 21:51:49 -07:00
Vinnie Falco
ef880825a1 remove unused class 2022-07-22 21:40:52 -07:00
alandefreitas
c899642946 update pct encoding API
fix #230
2022-07-19 17:40:07 -03:00
alandefreitas
91b8208050 ops as hidden friends
fix #231
2022-07-19 16:34:35 -03:00
alandefreitas
96bfa6178d fix static_pool reference rendering
fix #212, #213
2022-07-15 22:50:29 -03:00
alandefreitas
f5de23aaca rename collect to persist
fix #208

BREAKING CHANGE: The function url_view::collect is now called url_view::persist
2022-07-15 22:31:14 -03:00
alandefreitas
1d1a09f6c0 pct encoded view 2022-07-15 22:10:38 -03:00
Vinnie Falco
10408dbaaa improve unsigned_decimal parsing algorithm 2022-06-27 20:03:52 -03:00
alandefreitas
0e43982f31 improve examples
fix #190, fix #189, fix #186, fix #185, fix #194
2022-06-09 17:07:22 -03:00
alandefreitas
173a32b447 iterator docs 2022-06-03 21:26:50 -03:00
alandefreitas
60dc4374d1 remove_user is not available
fix #177
2022-05-19 00:48:38 -03:00
alandefreitas
ce4ba198e1 add missing url member javadocs
fix #174, fix #175
2022-05-18 23:18:41 -03:00
alandefreitas
488de7e087 url_view authority
fix #171
2022-05-18 21:17:03 -03:00
alandefreitas
9e3bc6c423 remove unnecessary include 2022-05-04 11:44:27 -03:00
alandefreitas
3b6e2afafc param forward iterators 2022-04-04 12:04:24 -03:00
alandefreitas
d5dbea53e7 Fix reference and value types
Fix #158
2022-04-01 20:47:30 -03:00