Commits
Commit:
8115fd4a99b30c65da4fa4e88552b7aa36b71165
Date:
Thu May 5 08:54:29 2022
UTC
reset all the state functions regardless of MB_READ vs. MB_COMPLREAD
must_select otherwise is set when MB_COMPREAD but not cleared on
MB_READ, yielding funny errors. While here, move also the other parts
of the state out of the if (MB_COMPLREAD) to avoid this kind of issues
in the future.
Commit:
f63b8f7342aefba6b3dac50d6790981987c8faa8
Date:
Sun Apr 24 10:15:32 2022
UTC
merge the fs into the ui process
The previous separation between the fs and ui process wasn't that good.
The idea was to have a `ui' process tightly sandboxed, but it was a lie
actually. `ui' was one imsg away from making internet connections and
accessing data on the disk, so it wasn't really limited in (almost) any
way.
Furthermore, having to serialize data to/from the fs proc started to
become not really maneagable.
As a first step to fix this situation, join the fs and ui process.
Commit:
1faa682136aa29eb489b92dcd0e72d28a777f763
Date:
Fri Apr 15 15:46:59 2022
UTC
recompute_completions: use the history too when viewing it
Commit:
3f0b6911f04edeb3b3db82635d5403e519cd365e
Date:
Fri Apr 15 15:35:06 2022
UTC
minibuffer_compl_text: honour the history items
Commit:
0ab6d481eb9306b6f2e175cf1509842e89b173f8
Date:
Fri Apr 15 15:34:35 2022
UTC
don't insert current candidate in eecmd_select
after the recent 'must select' thing there's no need to call
minibuffer_insert_current_candidate from eecmd_select anymore.
Commit:
4bb17137e88ce277e15da09d133b6a3809d26a8a
Date:
Thu Apr 14 12:27:38 2022
UTC
readd forgotte NULL check
Commit:
7c1d55bff32b17bf9ac2b1a374c9cfb98935d847
Date:
Wed Apr 13 21:18:18 2022
UTC
readd "select first completion" when must_select is provided
The "don't automatically select the first completion" was a good
change, but for commands that need a must_select policy it's annoying.
This readds the automatic selection but only for those commands.
It's still better than before the changes because now it's clear when
and what gets automatically selected.
Commit:
27dbcaab4fac08fbb43df9eb5f10781ff7015bb6
Date:
Wed Apr 13 20:59:46 2022
UTC
add must_select flag for enter_minibuffer
it only makes sense when entering the minibuffer with completions.
This flag is useful for functions like tag-select where the user types
something but one of the completions *must* be selected.
Commit:
7bd3a14bde9bd349f4ac2fca9e7f3a1b56ea5d5a
Date:
Wed Apr 13 20:39:26 2022
UTC
update the "optional completion" *_select functions
Commit:
fea02b0bf5e8d28eb46dd51dc411aa2836905b1f
Date:
Wed Apr 13 19:59:33 2022
UTC
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
Date:
Sat Feb 26 22:44:24 2022
UTC
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
Date:
Mon Feb 7 16:21:11 2022
UTC
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
Date:
Tue Jan 11 17:21:40 2022
UTC
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
Date:
Tue Jan 11 13:44:10 2022
UTC
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
Date:
Sun Jan 2 09:43:31 2022
UTC
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.
Omar Polo