Age | Commit message (Collapse) | Author |
|
|
|
The --cmd option was not given to new vimb instance if a link was opened into
a new window. This was not obvious and inconsistent compared to the other
options.
|
|
|
|
|
|
These commands allow to set or jump to marked place of the current opened
page.
|
|
|
|
|
|
Conflicts:
src/hints.js
|
|
|
|
These hint modes are taken from pentadactyl and works like the other hint
modes, accept that the hints are not cleared after a hint was fired using a
numeric filter.
|
|
This allows to handle the command mode <C-U> command right and to not remove
chars from prompts like ';o'.
|
|
These commands allow to open next/previous page by regex pattern configured
using new settings 'previouspattern' and 'nextpattern'.
|
|
|
|
This make it easier to see if the page is loaded event if its in a background
tab.
|
|
|
|
|
|
This allows to ignore possible focused form fields on pages that forces vimb
into input mode. If 'strict-focus' is on, vimb removes the focus from form
fields event if the page say that say should be focussed,
|
|
Used some key processing stuff from vim.
|
|
No the completion does not write the full command name into inputbox if the
command was found. Instead write the prefix like it was typed by the user like
in vim. That means if an abbreviated command is completed, the abbreviated
version is shown for example for ':o !<Tab>'.
|
|
Timeoutlen is the time in milliseconds that is waited for a key code or
mapped key sequence to complete.
|
|
|
|
|
|
|
|
Is is easier to call the g commands like the other commands that needs
multiple chars instead of setting the 8th bit of the char.
|
|
Also remove the old vb_set_mode function that become obsolete.
|
|
|
|
Until today vimb mapped two-part keybindings to commands. This patch changed
this paradigm into a more vi like way. The commands are separated into normal
mode commands that mainly consists of a single char and ex commands that can
by typed into the inputbox like ':open'. This change allows us to adapt also
the way keypresses and mapping are handled. Now every keypress is converted
into a unsigned char and collected into a typeahead queue. The mappings are
applied on the queue. So now we can use also long keymaps and run multiple
commands for different modes with them like ':nmap abcdef :set
scripts!<CR>:open search query<CR>50G'.
|
|
This allows to get already used bookmark tags for new bookmarks ':bma <tab>'
or ':bookmark-add <tab>'.
|
|
Removed typedefs from header files where they are only used internal.
Removed none used macros and changed all macro names to upper case.
|
|
|
|
This reflects better what we are doing and we used both terms in the manual
page which was confusing. So now the mode is called 'Input Mode'.
|
|
This allows to use pass through mode together with insert mode. There where
also some bugs around the vb_set_mode()'s handling for insert mode, that are
now fixed.
|
|
The pass-through mode allows to skip all keybindings accept of <esc> and
<ctrl-c> in vimb to let the webview handle them.
|
|
|
|
|
|
Don't highlight the matches every time we search for the next occurrence of
search string on page, it's neough to do it if the search is started.
Removed search related variables from global struct.
|
|
In previous version it does not work to lookup commands like ':r<up>' and
change the input after the history was initialized. This caused none working
lookup if the first attempt did not find any item. For example if ':foo<up>'
did not find any item and the user change the inputbox into ':o<up>' which
should match items, this retrieved also no item.
This patch fixes also none working lookup of set commands like ':set s<up>'.
|
|
|
|
There is no need to change the hints style properties during runtime. So this
settings are removed. But on the other side all hinted elements and hint label
have now classes to style them via user style. Following style is the default
used for the hints.
._hintLabel {
position: absolute;
z-index: 100000;
font-family: monospace;
font-weight: bold;
font-size: 10px;
color: #000;
background-color: #fff;
margin: 0;
padding: 0px 1px;
border: 1px solid #444;
opacity: 0.7
}
._hintElem {
background-color: #ff0 !important;
color: #000 !important
}
._hintElem._hintFocus{
background-color: #8f0 !important
}
._hintLabel._hintFocus{
opacity: 1
}
|
|
Commands 'search-selection-forward' and 'search-selection-backward' where
added to search for the text that was selected. The commands are bound to the
keys '*' and '#' like in vim editor.
|
|
This prevent the cropping of completed content which leads to the new
generation of completion which in fact does only find a single item.
|
|
If the completion reached a uri that where longer than 255 chars the
completion reduced to one possible item. The reason was the vb_echo* functions
that used only 255 chars to put into inputbox. If the uri was longer we
considered the current text and the text of completion item as different and
cleaned the completion and created a new list with the current text of 255
chars which normally matched only once.
The buffer size is now set to 512 for all internal used string buffer.
|
|
|
|
|
|
This seems to work, but there are some known issues with gtk3 at the moment.
- The tree view widget size could not be set, so that tree items could be
hidden if there are to many of them in completion
- The active styles are not applied if used with gtk3
- The tree view shrinks to on single item and becomes unusable on some urls of
the history - seems there are some char in them that break the tree view or
the column renderer
Not that the configuration for max-completion-items was removed that could not
be applied to show the tree view.
|
|
Another way to avoid access to destroyed widget. Don't destroy the widgets
explicitly, this makes the gtk for us.
|
|
|
|
|
|
So we have the decision for completion types and history lookup types in a
central place.
|
|
According to the vim editor, the number of mode of vimb browser are reduced.
The previous search mode and hinting mode aren't implemented as main modes
with own keybindings, they are now submodes of the normal and command mode
instead. This allow to use the already defined keybindings also for the search
and hinting mode. For example it's possible to navigate in search mode, that
was not possible before.
The searching is now more like in vim, where all the navigation commands work
in search mode too. Also if the searching is aborted by hitting <esc> the
search query keeps memorized and could be continued by command search-{forward,
backward}.
|