vimb.git
11 years agoFixed duplicate mode setting in command_input function.
Daniel Carl [Thu, 20 Dec 2012 13:41:16 +0000 (14:41 +0100)]
Fixed duplicate mode setting in command_input function.

11 years agoFixed wrong parameter for command_open.
Daniel Carl [Wed, 19 Dec 2012 18:31:32 +0000 (19:31 +0100)]
Fixed wrong parameter for command_open.

11 years agoAllow to open links into new window.
Daniel Carl [Wed, 19 Dec 2012 18:27:28 +0000 (19:27 +0100)]
Allow to open links into new window.

11 years agoUse signal::button-release-event instead of signal event.
Daniel Carl [Wed, 19 Dec 2012 14:56:19 +0000 (15:56 +0100)]
Use signal::button-release-event instead of signal event.

11 years agoRemove -- INPUT -- from inputbox after submitting a form.
Daniel Carl [Wed, 19 Dec 2012 14:19:29 +0000 (15:19 +0100)]
Remove -- INPUT -- from inputbox after submitting a form.

11 years agoAllow to active form fields via hinting.
Daniel Carl [Wed, 19 Dec 2012 14:04:20 +0000 (15:04 +0100)]
Allow to active form fields via hinting.

11 years agoFixed wrong parameter order in hints_num_has_prefix.
Daniel Carl [Sun, 16 Dec 2012 18:36:50 +0000 (19:36 +0100)]
Fixed wrong parameter order in hints_num_has_prefix.

11 years agoDispatch mouseover and mouseout event when focus elements by hinting.
Daniel Carl [Sun, 16 Dec 2012 18:33:36 +0000 (19:33 +0100)]
Dispatch mouseover and mouseout event when focus elements by hinting.

11 years agoUse mouse event to open hint instead of c logic.
Daniel Carl [Sun, 16 Dec 2012 18:13:21 +0000 (19:13 +0100)]
Use mouse event to open hint instead of c logic.

11 years agoAllow to open fired hint elements.
Daniel Carl [Sun, 16 Dec 2012 13:05:13 +0000 (14:05 +0100)]
Allow to open fired hint elements.

11 years agoAllow to fire focussed hint via retrun hit.
Daniel Carl [Sat, 15 Dec 2012 23:16:39 +0000 (00:16 +0100)]
Allow to fire focussed hint via retrun hit.

11 years agoAllow to filter and update hints.
Daniel Carl [Sat, 15 Dec 2012 23:10:06 +0000 (00:10 +0100)]
Allow to filter and update hints.

11 years agoMoved key event related macros to main.h.
Daniel Carl [Sat, 15 Dec 2012 23:08:34 +0000 (00:08 +0100)]
Moved key event related macros to main.h.

So we can access them in every files that uses keypress event handlers.

11 years agoUse inputbox to filter hints.
Daniel Carl [Sat, 15 Dec 2012 23:07:49 +0000 (00:07 +0100)]
Use inputbox to filter hints.

11 years agoAdded new function to write input text.
Daniel Carl [Sat, 15 Dec 2012 18:03:58 +0000 (19:03 +0100)]
Added new function to write input text.

11 years agoFixed wrong bounding box calculation for hints.
Daniel Carl [Sat, 8 Dec 2012 15:40:41 +0000 (16:40 +0100)]
Fixed wrong bounding box calculation for hints.

Added shorter type for the webkit dom types to cleanup the code.

11 years agoAdded alias for settings.
Daniel Carl [Mon, 3 Dec 2012 21:53:12 +0000 (22:53 +0100)]
Added alias for settings.

This was done because the webkit settings don't always have short or mnemonic
names.

11 years agoFixed none working Upper-Case keybinds like a simple 'G'.
Daniel Carl [Mon, 3 Dec 2012 21:24:17 +0000 (22:24 +0100)]
Fixed none working Upper-Case keybinds like a simple 'G'.

Now 'G' and <shift-tab> still work like expected. But at the moment it fells
like we will come into trouble later with special fixes and modmask rules.

11 years agoAdded license headers also to hints files.
Daniel Carl [Sun, 2 Dec 2012 21:40:49 +0000 (22:40 +0100)]
Added license headers also to hints files.

11 years agoFixed none working keybinds with single uppercase chars.
Daniel Carl [Sun, 2 Dec 2012 21:37:55 +0000 (22:37 +0100)]
Fixed none working keybinds with single uppercase chars.

11 years agoCreate only hints on element in the visible area.
Daniel Carl [Sun, 2 Dec 2012 20:43:28 +0000 (21:43 +0100)]
Create only hints on element in the visible area.

