vimb.git
11 years agoUse titles of url history to filter completion list.
Daniel Carl [Fri, 26 Jul 2013 18:40:10 +0000 (20:40 +0200)]
Use titles of url history to filter completion list.

11 years agoMoved functions from util to history and bookmark.
Daniel Carl [Fri, 26 Jul 2013 18:27:39 +0000 (20:27 +0200)]
Moved functions from util to history and bookmark.

Some of the functions where only used one time, so they where moved to the
place where they are used.

11 years agoBetter search performance on large pages.
Daniel Carl [Thu, 25 Jul 2013 09:54:54 +0000 (11:54 +0200)]
Better search performance on large pages.

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.

11 years agoDon't try to search multiple time for none found string.
Daniel Carl [Thu, 25 Jul 2013 09:37:58 +0000 (11:37 +0200)]
Don't try to search multiple time for none found string.

11 years agoAllow to change input in history lookup.
Daniel Carl [Mon, 22 Jul 2013 17:38:18 +0000 (19:38 +0200)]
Allow to change input in history lookup.

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>'.

11 years agoDon't handle command and :open history different.
Daniel Carl [Mon, 22 Jul 2013 15:23:17 +0000 (17:23 +0200)]
Don't handle command and :open history different.

The stepping through history via <up> and <down> keys generated different
items for ':open<up>' and ':open <up>'. The reason for this was that we looked
up the history file to get the item, ':open<up>' entries where collected from
command history file where also none url entries are available (like call with
shortcuts).

Now the history lookup does not distinguish between commands and urls and
follows the inspiring example of vim, where ':e <up>' also lists none
processed values like ':e %'.

11 years agoMerge branch 'history-titles'
Daniel Carl [Thu, 18 Jul 2013 18:02:53 +0000 (20:02 +0200)]
Merge branch 'history-titles'

11 years agoUse css -webkit-transform:translate to position hint labels.
Daniel Carl [Thu, 18 Jul 2013 17:46:31 +0000 (19:46 +0200)]
Use css -webkit-transform:translate to position hint labels.

11 years agoDisabled the gtk progressbar feature per default like before.
Daniel Carl [Thu, 18 Jul 2013 07:53:38 +0000 (09:53 +0200)]
Disabled the gtk progressbar feature per default like before.

11 years agoAdded another pre-compiler flag to enable announcement.
Daniel Carl [Thu, 18 Jul 2013 07:51:03 +0000 (09:51 +0200)]
Added another pre-compiler flag to enable announcement.

This makes it easier to remove the announcement via sed script or other
automated scripts.

11 years agoMoved feature config from config.mk to config.def.h.
Daniel Carl [Thu, 18 Jul 2013 00:22:07 +0000 (02:22 +0200)]
Moved feature config from config.mk to config.def.h.

11 years agoAdded announcement for change history file format.
Daniel Carl [Thu, 18 Jul 2013 00:11:40 +0000 (02:11 +0200)]
Added announcement for change history file format.

11 years agoReplaced the confg.h by config.def.h file.
Daniel Carl [Thu, 18 Jul 2013 00:01:17 +0000 (02:01 +0200)]
Replaced the confg.h by config.def.h file.

11 years agoMoved default config from config.h to own file.
Daniel Carl [Wed, 17 Jul 2013 22:23:35 +0000 (00:23 +0200)]
Moved default config from config.h to own file.

This make the inclusion if the config.h file easier.

11 years agoShow new value for togged ":set strict-ssl!" too.
Daniel Carl [Wed, 17 Jul 2013 09:29:21 +0000 (11:29 +0200)]
Show new value for togged ":set strict-ssl!" too.

11 years agoAdded change bookmark file format to README.
Daniel Carl [Tue, 16 Jul 2013 22:06:52 +0000 (00:06 +0200)]
Added change bookmark file format to README.

11 years agoAllow to enable/disable title in completions on compile time.
Daniel Carl [Tue, 16 Jul 2013 21:11:59 +0000 (23:11 +0200)]
Allow to enable/disable title in completions on compile time.

11 years agoReapplied sorting of completion entries.
Daniel Carl [Tue, 16 Jul 2013 20:53:53 +0000 (22:53 +0200)]
Reapplied sorting of completion entries.

