surf.git
11 years agoSetting the cookie file on new instances.
Christoph Lohmann [Fri, 12 Jul 2013 04:52:37 +0000 (06:52 +0200)]
Setting the cookie file on new instances.

11 years agoUpdating the TODO file.
Christoph Lohmann [Fri, 21 Jun 2013 05:02:45 +0000 (07:02 +0200)]
Updating the TODO file.

11 years agoAdding a common way to enable and disable features.
Christoph Lohmann [Tue, 21 May 2013 19:30:00 +0000 (21:30 +0200)]
Adding a common way to enable and disable features.

11 years agoThere's only one escape.
Christoph Lohmann [Tue, 14 May 2013 18:57:35 +0000 (20:57 +0200)]
There's only one escape.

11 years agoCorrecting the backslash in the surf manpage.
Christoph Lohmann [Sat, 11 May 2013 20:01:02 +0000 (22:01 +0200)]
Correcting the backslash in the surf manpage.

11 years agoAllowing geo location policy decisions.
Christoph Lohmann [Sun, 28 Apr 2013 19:26:56 +0000 (21:26 +0200)]
Allowing geo location policy decisions.

11 years agoDisabling WebKit deletion interface feature by default.
Alexander Sedov [Fri, 15 Mar 2013 16:32:13 +0000 (20:32 +0400)]
Disabling WebKit deletion interface feature by default.

Webkit has an amazing "feature" that shows black outline with cross
around some randomly chosen text fields. Its only fucntion is to
clear field. It's ugly and gets in the way when trying to actually
ready what you've written, so here's a patch to disable it.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoAdd an option to disable the indicators.
Christoph Lohmann [Sun, 14 Apr 2013 12:26:44 +0000 (14:26 +0200)]
Add an option to disable the indicators.

11 years agoEnsure curl follows redirects for downloads
Nick White [Sat, 30 Mar 2013 10:32:45 +0000 (10:32 +0000)]
Ensure curl follows redirects for downloads

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoA typo in SETPROP macro: should be ``printf %b'', not ``printf''.
Alexander Sedov [Fri, 29 Mar 2013 20:31:23 +0000 (00:31 +0400)]
A typo in SETPROP macro: should be ``printf %b'', not ``printf''.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoFixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.
Alexander Sedov [Thu, 21 Mar 2013 16:49:10 +0000 (20:49 +0400)]
Fixed SETPROP() macro behaviour in config.def.h to handle escapes correctly.

xprop prints information in format PROPERTY(STRING) = "escaped string",
which causes problem with repeated Ctrl-F: any non-ascii turns into
\ooo\ooo, this later turns into \\ooo\\ooo, and so on. To de-escape
string, printf(1) is used, getting information from xargs -0; without -0
xargs will try to handle escapes by itself and also do shenanigans
with quotes, which is totally undesired.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoThere are people not reading the existing code.
Christoph Lohmann [Fri, 15 Mar 2013 17:37:12 +0000 (18:37 +0100)]
There are people not reading the existing code.

I fucking hate to have to correct all of this. People learn to read!

11 years agoFixed keys handling for multilayout environments.
Alexander Sedov [Fri, 15 Mar 2013 15:12:15 +0000 (19:12 +0400)]
Fixed keys handling for multilayout environments.

There is a bug in GTK+ that does not allow capturing shortcuts using
letter keys on layouts other than "us". The bug is there for ages and
there is probably no hope that it will get fixed. This patch switches
shortcut handling method to GtkAccelGroup, which handles this case
correctly. Enjoy!

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoRemoving the .hgtags file.
Christoph Lohmann [Fri, 15 Mar 2013 13:13:20 +0000 (14:13 +0100)]
Removing the .hgtags file.

11 years agoSupport relative paths for surf.
Christoph Lohmann [Thu, 14 Mar 2013 18:14:44 +0000 (19:14 +0100)]
Support relative paths for surf.

Thanks Kurt Van Dijck <kurt.van.dijck@eia.be>!

