Daniel Carl [Fri, 22 Feb 2013 20:09:51 +0000 (21:09 +0100)]
Fixed code indentations.
Daniel Carl [Thu, 21 Feb 2013 21:03:59 +0000 (22:03 +0100)]
Fixed wrong mode if new window was opened.
If there was opened a uri into a new window the first window kept in command
mode. This caused that the normal mode keybindings did not work until <esc>
was pressed.
Daniel Carl [Thu, 21 Feb 2013 19:34:37 +0000 (20:34 +0100)]
Check if uri is a file path before open it.
Daniel Carl [Tue, 19 Feb 2013 20:48:42 +0000 (21:48 +0100)]
Fixed bug in retrieving webkit settings of type char.
Daniel Carl [Sun, 17 Feb 2013 17:05:34 +0000 (18:05 +0100)]
Used font switches in man page to make it more readable.
Daniel Carl [Sun, 17 Feb 2013 16:57:02 +0000 (17:57 +0100)]
Added command and keybinds to zoom the page.
Daniel Carl [Sat, 16 Feb 2013 18:45:28 +0000 (19:45 +0100)]
Increased the default font size from 10 -> 11.
Daniel Carl [Sat, 16 Feb 2013 17:51:49 +0000 (18:51 +0100)]
Allow to toggle boolean variables.
It's now possible to toggel the value of boolean variable during runtime via
extended set command.
Example to toggle the carret mode
:set carret!
Daniel Carl [Sat, 16 Feb 2013 14:49:16 +0000 (15:49 +0100)]
Removed redundant input* commands.
These commands can be replaces by the input command with the parameters and
the new inputuri command that prints the text into inputbox appended by the
current uri.
Daniel Carl [Sat, 16 Feb 2013 14:34:59 +0000 (15:34 +0100)]
Don't strip any whitespace to process input.
The whitespace might be relevant input like for the input commands where
something like ':input :open ' is useful.
Daniel Carl [Sat, 16 Feb 2013 14:21:06 +0000 (15:21 +0100)]
Used italic font in manpage more consistent.
Daniel Carl [Sat, 16 Feb 2013 13:45:35 +0000 (14:45 +0100)]
Added section about duplicate keybinds to manpage.
Daniel Carl [Sat, 16 Feb 2013 10:46:31 +0000 (11:46 +0100)]
Fixed wrong check if a fired hint is an input.
We considered every html form input element as editable. This brakes the next
submit element on duckduckgo's search result page.
Now we exclude the input type submit, reset and image from the editable input
elements.
Daniel Carl [Sat, 16 Feb 2013 00:41:04 +0000 (01:41 +0100)]
Replaces the gchar -> char and gint -> int.
Daniel Carl [Sat, 16 Feb 2013 00:22:59 +0000 (01:22 +0100)]
Simplified keybind by removing string splitting.
The splitting of keybind input string is now done in the command that maps the
keybindings.
Daniel Carl [Sat, 16 Feb 2013 00:03:13 +0000 (01:03 +0100)]
Adapted the year in the license headers.
Daniel Carl [Fri, 15 Feb 2013 23:52:34 +0000 (00:52 +0100)]
Added a '_' before the include guards.
This is not required, but seems to be the common practice.
Daniel Carl [Fri, 15 Feb 2013 23:44:26 +0000 (00:44 +0100)]
Added search-engine support (#11).
Added a command to add and remove search-engines and extended the open command
to query the search-engine if the shortcut was found as first part of the open
or tabopen command.
Daniel Carl [Wed, 13 Feb 2013 18:57:55 +0000 (19:57 +0100)]
Allow to open the clipboard content as uri.
There are two new keybindings to open the clipboards content in current window
(p) and into a new window (P).
Daniel Carl [Sun, 10 Feb 2013 18:54:31 +0000 (19:54 +0100)]
Use other function to clear input text.
Daniel Carl [Sun, 10 Feb 2013 16:43:31 +0000 (17:43 +0100)]
Fixed none working keybindings with a 1.
If a keybind contained a 1 this was only checked if it where uppercase, and
the shift mask was added to the keybinding. Indeed the 1 is uppercase and
lowercase together, so we ignore such cases where the char is available in
both cases.
Daniel Carl [Sun, 10 Feb 2013 16:20:03 +0000 (17:20 +0100)]
Set the mode after running a command in the command.
This make the commands more flexible, because we don't need to set the mode
after a command is called from somewhere else than the input box.
Daniel Carl [Sat, 9 Feb 2013 17:18:25 +0000 (18:18 +0100)]
Allow to use count for search (#6).
Daniel Carl [Sat, 9 Feb 2013 15:35:39 +0000 (16:35 +0100)]
Added flags to enable search highlight feature.
Daniel Carl [Wed, 6 Feb 2013 23:25:25 +0000 (00:25 +0100)]
Allow searching in the page (#6).
Extended the keybindings to also save parameters to the commands. This allows
to map commands like 'input :foo' to a keybinding, which make the use more
flexible.
Daniel Carl [Mon, 4 Feb 2013 19:28:20 +0000 (20:28 +0100)]
Fixed none working function with GTK3.
Daniel Carl [Sun, 3 Feb 2013 20:31:52 +0000 (21:31 +0100)]
Little performance improvement for completions.
Daniel Carl [Sat, 2 Feb 2013 22:46:51 +0000 (23:46 +0100)]
Set the size of inspector pane to 1/3 of window height.
Daniel Carl [Sat, 2 Feb 2013 22:08:12 +0000 (23:08 +0100)]
Allow to use a proxy (#10).
Added setting to enable or disable the proxy usage.
Daniel Carl [Mon, 28 Jan 2013 19:45:29 +0000 (20:45 +0100)]
Open inspector into a pane within the current window.
Daniel Carl [Sun, 27 Jan 2013 18:04:59 +0000 (19:04 +0100)]
Split the lifecycle of inspector into multiple functions.
This is done to move the inspector in a new widget within the same window like
it is done other browsers too.
Daniel Carl [Sun, 27 Jan 2013 17:24:17 +0000 (18:24 +0100)]
Fixed wrong error messages if configs where load from file.
Daniel Carl [Mon, 7 Jan 2013 19:55:30 +0000 (20:55 +0100)]
Use higher level function to read config file.
Daniel Carl [Mon, 7 Jan 2013 19:44:09 +0000 (20:44 +0100)]
Added new function to read file contents.
Daniel Carl [Mon, 7 Jan 2013 18:51:21 +0000 (19:51 +0100)]
Don't set vp_update_status_style every time the statusbar is updated.
The style depends only on the current ssl status, so it's enough to update if
we get a new status or if the color definitions are changed.
Daniel Carl [Mon, 7 Jan 2013 18:50:42 +0000 (19:50 +0100)]
Fixed invalid macro for the debug timers.
Daniel Carl [Mon, 7 Jan 2013 18:33:54 +0000 (19:33 +0100)]
Do not allow to load favicon images.
Daniel Carl [Mon, 7 Jan 2013 18:15:17 +0000 (19:15 +0100)]
Fixed wrong ssl validation on some pages.
Daniel Carl [Sun, 6 Jan 2013 19:13:46 +0000 (20:13 +0100)]
Save last closed page into file (#9).
Added command to reopen the last closed page 'open-closed' and
'tabopen-closed'.
Daniel Carl [Sun, 6 Jan 2013 18:38:06 +0000 (19:38 +0100)]
Moved OVERWRITE_STRING maro to main.h.
We could use this in other files too.
Daniel Carl [Sun, 6 Jan 2013 18:23:04 +0000 (19:23 +0100)]
Allow to download multiple files.
Show the download progress in the status bar.
Daniel Carl [Sat, 5 Jan 2013 15:18:06 +0000 (16:18 +0100)]
Added new features to the readme.
Daniel Carl [Sat, 5 Jan 2013 15:13:28 +0000 (16:13 +0100)]
Add the new commands open-home and tabopen-home to man page.
Daniel Carl [Sat, 5 Jan 2013 14:57:01 +0000 (15:57 +0100)]
Allow to set a home page.
Added also commands and keybinds to easily open the home page into current or
new window.
Daniel Carl [Sat, 5 Jan 2013 14:19:23 +0000 (15:19 +0100)]
Use pointer to char for the hint colors too.
Daniel Carl [Sat, 5 Jan 2013 12:17:19 +0000 (13:17 +0100)]
Added support for ssl validation.
SSL certificates are checked against a CA bundle (by default:
/etc/ssl/certs/ca-certificates.crt)
If verified, green background colour in the status bar.
If unverified, vimp will refuse to connect.
Daniel Carl [Sat, 5 Jan 2013 12:37:58 +0000 (13:37 +0100)]
Enable cookie support by default.
Daniel Carl [Tue, 1 Jan 2013 13:42:44 +0000 (14:42 +0100)]
Show load progress status in statusbar.
Daniel Carl [Tue, 1 Jan 2013 13:04:18 +0000 (14:04 +0100)]
Moved callback from g_signal_connect to g_object_connect.
Daniel Carl [Mon, 31 Dec 2012 16:38:10 +0000 (17:38 +0100)]
Show the websites title as window title.
Daniel Carl [Mon, 31 Dec 2012 16:29:31 +0000 (17:29 +0100)]
Made make a little more verbose.
Daniel Carl [Mon, 31 Dec 2012 15:55:39 +0000 (16:55 +0100)]
Show link url in urlbar for hinted links.
Every time the focus is set, we show the hinted elements url in the urlbar.
Daniel Carl [Mon, 31 Dec 2012 15:12:06 +0000 (16:12 +0100)]
Show hovered link url in urlbar.
Daniel Carl [Mon, 31 Dec 2012 13:49:47 +0000 (14:49 +0100)]
Fixed missed mode to remove keybinds.
Daniel Carl [Mon, 31 Dec 2012 13:18:07 +0000 (14:18 +0100)]
Moved setting related function from util.c to setting.c.
Now there is no dependency from the setting.c to the util function.
Daniel Carl [Sun, 30 Dec 2012 18:23:35 +0000 (19:23 +0100)]
Remove modkeys if keybinding is removed (#2).
Daniel Carl [Sun, 30 Dec 2012 16:24:19 +0000 (17:24 +0100)]
Moved static variable from keybind.c to the VpCore struct.
Daniel Carl [Sun, 30 Dec 2012 16:11:58 +0000 (17:11 +0100)]
Reduced the number of string operation to process settings.
Also added some more error messages if some settings could not be set.
Daniel Carl [Sun, 30 Dec 2012 15:50:32 +0000 (16:50 +0100)]
Allow to see the value of settings.
The 'set' command allows to print the current values to the input box. To see
the value of a variable, use ':set config-name?' like it is done in vim.
Daniel Carl [Sun, 30 Dec 2012 09:50:29 +0000 (10:50 +0100)]
Fixed typo in man page.
Daniel Carl [Sun, 30 Dec 2012 09:36:09 +0000 (10:36 +0100)]
Removed constant PROJECT from sources.
To easily rename the project into something else is a unused feature.
Daniel Carl [Sat, 29 Dec 2012 21:06:18 +0000 (22:06 +0100)]
Added install and uninstall make targets.
Daniel Carl [Sat, 29 Dec 2012 20:29:28 +0000 (21:29 +0100)]
Do not use CPPFLAGS for the man page.
We use the VERSION and PROJECT macros direct for the generation of the man
page. The CPPFLAGS will cause errors if the m4 macro processor does not know
the options.
Daniel Carl [Sat, 29 Dec 2012 20:25:52 +0000 (21:25 +0100)]
Fixed array-bounds warning.
Daniel Carl [Sat, 29 Dec 2012 20:06:26 +0000 (21:06 +0100)]
Added a man page for the browser commands.
Daniel Carl [Sat, 29 Dec 2012 15:00:20 +0000 (16:00 +0100)]
Added all suggested keybindings to th default configuration.
Doing it in this way allow to use the browser with full keyboard support
without creating a configuration for before enjoying the great browser
experience.
Daniel Carl [Sat, 29 Dec 2012 14:50:23 +0000 (15:50 +0100)]
Use a '=' to seperate the kebind and the command for *map command.
This changed makes the commands format more generic for all commands. From the
point of view of the command, there is no difference between the set command
and the various *map commands. Now we use the following format for all
commands:
[count]command[ param1[=value1]].
This will make the commands easier to use and learn and will make our lives
easier in later implementations. For example would be the parsing of
[count] command[ param1=[value1] param2 param3[=value3]] easy.
Daniel Carl [Sat, 29 Dec 2012 10:46:11 +0000 (11:46 +0100)]
Changed the help message a little.
Pumped to version 0.1.3.
Daniel Carl [Tue, 25 Dec 2012 00:24:26 +0000 (01:24 +0100)]
Made better help descriptions for program options.
Daniel Carl [Tue, 25 Dec 2012 00:21:17 +0000 (01:21 +0100)]
Implemented embedding via x-embed.
Daniel Carl [Mon, 24 Dec 2012 22:54:38 +0000 (23:54 +0100)]
Changed the order of project and version for vimp -v.
Daniel Carl [Mon, 24 Dec 2012 02:29:23 +0000 (03:29 +0100)]
Allow to yank hinted link url.
Daniel Carl [Sun, 23 Dec 2012 23:50:01 +0000 (00:50 +0100)]
Added command to yank current url or selected text to clipboard.
Daniel Carl [Sun, 23 Dec 2012 23:58:11 +0000 (00:58 +0100)]
Added macro to get current url.
Daniel Carl [Sun, 23 Dec 2012 22:56:44 +0000 (23:56 +0100)]
Allow to set the maximum number of completion items to runtime.
Daniel Carl [Sun, 23 Dec 2012 22:36:09 +0000 (23:36 +0100)]
Allow to use count for the browser history.
Now it's possible to go multiply step back or forward in the history by
:[n]back or :[n]forward and also via keybindings.
Daniel Carl [Sun, 23 Dec 2012 01:54:22 +0000 (02:54 +0100)]
Allow to set the style of hints on runtime.
Daniel Carl [Sun, 23 Dec 2012 01:40:42 +0000 (02:40 +0100)]
Allow to set hint element style on runtime.
Daniel Carl [Sat, 22 Dec 2012 23:43:15 +0000 (00:43 +0100)]
Do not add inputbox observers if hint will be fired.
Daniel Carl [Sat, 22 Dec 2012 18:40:26 +0000 (19:40 +0100)]
Fixed duplicate hint processing if there exists only one hint item.
If there where only one hintable item, the item was fired by the hints_create
function and the hints_changed_callback too. This leads to duplicate input of
the hinted url for the command hint-input-open.
Daniel Carl [Sat, 22 Dec 2012 15:58:03 +0000 (16:58 +0100)]
Fixed reseted prefixLength for the hints.
The prefixLength was set back to zero on call of hints_clear so that hinting
with chars didn't work properly. Now the prefixLength is alway given as
parameter to the function hints_create.
Daniel Carl [Sat, 22 Dec 2012 15:30:07 +0000 (16:30 +0100)]
Handle hinting command prefixes.
This patch allow to have hinting command prefixes with differen length like
',' or ';t'.
Daniel Carl [Sat, 22 Dec 2012 14:51:44 +0000 (15:51 +0100)]
Moved static variables from hint.c into VpVore struct.
This change makes the variables to global variables what isn't a good choice
in general, but it makes the code a bit more clean here and allow us to manage
multiple webviews together in the future.
Daniel Carl [Sat, 22 Dec 2012 14:21:45 +0000 (15:21 +0100)]
Reindented code in main.h.
Daniel Carl [Sat, 22 Dec 2012 02:56:43 +0000 (03:56 +0100)]
Changed the start page to the project page on github.
Daniel Carl [Sat, 22 Dec 2012 02:45:06 +0000 (03:45 +0100)]
Dispatch click event over the document the hints belongs.
Daniel Carl [Sat, 22 Dec 2012 02:04:58 +0000 (03:04 +0100)]
Allow hinting also in iframes.
Fixed wrong offset calculation for the hints.
Daniel Carl [Fri, 21 Dec 2012 23:17:52 +0000 (00:17 +0100)]
Changed the default keybinding for the hint open commands.
Now we use ;o and ;t to write the hintes source or uri to the inputbar.
Daniel Carl [Fri, 21 Dec 2012 23:13:13 +0000 (00:13 +0100)]
Remove unneeded hints_vlear_focus function.
Daniel Carl [Fri, 21 Dec 2012 14:09:14 +0000 (15:09 +0100)]
Added logic to process hinted elements.
Added commend to write hinted link url to the inputbar.
Daniel Carl [Fri, 21 Dec 2012 14:43:50 +0000 (15:43 +0100)]
Fixed regression in completion mode.
Daniel Carl [Fri, 21 Dec 2012 13:22:37 +0000 (14:22 +0100)]
Use a bitmap for the hints type and open modes.
Daniel Carl [Thu, 20 Dec 2012 15:17:55 +0000 (16:17 +0100)]
Removed no more needed variable declaration.
Daniel Carl [Thu, 20 Dec 2012 15:03:09 +0000 (16:03 +0100)]
Fixed missed g_object_unref.
Also avoided to cast a WebKitDOMNode multiple times to a WebKitDOMElement.
Daniel Carl [Thu, 20 Dec 2012 13:47:49 +0000 (14:47 +0100)]
Added commands inputtabopen and inputtabpencurrent.
Daniel Carl [Thu, 20 Dec 2012 13:41:16 +0000 (14:41 +0100)]
Fixed duplicate mode setting in command_input function.
Daniel Carl [Wed, 19 Dec 2012 18:31:32 +0000 (19:31 +0100)]
Fixed wrong parameter for command_open.
Daniel Carl [Wed, 19 Dec 2012 18:27:28 +0000 (19:27 +0100)]
Allow to open links into new window.
Daniel Carl [Wed, 19 Dec 2012 14:56:19 +0000 (15:56 +0100)]
Use signal::button-release-event instead of signal event.
Daniel Carl [Wed, 19 Dec 2012 14:19:29 +0000 (15:19 +0100)]
Remove -- INPUT -- from inputbox after submitting a form.