vimb.git
9 years agoAllow to control vimb by fifo file (#144).
Daniel Carl [Wed, 12 Nov 2014 23:00:38 +0000 (00:00 +0100)]
Allow to control vimb by fifo file (#144).

9 years agoAdded noted about gvim -f option as editor-command (#141).
Daniel Carl [Mon, 10 Nov 2014 22:31:12 +0000 (23:31 +0100)]
Added noted about gvim -f option as editor-command (#141).

9 years agoDon't switch to input mode on click to radio button.
Daniel Carl [Sun, 9 Nov 2014 23:36:39 +0000 (00:36 +0100)]
Don't switch to input mode on click to radio button.

If a radio button was clicked vimb switched to input mode. Now the logic what
element is editable is consistent within dom.c. Editable are textarea, and
input elements without any type a and type text or password.

9 years agoMerge branch 'content-security-policy'.
Daniel Carl [Sat, 8 Nov 2014 21:35:33 +0000 (22:35 +0100)]
Merge branch 'content-security-policy'.

9 years agoLittle code style changes.
Daniel Carl [Sat, 8 Nov 2014 21:31:01 +0000 (22:31 +0100)]
Little code style changes.

9 years agoauto-response-header: rewrite arh_parse
Sébastien Marie [Wed, 5 Nov 2014 05:50:26 +0000 (06:50 +0100)]
auto-response-header: rewrite arh_parse

`auto-response-header` setting is a list.

Each element has format: "pattern header-list".
If an element contains COMMA, the element must by enclosed by QUOTE.

The header-list format is like `header` setting.

9 years agoauto-response-header: man correction
Sébastien Marie [Wed, 5 Nov 2014 05:41:32 +0000 (06:41 +0100)]
auto-response-header: man correction

correct mandoc error: unterminated quoted argument

9 years agocleanup: arh: remove some DEBUG
Sébastien Marie [Mon, 3 Nov 2014 18:42:46 +0000 (19:42 +0100)]
cleanup: arh: remove some DEBUG

9 years agocleanup: RequestQueued autocmd Event
Sébastien Marie [Mon, 3 Nov 2014 18:40:25 +0000 (19:40 +0100)]
cleanup: RequestQueued autocmd Event

9 years agocleanup: autocmd_in_use
Sébastien Marie [Mon, 3 Nov 2014 18:36:50 +0000 (19:36 +0100)]
cleanup: autocmd_in_use

9 years agoFEATURE_AUTOCMD || FEATURE_ARH: request-queued signal
Sébastien Marie [Mon, 3 Nov 2014 05:54:17 +0000 (06:54 +0100)]
FEATURE_AUTOCMD || FEATURE_ARH: request-queued signal

define and connect request-queued signal only if FEATURE_AUTOCMD or
FEATURE_ARH are defined.

9 years agoauto-response-header: free memory on quit
Sébastien Marie [Mon, 3 Nov 2014 05:31:45 +0000 (06:31 +0100)]
auto-response-header: free memory on quit

follow good practices: free the memory allocated before quit

9 years agoauto-response-header: add FEATURE_ARH
Sébastien Marie [Mon, 3 Nov 2014 05:29:56 +0000 (06:29 +0100)]
auto-response-header: add FEATURE_ARH

add a compilation flag for disable auto-response-header

9 years agoDon't overwrite wm class and name properties (#137).
Daniel Carl [Sun, 2 Nov 2014 19:56:16 +0000 (20:56 +0100)]
Don't overwrite wm class and name properties (#137).

The explicite setting of WV_CLASS values prevented to change these properties
via gtk default options --name and --class.

9 years agoauto-response-header: make value optional
Sébastien Marie [Sat, 1 Nov 2014 18:10:58 +0000 (19:10 +0100)]
auto-response-header: make value optional

an optional value result removing a previously setted header.

9 years agoauto-response-header: generalisation of content-security-policy
Sébastien Marie [Fri, 31 Oct 2014 18:46:33 +0000 (19:46 +0100)]
auto-response-header: generalisation of content-security-policy

auto-response-header supersede previous content-security-policy setting.

This setting is a list of "pattern name=value" entries. When a pattern
match a requested uri, the HTTP header "name: value" is added to
response.

9 years agoRevert "connect `request-queued` signal conditionnally"
Sébastien Marie [Wed, 29 Oct 2014 04:24:31 +0000 (05:24 +0100)]
Revert "connect `request-queued` signal conditionnally"

This reverts commit c441ec7aaf4fabc1a32a618bbab3b688d7804628.

As discuted with @fanglingsu, the problem isn't an overhead introduced
by `request-queued` signal. So the conditionnal connection isn"t need.

9 years agocontent-security-policy: update documentation
Sébastien Marie [Tue, 28 Oct 2014 14:04:27 +0000 (15:04 +0100)]
content-security-policy: update documentation

mention RequestQueued as prefered autocmd event for
content-security-policy.

9 years agoconnect `request-queued` signal conditionnally
Sébastien Marie [Tue, 28 Oct 2014 13:42:28 +0000 (14:42 +0100)]
connect `request-queued` signal conditionnally

- add a new function: vb_update_signals()
  it manage signal connection/disconnection

  currently, only `request-queued` is managed. It is connected when
  autocmd use event AU_REQUEST_QUEUED or when setting
  "content-security-policy" is in use.

- remove the unconditionnally connection of `request-queued`

- add a new flag in setting `FLAG_SIGNAL` that inform setting_set_value
  to refresh signals by calling vb_update_signals()

- manage "content-security-policy" setting with `FLAG_SIGNAL`

- refresh signals in autocmd_add, at adding or removing. This permit to
  change the connection/disconnection state of `request-queued` when
  AU_REQUEST_QUEUED is in use or not.

9 years agouse FEATURE_AUTOCMD for AU_REQUEST_QUEUED
Sébastien Marie [Tue, 28 Oct 2014 12:27:44 +0000 (13:27 +0100)]
use FEATURE_AUTOCMD for AU_REQUEST_QUEUED

call to autocmd_run need to be conditionnal defined with FEATURE_AUTOCMD

9 years agoautocmd: add a service function `autocmd_in_use`
Sébastien Marie [Tue, 28 Oct 2014 11:09:40 +0000 (12:09 +0100)]
autocmd: add a service function `autocmd_in_use`

The function should permit to check if an AuEvent is actually in use or
not. It would permit to change program behaviour at runtime, and reduce
the overhead of some functions when AuEvent isn't used.

9 years agoreturn of soup_uri_to_string must be free
Sébastien Marie [Tue, 28 Oct 2014 05:36:24 +0000 (06:36 +0100)]
return of soup_uri_to_string must be free

thank to @fanglingsu

9 years agokeep prototype consistant with declaration
Sébastien Marie [Mon, 27 Oct 2014 16:18:51 +0000 (17:18 +0100)]
keep prototype consistant with declaration

remove compilation warning:
src/hsts.c:49: warning: 'should_secure_host' declared inline after being called
src/hsts.c:49: warning: previous declaration of 'should_secure_host' was here

9 years agocontent-security-policy: add RequestQueued
Sébastien Marie [Mon, 27 Oct 2014 16:13:53 +0000 (17:13 +0100)]
content-security-policy: add RequestQueued

- add a new autocmd entry: RequestQueued that take place in
  request-queued signal (SoupSession).

- change contentsecuritypolicy_request_queued_cb to
  session_request_queued_cb to be more generic

- append Content-Security-Policy header (instead of remove/replace)

- in DEBUG, abort() if any server headers are setted in request-queued

9 years agoFixed none clickable search suggestion (#134).
Daniel Carl [Sun, 26 Oct 2014 22:47:19 +0000 (23:47 +0100)]
Fixed none clickable search suggestion (#134).

Search suggestions on google where not clickable since the patch for the
WYSIWYG editors. This was caused by a wrong return value in the callback for
button-release-event signal.
Renamed variable for the return value, this was wrong, because TRUE means stop
click propagation and not to propagate like the variable name purports.

9 years agoavoid calling function for check empty string
Sébastien Marie [Sat, 25 Oct 2014 07:13:10 +0000 (09:13 +0200)]
avoid calling function for check empty string

9 years agoFixed window resize by to long text in inputbox.
Daniel Carl [Sat, 25 Oct 2014 00:31:52 +0000 (02:31 +0200)]
Fixed window resize by to long text in inputbox.

The GTK3 text view grows with it's content and forces the whole main window to
increase. To fix this, the text view is put into a scrolled window. This might
be a hack, because we do not use the scrolled window itself, but this restores
the behaviour of the plain text view of GTK2.

9 years agoRemoved deprecated functions.
Daniel Carl [Fri, 24 Oct 2014 22:22:00 +0000 (00:22 +0200)]
Removed deprecated functions.

By the way some useless alignment function calls are also removed.

9 years agonew setting 'content-security-policy'
Sébastien Marie [Fri, 24 Oct 2014 09:55:42 +0000 (11:55 +0200)]
new setting 'content-security-policy'

Add a new setting 'content-security-policy', that will set the
'Content-Security-Policy' HTTP-Header on the response, before webkit
processing it.

This setting allow to implement a request-policy based on WebKit
security feature, by whitelisting where the application expects to load
resources.

9 years agoenable uri pattern for LoadProvisional autocmd
Sébastien Marie [Fri, 24 Oct 2014 08:23:38 +0000 (10:23 +0200)]
enable uri pattern for LoadProvisional autocmd

this prepare a new setting "content-security-policy" that need to be
setted very early (before LoadCommited, where some HTTP-Headers are
already processed by webkit).

9 years agoCleaned feature section or README.
Daniel Carl [Tue, 21 Oct 2014 19:43:30 +0000 (21:43 +0200)]
Cleaned feature section or README.

9 years agorename autocmd var, used for --cmd processing
Sébastien Marie [Tue, 21 Oct 2014 06:19:49 +0000 (08:19 +0200)]
rename autocmd var, used for --cmd processing

rename vb.config.autocmd to vb.config.cmdargsi, which is a little bit
missleading cause of the autocmd feature.

9 years agomulti-cmd: use GSList instead of GList
Sébastien Marie [Tue, 21 Oct 2014 06:14:38 +0000 (08:14 +0200)]
multi-cmd: use GSList instead of GList

the argument building (at launch time) is not optimal, as arguments are
appended (instead of prepended). But as it is a one shot per instance,
and there should not have lot of --cmd passed, it should be tolerable.

9 years agomulti-cmd: update documentation
Sébastien Marie [Tue, 21 Oct 2014 06:33:15 +0000 (08:33 +0200)]
multi-cmd: update documentation

9 years agomanage --cmd argument multi-times on commandline
Sébastien Marie [Mon, 20 Oct 2014 11:31:44 +0000 (13:31 +0200)]
manage --cmd argument multi-times on commandline

Allow starting vimb with multiple --cmd arguments on commandline.

- convert vb.config.autocmd to GList
- process all the list at vimb startup
- pass all the list to new process on opening a new target
- cleanup on exit

9 years agoReplace tab chars by four spaces in code.
Daniel Carl [Sun, 19 Oct 2014 21:08:03 +0000 (23:08 +0200)]
Replace tab chars by four spaces in code.

9 years agocookie-expire-time
Sébastien Marie [Sun, 19 Oct 2014 04:41:25 +0000 (06:41 +0200)]
cookie-expire-time

- document new cookie feature and configuration setting

- add configuration setting

- small refactoring in cookie handling
  - first manage cookie-expire-time
  - and next, cookie-timeout

- convert cookie to session-cookie if cookie-expire-time=0
- enforce expire-time if cookie-expire-time>0

9 years agoDon't force proxy to http scheme (#119).
Daniel Carl [Sun, 19 Oct 2014 00:46:32 +0000 (02:46 +0200)]
Don't force proxy to http scheme (#119).

9 years agoChanged default useragent to avoid github deprecation warning.
Daniel Carl [Fri, 17 Oct 2014 21:49:53 +0000 (23:49 +0200)]
Changed default useragent to avoid github deprecation warning.

9 years agonote about group usage in :autocmd! (see #115)
Konstantin Stepanov [Fri, 17 Oct 2014 06:41:56 +0000 (09:41 +0300)]
note about group usage in :autocmd! (see #115)

9 years agoFixed leaving insert mode on click into WYSIWYG editor (#114).
Daniel Carl [Thu, 16 Oct 2014 20:58:14 +0000 (22:58 +0200)]
Fixed leaving insert mode on click into WYSIWYG editor (#114).

9 years agoFixed segfault on :autocmd without group (#115).
Daniel Carl [Thu, 16 Oct 2014 19:59:13 +0000 (21:59 +0200)]
Fixed segfault on :autocmd without group (#115).

9 years agoLeave insert mode when user click a none editable element (#114).
Daniel Carl [Thu, 16 Oct 2014 13:21:39 +0000 (15:21 +0200)]
Leave insert mode when user click a none editable element (#114).

9 years agoFix for WYSIWYG editor on github (#114).
Daniel Carl [Thu, 16 Oct 2014 13:05:00 +0000 (15:05 +0200)]
Fix for WYSIWYG editor on github (#114).

For these editors the click does not reach the editable element, so that vimb
does not switch to insert mode. But the textarea is focused when the click
appears, so that we can pick up the click event and check if the focused
element is editable.
I hope this will not break other pages that heavily depend on JavaScript.

9 years agoAllow to set ca-bundle from config.h (#110).
Daniel Carl [Wed, 15 Oct 2014 20:54:15 +0000 (22:54 +0200)]
Allow to set ca-bundle from config.h (#110).

Added SETTING_CA_BUNDLE to config.h.

9 years agoReleased version 2.8.
Daniel Carl [Sat, 11 Oct 2014 22:32:04 +0000 (00:32 +0200)]
Released version 2.8.

10 years agoUse lowercase chars for ex command params.
Daniel Carl [Mon, 22 Sep 2014 21:39:25 +0000 (23:39 +0200)]
Use lowercase chars for ex command params.

10 years agoFixed none escaped \ in manpage.
Daniel Carl [Mon, 22 Sep 2014 20:38:26 +0000 (22:38 +0200)]
Fixed none escaped \ in manpage.

10 years agoMerge branch 'feature/autocmd'
Daniel Carl [Mon, 22 Sep 2014 19:48:30 +0000 (21:48 +0200)]
Merge branch 'feature/autocmd'

Conflicts:
doc/vimb.1

10 years agoRemoved unused util_wildmatch function.
Daniel Carl [Mon, 22 Sep 2014 17:40:01 +0000 (19:40 +0200)]
Removed unused util_wildmatch function.

This was only used to test the wildmatching, but the autocmd allow always to
match against list of patterns.

10 years agoAdded missed comma to man page.
Daniel Carl [Mon, 22 Sep 2014 13:09:37 +0000 (15:09 +0200)]
Added missed comma to man page.

10 years agoAdded bang for :eval.
Daniel Carl [Mon, 22 Sep 2014 13:03:49 +0000 (15:03 +0200)]
Added bang for :eval.

Allow to make :eval silent by using the bang on the ex command.

10 years agoMerge branch 'master' into feature/autocmd
Daniel Carl [Sat, 20 Sep 2014 22:34:04 +0000 (00:34 +0200)]
Merge branch 'master' into feature/autocmd

10 years agoAdded setting input-autohide.
Daniel Carl [Sat, 20 Sep 2014 22:31:16 +0000 (00:31 +0200)]
Added setting input-autohide.

This allows to hide the inputbox whenever it contains no text. This is the
behaviour of pentadactyl and might be useful if vimb is running on small
screens.

10 years agoAllow to hide the statusbar.
Daniel Carl [Fri, 19 Sep 2014 20:02:33 +0000 (22:02 +0200)]
Allow to hide the statusbar.

10 years agoAdded completion for :autocmd and :augroup (#100).
Daniel Carl [Mon, 8 Sep 2014 20:35:45 +0000 (22:35 +0200)]
Added completion for :autocmd and :augroup (#100).

10 years agoLittle man page style tweaks.
Daniel Carl [Sun, 7 Sep 2014 20:19:22 +0000 (22:19 +0200)]
Little man page style tweaks.

10 years agoSimplified files section of man page.
Daniel Carl [Sun, 7 Sep 2014 19:29:26 +0000 (21:29 +0200)]
Simplified files section of man page.

Use also italic font for all path related elements in man page.

10 years agoAdapted constant name to autocmd event names.
Daniel Carl [Sun, 7 Sep 2014 19:07:53 +0000 (21:07 +0200)]
Adapted constant name to autocmd event names.

10 years agoChange autocmd_run function signature.
Daniel Carl [Sun, 7 Sep 2014 19:05:11 +0000 (21:05 +0200)]
Change autocmd_run function signature.

This leads to easier read code, because we don't need to use NULL as first
function parameter.

10 years agoAdded autocmd events for downloads (#100).
Daniel Carl [Sun, 7 Sep 2014 19:00:31 +0000 (21:00 +0200)]
Added autocmd events for downloads (#100).

10 years agoDon't provide uri for LoadProvisional event (#100).
Daniel Carl [Sun, 7 Sep 2014 18:29:47 +0000 (20:29 +0200)]
Don't provide uri for LoadProvisional event (#100).

10 years agoAdded section about autocmd to man page (#100).
Daniel Carl [Sun, 7 Sep 2014 18:19:56 +0000 (20:19 +0200)]
Added section about autocmd to man page (#100).

10 years agoUse for loops instead of while.
Daniel Carl [Sat, 6 Sep 2014 23:09:51 +0000 (01:09 +0200)]
Use for loops instead of while.

10 years agoFixed possible use of uninitialized variable.
Daniel Carl [Sat, 6 Sep 2014 22:59:41 +0000 (00:59 +0200)]
Fixed possible use of uninitialized variable.

10 years agoFixed compiler warning if autocmd feature is disabled (#100).
Daniel Carl [Sat, 6 Sep 2014 22:51:18 +0000 (00:51 +0200)]
Fixed compiler warning if autocmd feature is disabled (#100).

10 years agoShortened the autocmd event names (#100).
Daniel Carl [Sat, 6 Sep 2014 22:46:31 +0000 (00:46 +0200)]
Shortened the autocmd event names (#100).

This makes the config easier to maintain.

10 years agoAllow to match multiple patterns (#100).
Daniel Carl [Sat, 6 Sep 2014 22:35:06 +0000 (00:35 +0200)]
Allow to match multiple patterns (#100).

Change the matching functions to not end at the NUL of the pattern. In stead
we give a pattern length parameter. This allows to process multiple patterns
without the need to put NUL-bytes into it or to allocate memory for the parts
to match.

10 years agoAdded curly brace pattern matching for auto commands (#100).
Daniel Carl [Sat, 6 Sep 2014 12:37:38 +0000 (14:37 +0200)]
Added curly brace pattern matching for auto commands (#100).

This allows to match pattern with {foo,bar} to match 'foo' or 'bar'. This is
really useful for protocol matching for examaple
http{s,}://{www,mail,maps}.ugly-domain.com/*.

10 years agoAdded more test cases for multiple * and ? in pattern.
Daniel Carl [Sat, 6 Sep 2014 10:40:11 +0000 (12:40 +0200)]
Added more test cases for multiple * and ? in pattern.

10 years agoStore the used autocmd event bits (#100).
Daniel Carl [Fri, 5 Sep 2014 21:31:57 +0000 (23:31 +0200)]
Store the used autocmd event bits (#100).

The bits of the used autocmd events are now stored in a variable to early
break out of the autocmd, if there is no autocmd defined for a particular
event.

10 years agoFaster return for wildmatch with trailing '*'.
Daniel Carl [Fri, 5 Sep 2014 21:09:28 +0000 (23:09 +0200)]
Faster return for wildmatch with trailing '*'.

If the pattern ends in '*' it's not necessary to call the wildmatch, because
this will match everything.

10 years agoAllow to remove augroup (#100).
Daniel Carl [Thu, 4 Sep 2014 21:44:25 +0000 (23:44 +0200)]
Allow to remove augroup (#100).

10 years agoAllow multiple autocmd patterns (#100).
Daniel Carl [Thu, 4 Sep 2014 20:04:58 +0000 (22:04 +0200)]
Allow multiple autocmd patterns (#100).

10 years agoMerge branch 'master' into feature/autocmd
Daniel Carl [Thu, 4 Sep 2014 19:05:10 +0000 (21:05 +0200)]
Merge branch 'master' into feature/autocmd

10 years agoAdded hint to man page for read from stdin.
Daniel Carl [Thu, 4 Sep 2014 17:38:13 +0000 (19:38 +0200)]
Added hint to man page for read from stdin.

10 years agoMoved logic to red from stdin to main.
Daniel Carl [Thu, 4 Sep 2014 17:18:52 +0000 (19:18 +0200)]
Moved logic to red from stdin to main.

To open from stdin is only useful for uri given on command line, if vimb is
already running it makes no sense to allow to read from stdin.

10 years agoAdded feature to read page content from stdin.
Hironao Komatsu [Thu, 4 Sep 2014 02:11:22 +0000 (11:11 +0900)]
Added feature to read page content from stdin.

10 years agoMerge branch 'master' into feature/autocmd
Daniel Carl [Wed, 3 Sep 2014 22:19:17 +0000 (00:19 +0200)]
Merge branch 'master' into feature/autocmd

Conflicts:
src/ex.c

10 years agoFixed wrong showcmd in status bar.
Daniel Carl [Wed, 3 Sep 2014 22:01:16 +0000 (00:01 +0200)]
Fixed wrong showcmd in status bar.

If there where mapping that start with keys that needs more keys and we wait
over the timeoutlen without typing further, the already typed keys where added
to the showcmd in status bar.

For example if ':nnoremap 1gt' is configured and '1' is typed, '1' is written
to showcmd. After timeoutlen '11' is written. If '1g' was typed, '1g1g' was
written after timeoutlen.

This patch adds a counter for keys shown in showcmd, so that we do not add
keys that are already present there.

10 years agoDon't put autocmd commands in history.
Daniel Carl [Sun, 31 Aug 2014 22:42:01 +0000 (00:42 +0200)]
Don't put autocmd commands in history.

10 years agoAdded utility function for wildcard matching.
Daniel Carl [Sun, 31 Aug 2014 22:06:45 +0000 (00:06 +0200)]
Added utility function for wildcard matching.

10 years agoAdded basic logic for :autocmd.
Daniel Carl [Sun, 24 Aug 2014 16:47:22 +0000 (18:47 +0200)]
Added basic logic for :autocmd.

10 years agoFixed a little memory leak in unmap logic.
Daniel Carl [Sat, 30 Aug 2014 22:27:41 +0000 (00:27 +0200)]
Fixed a little memory leak in unmap logic.

10 years agoShow the number of search results in status bar.
Daniel Carl [Fri, 29 Aug 2014 22:12:42 +0000 (00:12 +0200)]
Show the number of search results in status bar.

If search highlight feature is on, show the number of matches in status bar as
(num).

10 years agoFixed download with content-range header (#101).
Daniel Carl [Fri, 29 Aug 2014 21:00:47 +0000 (23:00 +0200)]
Fixed download with content-range header (#101).

If the server responds with an Accept-Range header without content the
download was not started. In this case we got the status_code 0 which
indicates that libsoup has not sent the message.
Now we accept status_code 0 and the 2xx.

10 years agoSimplified normal mode key processing.
Daniel Carl [Fri, 29 Aug 2014 19:01:36 +0000 (21:01 +0200)]
Simplified normal mode key processing.

10 years agoDon't apply CTRL-V to pass through mode.
Daniel Carl [Fri, 29 Aug 2014 18:05:31 +0000 (20:05 +0200)]
Don't apply CTRL-V to pass through mode.

It make no sense to pas through only the next char is we are already in pass
through mode.

10 years agoAllow to use shortcut also if query contains '://' (#104).
Daniel Carl [Fri, 29 Aug 2014 08:35:37 +0000 (10:35 +0200)]
Allow to use shortcut also if query contains '://' (#104).

10 years agoAllow :normal and :eval commands to contain | chars.
Daniel Carl [Sun, 24 Aug 2014 17:55:52 +0000 (19:55 +0200)]
Allow :normal and :eval commands to contain | chars.

10 years agoReleased version 2.7
Daniel Carl [Fri, 22 Aug 2014 17:35:59 +0000 (19:35 +0200)]
Released version 2.7

10 years agoFixed wrong value in :set+= for integer vars.
Daniel Carl [Sun, 17 Aug 2014 13:30:50 +0000 (15:30 +0200)]
Fixed wrong value in :set+= for integer vars.

10 years agoAdded input mode CTRL-V to man page.
Daniel Carl [Fri, 15 Aug 2014 21:32:30 +0000 (23:32 +0200)]
Added input mode CTRL-V to man page.

10 years agoAdded CTRL-0 to run normal mode command during input mode.
Daniel Carl [Fri, 15 Aug 2014 21:24:12 +0000 (23:24 +0200)]
Added CTRL-0 to run normal mode command during input mode.

10 years agoShorten the status messages to prevent window resizing (#99).
Daniel Carl [Sun, 10 Aug 2014 18:36:08 +0000 (20:36 +0200)]
Shorten the status messages to prevent window resizing (#99).

For GTK3 the gtk labels text isn't ellipsized or cut off by default. If an
page with a really long url is opened or a link with a long url is hovered the
window was resized to fit the long shown url in statusbar.

10 years agoUse String(val) instead of val.toString().
Daniel Carl [Sat, 9 Aug 2014 16:07:09 +0000 (18:07 +0200)]
Use String(val) instead of val.toString().

This seems to be a little faster in current JavaScript implementation of
webkit.

10 years agoAdded CTRL-A and CTRL-X commands.
Daniel Carl [Sat, 9 Aug 2014 15:58:52 +0000 (17:58 +0200)]
Added CTRL-A and CTRL-X commands.

These commands allow to increment or decrement the last number in the current
url.

10 years agoAdded soup caching support.
Daniel Carl [Mon, 4 Aug 2014 22:19:00 +0000 (00:19 +0200)]
Added soup caching support.

Added new settings maximum-cache-size to set the size all the cache may use.
Default is 2000kB.

10 years agoFixed not working page caching of webkit.
Daniel Carl [Sun, 3 Aug 2014 16:00:48 +0000 (18:00 +0200)]
Fixed not working page caching of webkit.

If the 'pagecache' option is set to on, this does not really speed up the page
load. It seems to be necessary to explicitly set the cache model to use, even
if the documentation say that the default cache model is that what is used
now.

10 years agoUpdated the manpage for the private-browsing option.
Daniel Carl [Sun, 3 Aug 2014 15:31:05 +0000 (17:31 +0200)]
Updated the manpage for the private-browsing option.