11 years agoAdding a default font size option.
Christoph Lohmann [Thu, 14 Mar 2013 05:35:42 +0000 (06:35 +0100)]
Adding a default font size option.

Thanks Alexander Sedov <alex0player@gmail.com>!

11 years agoFix output redirection in surf-open.sh
Alexander Sedov [Thu, 14 Mar 2013 03:13:35 +0000 (07:13 +0400)]
Fix output redirection in surf-open.sh

Incorrect order of output rediection specifiers was causing useless
text appearing in terminal when starting surf-open (for example,
BadWindow error from xprop when tabbed window is already closed).
It isn't now.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoFixing kiosk mode when a new surf instance is run.
Christoph Lohmann [Mon, 11 Mar 2013 21:08:14 +0000 (22:08 +0100)]
Fixing kiosk mode when a new surf instance is run.

11 years agoAdding kiosk mode.
Christoph Lohmann [Mon, 11 Mar 2013 20:26:22 +0000 (21:26 +0100)]
Adding kiosk mode.

Thanks to Christian Hesse <mail@eworm.de>!

11 years agodisable/toggle scrollbars
Carlos J. Torres [Thu, 21 Feb 2013 14:59:07 +0000 (09:59 -0500)]
disable/toggle scrollbars

* add flag to main
* add flag to manual
* add signal handler to block default scrollbar policy
* add toggle of scrollbars (hacky - but no reload) with a twitch
* add key map to manual
* add commandline flag to children surfers
* update TODO
* sort stuff alphabetically for the style inquisition

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoStyle inquisition.
Christoph Lohmann [Sat, 16 Feb 2013 23:37:43 +0000 (00:37 +0100)]
Style inquisition.

11 years agoAdd a toggle command for the stylefile.
Christoph Lohmann [Sat, 16 Feb 2013 15:18:05 +0000 (16:18 +0100)]
Add a toggle command for the stylefile.

The patch adds some better formatting for the manpage too.

Thanks to Nick <suckless-dev@njw.me.uk> for the toggle patch!

11 years agoThe Item struct is not used.
Christoph Lohmann [Fri, 15 Feb 2013 16:43:42 +0000 (17:43 +0100)]
The Item struct is not used.

11 years agoFixed a bug in pagestat
Jens Nyberg [Thu, 14 Feb 2013 23:57:36 +0000 (00:57 +0100)]
Fixed a bug in pagestat

Forgot to add a null character at the end.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agofix DOWNLOAD macro to use cookiefile variable
Carlos J. Torres [Wed, 13 Feb 2013 03:28:16 +0000 (22:28 -0500)]
fix DOWNLOAD macro to use cookiefile variable

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoChanged character for non-encrypted page
Jens Nyberg [Tue, 12 Feb 2013 20:26:24 +0000 (21:26 +0100)]
Changed character for non-encrypted page

-/T/U: No SSL, Trusted SSL, Untrusted SSL

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoRemoved progress indicator
Jens Nyberg [Tue, 12 Feb 2013 19:36:56 +0000 (20:36 +0100)]
Removed progress indicator

This removes the progress indicator and replaces it with
letters in the window title.

T/U: Trusted, Untrusted
P/-: Proxy, No proxy

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoRemove the redundant ctrl-l and ctrl-h description from the man page.
Shayan Pooya [Mon, 11 Feb 2013 07:36:01 +0000 (00:36 -0700)]
Remove the redundant ctrl-l and ctrl-h description from the man page.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
11 years agoMaking dist work again.
Christoph Lohmann [Sun, 10 Feb 2013 18:40:14 +0000 (19:40 +0100)]
Making dist work again.

11 years agoBumping up to 0.6.
Christoph Lohmann [Sun, 10 Feb 2013 18:33:54 +0000 (19:33 +0100)]
Bumping up to 0.6.

11 years agoThe javascriptcore is now in webkit.
Christoph Lohmann [Sat, 9 Feb 2013 03:33:58 +0000 (04:33 +0100)]
The javascriptcore is now in webkit.