11 years agoAdded basic logic for hints.
Daniel Carl [Sat, 1 Dec 2012 21:50:23 +0000 (22:50 +0100)]
Added basic logic for hints.

11 years agoAdded command 'inspect' to open the web inspector.
Daniel Carl [Sat, 1 Dec 2012 13:47:15 +0000 (14:47 +0100)]
Added command 'inspect' to open the web inspector.

11 years agoAdded web inspector.
Daniel Carl [Sat, 1 Dec 2012 13:37:28 +0000 (14:37 +0100)]
Added web inspector.

11 years agoAdded macro to get the cleaned current browser mode.
Daniel Carl [Sun, 25 Nov 2012 13:40:07 +0000 (14:40 +0100)]
Added macro to get the cleaned current browser mode.

11 years agoApply the input style settings if they where set.
Daniel Carl [Sun, 25 Nov 2012 13:28:34 +0000 (14:28 +0100)]
Apply the input style settings if they where set.

Before this patch it was possible that the input box uses another font with
other line height. If the first text is type in the input box this changes
it's size. Now the fonts and colors will be applied to it immediately.

11 years agoSimplified the usage of vp_set_model().
Daniel Carl [Sun, 25 Nov 2012 13:27:39 +0000 (14:27 +0100)]
Simplified the usage of vp_set_model().

11 years agoAdded license headers to dom.c and dom.h.
Daniel Carl [Thu, 22 Nov 2012 02:31:05 +0000 (03:31 +0100)]
Added license headers to dom.c and dom.h.

11 years agoAdded input mode.
Daniel Carl [Thu, 22 Nov 2012 02:24:21 +0000 (03:24 +0100)]
Added input mode.

Allow to set the browser into input mode if a text-, password or textarea is
focused on page load. Allow to switch to input mode, if an editable element is
clicked.

11 years agoFixed unused hide parameter in vp_echo() function.
Daniel Carl [Thu, 22 Nov 2012 01:38:12 +0000 (02:38 +0100)]
Fixed unused hide parameter in vp_echo() function.

11 years agoAllow to go back to normal mode via ctrl-c too.
Daniel Carl [Mon, 19 Nov 2012 19:45:07 +0000 (20:45 +0100)]
Allow to go back to normal mode via ctrl-c too.

11 years agoFixed un setable input and completion fonts.
Daniel Carl [Mon, 19 Nov 2012 18:55:36 +0000 (19:55 +0100)]
Fixed un setable input and completion fonts.

Also fixed unneeded completion spaces introduced by different completion
fonts.

11 years agoFixed regression in complation with numberd prefixes.
Daniel Carl [Mon, 19 Nov 2012 18:24:30 +0000 (19:24 +0100)]
Fixed regression in complation with numberd prefixes.

Inputs like :50j could not be completed anymore by a previous commit. This
patch fixes the issue.

11 years agoAllow to compile against gtk3.
Daniel Carl [Sat, 17 Nov 2012 21:21:09 +0000 (22:21 +0100)]
Allow to compile against gtk3.

Fixed not setting of completion colors.
Removed disabling of scrollbars.
This can be done for gtk2 via ~/.gtkrc-2.0:
    style "vimp-no-scrollbars" {
        GtkScrollbar::slider-width=0
        GtkScrollbar::trough-border=0
    }
    widget "vimp*" style "vimp-no-scrollbars"

and for gtk3 via XDG_CONFIG_HOME/gtk-3.0/gtk.css
    #vimp GtkScrollbar {
        -GtkRange-slider-width: 0;
        -GtkRange-trough-border: 0;
    }

11 years agoAdded command to start completion.
Daniel Carl [Mon, 12 Nov 2012 20:32:27 +0000 (21:32 +0100)]
Added command to start completion.

Doing this it's possible to set a special keybinding to complete commands and
settings.

11 years agoChanged format to specify key bindings.
Daniel Carl [Mon, 12 Nov 2012 19:47:49 +0000 (20:47 +0100)]
Changed format to specify key bindings.

Use <ctrl-o> to specifiy modmask and keyval together. With this approach it's
easier to parse and we can simply extend to use also keyval like <tab>.

11 years agoFixed hiding of inputbox if this is already focused.
Daniel Carl [Mon, 12 Nov 2012 18:56:04 +0000 (19:56 +0100)]
Fixed hiding of inputbox if this is already focused.

Added also a flag to the vp_echo function to allow to enable disable the
message hiding for the given message.

