Daniel Carl [Wed, 27 Jun 2018 22:43:25 +0000 (00:43 +0200)]
Show compile options only once in travis-ci.
Daniel Carl [Wed, 27 Jun 2018 22:37:42 +0000 (00:37 +0200)]
Use explicit rules to make test targets.
Daniel Carl [Wed, 27 Jun 2018 22:36:42 +0000 (00:36 +0200)]
Remove duplicate give compiler option -fPIC.
Daniel Carl [Wed, 27 Jun 2018 11:16:12 +0000 (13:16 +0200)]
Add build status icon.
Daniel Carl [Wed, 27 Jun 2018 09:53:00 +0000 (11:53 +0200)]
Use travis-ci for testing.
Daniel Carl [Wed, 20 Jun 2018 18:49:50 +0000 (20:49 +0200)]
Merge branch 'master' of https://github.com/cdlscpmv/vimb.
Konst Mayer [Tue, 19 Jun 2018 05:36:24 +0000 (12:36 +0700)]
Correct the man page
Related to the introduction of the new `vimbhint` attribute.
Patrick Steinhardt [Mon, 18 Jun 2018 06:01:12 +0000 (08:01 +0200)]
Makefile: add dependency on scripts.h to input.o
While "input.c" includes "scripts/scripts.h", which is generated
dynamically by the build system, the Makefile does not state a
dependency of "input.c" on "scripts/scripts.h". Add the dependency to
fix broken builds.
Daniel Carl [Sun, 17 Jun 2018 22:15:26 +0000 (00:15 +0200)]
Fixed -Werror=format-security issue.
This fixes #495.
Daniel Carl [Sat, 16 Jun 2018 20:47:57 +0000 (22:47 +0200)]
Released version 3.2.0.
Yutao Yuan [Sat, 16 Jun 2018 10:28:16 +0000 (18:28 +0800)]
Fix missing string.h include
Daniel Carl [Thu, 14 Jun 2018 21:42:52 +0000 (23:42 +0200)]
Add new setting show-titlebar to CHANGELOG.
Daniel Carl [Thu, 14 Jun 2018 21:16:16 +0000 (23:16 +0200)]
Make function static.
This is only use within main.c so we can make it static and leaf the vb_
prefix.
Daniel Carl [Thu, 14 Jun 2018 21:07:15 +0000 (23:07 +0200)]
Merge branch 'fix-url-detection' of https://github.com/GKFX/vimb.
Daniel Carl [Wed, 13 Jun 2018 22:55:45 +0000 (00:55 +0200)]
Added tests for shortcuts #357.
George Bateman [Wed, 13 Jun 2018 22:38:10 +0000 (23:38 +0100)]
Make URL detection more robust
Daniel Carl [Wed, 13 Jun 2018 22:29:24 +0000 (00:29 +0200)]
Do not damage utf8 string on escape.
This fixes #492.
Daniel Carl [Sat, 14 Apr 2018 19:03:08 +0000 (21:03 +0200)]
Added first test for the util functions #357.
Daniel Carl [Wed, 13 Jun 2018 20:29:44 +0000 (22:29 +0200)]
Fixed indentation.
George Bateman [Wed, 13 Jun 2018 09:40:49 +0000 (10:40 +0100)]
Document :set show-titlebar
George Bateman [Tue, 12 Jun 2018 14:26:16 +0000 (15:26 +0100)]
Detect localhost and IPv6 as valid URLs. Fixes #478.
George Bateman [Tue, 12 Jun 2018 11:22:48 +0000 (12:22 +0100)]
Allow user to hide and show the titlebar on demand. Fixes #439.
Daniel Carl [Mon, 11 Jun 2018 21:51:28 +0000 (23:51 +0200)]
Fix wrong order of branch names in changelog.
Daniel Carl [Mon, 11 Jun 2018 21:49:33 +0000 (23:49 +0200)]
Update changelog.
Daniel Carl [Mon, 11 Jun 2018 21:22:44 +0000 (23:22 +0200)]
Allow to react on permission-requests.
George Bateman [Mon, 11 Jun 2018 13:53:11 +0000 (14:53 +0100)]
Clarify :set usage in man page
Daniel Carl [Sat, 2 Jun 2018 20:41:41 +0000 (22:41 +0200)]
Remove not really needed variable.
Daniel Carl [Sat, 2 Jun 2018 20:35:16 +0000 (22:35 +0200)]
Fixed possible memory leak in case of errors.
Daniel Carl [Sat, 2 Jun 2018 20:11:09 +0000 (22:11 +0200)]
Reuse success flag.
Daniel Carl [Sat, 2 Jun 2018 19:47:46 +0000 (21:47 +0200)]
Fixed some code style issues.
Daniel Carl [Sat, 2 Jun 2018 19:37:33 +0000 (21:37 +0200)]
Merge branch 'master' of https://github.com/svensp/vimb
Sven Speckmaier [Fri, 1 Jun 2018 19:45:54 +0000 (21:45 +0200)]
moved id to its own variable to adher to IPO model
Sven Speckmaier [Wed, 30 May 2018 05:19:38 +0000 (07:19 +0200)]
multi line javascript used from scripts/scripts.h
Daniel Carl [Tue, 29 May 2018 21:36:51 +0000 (23:36 +0200)]
Use vimbhint attribute also for styling.
Sven Speckmaier [Tue, 29 May 2018 06:58:14 +0000 (08:58 +0200)]
use vimb_editor_map when no id is present
Sven Speckmaier [Mon, 28 May 2018 14:31:24 +0000 (16:31 +0200)]
assert and free data->element_id in editor return
Sven Speckmaier [Mon, 28 May 2018 14:05:54 +0000 (16:05 +0200)]
fix indentation to adher to the contribution guidlines
Sven Speckmaier [Mon, 28 May 2018 13:42:20 +0000 (15:42 +0200)]
Remember element id per open process watch
Daniel Carl [Sun, 27 May 2018 22:18:34 +0000 (00:18 +0200)]
Fix wrong search hit count shown on prev/next.
If a search was done the shown number of search hits was right. But on
case of stepping through the list, the match count was updated by 1.
Now use the right signal "counted-matches" to get the real number of
search hits independent from stepping through the list.
Daniel Carl [Thu, 17 May 2018 09:37:55 +0000 (11:37 +0200)]
Moved issue template.
Daniel Carl [Wed, 16 May 2018 20:51:30 +0000 (22:51 +0200)]
Mention similar projects.
Daniel Carl [Tue, 15 May 2018 21:24:02 +0000 (23:24 +0200)]
Use g_strescape() to escape editor contents.
Daniel Carl [Tue, 15 May 2018 20:30:23 +0000 (22:30 +0200)]
More info when spawning of editor-command fails.
Daniel Carl [Tue, 8 May 2018 21:41:01 +0000 (23:41 +0200)]
Set tree model direct to tree view.
Daniel Carl [Tue, 8 May 2018 20:07:21 +0000 (22:07 +0200)]
Start vimb with maximized window #483.
Set hint to window managers to maximize the browser window.
Daniel Carl [Mon, 7 May 2018 21:38:42 +0000 (23:38 +0200)]
Moved completion_fill to settings.
This function intensional should be used by other components. But there
is only one component using this, so it's better to move this away.
Daniel Carl [Mon, 7 May 2018 21:13:14 +0000 (23:13 +0200)]
Remove none used gui styling for completion.
Daniel Carl [Mon, 7 May 2018 21:09:10 +0000 (23:09 +0200)]
Remove other missed combat code.
Daniel Carl [Mon, 7 May 2018 20:10:50 +0000 (22:10 +0200)]
Remove unused code in completion processing.
There is no code calling complete(..., 0) which was used in early days
to stop the completion. So remove the code to handle none given
direction.
Daniel Carl [Wed, 2 May 2018 20:39:24 +0000 (22:39 +0200)]
Use sqlite as cookie storage #470.
There are some reports about randomly cleared cookie file which seems to
be fixed by using sqlite instead of text base cookie storage.
Daniel Carl [Sat, 28 Apr 2018 22:03:59 +0000 (00:03 +0200)]
Clear search on stopping incsearch.
The search highlight was not removed if incsearch was enabled and the
search not commited by <CR> but left by <Esc>.
Daniel Carl [Sat, 28 Apr 2018 21:59:49 +0000 (23:59 +0200)]
Shop the numbers of search matches in status bar.
Daniel Carl [Fri, 27 Apr 2018 22:35:34 +0000 (00:35 +0200)]
Allow basic motion commands for hinting too.
Daniel Carl [Fri, 27 Apr 2018 21:17:39 +0000 (23:17 +0200)]
Removed vimb for webkit1 combat code.
Daniel Carl [Mon, 16 Apr 2018 21:27:42 +0000 (23:27 +0200)]
Fixed none cleaned webextension object files.
Daniel Carl [Mon, 16 Apr 2018 21:27:18 +0000 (23:27 +0200)]
Include dependencies at the end.
Daniel Carl [Mon, 16 Apr 2018 21:00:59 +0000 (23:00 +0200)]
Don't memory slices for single structs.
Daniel Carl [Mon, 16 Apr 2018 20:13:23 +0000 (22:13 +0200)]
Don not make handler struct public.
Daniel Carl [Mon, 16 Apr 2018 19:50:31 +0000 (21:50 +0200)]
Removed unused struct.
Daniel Carl [Sat, 14 Apr 2018 22:11:00 +0000 (00:11 +0200)]
Do not propagate the shortcut struct.
Daniel Carl [Sat, 14 Apr 2018 20:42:56 +0000 (22:42 +0200)]
Do not give client to util functions.
Give only those information the util functions need to work.
Daniel Carl [Sat, 14 Apr 2018 19:57:07 +0000 (21:57 +0200)]
Use separate makefile in for scripts.
Daniel Carl [Sat, 14 Apr 2018 19:17:42 +0000 (21:17 +0200)]
Do not use to many variables in makefiles.
Daniel Carl [Fri, 13 Apr 2018 19:43:12 +0000 (21:43 +0200)]
Give CPP and CFLAGS separate to compiler.
Revert "Don't duplicate CFLAGS and CPPFLAGS."
This reverts commit
0cc0db9f7d40fdf9e88f20101a5183e35ba2ea91.
Daniel Carl [Wed, 28 Mar 2018 10:06:17 +0000 (12:06 +0200)]
Update license year.
Daniel Carl [Mon, 18 Dec 2017 21:04:16 +0000 (22:04 +0100)]
Released version 3.1.0.
Daniel Carl [Sat, 2 Dec 2017 22:42:02 +0000 (23:42 +0100)]
Add warning when web extension could not be found.
The warning is only shown if compiled with DEBUG. Hope this will helps
users and package managers to check the compilation or installation.
Docbroke [Fri, 24 Nov 2017 14:43:00 +0000 (20:13 +0530)]
Spelling correction (#458)
Daniel Carl [Fri, 17 Nov 2017 08:39:22 +0000 (09:39 +0100)]
Do not sanitize uri if this is no needed.
Most of the time uri do not contain credentials, so don't run expensive
uri cleanup if there is not @ char in uri indicating that this might
contain at least a username and possibly also and password.
Daniel Carl [Wed, 15 Nov 2017 13:03:52 +0000 (14:03 +0100)]
Avoid uninitialized use of uri warning.
Daniel Carl [Wed, 15 Nov 2017 09:22:57 +0000 (10:22 +0100)]
Sanitize uri internally by default.
Like Rudis Muiznieks pointed out the password appeared on other channels
too. So we sanitize the uri as soon as possible to ensure the password
is not visible in history, bookmarks, environment variables like
$VIMB_URI or the register '%'.
Daniel Carl [Wed, 15 Nov 2017 09:22:09 +0000 (10:22 +0100)]
Move sanitize_uri to utils.
This will allow us to used this in other parts too.
Rudis Muiznieks [Tue, 14 Nov 2017 14:21:47 +0000 (08:21 -0600)]
Sanitizing uri with SoupURI instead of regex.
Rudis Muiznieks [Fri, 10 Nov 2017 04:28:27 +0000 (22:28 -0600)]
Hide username:password@ in urlbar
Daniel Carl [Sun, 5 Nov 2017 21:55:28 +0000 (22:55 +0100)]
Use suggested file name from uri on :save #449
Get some auto suggested download file name if a page is going to be
saved by :save command.
Daniel Carl [Sat, 28 Oct 2017 21:51:07 +0000 (23:51 +0200)]
Merge pull request #448 from yblein/restart-last-search
n/N restart the previous search if none is active
Yoann Blein [Sat, 28 Oct 2017 16:22:53 +0000 (18:22 +0200)]
n/N restart the previous search if none is active
vimb no longer ignores n/N if no search is active. Instead, it restarts
a search with the same query that was used in the last search, just like
Vim does. This is very convenient when searching for the same query in
different pages.
Daniel Carl [Fri, 13 Oct 2017 21:39:11 +0000 (23:39 +0200)]
Update changelog for lates fix.
Daniel Carl [Fri, 13 Oct 2017 21:22:18 +0000 (23:22 +0200)]
Switch to input mode on authentication request #444.
Webkit shows an default embedded authentication dialog in case of
HTTP-Authentication. But this dialog is neither a GTK dialog nor part of
the DOM. So we are not informed about the any focus changes and vimb
keeps in normal mode and the user cant use all the chars for the
authentication.
This patch listen to the webview authentication signal to force
switching to input mode. On the other had a new flag is set to avoid
switching vimb back to normal mode because of focus changes in the
underlaying DOM (previous opened page).
Daniel Carl [Thu, 5 Oct 2017 21:33:51 +0000 (23:33 +0200)]
Added autocmd to commands that can not contain pipe.
Yoann Blein [Sun, 1 Oct 2017 08:02:55 +0000 (10:02 +0200)]
Rename hint-number-same-length into hint-keys-same-length
fix #425
Daniel Carl [Thu, 5 Oct 2017 19:43:28 +0000 (21:43 +0200)]
Fixed typo in man page for auto command event.
Yoann Blein [Sun, 1 Oct 2017 13:39:09 +0000 (15:39 +0200)]
Reintroduce autocmd and augroups. Fix #356
Daniel Carl [Fri, 4 Aug 2017 19:36:01 +0000 (21:36 +0200)]
Fixed none freed memory.
The g_variant format 's' will duplicate the memory of the requested
string. Changed this to '&s' to access the serialized data direct so
there is no need to free it.
Daniel Carl [Tue, 25 Jul 2017 21:22:22 +0000 (23:22 +0200)]
Add comment about header caching #411.
Daniel Carl [Mon, 24 Jul 2017 21:30:39 +0000 (23:30 +0200)]
Use same sorting or url in tag completion.
Show matching url in case of `bmr tag<Tab>` as for the open command
`:open tag<Tab>` which is none sorting to keep the url in the sort order
they where added to the bookmarks. This means the last added bookmarks
or ordered first in the completion list.
Daniel Carl [Mon, 24 Jul 2017 21:23:02 +0000 (23:23 +0200)]
Show --bug-info separate from version.
Do not print to much in case the user is only interested in the current
used version. So show vimb version only on options -v, --version and
added the new option --bug-version which shows the currently used libs
and the library versions vimb was compiled against.
Daniel Carl [Mon, 24 Jul 2017 20:41:57 +0000 (22:41 +0200)]
Remove private PKGBUILD from releases.
Daniel Carl [Sun, 23 Jul 2017 17:00:48 +0000 (19:00 +0200)]
Merge pull request #431 from rti/rti_readme_arch_pkg_update
Update arch pkg info in README.md
Robert Timm [Fri, 21 Jul 2017 07:00:02 +0000 (09:00 +0200)]
updates arch pkg info in README.md
Daniel Carl [Wed, 19 Jul 2017 21:16:37 +0000 (23:16 +0200)]
Update the changelog.
Daniel Carl [Tue, 18 Jul 2017 20:44:06 +0000 (22:44 +0200)]
Add bookmark completion for :bmr.
Daniel Carl [Tue, 11 Jul 2017 21:18:42 +0000 (23:18 +0200)]
Split client creation into pieces.
Setup the gui elements only when the webview is ready to be show like
suggested by the webkit developers.
Daniel Carl [Mon, 17 Jul 2017 23:38:01 +0000 (01:38 +0200)]
Don't duplicate CFLAGS and CPPFLAGS.
Don't put the CPPFLAGS and CFLAGS duplicate to the compiler which lead
to warnings about redefinition of constants on command line like
<command-line>:0:0: warning: "EXTENSIONDIR" redefined
<command-line>:0:0: note: this is the location of the previous
definition
Daniel Carl [Mon, 17 Jul 2017 22:10:51 +0000 (00:10 +0200)]
Allow extended hinting g-mode also for ;o.
The ';o' hinting was not allowed for extended hinting because it makes no
sense to keep hinting open when opening a link into the same window. But
the ';o' hinting matches also form fields so it is useful to allow it
for extended hinting too. So the user can open the extended hinting by
'g;o' and toggle radio buttons and checkboxes and finally submit the
form.
Daniel Carl [Sat, 8 Jul 2017 22:14:15 +0000 (00:14 +0200)]
Do not copy variable used only once.
The copy of variable into a shorter one enlarges the codes size when the
variable is used only once. So don't copy it.
Daniel Carl [Sat, 8 Jul 2017 22:13:22 +0000 (00:13 +0200)]
Fixed none cleared valid hints #427.
Daniel Carl [Sat, 8 Jul 2017 21:20:04 +0000 (23:20 +0200)]
Merge pull request #429 from fanglingsu/issue-427
Switch to numeric hint labeling for hint-keys beginning wiht '0'
Daniel Carl [Sat, 8 Jul 2017 21:16:25 +0000 (23:16 +0200)]
Mention numeric hint-keys in man page #427.
Daniel Carl [Sat, 8 Jul 2017 21:01:05 +0000 (23:01 +0200)]
Use new numeric hint-keys as default setting #427.