11 years agoFixing cookie handling for https/http by using curl.
Christoph Lohmann [Sat, 2 Feb 2013 14:42:09 +0000 (15:42 +0100)]
Fixing cookie handling for https/http by using curl.

11 years agoRemoving the deprecated g_thread_init call.
Christoph Lohmann [Sat, 2 Feb 2013 08:40:34 +0000 (09:40 +0100)]
Removing the deprecated g_thread_init call.

11 years agoFixing the style and making the inspector work again.
Christoph Lohmann [Sat, 26 Jan 2013 20:01:23 +0000 (21:01 +0100)]
Fixing the style and making the inspector work again.

11 years agoMaking more than one Modkey to work in keys.
Christoph Lohmann [Sat, 26 Jan 2013 15:00:52 +0000 (16:00 +0100)]
Making more than one Modkey to work in keys.

11 years agoAdding web inspector support to surf.
Christoph Lohmann [Sat, 26 Jan 2013 14:53:33 +0000 (15:53 +0100)]
Adding web inspector support to surf.

Thanks Gregor Best <gbe@ring0.de>!

11 years agoStyle inquisition plus blocking of the */favicon.ico request. Thanks Peter A.
Christoph Lohmann [Thu, 6 Dec 2012 12:32:52 +0000 (13:32 +0100)]
Style inquisition plus blocking of the */favicon.ico request. Thanks Peter A.
Shevtsov!

11 years agoChanging the default DOWNLOAD to use st.
Christoph Lohmann [Tue, 4 Dec 2012 20:48:42 +0000 (21:48 +0100)]
Changing the default DOWNLOAD to use st.

11 years agoAdd a nice todo item for videos. Thanks morphles.
Christoph Lohmann [Tue, 4 Dec 2012 06:47:54 +0000 (07:47 +0100)]
Add a nice todo item for videos. Thanks morphles.

11 years agoAdding a man section about how to handle plugins.
Christoph Lohmann [Tue, 4 Dec 2012 06:26:12 +0000 (07:26 +0100)]
Adding a man section about how to handle plugins.

11 years agoAdding the fullscreen mode to the manpage.
Christoph Lohmann [Mon, 3 Dec 2012 20:27:39 +0000 (21:27 +0100)]
Adding the fullscreen mode to the manpage.

11 years agoImplementing fullscreen mode. Thanks Krol, Willem van de!
Christoph Lohmann [Mon, 3 Dec 2012 20:19:16 +0000 (21:19 +0100)]
Implementing fullscreen mode. Thanks Krol, Willem van de!

11 years agoAdding me to the LICENSE file.
Christoph Lohmann [Mon, 3 Dec 2012 10:25:31 +0000 (11:25 +0100)]
Adding me to the LICENSE file.

11 years agoResolving some conflicts in the shortcuts.
Christoph Lohmann [Sun, 2 Dec 2012 21:48:41 +0000 (22:48 +0100)]
Resolving some conflicts in the shortcuts.

11 years agoMaking zoom available when used in tabbed.
Christoph Lohmann [Sun, 2 Dec 2012 21:41:18 +0000 (22:41 +0100)]
Making zoom available when used in tabbed.

11 years agoSurf now can handle absolute file paths. This allows better local HTML
Christoph Lohmann [Sun, 25 Nov 2012 21:31:46 +0000 (22:31 +0100)]
Surf now can handle absolute file paths. This allows better local HTML
reading.

12 years agoThe control of the toggles is now Ctrl-Shift-$character. That's easier for new
Christoph Lohmann [Tue, 20 Nov 2012 15:14:28 +0000 (16:14 +0100)]
The control of the toggles is now Ctrl-Shift-$character. That's easier for new
users.

12 years agoFix some styling in the config.def.h, fix the DOWNLOAD macro and unify the
Christoph Lohmann [Tue, 20 Nov 2012 15:02:57 +0000 (16:02 +0100)]
Fix some styling in the config.def.h, fix the DOWNLOAD macro and unify the
variable naming a bit.

