Tim Ledbetter
c09d0c4816
LibManual: Allow querying on a help URL
...
This allows Help and man to open pages from a help URL specified on
the command line.
2023-05-08 21:03:19 -06:00
Tim Ledbetter
6ab13489ee
LibManual: Ensure page exists when opening a help URL
...
Previously, Help could crash when attempting to open a help URL for a
page that doesn't exist.
2023-05-08 21:03:19 -06:00
Tim Ledbetter
9d30eb4b34
LibManual: Allow paths that include subsections when creating PageNodes
...
Previously, attempting to open a man file within a subsection would
fail.
2023-04-25 02:16:48 -06:00
MacDue
5db1eb9961
AK+Everywhere: Replace URL::paths() with path_segment_at_index()
...
This allows accessing and looping over the path segments in a URL
without necessarily allocating a new vector if you want them percent
decoded too (which path_segment_at_index() has an option for).
2023-04-15 06:37:04 +02:00
Cameron Youell
1d24f394c6
Everywhere: Use LibFileSystem
where trivial
2023-03-21 19:03:21 +00:00
Andreas Kling
dbcf2f2dd4
LibManual: Fix const-correctness issues
2023-02-21 00:54:04 +01:00
Tim Schumacher
874c7bba28
LibCore: Remove Stream.h
2023-02-13 00:50:07 +00:00
Tim Schumacher
d43a7eae54
LibCore: Rename File
to DeprecatedFile
...
As usual, this removes many unused includes and moves used includes
further down the chain.
2023-02-13 00:50:07 +00:00
kleines Filmröllchen
2aa374eba1
Help+LibManual: Move URL handling to LibManual
2023-01-02 06:15:13 -07:00
kleines Filmröllchen
5a346c4297
Help+LibManual: Without arguments, open index page instead of crashing
...
This is the old behavior before the recent LibManual refactor. It also
moves the definition of the index page into LibManual for better reuse.
2022-12-12 00:37:29 -07:00
kleines Filmröllchen
b65258c093
Help+man+LibManual: Move argument handling to LibManual
...
This deduplicates argument handling logic from Help and man and makes it
more modular for future use cases. The argument handling works as
before: two arguments specify section and page (in this order), one
argument specifies either a page (the first section that it's found in
is used) or a path to a manpage markdown file.
2022-12-11 16:05:23 +00:00