11 years agoAllow to set mode after command.
Daniel Carl [Mon, 12 Nov 2012 18:38:21 +0000 (19:38 +0100)]
Allow to set mode after command.

Now we can set the mode to switch to, for every command. Doing this allows to
use commands like :input also from inputbox.

11 years agoAdded macro to get only main modes.
Daniel Carl [Mon, 12 Nov 2012 18:08:53 +0000 (19:08 +0100)]
Added macro to get only main modes.

11 years agoAdded basic completion of settings.
Daniel Carl [Sun, 11 Nov 2012 17:22:08 +0000 (18:22 +0100)]
Added basic completion of settings.

For the moment we have to type :set and can complete from this the settings,
but it would be a better solution to complete first the command and add a
space and type TAB to complete the settings.

11 years agoRemove vp_webview_load_commited_cb.
Daniel Carl [Sun, 11 Nov 2012 14:00:14 +0000 (15:00 +0100)]
Remove vp_webview_load_commited_cb.

This task can be done also in vp_webview_load_status_cb. Added event observer
for change scroll adjustment of the webview.

11 years agoRemoved line that caused a soup waring.
Daniel Carl [Sun, 11 Nov 2012 13:26:39 +0000 (14:26 +0100)]
Removed line that caused a soup waring.

It seems that the removing of the soup feature 'soup_cookie_get_type' isn't
required.

11 years agoSet completion box to null after destroying it.
Daniel Carl [Sat, 10 Nov 2012 14:45:22 +0000 (15:45 +0100)]
Set completion box to null after destroying it.

11 years agoAdded README file.
Daniel Carl [Sat, 10 Nov 2012 14:11:05 +0000 (15:11 +0100)]
Added README file.

11 years agoAllow to set completion fonts too.
Daniel Carl [Mon, 5 Nov 2012 22:10:11 +0000 (23:10 +0100)]
Allow to set completion fonts too.

Skip command counts for the completion so that we can complete :50ju for
example.

11 years agoAdded setting for completion colors.
Daniel Carl [Mon, 5 Nov 2012 21:08:47 +0000 (22:08 +0100)]
Added setting for completion colors.

11 years agoSet status colors and fonts direct to the widgets.
Daniel Carl [Mon, 5 Nov 2012 20:07:51 +0000 (21:07 +0100)]
Set status colors and fonts direct to the widgets.

Do not save the color and font strings and set them every time via markup.

11 years agoAllow setting of input box color and fonts.
Daniel Carl [Mon, 5 Nov 2012 19:50:08 +0000 (20:50 +0100)]
Allow setting of input box color and fonts.

11 years agoAdded completion of commands.
Daniel Carl [Sat, 3 Nov 2012 02:16:50 +0000 (03:16 +0100)]
Added completion of commands.

11 years agoRemove at te moment unneeded cookie jar property.
Daniel Carl [Fri, 2 Nov 2012 16:31:36 +0000 (17:31 +0100)]
Remove at te moment unneeded cookie jar property.

11 years agoFixed missed flags to disable cookie support.
Daniel Carl [Thu, 1 Nov 2012 18:48:33 +0000 (19:48 +0100)]
Fixed missed flags to disable cookie support.

11 years agoFied missed parameter in setting_status_font().
Daniel Carl [Thu, 1 Nov 2012 18:22:54 +0000 (19:22 +0100)]
Fied missed parameter in setting_status_font().

11 years agoAdded missed g_string_free in vp_update_statusbar().
Daniel Carl [Thu, 1 Nov 2012 18:20:09 +0000 (19:20 +0100)]
Added missed g_string_free in vp_update_statusbar().

11 years agoAllow to set status font and colors during runtime.
Daniel Carl [Thu, 1 Nov 2012 18:19:39 +0000 (19:19 +0100)]
Allow to set status font and colors during runtime.

11 years agoAdded util function to generate arg from string.
Daniel Carl [Thu, 1 Nov 2012 16:01:40 +0000 (17:01 +0100)]
Added util function to generate arg from string.

11 years agoAllow to set scrollstep on runtime.
Daniel Carl [Thu, 1 Nov 2012 15:29:45 +0000 (16:29 +0100)]
Allow to set scrollstep on runtime.

11 years agoMoved all command to own c file.
Daniel Carl [Thu, 1 Nov 2012 14:59:45 +0000 (15:59 +0100)]
Moved all command to own c file.

11 years agoAllow to set internal variables via setting functions.
Daniel Carl [Thu, 1 Nov 2012 02:00:16 +0000 (03:00 +0100)]
Allow to set internal variables via setting functions.

