aboutsummaryrefslogtreecommitdiff
path: root/url-mode.c (follow)
Commit message (Collapse)AuthorAgeLines
...
* url-mode: make the end coordinate *inclusive*Daniel Eklöf2021-02-07-0/+5
|
* url-mode: refactor: break out URL activation to a separate functionDaniel Eklöf2021-02-07-37/+42
|
* url-mode: auto-detect: use wcsncasecmp() instead of towlower()Daniel Eklöf2021-02-07-7/+8
| | | | | When matching the URI scheme, use wcsncasecmp() when comparing the strings, instead of calling towlower() on each cell.
* url-mode: auto-detect: don’t store the lower-cased URL; use original casingDaniel Eklöf2021-02-07-5/+5
|
* config: add show-urls-copy actionDaniel Eklöf2021-02-07-17/+33
| | | | | | This works just like show-urls-launch, except that instead of opening the URL (typically using xdg-open), it is placed in the clipboard when activated.
* url-mode: auto-detect: don’t line-wrap URL is row isn’t line-wrappedDaniel Eklöf2021-02-07-0/+3
|
* url-mode: auto-detect: heuristics for parenthesis and bracketsDaniel Eklöf2021-02-07-7/+40
| | | | | | | | | | While parenthesis and brackets _are_ valid URL characters, there are many times when we do *not* want them to be part of the URL. For example, in markdown we write “[text](url)”, or even “[![alt-text](url-1)](url-2)”. Here, the URLs are clearly *not* “url)” or “url-1)](url2)”.
* url-mode: use ‘url-launch’ from config to open URLsDaniel Eklöf2021-02-07-1/+16
|
* url-mode: urls_reset() do an early return if we don’t have any URLsDaniel Eklöf2021-02-07-0/+3
|
* url-mode: fix ‘n’ parameter to wcstombs()Daniel Eklöf2021-02-07-4/+8
|
* urls: initial support for detecting URLs and rendering jump-labelsDaniel Eklöf2021-02-07-0/+337
The jump labels work, but is currently hardcoded to use xdg-open