Commits


iri: set some flags as defined only when actually copying


iri: draft iri_unparse


iri: avoid unpleasant infinite loop in remove_dot_segments need to copy until the *next* path segment, otherwise we loop indefinitely if *p == '/'.


iri: catch remove_dot_segments/mergepath failures and set errno


iri: first try at remove_dot_segments and mergepath


iri: lowercase scheme and host (part of URI normalization)


draft of the new iri parser for the moment is just a URI (RFC3986) parser, and not even a complete one, but I like it much more than phos_uri. It's more gentle in the memory consumption and has a cleaner API. It's not complete, some parts are still stubbed or completely to implement, but it's the start. It compiles. Step-by-step integration of it in telescope and testing will come later.