Markus Teich [Sun, 18 Oct 2015 20:52:15 +0000 (22:52 +0200)]
whitespace fixes
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Markus Teich [Sun, 18 Oct 2015 14:10:38 +0000 (16:10 +0200)]
fix style path generation
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Tue, 13 Oct 2015 19:48:38 +0000 (21:48 +0200)]
Style cleanup.
Quentin Rameau [Tue, 13 Oct 2015 19:39:01 +0000 (21:39 +0200)]
Fix the way system files are handled at surf startup.
1. Do not chmod existing directories.
2. Fix the handling of tilde expansion in paths, don't expand ~foo to
$HOME/foo but to foo's home directory.
3. Separate the creation of files and directories. We don't have to
worry anymore about pathnames having to end with a '/' to be correctly
handled.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau [Tue, 13 Oct 2015 11:32:09 +0000 (13:32 +0200)]
Fix atom value parsing in SETPROP
xprop(1) encloses the returned atom string value in double quotes while
it doesn't when the value is unset. Original simple parsing would fail
and parse the atom name instead of getting an empty value.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Tue, 8 Sep 2015 18:28:11 +0000 (20:28 +0200)]
Remove the pax intermediary.
Compile webkit without jit and you don't need to disable mprotect.
Christoph Lohmann [Wed, 19 Aug 2015 04:28:31 +0000 (06:28 +0200)]
Fixing the paxctl check.
Thanks quinq for the tip.
Christoph Lohmann [Tue, 18 Aug 2015 16:21:34 +0000 (18:21 +0200)]
Add PaX support.
Mprotect needs to be turned off for Webkit.
GhostAV [Tue, 18 Aug 2015 10:46:34 +0000 (12:46 +0200)]
Torified surf is unstable
On Tue, Aug 18, 2015 at 12:38:40PM +0200, Gabriel Pérez-Cerezo wrote:
> It really seems to be a problem with torsocks. I have already solved
> this problem with a patch GhostAV just sent me on this list that adds
> SOCKS support to surf. It works fine now.
As i failed to send the patch to the list, i resend it now:
-- >8 --
From: Jonas Rabenstein <jonas.rabenstein@studium.uni-erlangen.de>
Subject: [PATCH] allow sock proxies
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau [Mon, 13 Jul 2015 11:31:22 +0000 (13:31 +0200)]
Fix type of strictssl property.
Thanks to Mark Edgar <medgar123@gmail.com> for having spotted this.
Christoph Lohmann [Tue, 10 Feb 2015 18:06:56 +0000 (19:06 +0100)]
Removing the debug print from the last commit.
Markus Teich [Wed, 28 Jan 2015 20:01:55 +0000 (21:01 +0100)]
allow buttonrelease customization in config.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Greg Reagle [Tue, 27 Jan 2015 18:26:26 +0000 (13:26 -0500)]
surf: see hover URL without changing title
On Tue, Jan 27, 2015, at 11:52 AM, Christoph Lohmann wrote:
> Then hook to the window leaving event in GTK or X11 and set the title to
> your needs. I will welcome a patch.
Patch is attached. I am a total novice in GTK programming, so I don't
know what type the callback function is supposed to be (hence the void
pointers) or whether I registered it properly. But it does work well
for me.
--
http://www.fastmail.com - Access your email from home and the web
From
a33f06da092bf920b6a286ea7688b32944d79a50 Mon Sep 17 00:00:00 2001
From: Greg Reagle <greg.reagle@umbc.edu>
Date: Tue, 27 Jan 2015 13:22:15 -0500
Subject: [PATCH] ensure that window title is web page title (not hover link)
when leaving window
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Tue, 3 Feb 2015 16:17:04 +0000 (17:17 +0100)]
Some cleanup in style.
Christoph Lohmann [Mon, 26 Jan 2015 20:47:18 +0000 (21:47 +0100)]
Describe the web page indicators too.
Christoph Lohmann [Mon, 26 Jan 2015 20:44:54 +0000 (21:44 +0100)]
It wasn't really clear what was meant with site indicators in the manpage.
Greg Reagle [Mon, 26 Jan 2015 19:31:26 +0000 (14:31 -0500)]
surf: documented indicators in man page
Patch attached.
--
http://www.fastmail.com - The professional email service
From
4a64624fee94c16c093d2b192389bad9bd6675d8 Mon Sep 17 00:00:00 2001
From: Greg Reagle <greg.reagle@umbc.edu>
Date: Mon, 26 Jan 2015 14:29:05 -0500
Subject: [PATCH] Documented indicators
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Markus Teich [Tue, 20 Jan 2015 15:13:31 +0000 (16:13 +0100)]
fix stylesheet interna.
* no more segfault when running `surf -m`
* allow to enable custom styles after `surf -m` with mod+shift+m
* use enablestyles instead of the webkit-setting, which clears things up a bit
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Tue, 20 Jan 2015 16:38:22 +0000 (17:38 +0100)]
Only plumb some URI, when it's ASCII.
Christoph Lohmann [Tue, 20 Jan 2015 00:59:53 +0000 (01:59 +0100)]
Oh my blob!
Adding blob: to the URIS handled by the browser.
Christoph Lohmann [Mon, 19 Jan 2015 21:51:29 +0000 (22:51 +0100)]
Data: is part of the browser too.
Christoph Lohmann [Mon, 19 Jan 2015 21:43:42 +0000 (22:43 +0100)]
file:// should be handled in surf too.
Christoph Lohmann [Mon, 19 Jan 2015 21:31:31 +0000 (22:31 +0100)]
Remove the debugging from the testing.
Christoph Lohmann [Mon, 19 Jan 2015 21:16:07 +0000 (22:16 +0100)]
Add some description for the plumb feature.
Christoph Lohmann [Mon, 19 Jan 2015 21:15:18 +0000 (22:15 +0100)]
Add plumbing functionality.
Christoph Lohmann [Sun, 18 Jan 2015 13:41:20 +0000 (14:41 +0100)]
Add a comment about how the styles are iterated.
Thanks quing for noticing.
Christoph Lohmann [Sun, 18 Jan 2015 10:44:39 +0000 (11:44 +0100)]
My CMD was too short. :O
Thanks Carlos Torres for mentioning this.
Christoph Lohmann [Sat, 17 Jan 2015 19:52:16 +0000 (20:52 +0100)]
Add the manpage changes for the disk cache support.
Christoph Lohmann [Sat, 17 Jan 2015 19:50:21 +0000 (20:50 +0100)]
Adding disk cache support for soup.
This is a merge of the patch of Ben Woolley <tautolog@gmail.com>
Ben Woolley [Wed, 7 Jan 2015 23:41:07 +0000 (15:41 -0800)]
Fix extra newline, and add -g where other switches are forwarded.
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Sat, 17 Jan 2015 06:21:15 +0000 (07:21 +0100)]
Newer libc want _DEFAULT_SOURCE.
Christoph Lohmann [Sat, 17 Jan 2015 06:19:48 +0000 (07:19 +0100)]
Major styles update.
In config.h there is now some styles array to apply site-specific styles.
This can be toggled using the -mM flags. If a stylefile is manually specified,
then this will overwrite everything.
Jakukyo Friel [Fri, 2 Jan 2015 11:52:29 +0000 (19:52 +0800)]
Fix a typo in surf manual.
`Ctrl-/` displays incorrectly in `man surf` on my machine.
A patch is attached.
(You also access it here:
https://github.com/weakish/surf/commit/
07e97eccedd96eabf14b2fbf77de75ec1b594d97)
----
surf.1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Sun, 28 Sep 2014 06:03:42 +0000 (08:03 +0200)]
Minor style change.
Christoph Lohmann [Sun, 28 Sep 2014 06:02:48 +0000 (08:02 +0200)]
Make »Copy image address« work.
Thanks yui@blekksprut.net for the patch!
Christoph Lohmann [Thu, 7 Aug 2014 15:35:27 +0000 (17:35 +0200)]
Mention xdotool in SEE ALSO too.
Christoph Lohmann [Thu, 7 Aug 2014 15:34:43 +0000 (17:34 +0200)]
Fix the manpage about xid.
Something was missing from this one sentence. Now it is complete.
Christoph Lohmann [Mon, 4 Aug 2014 15:54:00 +0000 (17:54 +0200)]
Add a FAQ to surf.
Christoph Lohmann [Sat, 17 May 2014 17:24:25 +0000 (19:24 +0200)]
Add information about the dmenu requirement.
Thanks <surfsup@inbox.lv>!
Markus Teich [Tue, 25 Feb 2014 15:36:05 +0000 (16:36 +0100)]
fix some indentation in config.def.h
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Sun, 16 Feb 2014 16:17:15 +0000 (17:17 +0100)]
Enable resizable text areas.
Quentin Rameau [Fri, 7 Feb 2014 01:17:43 +0000 (02:17 +0100)]
deprecating signal “populate-popup” for “context-menu”
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau [Sat, 8 Feb 2014 11:39:37 +0000 (12:39 +0100)]
Prevent title from being empty when following an anchor
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau [Thu, 6 Feb 2014 17:54:38 +0000 (18:54 +0100)]
deprecating signal “title-changed” for “notify::title”
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Thu, 6 Feb 2014 15:49:26 +0000 (16:49 +0100)]
The check for NULL is not necessary before free.
Christoph Lohmann [Thu, 6 Feb 2014 05:47:22 +0000 (06:47 +0100)]
Removing a memory leak when u wasn't freed.
Christoph Lohmann [Wed, 5 Feb 2014 20:14:16 +0000 (21:14 +0100)]
Making the empty title possible.
Quentin Rameau [Wed, 5 Feb 2014 16:03:56 +0000 (17:03 +0100)]
Draw flags on window creation
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Quentin Rameau [Wed, 5 Feb 2014 15:58:23 +0000 (16:58 +0100)]
Keep cookie policies for new windows
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Thu, 30 Jan 2014 19:57:24 +0000 (20:57 +0100)]
Change the accept no third party in the doc to the right meaning.
Christoph Lohmann [Thu, 30 Jan 2014 19:47:03 +0000 (20:47 +0100)]
Add the commandline flag for the cookie policies too.
Christoph Lohmann [Thu, 30 Jan 2014 19:36:06 +0000 (20:36 +0100)]
Add a way to define the cookie policy.
This adds the -a flag to define a string of the toggle string for the cookie
policy modes. There is now a new »cookiepolicies« string in config.h and the
Mod+Shift+a now can toggle the policy but will not cause a reload, because
this would only add a burden when toggling through accept and not accept.
Thanks Quentin Rameau <quinq.ml@gmail.com> for the suggestions!
Christoph Lohmann [Thu, 30 Jan 2014 18:39:32 +0000 (19:39 +0100)]
Replacing the deprecated ssl-ca-file with tls-database.
Thanks Steve Dee <mrdomino@gmail.com>!
Christoph Lohmann [Thu, 30 Jan 2014 18:35:54 +0000 (19:35 +0100)]
Fix the ssl trusted check.
Thank you Steve Dee <mrdomino@gmail.com>!
Christoph Lohmann [Mon, 13 Jan 2014 16:58:45 +0000 (17:58 +0100)]
Make surf set the URI atom right on manual URI entering.
Christoph Lohmann [Sat, 19 Oct 2013 16:55:53 +0000 (18:55 +0200)]
Add zoom level support.
David Dufberg [Tue, 10 Sep 2013 12:45:18 +0000 (14:45 +0200)]
c->uri is unused
Signed-off-by: Christoph Lohmann <20h@r-36.net>
Christoph Lohmann [Sat, 7 Sep 2013 09:55:23 +0000 (11:55 +0200)]
Make it possible to open a link in a new window with holding the mod key.
Thanks David Dufberg Tøttrup <david@dufberg.se>!
Christoph Lohmann [Sat, 31 Aug 2013 18:00:41 +0000 (20:00 +0200)]
Add a flag to disable fullscreen.
This also updates the usage of surf to represent the current status.
Thanks Alexander Sedov for the suggestion, but you forgot the manpage
entry so I did this patch.
Christoph Lohmann [Sun, 25 Aug 2013 17:50:40 +0000 (19:50 +0200)]
Add fullscreen mode as flag and config option.
Christoph Lohmann [Thu, 8 Aug 2013 23:36:51 +0000 (01:36 +0200)]
Just some comment correction.
Anselm R Garbe [Sat, 20 Jul 2013 06:52:10 +0000 (08:52 +0200)]
applied Nick's 96dpi patch, thanks
Christoph Lohmann [Fri, 12 Jul 2013 04:52:37 +0000 (06:52 +0200)]
Setting the cookie file on new instances.
Christoph Lohmann [Fri, 21 Jun 2013 05:02:45 +0000 (07:02 +0200)]
Updating the TODO file.
Christoph Lohmann [Tue, 21 May 2013 19:30:00 +0000 (21:30 +0200)]
Adding a common way to enable and disable features.
Christoph Lohmann [Tue, 14 May 2013 18:57:35 +0000 (20:57 +0200)]
There's only one escape.
Christoph Lohmann [Sat, 11 May 2013 20:01:02 +0000 (22:01 +0200)]
Correcting the backslash in the surf manpage.
Christoph Lohmann [Sun, 28 Apr 2013 19:26:56 +0000 (21:26 +0200)]
Allowing geo location policy decisions.
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>
Christoph Lohmann [Sun, 14 Apr 2013 12:26:44 +0000 (14:26 +0200)]
Add an option to disable the indicators.
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>
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>
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>
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!
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>
Christoph Lohmann [Fri, 15 Mar 2013 13:13:20 +0000 (14:13 +0100)]
Removing the .hgtags file.
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>!
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>!
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>
Christoph Lohmann [Mon, 11 Mar 2013 21:08:14 +0000 (22:08 +0100)]
Fixing kiosk mode when a new surf instance is run.
Christoph Lohmann [Mon, 11 Mar 2013 20:26:22 +0000 (21:26 +0100)]
Adding kiosk mode.
Thanks to Christian Hesse <mail@eworm.de>!
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>
Christoph Lohmann [Sat, 16 Feb 2013 23:37:43 +0000 (00:37 +0100)]
Style inquisition.
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!
Christoph Lohmann [Fri, 15 Feb 2013 16:43:42 +0000 (17:43 +0100)]
The Item struct is not used.
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>
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>
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>
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>
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>
Christoph Lohmann [Sun, 10 Feb 2013 18:40:14 +0000 (19:40 +0100)]
Making dist work again.
Christoph Lohmann [Sun, 10 Feb 2013 18:33:54 +0000 (19:33 +0100)]
Bumping up to 0.6.
Christoph Lohmann [Sat, 9 Feb 2013 03:33:58 +0000 (04:33 +0100)]
The javascriptcore is now in webkit.
Christoph Lohmann [Sat, 2 Feb 2013 14:42:09 +0000 (15:42 +0100)]
Fixing cookie handling for https/http by using curl.
Christoph Lohmann [Sat, 2 Feb 2013 08:40:34 +0000 (09:40 +0100)]
Removing the deprecated g_thread_init call.
Christoph Lohmann [Sat, 26 Jan 2013 20:01:23 +0000 (21:01 +0100)]
Fixing the style and making the inspector work again.
Christoph Lohmann [Sat, 26 Jan 2013 15:00:52 +0000 (16:00 +0100)]
Making more than one Modkey to work in keys.
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>!
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!
Christoph Lohmann [Tue, 4 Dec 2012 20:48:42 +0000 (21:48 +0100)]
Changing the default DOWNLOAD to use st.