11 years agoShow page title in history and bookmark completion (#46).
Daniel Carl [Tue, 16 Jul 2013 15:28:27 +0000 (17:28 +0200)]
Show page title in history and bookmark completion (#46).

11 years agoDon't show hint for invisible items (#19).
Daniel Carl [Tue, 16 Jul 2013 08:57:04 +0000 (10:57 +0200)]
Don't show hint for invisible items (#19).

Don't show those elements that have no height and width, and don't show
elements that lay behind other elements or within a none visible container.

11 years agoAvoid glist to transfer completion data to the completion.c.
Daniel Carl [Sun, 14 Jul 2013 22:26:27 +0000 (00:26 +0200)]
Avoid glist to transfer completion data to the completion.c.

The completion asked the required components to spit out the list of
completion items to make a GtkListStore model and fill it with the data and to
free the list. Now we let the component like history, bookmark or setting fill
in the completion items self, which avoids unneeded list preparation and
memory allocation.

11 years agoSave page title also in bookmark file (#46).
Daniel Carl [Sun, 14 Jul 2013 20:47:35 +0000 (22:47 +0200)]
Save page title also in bookmark file (#46).

11 years agoSave also page title in history file (#46).
Daniel Carl [Sun, 14 Jul 2013 19:56:41 +0000 (21:56 +0200)]
Save also page title in history file (#46).

11 years agoSort bookmark completion.
Daniel Carl [Fri, 12 Jul 2013 22:38:23 +0000 (00:38 +0200)]
Sort bookmark completion.

For the bookmarks the sorting by the occurrence in bookmark file makes no
sense and is sometimes irritating.

11 years agoAll to filter link hints also by the title or alt of image.
Daniel Carl [Fri, 12 Jul 2013 22:26:28 +0000 (00:26 +0200)]
All to filter link hints also by the title or alt of image.

Show the images title or alt attribute in hint label if the link contains no
text content.

11 years agoShow image title or alt in hint label.
Daniel Carl [Fri, 12 Jul 2013 21:48:38 +0000 (23:48 +0200)]
Show image title or alt in hint label.

This allow the user to filter the hints. The hints where already filtered by
the image title or alt attributes, but they aren't visible normally so this
made less sense. But now the title or alt attributes content is visible in
hinting mode.

11 years agoRemoved accidentally duplicated function in hints.js.
Daniel Carl [Fri, 12 Jul 2013 21:57:46 +0000 (23:57 +0200)]
Removed accidentally duplicated function in hints.js.

11 years agoRemoved runtime styling for hints (#40).
Daniel Carl [Thu, 11 Jul 2013 20:29:18 +0000 (22:29 +0200)]
Removed runtime styling for hints (#40).

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
}

11 years agoAdded gtk progressbar for those who like this.
Daniel Carl [Mon, 8 Jul 2013 20:31:56 +0000 (22:31 +0200)]
Added gtk progressbar for those who like this.

11 years agoAdded command 'bookmark-remove' or 'bmr'.
Daniel Carl [Mon, 8 Jul 2013 19:07:31 +0000 (21:07 +0200)]
Added command 'bookmark-remove' or 'bmr'.

This allows to remove bookmark for bookmark file.

11 years agoGive feedback if page is added to bookmarks.
Daniel Carl [Mon, 8 Jul 2013 17:32:01 +0000 (19:32 +0200)]
Give feedback if page is added to bookmarks.

11 years agoAdded mailing list to README.
Daniel Carl [Mon, 8 Jul 2013 17:17:14 +0000 (19:17 +0200)]
Added mailing list to README.

11 years agoRevert "Inject hinting js and user scripts on window-object-cleared."
Daniel Carl [Sat, 6 Jul 2013 23:37:13 +0000 (01:37 +0200)]
Revert "Inject hinting js and user scripts on window-object-cleared."

This reverts commit ca1bee0a48beb81c123e8222dd0a6e8f36f6a622.

The VbHint object was not always available an we got a 'Reference error'.

11 years agoAdded new selection search keybinds to manual page.
Daniel Carl [Sat, 6 Jul 2013 23:22:23 +0000 (01:22 +0200)]
Added new selection search keybinds to manual page.

11 years agoAdded command to search for current selected text.
Daniel Carl [Sat, 6 Jul 2013 21:31:57 +0000 (23:31 +0200)]
Added command to search for current selected text.

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.

11 years agoAdded configuration for 'enable-*-of-insecure-content' (#44).
Daniel Carl [Sat, 6 Jul 2013 20:00:06 +0000 (22:00 +0200)]
Added configuration for 'enable-*-of-insecure-content' (#44).

11 years agoFreezes the VbHint object to prevent changes.
Daniel Carl [Sat, 6 Jul 2013 19:34:57 +0000 (21:34 +0200)]
Freezes the VbHint object to prevent changes.

11 years agoWrite completion content direct to inputbox (#38).
Daniel Carl [Thu, 4 Jul 2013 21:51:48 +0000 (23:51 +0200)]
Write completion content direct to inputbox (#38).

This prevent the cropping of completed content which leads to the new
generation of completion which in fact does only find a single item.

11 years agoInject hinting js and user scripts on window-object-cleared.
Daniel Carl [Thu, 4 Jul 2013 21:09:55 +0000 (23:09 +0200)]
Inject hinting js and user scripts on window-object-cleared.

This seems to be the better time to add our scripts.

11 years agoUse only single hint instance per page.
Daniel Carl [Tue, 2 Jul 2013 21:27:56 +0000 (23:27 +0200)]
Use only single hint instance per page.

11 years agoFixed wrong opened page from right click context menu (#41).
Daniel Carl [Tue, 2 Jul 2013 19:42:06 +0000 (21:42 +0200)]
Fixed wrong opened page from right click context menu (#41).

"Open Link in New Window" from the right click context menu opened the current
page and not the linked one.

11 years agoUse DESTDIR variable in install/uninstall make target (#42).
Daniel Carl [Tue, 2 Jul 2013 19:26:46 +0000 (21:26 +0200)]
Use DESTDIR variable in install/uninstall make target (#42).

This allows to easily install the browser into a own directory with
`make DESTDIR=/install/dir install`.

Also all internal used directory names are defined without the trailing
slashes.

11 years agoFixed search starting in wrong direction.
Daniel Carl [Mon, 1 Jul 2013 18:50:01 +0000 (20:50 +0200)]
Fixed search starting in wrong direction.

If the search started, the current search direction wasn't set but the
resulting direction was calculated upon this value. This leads the search to
start search with the last match found on the page.

11 years agoRemove the ugly resize grips in gtk3.
Daniel Carl [Mon, 1 Jul 2013 18:12:33 +0000 (20:12 +0200)]
Remove the ugly resize grips in gtk3.

11 years agoSet default gtk3 style to disable borders (#40).
Daniel Carl [Mon, 1 Jul 2013 18:01:12 +0000 (20:01 +0200)]
Set default gtk3 style to disable borders (#40).

11 years agoAllow to enable/disable scrollbar to compile time.
Daniel Carl [Mon, 1 Jul 2013 17:39:18 +0000 (19:39 +0200)]
Allow to enable/disable scrollbar to compile time.

11 years agoMerge branch 'treeview-completion'
Daniel Carl [Mon, 1 Jul 2013 17:25:16 +0000 (19:25 +0200)]
Merge branch 'treeview-completion'

11 years agoFixed too small completion box if completion list is small (#39).
Daniel Carl [Sun, 30 Jun 2013 19:40:49 +0000 (21:40 +0200)]
Fixed too small completion box if completion list is small (#39).

If there where only few item in completion list, the completion list where
shrinked under the allow winheight/3 value (only gtk3). Now we set the min
content height of the scrollable window also if this should already fit.

11 years agoRemoved gtk_entry_set_inner_border for gtk3 build (#38).
Daniel Carl [Sun, 30 Jun 2013 17:35:24 +0000 (19:35 +0200)]
Removed gtk_entry_set_inner_border for gtk3 build (#38).

11 years agoFixed broken completion for long uri (#39).
Daniel Carl [Sat, 29 Jun 2013 21:01:34 +0000 (23:01 +0200)]
Fixed broken completion for long uri (#39).

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.

11 years agoFixed none set mode if a unknown command was run.
Daniel Carl [Sat, 29 Jun 2013 17:00:52 +0000 (19:00 +0200)]
Fixed none set mode if a unknown command was run.

If a wrong command was run from inputbox the error message appeared but vimb
kept in command mode so that the normal mode commands did not work. Now the
mode is set to normal mode if a command could not be found.

11 years agoSplit tree model creation from preparing the widget (#39).
Daniel Carl [Sat, 29 Jun 2013 16:15:48 +0000 (18:15 +0200)]
Split tree model creation from preparing the widget (#39).

11 years agoIf completion is started backwards mark the last item (#39).
Daniel Carl [Sat, 29 Jun 2013 15:46:31 +0000 (17:46 +0200)]
If completion is started backwards mark the last item (#39).

If the completion where started in reverse order by <shift-tab> the first item
was marked as active instead of the expected last one.

11 years agoRenamed update into move_cursor.
Daniel Carl [Sat, 29 Jun 2013 15:32:25 +0000 (17:32 +0200)]
Renamed update into move_cursor.

11 years agoFixed non highlighted completion item with gtk3 (#39).
Daniel Carl [Sat, 29 Jun 2013 14:55:11 +0000 (16:55 +0200)]
Fixed non highlighted completion item with gtk3 (#39).

11 years agoPut the completion tree view into scrolled window (#39).
Daniel Carl [Sat, 29 Jun 2013 13:34:09 +0000 (15:34 +0200)]
Put the completion tree view into scrolled window (#39).

11 years agoUse fixed height mode for tree view that's faster (#39).
Daniel Carl [Sat, 29 Jun 2013 12:56:40 +0000 (14:56 +0200)]
Use fixed height mode for tree view that's faster (#39).

11 years agoRemoved completion tree view widget from global scope (#39).
Daniel Carl [Sat, 29 Jun 2013 11:51:34 +0000 (13:51 +0200)]
Removed completion tree view widget from global scope (#39).

11 years agoRemoved direct reading of tree by select function.
Daniel Carl [Fri, 28 Jun 2013 23:06:11 +0000 (01:06 +0200)]
Removed direct reading of tree by select function.

This seems to be the better way to get the text of the current active
completion items instead of moving the cursor to the new item and that try to
get the text of it.

11 years agoUse TreeView to render the completions (#39).
Daniel Carl [Tue, 25 Jun 2013 17:36:07 +0000 (19:36 +0200)]
Use TreeView to render the completions (#39).

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.

11 years agoRevert "Don't bubble up click events for hints (#17)."
Daniel Carl [Tue, 25 Jun 2013 07:30:33 +0000 (09:30 +0200)]
Revert "Don't bubble up click events for hints (#17)."

This reverts commit 78bfdc4fdee1e84393f268da6ae4d1c24ef291ed.

This patch cause other none usable javascript triggered links. The previous
problem that should be fixed, does also occur if the links are clicked by
mouse so we should try to fix this issue in another place.

It seems that there is a problem if window.open() is triggered in the sites.

11 years agoChanged js2h.sh to also remove spaces around '!' char.
Daniel Carl [Tue, 25 Jun 2013 07:12:07 +0000 (09:12 +0200)]
Changed js2h.sh to also remove spaces around '!' char.

This makes the hints.js.h file 6 bytes smaller, what a gain.

11 years agoFixed wrong clean make target.
Daniel Carl [Tue, 25 Jun 2013 07:11:24 +0000 (09:11 +0200)]
Fixed wrong clean make target.

The file name for the hints.js.h was wrong.

11 years agoAdded @placeholder matching for hinting.
Daniel Carl [Sun, 23 Jun 2013 21:03:34 +0000 (23:03 +0200)]
Added @placeholder matching for hinting.

This allows to hint input elements with html5 placeholder attributes that
holds a dummy content for the input field.

11 years agoFixed wrong xpath syntax.
Daniel Carl [Sat, 22 Jun 2013 23:28:23 +0000 (01:28 +0200)]
Fixed wrong xpath syntax.

Moved the //a[@href] to the front of the xpath expressions in hope this
will speedup the hint processing a little. Also disallowed to hint
disabled or readonly input fields. Fixed wrong replacements of "$C" in xpath
expressions, which only relaces the first occurrence of the needle in the
xpath string.

11 years agoChanged typeof(var) === "undefined" to var === undefined.
Daniel Carl [Sat, 22 Jun 2013 22:08:17 +0000 (00:08 +0200)]
Changed typeof(var) === "undefined" to var === undefined.

This is a little shorter and easier to read.

11 years agoFixed none opening image hints without surrounding link.
Daniel Carl [Sat, 22 Jun 2013 16:51:24 +0000 (18:51 +0200)]
Fixed none opening image hints without surrounding link.

Image hints could not be opened if they where not within a link, because
clicking an image has no effect here. Now the image src is processed within
the c-layer to open it.

11 years agoDon't bubble up click events for hints (#17).
Daniel Carl [Sat, 22 Jun 2013 12:33:53 +0000 (14:33 +0200)]
Don't bubble up click events for hints (#17).

I don't know if this change could break hinting on other sites, but at the
moment this fixes some problems on pages that binds event listener to elements
that stop further processing of the click events.

11 years agoAdapted the libwebkit version in the dependencies.
Daniel Carl [Fri, 21 Jun 2013 22:25:24 +0000 (00:25 +0200)]
Adapted the libwebkit version in the dependencies.

11 years agoFixed missing line in manual page (#37).
Daniel Carl [Thu, 20 Jun 2013 15:59:01 +0000 (17:59 +0200)]
Fixed missing line in manual page (#37).

11 years agoFixed function name typo.
Daniel Carl [Tue, 18 Jun 2013 21:51:12 +0000 (23:51 +0200)]
Fixed function name typo.

Renamed util_buil_path to util_build_path.

11 years agoFixed none set mode of url is opened from inpubox.
Daniel Carl [Mon, 17 Jun 2013 21:01:54 +0000 (23:01 +0200)]
Fixed none set mode of url is opened from inpubox.

11 years agoAllow to set query string for hint commands.
Daniel Carl [Mon, 17 Jun 2013 19:28:06 +0000 (21:28 +0200)]
Allow to set query string for hint commands.

The feature to define only the prefix to be shown in the inputbox to show
which hinting mode is active, we now replace this by a static text in favor to
call the hinting command with a initial query like `:hint-link foo`.

11 years agoRevert "Removed vb_set_mode from the commands."
Daniel Carl [Mon, 17 Jun 2013 19:57:54 +0000 (21:57 +0200)]
Revert "Removed vb_set_mode from the commands."

This reverts commit 97a0fac8fba6fbb958ef3fe20a583f1913b4d1f9.

The setting of the mode, seems to be an essential part of the commands. For
example are some of the commands also used internally and should therefore
also set the right mode after execution. For example the feedback for yanked
uri by hinting where not shown, because after printing the message the hinting
machanism sill observed the inputbox for changed and started hintmode again
which cleared the yank feedback. The same was also seen on ';s' hint-save
command.

11 years agoMade hinting case insensitive (#35).
Daniel Carl [Sat, 15 Jun 2013 22:33:19 +0000 (00:33 +0200)]
Made hinting case insensitive (#35).

11 years agoFixed no more working counts for key commands.
Daniel Carl [Fri, 14 Jun 2013 08:13:06 +0000 (10:13 +0200)]
Fixed no more working counts for key commands.

Another way to avoid access to destroyed widget. Don't destroy the widgets
explicitly, this makes the gtk for us.

11 years agoRemoved vb_set_mode from the commands.
Daniel Carl [Fri, 14 Jun 2013 07:26:45 +0000 (09:26 +0200)]
Removed vb_set_mode from the commands.

This mode switching is only used if the commands are called from inputbox most
of the time and not if called via keybindings. So we can skip the function
calls for keybinds and do it in command_run_string instead.

11 years agoFixed missed g_free in command_run_string.
Daniel Carl [Fri, 14 Jun 2013 07:08:56 +0000 (09:08 +0200)]
Fixed missed g_free in command_run_string.

11 years agoDon't use string for command and params in keybinding.
Daniel Carl [Fri, 14 Jun 2013 00:32:04 +0000 (02:32 +0200)]
Don't use string for command and params in keybinding.

It wasn't a good approach to use string for the command and it's params to
call if a keybinding is used. Now we translate the command string and
parameters to the right command function and a prepared Arg parameter. This
will save system resources during runtime.

11 years agoChanged :?map commands to act like in vim.
Daniel Carl [Thu, 13 Jun 2013 21:56:16 +0000 (23:56 +0200)]
Changed :?map commands to act like in vim.

If a key sequence is added that already where bound to a command, the previous
keybinding will be removed before the new keybinding is created.

11 years agoMoved content of destroy client function to destroy_window_cb (#34).
Daniel Carl [Thu, 13 Jun 2013 11:26:44 +0000 (13:26 +0200)]
Moved content of destroy client function to destroy_window_cb (#34).

11 years agoFixed errors on :quit called by kebinding (#34).
Daniel Carl [Thu, 13 Jun 2013 11:18:21 +0000 (13:18 +0200)]
Fixed errors on :quit called by kebinding (#34).

If vimb was quit by keybinding, we tried to update the status bar after the
widgets where destroyed that lead to errors.

11 years agoFixed leaving input mode on load commit (#33).
Daniel Carl [Wed, 12 Jun 2013 22:13:43 +0000 (00:13 +0200)]
Fixed leaving input mode on load commit (#33).

If a page was loaded and text was typed into the inputbox, the input
mode was left on WEBKIT_LOAD_COMMITED. Now we keep in insert mode also if
the page loads to allow to type in a command into inputbox.

Moved modkey unset to keybind.c where the modkeys are set.

11 years agoAdded macro GET_URI() to shorten the code.
Daniel Carl [Mon, 10 Jun 2013 20:59:08 +0000 (22:59 +0200)]
Added macro GET_URI() to shorten the code.

11 years agoAdded new command :shellcmd to run shell commands (#25).
Daniel Carl [Mon, 10 Jun 2013 20:52:47 +0000 (22:52 +0200)]
Added new command :shellcmd to run shell commands (#25).

This is the first test for this way of working with vimb. There might be
security issues related to this and we should check if the uri is always
proper escaped.

11 years agoBumped to version 0.1.8.
Daniel Carl [Sun, 9 Jun 2013 16:14:43 +0000 (18:14 +0200)]
Bumped to version 0.1.8.

Thanks to foobar142 who spend time to figuring out many issues and initiates
some new useful features.

11 years agoAdded hinting mode to download links (#32).
Daniel Carl [Fri, 7 Jun 2013 22:49:45 +0000 (00:49 +0200)]
Added hinting mode to download links (#32).

There is now a new hinting mode and command :hint-save to download the hinted
links into the configured download directory. This hinting is bound to the
keybinding ';s'.

Also the enums out of the command.c file where moved into the command.h file,
because they would be possible needed from other components that call commands
directly and not from their string representation.

11 years agoAdded command to download current page to given path (#32).
Daniel Carl [Fri, 7 Jun 2013 21:51:37 +0000 (23:51 +0200)]
Added command to download current page to given path (#32).

11 years agoFixed wrong order of history items.
Daniel Carl [Wed, 5 Jun 2013 22:35:53 +0000 (00:35 +0200)]
Fixed wrong order of history items.

The order of the history items available by '/<up>' or ':<up>' was
wrong, the first items should be the latest added command and not the
oldest one.

This patch fixes also wrong ordering of history entries in the files in case
when the number of items in the files is higher than the configured maximum
history items.

11 years agoSimplified the make target 'clean'.
Daniel Carl [Tue, 4 Jun 2013 21:35:38 +0000 (23:35 +0200)]
Simplified the make target 'clean'.

11 years agoFixed keybinding issue with irrelevant modifiers (#6).
Daniel Carl [Tue, 4 Jun 2013 20:57:11 +0000 (22:57 +0200)]
Fixed keybinding issue with irrelevant modifiers (#6).

There are some keys for that some of the modifiers don't matter, for example
is it irrelevant for ';' if it's shifted or not. These irrelevant modifiers
are removed before the keybindings are searched.

11 years agoFixed reordering of history if the browser instance is closed (#31).
Daniel Carl [Sun, 2 Jun 2013 17:07:03 +0000 (19:07 +0200)]
Fixed reordering of history if the browser instance is closed (#31).

11 years agoFixed wrong sorting of url history entries (#31).
Daniel Carl [Sun, 2 Jun 2013 16:58:26 +0000 (18:58 +0200)]
Fixed wrong sorting of url history entries (#31).

In opposition to the function comment the history list contained the latest
entries first.

11 years agoAdded descent command.
Daniel Carl [Sun, 2 Jun 2013 16:09:04 +0000 (18:09 +0200)]
Added descent command.

This command allows to open the parent directory of the current shown.

11 years agoFixed some none more working count for commands.
Daniel Carl [Sun, 2 Jun 2013 16:27:57 +0000 (18:27 +0200)]
Fixed some none more working count for commands.

11 years agoFixed regression in completion for counted commands.
Daniel Carl [Sun, 2 Jun 2013 16:18:41 +0000 (18:18 +0200)]
Fixed regression in completion for counted commands.

The commit d95b20c introduced a regression which made it impossible to
complete commands that have a count set for example `:3b<tab>`.

11 years agoSend language header with requests.
Daniel Carl [Sun, 2 Jun 2013 12:49:00 +0000 (14:49 +0200)]
Send language header with requests.

This will help the webserver to send this right content.

11 years agoMinor code improvements.
Daniel Carl [Sat, 1 Jun 2013 18:32:39 +0000 (20:32 +0200)]
Minor code improvements.

11 years agoChanged default kebinding for quit from 'q' to 'ctrl-q' (#16).
Daniel Carl [Sat, 1 Jun 2013 16:02:22 +0000 (18:02 +0200)]
Changed default kebinding for quit from 'q' to 'ctrl-q' (#16).

11 years agoAdded completion section to manual page (#27).
Daniel Carl [Sat, 1 Jun 2013 12:40:29 +0000 (14:40 +0200)]
Added completion section to manual page (#27).