Age | Commit message (Collapse) | Author |
|
The % is often used in urls and in case of the x-hint-command those are
feed to :shellcmd and will be replaced by current URL. This made the
x-hint-command unusable on some search engines.
The expansion of % to the current URL also required to give the current
browser state to the expansion logic and to feed it to all callers of
this too. This bloated the code.
This patch removes the % expansion which was a redundant alternative to
$VIMB_URI.
|
|
Allow to clear different types of website data base on the last update
time.
|
|
If vimb is started with --ephemeral option no files are created by
default and no persistent cookie manager is used.
|
|
Do not consider file to be existent which was on startup. This allows
also to benenfit from files created by other vimb instances spawned
later.
|
|
|
|
Added setting 'prevent-newwindow' to enforce opening links into same
window even if they are crafted by `target="_blank"` or using
`window.open()`.
This option does not change the behaviour for links fired by hinting.
|
|
|
|
|
|
|
|
When `~' is expanded to an home directory without any user, g_get_home_dir()
function is used that on Unix systems first try to honor HOME and fall back to
the passwd file if not set.
On the other hand, `~user' is expanded always by checking the passwd
file. Adjust test_expand_tilde_user() accordingly.
|
|
Also moved style for hintcontainer from user style to hints.js because
there is no styling set at the moment the user should change.
|
|
The links on exherbo are set to margin: -10em and padding: 10em so they
have indeed a big bounding box which is returned by
e.getBoundlingClientRect().
|
|
|
|
|
|
On some pages which set the body to fixed position the hint labels where
placed far away from the hinted element. This patch fixes this issue by
setting the position of the label to fixed instead of absolute.
This fixes #506.
|
|
|
|
|
|
|
|
|
|
|
|
This fixes #492.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for compatibility with older GCC versions.
|
|
This allows us to track also focus changes within frames and iframes also if
they are loaded dynamically. The previous logic added the event listeners to
the document on WEBKIT_LOAD_FINISHED, but if there where later created iframes
in the dom, these where not observers for focus events.
This is only a first attempt to fix the focus issue and does break the logic
behind `set strict-focus=on`.
|
|
|
|
Normally the literal space char ' ' can be used for mappings. In case this is
part of the lhs it can be given escaped by '\'. But this does not work on the
rhs, because there is no evaluation of escaping for space like in vim. On the
other hand the rhs starts with the first none whitespace char after the lhs.
So it wasn't possible to apply mapping to sequences that starts with one or
more spaces.
This patch adds the new special key name '<Space>' to be used in this cases.
|
|
The use of these function makes it easier to see what's done compared to the
character moving in the loops.
|
|
|
|
|
|
|
|
|
|
|
|
This avoid often opening inputbox in case 'input-autohide=on' is set.
|
|
|
|
|
|
|
|
This was only used to test the wildmatching, but the autocmd allow always to
match against list of patterns.
|
|
Change the matching functions to not end at the NUL of the pattern. In stead
we give a pattern length parameter. This allows to process multiple patterns
without the need to put NUL-bytes into it or to allocate memory for the parts
to match.
|
|
This allows to match pattern with {foo,bar} to match 'foo' or 'bar'. This is
really useful for protocol matching for examaple
http{s,}://{www,mail,maps}.ugly-domain.com/*.
|
|
|
|
|
|
This lead to better readable output in case if a test case fails.
|
|
|
|
This function was really handy, but it does not allow to ignore unmatched
quotes which lead to errors that could not be handled very well for the user.
This patch adds a stripped down to the minimum parser for the shortcut
parameters to allow also unmatched single- or double quotes.
|
|
|