12 years agoAdd a referer argument to the DOWNLOAD macro. Some sites need this. Thanks
Christoph Lohmann [Tue, 20 Nov 2012 10:53:29 +0000 (11:53 +0100)]
Add a referer argument to the DOWNLOAD macro. Some sites need this. Thanks
Hiltjo Posthuma!

12 years agoUseragent strings do not count anymore. This is adding some text so every
Christoph Lohmann [Fri, 16 Nov 2012 21:31:36 +0000 (22:31 +0100)]
Useragent strings do not count anymore. This is adding some text so every
website (especially Google) is fooled to believe us to be compatible. The
right way seems to be to add Surf at the end and let the big guys handle their
useragent header war.

12 years agoAdding a surf-open.sh script for easier tabbed(1) integration.
Christoph Lohmann [Fri, 16 Nov 2012 15:12:09 +0000 (16:12 +0100)]
Adding a surf-open.sh script for easier tabbed(1) integration.

12 years agoMoving some preprocessor config options to the standard suckless style.
Christoph Lohmann [Fri, 16 Nov 2012 09:53:30 +0000 (10:53 +0100)]
Moving some preprocessor config options to the standard suckless style.

12 years agoAdding back the Escape to stop loading the current page. Thanks Daniel Bainton
Christoph Lohmann [Fri, 16 Nov 2012 09:42:30 +0000 (10:42 +0100)]
Adding back the Escape to stop loading the current page. Thanks Daniel Bainton
for the notice!

12 years agoSome minor style updates.
Christoph Lohmann [Fri, 16 Nov 2012 09:31:42 +0000 (10:31 +0100)]
Some minor style updates.

12 years agoRemoving the insert mode. It will only confuse users. The stop() function is
Christoph Lohmann [Fri, 16 Nov 2012 09:13:23 +0000 (10:13 +0100)]
Removing the insert mode. It will only confuse users. The stop() function is
kept like the eval() function because it could be used in config.h

12 years agoEnable the insert mode. Thanks to stanio@cs.tu-berlin.de!
Christoph Lohmann [Thu, 15 Nov 2012 14:26:48 +0000 (15:26 +0100)]
Enable the insert mode. Thanks to stanio@cs.tu-berlin.de!

12 years agoApplying the surf style to the last patch.
Christoph Lohmann [Thu, 15 Nov 2012 13:53:27 +0000 (14:53 +0100)]
Applying the surf style to the last patch.

12 years agoImporting the generic toggle patch of stanio@cs.tu-berlin.de. Thanks!
Christoph Lohmann [Thu, 15 Nov 2012 13:52:22 +0000 (14:52 +0100)]
Importing the generic toggle patch of stanio@cs.tu-berlin.de. Thanks!

12 years agoFixing the bug of surf loading undefined data in arg.
Christoph Lohmann [Thu, 8 Nov 2012 21:05:40 +0000 (22:05 +0100)]
Fixing the bug of surf loading undefined data in arg.

12 years agoFixing the manpage about the useragent option.
Christoph Lohmann [Wed, 31 Oct 2012 20:25:42 +0000 (21:25 +0100)]
Fixing the manpage about the useragent option.

12 years agoAdding a useragent parameter to surf.
Christoph Lohmann [Wed, 31 Oct 2012 20:25:14 +0000 (21:25 +0100)]
Adding a useragent parameter to surf.

12 years agoChanging the config.def.h to fit the new buildpath() behaviour.
Christoph Lohmann [Wed, 31 Oct 2012 20:16:12 +0000 (21:16 +0100)]
Changing the config.def.h to fit the new buildpath() behaviour.

12 years agoAdd options for scriptfile, cookiefile and stylefile. And changing the default
Christoph Lohmann [Wed, 31 Oct 2012 20:13:50 +0000 (21:13 +0100)]
Add options for scriptfile, cookiefile and stylefile. And changing the default
behaviour of buildpath to be more like in open().

12 years agoAdd different progress colors when using proxy.
Christoph Lohmann [Wed, 31 Oct 2012 19:46:38 +0000 (20:46 +0100)]
Add different progress colors when using proxy.