11 years agoAuto clear input bar.
Daniel Carl [Thu, 1 Nov 2012 01:49:39 +0000 (02:49 +0100)]
Auto clear input bar.

No the inputbar will be cleared after some seconds a message was shown.

11 years agoUse variable args for vp_echo function.
Daniel Carl [Thu, 1 Nov 2012 00:54:46 +0000 (01:54 +0100)]
Use variable args for vp_echo function.

11 years agoAdded set command to edit setting on runtime.
Daniel Carl [Mon, 29 Oct 2012 20:32:27 +0000 (21:32 +0100)]
Added set command to edit setting on runtime.

11 years agoAdded cookie support.
Daniel Carl [Sat, 27 Oct 2012 14:40:53 +0000 (16:40 +0200)]
Added cookie support.

11 years agoAdded a small default config.
Daniel Carl [Sat, 27 Oct 2012 12:07:04 +0000 (14:07 +0200)]
Added a small default config.

This allows to run the browser in a light was without aving keybinds definded
in config files.

11 years agoAdded license information to each source file.
Daniel Carl [Sat, 27 Oct 2012 11:49:13 +0000 (13:49 +0200)]
Added license information to each source file.

11 years agoAdded return values to all commands.
Daniel Carl [Sat, 27 Oct 2012 11:37:19 +0000 (13:37 +0200)]
Added return values to all commands.

11 years agoUse commands to add and remove keybindings.
Daniel Carl [Sat, 27 Oct 2012 11:21:37 +0000 (13:21 +0200)]
Use commands to add and remove keybindings.

Doing it in this way, it is possible to easily set keybindings from input line
and we have a single logic to read imput line and config files.

11 years agoAllow to read keybindings from config file.
Daniel Carl [Sat, 20 Oct 2012 18:59:02 +0000 (20:59 +0200)]
Allow to read keybindings from config file.

11 years agoAllow setting and removing keybindings from string.
Daniel Carl [Sat, 20 Oct 2012 17:51:59 +0000 (19:51 +0200)]
Allow setting and removing keybindings from string.

11 years agoAllow to scroll to n% of the page.
Daniel Carl [Sat, 20 Oct 2012 12:08:02 +0000 (14:08 +0200)]
Allow to scroll to n% of the page.

11 years agoAllow to set command count also from input box.
Daniel Carl [Thu, 18 Oct 2012 21:00:57 +0000 (23:00 +0200)]
Allow to set command count also from input box.

11 years agoAdded command to open url.
Daniel Carl [Tue, 16 Oct 2012 22:35:42 +0000 (00:35 +0200)]
Added command to open url.

11 years agoUse g_list_prepend in keybind.
Daniel Carl [Tue, 16 Oct 2012 20:51:55 +0000 (22:51 +0200)]
Use g_list_prepend in keybind.

This leads to a better performance.

11 years agoAdded function to delete previous set keybindings.
Daniel Carl [Tue, 16 Oct 2012 19:48:18 +0000 (21:48 +0200)]
Added function to delete previous set keybindings.

11 years agoAdded possibility to run commands from inputbox.
Daniel Carl [Sat, 13 Oct 2012 21:34:40 +0000 (23:34 +0200)]
Added possibility to run commands from inputbox.

11 years agoAllow to setup initial webkit settings.
Daniel Carl [Sat, 13 Oct 2012 19:02:24 +0000 (21:02 +0200)]
Allow to setup initial webkit settings.

12 years agoAdded command for scrolling.
Daniel Carl [Wed, 3 Oct 2012 17:37:34 +0000 (19:37 +0200)]
Added command for scrolling.

12 years agoAdded some more commands with keybinds.
Daniel Carl [Wed, 3 Oct 2012 14:49:25 +0000 (16:49 +0200)]
Added some more commands with keybinds.

12 years agoRemoved unneeded function to parse commands from strings.
Daniel Carl [Wed, 3 Oct 2012 14:05:21 +0000 (16:05 +0200)]
Removed unneeded function to parse commands from strings.

12 years agoReplaces GArray param from commands with Arg.
Daniel Carl [Mon, 1 Oct 2012 18:39:15 +0000 (20:39 +0200)]
Replaces GArray param from commands with Arg.

Also renamed the c -> s in Arg struct.

12 years agoRemoved callback.c this could also be done in main.c.
Daniel Carl [Mon, 1 Oct 2012 18:07:49 +0000 (20:07 +0200)]
Removed callback.c this could also be done in main.c.

12 years agoStart of project.
Daniel Carl [Tue, 18 Sep 2012 23:20:32 +0000 (01:20 +0200)]
Start of project.