summaryrefslogtreecommitdiff
path: root/AK/URL.h
AgeCommit message (Collapse)Author
2020-06-01AK: Add operator== and hash traits for URLAndreas Kling
2020-05-16AK: Fix URL's operator<<() and use itLinus Groh
2020-05-05AK: Add URL::basename()Andreas Kling
2020-04-26AK: Teach URL how to parse data: URLs :^)Andreas Kling
2020-04-19AK: Add URL::create_with_url_or_path()Sergey Bugaev
This is an utility to create a URL from a given string, which may be either a URL such as http://example.com (which will be used as-is), or a file path such as /etc/fstab (which will be transformed into file:///etc/fstab).
2020-04-18AK: Add URL::create_with_file_protocol(path)Andreas Kling
This is a convenience helper that allows you to easily construct a file:// URL from an absolute path.
2020-04-12AK: Support fragment in URLLinus Groh
2020-04-11AK: Recompute URL validity after changing protocol/host/pathAndreas Kling
This allows you to build URLs by calling setters on an empty URL and actually get a valid URL at the end.
2020-01-18Meta: Add license header to source filesAndreas Kling
As suggested by Joshua, this commit adds the 2-clause BSD license as a comment block to the top of every source file. For the first pass, I've just added myself for simplicity. I encourage everyone to add themselves as copyright holders of any file they've added or modified in some significant way. If I've added myself in error somewhere, feel free to replace it with the appropriate copyright holder instead. Going forward, all new source files should include a license header.
2019-11-25AK: Add a query string component to URLAndreas Kling
It's missing query string parsing from new URLs, but you can set the query string programmatically, and it will be part of the URL when serialized through to_string().
2019-11-19LibHTML+AK: Move URL completion from Document to AK::URLAndreas Kling
Completing a relative URL based on a base URL seems like generally useful functionality.
2019-10-05AK: URL should support file:// URL'sAndreas Kling
Also add some setters since this class was very setter-less.
2019-09-06AK: Rename <AK/AKString.h> to <AK/String.h>Andreas Kling
This was a workaround to be able to build on case-insensitive file systems where it might get confused about <string.h> vs <String.h>. Let's just not support building that way, so String.h can have an objectively nicer name. :^)
2019-08-10URL: Add some convenience constructorsAndreas Kling
2019-08-10AK: Add a basic URL class to help us handle URL'sAndreas Kling
We're gonna need these as we start to write more networking programs.