Commits
- Commit:
7bd3a14bde9bd349f4ac2fca9e7f3a1b56ea5d5a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
update the "optional completion" *_select functions
- Commit:
fea02b0bf5e8d28eb46dd51dc411aa2836905b1f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
don't highlight the first completion by deafult
This is the first commit of a series to improve the handling of
completions. Currently it's a mess: some commands look at the
selected entry, others at what was typed in the minibuffer... it's not
clear which commands does what. So, change of defaults: don't
highlight anything by default to avoid confusing the user, C-n and C-p
now are the obvious way to move the focus from the minibuffer to a
completion.
This doesn't change how the commands handle the selection, that will
done in a follow-up commit.
- Commit:
eefb3de54a5e03d944059460fe1caacdb8acb234
- From:
- Omar Polo <op@omarpolo.com>
- Date:
tokenize minibuffer input for better matching
instead of trying to match the given string as-is, split it into
tokens (space-separated words) and try to match those. This allows
to match out of order, for example "mir vid" will match
gemini://vidage.rocks/blog/parliamo-di-mirror.gmi
- Commit:
ed504b9e1a0307a13e869cb3296f07ec072dae42
- From:
- Omar Polo <op@omarpolo.com>
- Date:
reply-last-input: reply input requests on demand
Telescope now remebers the last URL (per tab!) that replied with
1X (input request.) The new command reply-last-input allows to
resend a query to that URL.
It's particularly useful with capsules that make a heavy uses of
10 replies (search engines or similar, interactive pages, etc)
because it both saves a network roundtrip and the user from looking
for the "search" link all across the page ;-)
idea from a conversation with thfr@, thanks!
- Commit:
9d65b1d9ae3209a8a2bc8e8c376dede4f71290ce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move util.c declarations in utils.h
it's not spelled `util.h' because otherwise it'd get included instead
of /usr/include/util.h
- Commit:
ed21a9a1021f38c009ef8a0ea6049587e3b4373b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a way to bypass the cache
This changes the last argument of load_url to be a `mode' bitmap
instead of a boolean ``nohist''. LU_MODE_NOHIST is the old 1,
LU_MODE_NONE is provided just for readability and the new LU_MODE_NOCACHE
allows to bypass the caching when loading a page.
Telescope only uses the cache when:
- re-opens a closed tab
- navigates backward and forward in the history
All other situations result in the usual network request.
- Commit:
16578ca54ffdaeb1dbb244f6577b18c9f52f8c03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
de-quirkify execute-extended-command
On RET, execute the command on the selected line rather than what
the user typed. This saves a TAB (to expand the entry) and is more
in line with the other completion commands.
- Commit:
95a8c791ec85e7b79a1975e82a22f7c07dbb9107
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fmt (some missing space -> tab conversion)
- Commit:
c6efff9689c26914de162ab1aee8fd362335d726
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add some heuristics to interpret user-provided URLs
- Commit:
1fce2e758fce1ba5d600301bb2b5fae29578adbc
- From:
- Omar Polo <op@omarpolo.com>
- Date:
move more stuff outta telescope.c
- Commit:
32ac17a4ea1ad4c2f9e8c8d78dd5738958883291
- From:
- Omar Polo <op@omarpolo.com>
- Date:
replace TAILQ_EMPTY/INSERT_HEAD/TAIL dance with a single TAILQ_INSERT_TAIL
Now that all the queues are correctly initialised, there's no need for
that dance.
- Commit:
78894e73ecf5d7a2039e4eb6bd6e9a47fa9baa72
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initialize all the queues
- Commit:
bc55cdb9b8678689c6f39504ccf17cf1d0f943d5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix redirect & history
the reload command doesn't push the current url to the history
anymore.
- Commit:
9a28e7e5493907b0cca9976118628ff0202f3f28
- From:
- Omar Polo <op@omarpolo.com>
- Date:
initial support for gopher item type 7
- Commit:
ab0a42744b90d8cb40c1e7e2ab98e360bcd49bce
- From:
- Omar Polo <op@omarpolo.com>
- Date:
set the minibuffer name