29 Commits

Author SHA1 Message Date
Alan de Freitas 14fb347896 feat(ranges): specialize enable_borrowed_range for view types
All view types in Boost.URL have iterators that store raw pointers
to external data rather than references to the view object itself.
This means iterators remain valid even after the view is destroyed,
satisfying the borrowed_range requirements.

Specializations added for:
- decode_view, pct_string_view
- params_view, params_ref, params_encoded_view, params_encoded_ref
- segments_view, segments_ref, segments_encoded_view, segments_encoded_ref

fix #927
2026-01-26 12:01:22 -05:00
Alan de Freitas 1e010e5ba1 perf: constructing segments subviews has a constant cost 2025-11-04 19:07:09 -05:00
Alan de Freitas 0d082014f5 refactor: preserve absolute semantics for segment subviews
fix #939
2025-11-04 18:12:26 -05:00
Vinnie Falco 7e60e85fe7 static assert is in detail 2025-10-23 21:53:22 -07:00
Alan de Freitas 0b7fd495a4 feat: segments_view iterator constructors 2025-10-22 11:05:46 -05:00
Alan de Freitas 83d8166d50 refactor: replace BOOST_STATIC_ASSERT with BOOST_CORE_STATIC_ASSERT
fix #934
2025-10-22 11:05:46 -05:00
alandefreitas 96438f683e remove type aliases
fix #743
2023-04-28 17:27:26 -03:00
Vinnie Falco ff615a83f9 Add big string tests 2022-09-19 13:43:08 -07:00
Vinnie Falco 789cadbc08 tests tidying 2022-09-16 15:44:26 -07:00
Vinnie Falco 3c0208ef5f segments tests 2022-09-16 15:44:26 -07:00
Vinnie Falco e4c253e7f3 string_token work 2022-09-11 15:54:40 -07:00
Vinnie Falco 4a9d906cf6 refactor params 2022-09-10 18:52:35 -07:00
alandefreitas de907fe2f3 update links 2022-09-09 16:13:32 -03:00
Vinnie Falco 65f3e0f064 segments tests and tidy 2022-09-08 22:28:21 -07:00
Vinnie Falco 1364a72ff5 segments tidying 2022-09-08 14:27:04 -07:00
Vinnie Falco 144a87aa49 segments refactor 2022-09-07 21:43:27 -03:00
alandefreitas afb91bc384 refactor decode/encode functions
fix #448, fix #438
2022-08-25 17:40:14 -03:00
Vinnie Falco 6e7a71c02d remove static_pool
fix #337
2022-08-04 18:13:32 -07:00
Vinnie Falco 7c3ecd5a0b Paths tidy, add origin-form
fix #281, fix #205
2022-08-01 19:08:44 -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
alandefreitas 999dbe147b BOOST_TEST_EQ
fix #69
2022-03-18 14:49:17 -03:00
alandefreitas 78ffe4f3ee subview assignments are ref-qualified
fix #77, close #130
2022-02-24 16:46:10 -08:00
alandefreitas 3dba527bb3 document parsing functions
close #121
2022-02-17 08:28:23 -08:00
Vinnie Falco 2f1ab4d056 refactor const_string 2022-01-24 11:26:31 -08:00
alandefreitas 1093ca5fd3 refactor to const_string
close #110
2022-01-12 12:10:20 -08:00
Vinnie Falco 4f2615f84f path segments refactoring 2021-10-27 19:16:33 -07:00
Vinnie Falco 954e6aeaae segments_view work 2021-10-01 19:32:40 -07:00
Vinnie Falco bb9a36b44f Split segment views into two containers 2021-09-19 18:47:52 -07:00
Vinnie Falco 0da89f8bcc Rename to segments_view 2021-09-18 13:09:16 -07:00