12 years agoHiding the loading indicator when it is not used. Based on a patch from
Christoph Lohmann [Sun, 28 Oct 2012 13:16:22 +0000 (14:16 +0100)]
Hiding the loading indicator when it is not used. Based on a patch from
http://xteddy.org/surf.html#toc5. Thanks!

12 years agoApplying the patch to show the indicator only on loading. Based on a patch
Christoph Lohmann [Sun, 28 Oct 2012 13:06:17 +0000 (14:06 +0100)]
Applying the patch to show the indicator only on loading. Based on a patch
from http://xteddy.org/surf.html#toc5.

12 years agoMod + '/' for search.
Christoph Lohmann [Sun, 28 Oct 2012 13:03:00 +0000 (14:03 +0100)]
Mod + '/' for search.

12 years agoApplying the cookie patch of Carlos Pita. Thank you!
Christoph Lohmann [Tue, 16 Oct 2012 19:54:37 +0000 (21:54 +0200)]
Applying the cookie patch of Carlos Pita. Thank you!

12 years agoRemoving the double initialisation to webkit_get_default_session(). Thanks
Christoph Lohmann [Tue, 16 Oct 2012 13:41:50 +0000 (15:41 +0200)]
Removing the double initialisation to webkit_get_default_session(). Thanks
taruti!

12 years agoReverting the cleanmask change.
Christoph Lohmann [Sun, 14 Oct 2012 05:17:45 +0000 (07:17 +0200)]
Reverting the cleanmask change.

12 years agoChanging the key masks to the values of GDK.
Christoph Lohmann [Sat, 13 Oct 2012 10:06:26 +0000 (12:06 +0200)]
Changing the key masks to the values of GDK.

12 years agoThe right click menu to copy the link URI will now work. Thanks to Carlos
Christoph Lohmann [Sat, 13 Oct 2012 05:28:16 +0000 (07:28 +0200)]
The right click menu to copy the link URI will now work. Thanks to Carlos
Pita!

12 years agoAdding middle-click behaviour to open a tab when embedded or a window when
Christoph Lohmann [Sat, 13 Oct 2012 05:16:08 +0000 (07:16 +0200)]
Adding middle-click behaviour to open a tab when embedded or a window when
not. Thanks to Carlos Pita <carlosjosepita@gmail.com>!

12 years agoFixing the shift key mask and cleaning up the scrolling code.
Christoph Lohmann [Fri, 12 Oct 2012 09:48:38 +0000 (11:48 +0200)]
Fixing the shift key mask and cleaning up the scrolling code.

12 years agoSurf now parses hex window ids properly from tabbed.
Christoph Lohmann [Mon, 16 Jul 2012 14:35:47 +0000 (16:35 +0200)]
Surf now parses hex window ids properly from tabbed.

12 years agoAdded tag 0.5 for changeset f0cea0f2bfc6
Troels Henriksen [Thu, 12 Jul 2012 10:41:56 +0000 (12:41 +0200)]
Added tag 0.5 for changeset f0cea0f2bfc6

12 years agoChange horizontal scrolling to ^u and ^i, remove ^g scrolling.
Troels Henriksen [Mon, 11 Jun 2012 15:16:52 +0000 (17:16 +0200)]
Change horizontal scrolling to ^u and ^i, remove ^g scrolling.

12 years agoapply nick's patch removing unused variable and parameters
pancake [Mon, 11 Jun 2012 14:45:48 +0000 (16:45 +0200)]
apply nick's patch removing unused variable and parameters

12 years agoapply nick's patch removing the autoresize functionality
pancake [Mon, 11 Jun 2012 14:01:03 +0000 (16:01 +0200)]
apply nick's patch removing the autoresize functionality

12 years agoKeybindings for scrolling left and right; code by stanio.
Troels Henriksen [Thu, 31 May 2012 09:46:24 +0000 (11:46 +0200)]
Keybindings for scrolling left and right; code by stanio.

12 years agoManpage patch from Evan Gates.
Troels Henriksen [Mon, 26 Mar 2012 07:33:42 +0000 (09:33 +0200)]
Manpage patch from Evan Gates.

