vimb.git
7 years agoAdded missed queue file in manual page #365.
Daniel Carl [Wed, 26 Apr 2017 22:40:28 +0000 (00:40 +0200)]
Added missed queue file in manual page #365.

7 years agoAdd queue feature to manual page #365.
Daniel Carl [Wed, 26 Apr 2017 22:37:38 +0000 (00:37 +0200)]
Add queue feature to manual page #365.

7 years agoMoved closed file writing to util #379.
Daniel Carl [Wed, 26 Apr 2017 22:13:22 +0000 (00:13 +0200)]
Moved closed file writing to util #379.

7 years agoAllow to store multiple closed URLs #379.
Daniel Carl [Wed, 26 Apr 2017 21:43:24 +0000 (23:43 +0200)]
Allow to store multiple closed URLs #379.

Applied changes of 8ae4cadf58e46b3e9951fa89cf084bd2792984c3 in master
branch to new infrastructure.

7 years agoFixed wrongs check of g_mkdir_with_parents #381.
Daniel Carl [Wed, 26 Apr 2017 20:13:36 +0000 (22:13 +0200)]
Fixed wrongs check of g_mkdir_with_parents #381.

7 years agoDon't run input change on stepping through completion.
Daniel Carl [Mon, 24 Apr 2017 11:15:15 +0000 (13:15 +0200)]
Don't run input change on stepping through completion.

7 years agofixes incsearch history handling
Robert Timm [Sat, 22 Apr 2017 22:55:48 +0000 (00:55 +0200)]
fixes incsearch history handling

