Commit graph

224 commits

Author SHA1 Message Date
Christoph Lohmann
12101938d8 There are people not reading the existing code.
I fucking hate to have to correct all of this. People learn to read!
2013-03-15 18:37:12 +01:00
Alexander Sedov
bccfe2a9a5 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>
2013-03-15 18:34:31 +01:00
Christoph Lohmann
a69c41ccac Support relative paths for surf.
Thanks Kurt Van Dijck <kurt.van.dijck@eia.be>!
2013-03-14 19:14:44 +01:00
Christoph Lohmann
d02f73d990 Adding a default font size option.
Thanks Alexander Sedov <alex0player@gmail.com>!
2013-03-14 06:35:42 +01:00
Christoph Lohmann
c6fbbd9dc6 Fixing kiosk mode when a new surf instance is run. 2013-03-11 22:08:14 +01:00
Christoph Lohmann
badb84387e Adding kiosk mode.
Thanks to Christian Hesse <mail@eworm.de>!
2013-03-11 21:26:22 +01:00
Carlos J. Torres
fe3bd631d4 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>
2013-02-25 13:42:19 +01:00
Christoph Lohmann
69004b2ff6 Style inquisition. 2013-02-17 00:37:43 +01:00
Christoph Lohmann
bd5bbb7fc3 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!
2013-02-16 16:18:05 +01:00
Christoph Lohmann
3e972f8e2a The Item struct is not used. 2013-02-15 17:43:42 +01:00
Jens Nyberg
053a8f1a73 Fixed a bug in pagestat
Forgot to add a null character at the end.

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-15 17:42:06 +01:00
Jens Nyberg
24f0f83197 Changed character for non-encrypted page
-/T/U: No SSL, Trusted SSL, Untrusted SSL

Signed-off-by: Christoph Lohmann <20h@r-36.net>
2013-02-12 21:32:07 +01:00
Jens Nyberg
3c1ed5d56a 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>
2013-02-12 21:10:43 +01:00
Christoph Lohmann
77036565da Removing the deprecated g_thread_init call. 2013-02-02 09:40:34 +01:00
Christoph Lohmann
8c15f0e758 Fixing the style and making the inspector work again. 2013-01-26 21:01:23 +01:00
Christoph Lohmann
0415175e10 Making more than one Modkey to work in keys. 2013-01-26 16:00:52 +01:00
Christoph Lohmann
e784d925df Adding web inspector support to surf.
Thanks Gregor Best <gbe@ring0.de>!
2013-01-26 15:53:33 +01:00
Christoph Lohmann
13b04d8b61 Style inquisition plus blocking of the */favicon.ico request. Thanks Peter A.
Shevtsov!
2012-12-06 13:32:52 +01:00
Christoph Lohmann
0dfdb75804 Implementing fullscreen mode. Thanks Krol, Willem van de! 2012-12-03 21:19:16 +01:00
Christoph Lohmann
e96f191088 Making zoom available when used in tabbed. 2012-12-02 22:41:18 +01:00
Christoph Lohmann
6cd54e4a31 Surf now can handle absolute file paths. This allows better local HTML
reading.
2012-11-25 22:31:46 +01:00
Christoph Lohmann
5501d75d2c Fix some styling in the config.def.h, fix the DOWNLOAD macro and unify the
variable naming a bit.
2012-11-20 16:02:57 +01:00
Christoph Lohmann
a7ea753f93 Add a referer argument to the DOWNLOAD macro. Some sites need this. Thanks
Hiltjo Posthuma!
2012-11-20 11:53:29 +01:00
Christoph Lohmann
d6bbef74fe Moving some preprocessor config options to the standard suckless style. 2012-11-16 10:53:30 +01:00
Christoph Lohmann
f02e652fa0 Some minor style updates. 2012-11-16 10:31:42 +01:00
Christoph Lohmann
6d9d3ca4e1 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
2012-11-16 10:13:23 +01:00
Christoph Lohmann
c12b6499fe Enable the insert mode. Thanks to stanio@cs.tu-berlin.de! 2012-11-15 15:26:48 +01:00
Christoph Lohmann
d911219554 Applying the surf style to the last patch. 2012-11-15 14:53:27 +01:00
Christoph Lohmann
a283fa4bc9 Importing the generic toggle patch of stanio@cs.tu-berlin.de. Thanks! 2012-11-15 14:52:22 +01:00
Christoph Lohmann
244dfd3231 Fixing the bug of surf loading undefined data in arg. 2012-11-08 22:05:40 +01:00
Christoph Lohmann
1bfda445ac Adding a useragent parameter to surf. 2012-10-31 21:25:14 +01:00
Christoph Lohmann
4ce3808684 Add options for scriptfile, cookiefile and stylefile. And changing the default
behaviour of buildpath to be more like in open().
2012-10-31 21:13:50 +01:00
Christoph Lohmann
0b885f18e3 Add different progress colors when using proxy. 2012-10-31 20:46:38 +01:00
Christoph Lohmann
25ba840e4d Hiding the loading indicator when it is not used. Based on a patch from
http://xteddy.org/surf.html#toc5. Thanks!
2012-10-28 14:16:22 +01:00
Christoph Lohmann
161247eaf4 Applying the patch to show the indicator only on loading. Based on a patch
from http://xteddy.org/surf.html#toc5.
2012-10-28 14:06:17 +01:00
Christoph Lohmann
3058d5bf63 Applying the cookie patch of Carlos Pita. Thank you! 2012-10-16 21:54:37 +02:00
Christoph Lohmann
5703683638 Removing the double initialisation to webkit_get_default_session(). Thanks
taruti!
2012-10-16 15:41:50 +02:00
Christoph Lohmann
85d9d92e0b Reverting the cleanmask change. 2012-10-14 07:17:45 +02:00
Christoph Lohmann
de3ed01386 Changing the key masks to the values of GDK. 2012-10-13 12:06:26 +02:00
Christoph Lohmann
81d23cb76d The right click menu to copy the link URI will now work. Thanks to Carlos
Pita!
2012-10-13 07:28:16 +02:00
Christoph Lohmann
2e92060efc Adding middle-click behaviour to open a tab when embedded or a window when
not. Thanks to Carlos Pita <carlosjosepita@gmail.com>!
2012-10-13 07:16:08 +02:00
Christoph Lohmann
23def74c98 Fixing the shift key mask and cleaning up the scrolling code. 2012-10-12 11:48:38 +02:00
Christoph Lohmann
e28d27249e Surf now parses hex window ids properly from tabbed. 2012-07-16 16:35:47 +02:00
pancake
d4b030eeb4 apply nick's patch removing unused variable and parameters 2012-06-11 16:45:48 +02:00
pancake
101f2d6455 apply nick's patch removing the autoresize functionality 2012-06-11 16:01:03 +02:00
Troels Henriksen
3083ef4031 Keybindings for scrolling left and right; code by stanio. 2012-05-31 11:46:24 +02:00
Troels Henriksen
96041e5ba2 Close standard output after printing XID, patch due Abby Cedar. 2012-02-21 12:00:01 +01:00
anselm@garbe.us
6af15aa636 making cookie file creation a bit more pedantic 2012-02-11 17:51:48 +01:00
anselm@garbe.us
a0e269b6bd applied fix from dev list and debian reviewers 2012-02-11 10:40:32 +01:00
Troels Henriksen
7c7a3b58cf Add a variable in config.def.h for configuring spatial browsing. 2012-01-17 13:58:04 +01:00