12 years agoClose standard output after printing XID, patch due Abby Cedar.
Troels Henriksen [Tue, 21 Feb 2012 11:00:01 +0000 (12:00 +0100)]
Close standard output after printing XID, patch due Abby Cedar.

12 years agomaking cookie file creation a bit more pedantic
anselm@garbe.us [Sat, 11 Feb 2012 16:51:48 +0000 (17:51 +0100)]
making cookie file creation a bit more pedantic

12 years agoapplied fix from dev list and debian reviewers
anselm@garbe.us [Sat, 11 Feb 2012 09:40:32 +0000 (10:40 +0100)]
applied fix from dev list and debian reviewers

12 years agoFixing the javascriptcoregtk-1.0 dependency.
Christoph Lohmann [Wed, 1 Feb 2012 14:23:39 +0000 (15:23 +0100)]
Fixing the javascriptcoregtk-1.0 dependency.

12 years agoAdd a variable in config.def.h for configuring spatial browsing.
Troels Henriksen [Tue, 17 Jan 2012 12:58:04 +0000 (13:58 +0100)]
Add a variable in config.def.h for configuring spatial browsing.

12 years agoStatus message patch from Jeremy Jackins and skls.
Troels Henriksen [Tue, 17 Jan 2012 12:54:35 +0000 (13:54 +0100)]
Status message patch from Jeremy Jackins and skls.

13 years agolink Xlib in config.mk
Connor Lane Smith [Sun, 20 Nov 2011 15:06:38 +0000 (16:06 +0100)]
link Xlib in config.mk

13 years agoManual fixes from Nick White.
Troels Henriksen [Wed, 9 Nov 2011 14:09:59 +0000 (15:09 +0100)]
Manual fixes from Nick White.

13 years agoCleanup previous patch.
Troels Henriksen [Sat, 5 Nov 2011 11:06:08 +0000 (12:06 +0100)]
Cleanup previous patch.

13 years agoUse the surf user agent when downloading with wget.
Troels Henriksen [Sat, 5 Nov 2011 10:43:46 +0000 (11:43 +0100)]
Use the surf user agent when downloading with wget.

13 years agoThe ICCCM states that window classes should be capitalised.
Troels Henriksen [Fri, 4 Nov 2011 12:57:04 +0000 (13:57 +0100)]
The ICCCM states that window classes should be capitalised.

13 years agoAdd SSL verification patch by Nick White.
Troels Henriksen [Fri, 4 Nov 2011 12:23:57 +0000 (13:23 +0100)]
Add SSL verification patch by Nick White.

13 years agoAdd eval() function for executing Javascript. Handy for keybindings.
Troels Henriksen [Thu, 3 Nov 2011 13:09:19 +0000 (14:09 +0100)]
Add eval() function for executing Javascript.  Handy for keybindings.

13 years agoadded 20h's patch of 8 Sep 2011 to surf, thanks
garbeam@gmail.com [Sat, 29 Oct 2011 08:59:34 +0000 (10:59 +0200)]
added 20h's patch of 8 Sep 2011 to surf, thanks

13 years agorename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1
pancake [Thu, 31 Mar 2011 10:52:35 +0000 (12:52 +0200)]
rename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1

14 years agoAdding nibbles patch
Enno Boland (tox) [Thu, 9 Sep 2010 09:15:02 +0000 (11:15 +0200)]
Adding nibbles patch

14 years agofix for segfault when closing window while loading (via nibble)
pancake [Thu, 2 Sep 2010 12:02:12 +0000 (14:02 +0200)]
fix for segfault when closing window while loading (via nibble)

14 years agousing ctrl-f to find.
Enno Boland (tox) [Fri, 25 Jun 2010 07:42:58 +0000 (09:42 +0200)]
using ctrl-f to find.

14 years agoAdded tag 0.4.1 for changeset 71388899ac09
Enno Boland (tox) [Tue, 8 Jun 2010 07:06:15 +0000 (09:06 +0200)]
Added tag 0.4.1 for changeset 71388899ac09