Refactores parts of command_search() (closes #372)
Fixes search using "/ register (type "/<enter>")

7 years agoAdded missed --config option on spawning new instance.
Daniel Carl [Sat, 22 Apr 2017 21:04:37 +0000 (23:04 +0200)]
Added missed --config option on spawning new instance.

7 years agoShow profile name in url bar #343.
Daniel Carl [Sat, 22 Apr 2017 20:53:49 +0000 (22:53 +0200)]
Show profile name in url bar #343.

7 years agoAdd profile option #343.
Daniel Carl [Sat, 22 Apr 2017 20:46:11 +0000 (22:46 +0200)]
Add profile option #343.

7 years agoRemove FEATURE_HISTORY_INDICATOR.
Daniel Carl [Sat, 22 Apr 2017 20:45:01 +0000 (22:45 +0200)]
Remove FEATURE_HISTORY_INDICATOR.

This does not bring any real benefit to make allow to avoid this but
makes the code hard to maintain.

7 years agoUpdate the license year.
Daniel Carl [Fri, 21 Apr 2017 21:55:14 +0000 (23:55 +0200)]
Update the license year.

7 years agoCreate files needed for full feature support.
Daniel Carl [Fri, 21 Apr 2017 21:51:14 +0000 (23:51 +0200)]
Create files needed for full feature support.

Create all those files on startup that are needed to provide all the
documented features.

7 years agoDon't fail on missing files.
Daniel Carl [Fri, 21 Apr 2017 21:29:50 +0000 (23:29 +0200)]
Don't fail on missing files.

7 years agoDon't warn about missing scripts file.
Daniel Carl [Fri, 21 Apr 2017 21:16:46 +0000 (23:16 +0200)]
Don't warn about missing scripts file.

It's not required that the user has a scripts file. So don't attempt to
inject it if it is not present.

7 years agoDon not double inject user script file.
Daniel Carl [Fri, 21 Apr 2017 21:10:39 +0000 (23:10 +0200)]
Don not double inject user script file.

The script file is injected in case 'userscripts' setting is enabled. So
there is no need to do this on creating the webview too.

7 years agoRemoved hsts file because this is not used at the time.
Daniel Carl [Fri, 21 Apr 2017 21:07:54 +0000 (23:07 +0200)]
Removed hsts file because this is not used at the time.

7 years agoFixed none printed :open .. on O.
Daniel Carl [Fri, 21 Apr 2017 09:45:32 +0000 (11:45 +0200)]
Fixed none printed :open .. on O.

If the input was filled programmatically and the mode where switched the
already filled input was cleaned by the attempt to stop possible search.
So now the input is only cleared if there is really an active search.

7 years agoMerge branch 'fix_incsearch_paste' of https://github.com/rti/vimb into webkit2.
Daniel Carl [Fri, 21 Apr 2017 09:23:45 +0000 (11:23 +0200)]
Merge branch 'fix_incsearch_paste' of https://github.com/rti/vimb into webkit2.

7 years agoClear input after load commited during search.
Daniel Carl [Fri, 21 Apr 2017 09:05:05 +0000 (11:05 +0200)]
Clear input after load commited during search.

If a new page is opened during search, the search string was still
present in the input box even if the searching is paused in this case.
So now clear the input box and stop searching in case of a new page
load.

7 years agoadds TODO for text buffer change warning
Robert Timm [Mon, 17 Apr 2017 21:22:39 +0000 (23:22 +0200)]
adds TODO for text buffer change warning

7 years agoadds TODO for deprecated gdkkeysyms
Robert Timm [Mon, 17 Apr 2017 20:41:47 +0000 (22:41 +0200)]
adds TODO for deprecated gdkkeysyms

7 years agomoves incsearch to ex_input_changed (closes #370)
Robert Timm [Mon, 17 Apr 2017 20:41:15 +0000 (22:41 +0200)]
moves incsearch to ex_input_changed (closes #370)

7 years agoadds call to mode input_changed (closes #369)
Robert Timm [Mon, 17 Apr 2017 20:40:39 +0000 (22:40 +0200)]
adds call to mode input_changed (closes #369)

7 years agoRun js by webextension.
Daniel Carl [Thu, 20 Apr 2017 23:07:48 +0000 (01:07 +0200)]
Run js by webextension.

Make sure all the scripts we run internally are also evaluated in case
js is disabled.

7 years agoRun js for scrolling from webextension #367.
Daniel Carl [Thu, 20 Apr 2017 22:03:55 +0000 (00:03 +0200)]
Run js for scrolling from webextension #367.

7 years agoShow if directory can't be created.
Daniel Carl [Thu, 20 Apr 2017 20:58:59 +0000 (22:58 +0200)]
Show if directory can't be created.

7 years agoAdded :save command.
Daniel Carl [Thu, 20 Apr 2017 20:45:31 +0000 (22:45 +0200)]
Added :save command.

7 years agoAdd docu for reading from stdin.
Daniel Carl [Thu, 20 Apr 2017 11:44:41 +0000 (13:44 +0200)]
Add docu for reading from stdin.

7 years agoMerge branch '346_html_from_stdin' of https://github.com/rti/vimb into webkit2.
Daniel Carl [Thu, 20 Apr 2017 11:41:44 +0000 (13:41 +0200)]
Merge branch '346_html_from_stdin' of https://github.com/rti/vimb into webkit2.

7 years agoadds reading html from stdin (closes #346)
Robert Timm [Fri, 14 Apr 2017 20:37:36 +0000 (22:37 +0200)]
adds reading html from stdin (closes #346)

as already implemented on the master branch

7 years agoUser scripts don't work when scripts are disabled.
Daniel Carl [Tue, 11 Apr 2017 22:32:29 +0000 (00:32 +0200)]
User scripts don't work when scripts are disabled.

In case the scripts are injected from the ui, they are not processed in
case JavaScript is disabled in vimb. So use the previous dbus logic to
observe dom focus changes and use the script messaging system to inform
the ui process.

7 years agoUse script message handler to track elements focus changes.
Daniel Carl [Tue, 11 Apr 2017 22:03:03 +0000 (00:03 +0200)]
Use script message handler to track elements focus changes.

Use script message handler instead of dbus to track for focused editable
elements to switch vimb into input mode or back to normal mode.

7 years agoMerge into changelog entries of 2.12 release.
Daniel Carl [Tue, 11 Apr 2017 19:46:44 +0000 (21:46 +0200)]
Merge into changelog entries of 2.12 release.

7 years agoMerge branch 'remove_todos_from_readme' of https://github.com/rti/vimb into webkit2.
Daniel Carl [Tue, 11 Apr 2017 11:46:42 +0000 (13:46 +0200)]
Merge branch 'remove_todos_from_readme' of https://github.com/rti/vimb into webkit2.

7 years agoFixed webinspector not opend on second attempt.
Daniel Carl [Tue, 11 Apr 2017 10:05:11 +0000 (12:05 +0200)]
Fixed webinspector not opend on second attempt.

If the webinspector was opened and closed via 'gF' it could not be
opened again with this key combination.

7 years agoremoves todos from readme
Robert Timm [Tue, 11 Apr 2017 09:12:17 +0000 (11:12 +0200)]
removes todos from readme

7 years agoDon't verbose the echo lines during make.
Daniel Carl [Tue, 11 Apr 2017 07:42:38 +0000 (09:42 +0200)]
Don't verbose the echo lines during make.

The echo lines where a light alternative to the long compiler options
lines, so there is no real benefit on showing the 'echo' itself.

7 years agoPut objects before linker flags.
Daniel Carl [Tue, 11 Apr 2017 07:35:18 +0000 (09:35 +0200)]
Put objects before linker flags.

This allows to compile with -Wl,--as-needed option which affects only
those libraries written after that option on the command line.

7 years agoDon't show mode label in status bar if not needed.
Daniel Carl [Tue, 11 Apr 2017 07:13:20 +0000 (09:13 +0200)]
Don't show mode label in status bar if not needed.

7 years agoMerge branch 'fix_ensure_input_text_view_size' of https://github.com/rti/vimb into...
Daniel Carl [Mon, 10 Apr 2017 22:27:40 +0000 (00:27 +0200)]
Merge branch 'fix_ensure_input_text_view_size' of https://github.com/rti/vimb into webkit2

7 years agoensures correct initial input GtkTextView size
Robert Timm [Sat, 8 Apr 2017 23:15:29 +0000 (01:15 +0200)]
ensures correct initial input GtkTextView size

7 years agoadds make option V for verbose builds
Robert Timm [Sat, 8 Apr 2017 21:44:36 +0000 (23:44 +0200)]
adds make option V for verbose builds

7 years agoFix wrong path to extension directory.
Daniel Carl [Mon, 10 Apr 2017 19:47:20 +0000 (21:47 +0200)]
Fix wrong path to extension directory.

7 years agoWrite url to history on load finished.
Daniel Carl [Mon, 10 Apr 2017 11:35:40 +0000 (13:35 +0200)]
Write url to history on load finished.

7 years agoInstall the extension in the right directory.
Daniel Carl [Mon, 10 Apr 2017 11:13:07 +0000 (13:13 +0200)]
Install the extension in the right directory.

7 years agoOpen print dialog on :hardcopy.
Daniel Carl [Sun, 9 Apr 2017 22:14:18 +0000 (00:14 +0200)]
Open print dialog on :hardcopy.

7 years agoFixed wrong default download path.
Daniel Carl [Sun, 9 Apr 2017 21:57:34 +0000 (23:57 +0200)]
Fixed wrong default download path.

7 years agoMerge branch 'feature_incsearch' of https://github.com/rti/vimb into webkit2
Daniel Carl [Sun, 9 Apr 2017 21:44:14 +0000 (23:44 +0200)]
Merge branch 'feature_incsearch' of https://github.com/rti/vimb into webkit2

7 years agoMerge branch 'feature_download_display_eta' of https://github.com/rti/vimb into webkit2.
Daniel Carl [Sun, 9 Apr 2017 21:33:47 +0000 (23:33 +0200)]
Merge branch 'feature_download_display_eta' of https://github.com/rti/vimb into webkit2.

7 years agoadds incsearch setting
Robert Timm [Sat, 8 Apr 2017 20:40:29 +0000 (22:40 +0200)]
adds incsearch setting

7 years agoadds download eta display to status bar
Robert Timm [Sat, 8 Apr 2017 13:16:37 +0000 (15:16 +0200)]
adds download eta display to status bar

7 years agochanges make target dependencies
Robert Timm [Fri, 7 Apr 2017 22:43:49 +0000 (00:43 +0200)]
changes make target dependencies

technically, the vimb binary does not depend on webext, but the all
target should build vimb and webext

7 years agofixes regeneration of scripts.h
Robert Timm [Fri, 7 Apr 2017 22:41:10 +0000 (00:41 +0200)]
fixes regeneration of scripts.h

without this patch, the make target would keep appending updated js code
to scripts.h and therefor create multiple instances of the C defines.

7 years agomoves scripts.h make target to src/Makefile
Robert Timm [Fri, 7 Apr 2017 22:38:58 +0000 (00:38 +0200)]
moves scripts.h make target to src/Makefile

this allows better dependency tracking like regenerate scripts.h only if a
js file changed and only rebuild objects if scripts.h changed

7 years agoallow directory names in js2h parameters
Robert Timm [Fri, 7 Apr 2017 22:34:23 +0000 (00:34 +0200)]
allow directory names in js2h parameters

strips directory names from js2h js file parameters. this allows
calling js2h from directories other than one the js source resides in

7 years agouse %.subdir-{all,clean} targets in root makefile
Robert Timm [Fri, 7 Apr 2017 22:31:50 +0000 (00:31 +0200)]
use %.subdir-{all,clean} targets in root makefile

- improves consistency: this mechanism is used in other places as well
- fixes dependency tracking: root makefile does not check files directly
  but delegates the task to sub makefiles

7 years agoDon't use compat mode by default.
Daniel Carl [Thu, 23 Mar 2017 20:30:16 +0000 (21:30 +0100)]
Don't use compat mode by default.

7 years agoMentioned changed font style syntax in changelog.
Daniel Carl [Thu, 23 Mar 2017 20:23:42 +0000 (21:23 +0100)]
Mentioned changed font style syntax in changelog.

7 years agoCall subdir make only for one level #331.
Daniel Carl [Thu, 23 Mar 2017 12:28:00 +0000 (13:28 +0100)]
Call subdir make only for one level #331.

We can't control dependencies in case all the subdirs are processed from
the upper most Makefile. So now the subdir make used to create the
webextension and the script is called from the src/Makefile which knows
somethings more about dependencies.

7 years agoRemove webkit version check.
Daniel Carl [Fri, 10 Mar 2017 22:06:33 +0000 (23:06 +0100)]
Remove webkit version check.

This is already covered by the requirements.

7 years agoDon't show webview if it's not ready to be shown.
Daniel Carl [Fri, 10 Mar 2017 21:52:11 +0000 (22:52 +0100)]
Don't show webview if it's not ready to be shown.

7 years agofixes prompt color after error
Robert Timm [Wed, 8 Mar 2017 20:51:06 +0000 (21:51 +0100)]
fixes prompt color after error

7 years agoA little bit more silence.
Daniel Carl [Fri, 3 Mar 2017 11:16:48 +0000 (12:16 +0100)]
A little bit more silence.

7 years agoallows shortcuts without parameters
Robert Timm [Thu, 2 Mar 2017 09:06:54 +0000 (10:06 +0100)]
allows shortcuts without parameters

7 years agoMarked embed as done.
Daniel Carl [Thu, 2 Mar 2017 22:48:12 +0000 (23:48 +0100)]
Marked embed as done.

7 years agoSimplified test page javascript.
Daniel Carl [Thu, 2 Mar 2017 20:40:56 +0000 (21:40 +0100)]
Simplified test page javascript.

7 years agoAdded manual test pages for focus/blur issues.
Daniel Carl [Thu, 2 Mar 2017 20:33:41 +0000 (21:33 +0100)]
Added manual test pages for focus/blur issues.

7 years agoAdded completion for shortcuts.
Daniel Carl [Thu, 2 Mar 2017 00:10:12 +0000 (01:10 +0100)]
Added completion for shortcuts.

Completion for shortcuts are now available for :shortcut-remove and
:shortcut-default.

7 years agoAdded url file handlers.
Daniel Carl [Wed, 1 Mar 2017 23:54:22 +0000 (00:54 +0100)]
Added url file handlers.

Allow to set protocol handlers via :handler-add that process url
protocol like mailto: by using a specific tool.

7 years agoCleanup settings on quit.
Daniel Carl [Wed, 1 Mar 2017 23:01:42 +0000 (00:01 +0100)]
Cleanup settings on quit.

7 years agoMarked file path completion as done.
Daniel Carl [Wed, 1 Mar 2017 22:24:16 +0000 (23:24 +0100)]
Marked file path completion as done.

7 years agoAdd documentation for the :source command back.
Joachim Desroches [Tue, 28 Feb 2017 15:39:38 +0000 (16:39 +0100)]
Add documentation for the :source command back.

7 years agoAdd :source command back.
Joachim Desroches [Tue, 28 Feb 2017 15:38:58 +0000 (16:38 +0100)]
Add :source command back.

7 years agoMerge remote-tracking branch 'rti/webkit2_ex_ctrl+p_ctrl+n' into webkit2.
Daniel Carl [Mon, 27 Feb 2017 23:15:53 +0000 (00:15 +0100)]
Merge remote-tracking branch 'rti/webkit2_ex_ctrl+p_ctrl+n' into webkit2.

7 years agoMerge remote-tracking branch 'rti/webkit2_tabs-to-links_setting_name' into webkit2.
Daniel Carl [Mon, 27 Feb 2017 23:14:10 +0000 (00:14 +0100)]
Merge remote-tracking branch 'rti/webkit2_tabs-to-links_setting_name' into webkit2.

7 years agoAllow to manage bookmarks and queue.
Daniel Carl [Mon, 27 Feb 2017 23:09:19 +0000 (00:09 +0100)]
Allow to manage bookmarks and queue.

7 years agoadds ctrl+p and ctrl+n for ex history movement
Robert Timm [Mon, 27 Feb 2017 22:26:37 +0000 (23:26 +0100)]
adds ctrl+p and ctrl+n for ex history movement

7 years agochanges enable-tabs-to-links setting name for consistency
Robert Timm [Mon, 27 Feb 2017 22:13:40 +0000 (23:13 +0100)]
changes enable-tabs-to-links setting name for consistency

7 years agoDon't sort url history completion list.
Daniel Carl [Mon, 27 Feb 2017 21:58:24 +0000 (22:58 +0100)]
Don't sort url history completion list.

Also made sorting the default be cause it's less code.

7 years agofixes (shift)tab cycling through editable elements
Robert Timm [Sat, 25 Feb 2017 23:29:12 +0000 (00:29 +0100)]
fixes (shift)tab cycling through editable elements

7 years agoimproves ex_shortcut() inspired by master branch
Robert Timm [Thu, 23 Feb 2017 09:46:21 +0000 (10:46 +0100)]
improves ex_shortcut() inspired by master branch

7 years agoimplements ex_shortcut()
Robert Timm [Mon, 20 Feb 2017 22:49:57 +0000 (23:49 +0100)]
implements ex_shortcut()

7 years agochanges default gui font to 10pt
Robert Timm [Fri, 17 Feb 2017 22:43:36 +0000 (23:43 +0100)]
changes default gui font to 10pt

7 years agomakes font sizes match webkit2 defaults
Robert Timm [Fri, 17 Feb 2017 22:42:18 +0000 (23:42 +0100)]
makes font sizes match webkit2 defaults

7 years agoAdd new task to README.
Daniel Carl [Tue, 31 Jan 2017 23:57:02 +0000 (00:57 +0100)]
Add new task to README.

7 years agoRemoved debug message.
Daniel Carl [Tue, 31 Jan 2017 23:46:57 +0000 (00:46 +0100)]
Removed debug message.

7 years agoAdded real auth observer to webextension too.
Daniel Carl [Tue, 31 Jan 2017 23:33:22 +0000 (00:33 +0100)]
Added real auth observer to webextension too.

7 years agoShow linker action during make.
Daniel Carl [Tue, 31 Jan 2017 22:39:37 +0000 (23:39 +0100)]
Show linker action during make.

7 years agoSet minimum webkit version to support to 2.3.5.
Daniel Carl [Tue, 31 Jan 2017 22:37:57 +0000 (23:37 +0100)]
Set minimum webkit version to support to 2.3.5.

This version allowed to initialize the webextension with user data which
is essential to setup the dbus connection.

7 years agoAttempt to start dbus server from ui.
Daniel Carl [Sat, 22 Oct 2016 21:30:24 +0000 (23:30 +0200)]
Attempt to start dbus server from ui.

7 years agoUpdate usage agent string to current webkit version.
Daniel Carl [Wed, 19 Oct 2016 21:14:52 +0000 (23:14 +0200)]
Update usage agent string to current webkit version.

7 years agoShut up GTK warning on realize widget.
Daniel Carl [Wed, 19 Oct 2016 20:37:14 +0000 (22:37 +0200)]
Shut up GTK warning on realize widget.

We have to call gtk_widget_get_preferred_size to avoid warning like this
when the window widget is realized.

> Allocating size to WebKitWebViewBase 0x280c380 without calling
> gtk_widget_get_preferred_width/height(). How does the code know the size
> to allocate?

7 years agoShow webview crash to the user.
Daniel Carl [Wed, 19 Oct 2016 20:23:54 +0000 (22:23 +0200)]
Show webview crash to the user.

7 years agoAdded manual page.
Daniel Carl [Wed, 19 Oct 2016 20:07:19 +0000 (22:07 +0200)]
Added manual page.

7 years agoMore code style hints.
Daniel Carl [Tue, 18 Oct 2016 22:31:55 +0000 (00:31 +0200)]
More code style hints.

7 years agoRemoved loop initial declarations.
Daniel Carl [Tue, 18 Oct 2016 22:26:02 +0000 (00:26 +0200)]
Removed loop initial declarations.

7 years agoAllow to set initial setting for gui fonts.
Daniel Carl [Tue, 18 Oct 2016 22:07:55 +0000 (00:07 +0200)]
Allow to set initial setting for gui fonts.

There where multiple font configurations in the settings that have to be
adapt by the user before compiling to setup some suitable default gui
styling. So we use two new constants to setup a normal gui font and the
emphasized one.

7 years agoRemoved none needed trailing ; in css rules.
Daniel Carl [Tue, 18 Oct 2016 21:49:39 +0000 (23:49 +0200)]
Removed none needed trailing ; in css rules.

7 years agoImplements gui style settings
Robert Timm [Mon, 17 Oct 2016 15:35:59 +0000 (22:35 +0700)]
Implements gui style settings