Commit graph

355 commits

Author SHA1 Message Date
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
Troels Henriksen
e75753775f Status message patch from Jeremy Jackins and skls. 2012-01-17 13:54:35 +01:00
Troels Henriksen
590a9bb19d Cleanup previous patch. 2011-11-05 12:06:08 +01:00
Troels Henriksen
df96fe4171 Use the surf user agent when downloading with wget. 2011-11-05 11:43:46 +01:00
Troels Henriksen
543d0c77ee The ICCCM states that window classes should be capitalised. 2011-11-04 13:57:04 +01:00
Troels Henriksen
bc73b48743 Add SSL verification patch by Nick White. 2011-11-04 13:23:57 +01:00
Troels Henriksen
2e62372969 Add eval() function for executing Javascript. Handy for keybindings. 2011-11-03 14:09:19 +01:00
garbeam@gmail.com
3b104416d3 added 20h's patch of 8 Sep 2011 to surf, thanks 2011-10-29 10:59:34 +02:00
pancake
62f54a3745 rename NOBACKGROUND to HIDE_BACKGROUND and use TRUE/FALSE instead of 0/1 2011-03-31 12:52:35 +02:00
Enno Boland (tox)
f1299dcfc1 Adding nibbles patch 2010-09-09 11:15:02 +02:00
pancake
a1db4e9bf5 fix for segfault when closing window while loading (via nibble) 2010-09-02 14:02:12 +02:00
Enno Boland (tox)
ca1c7f434b Adding Nibbles patch 2010-05-28 13:20:17 +02:00
Enno Boland (tox)
8cc71f8216 typo 2010-05-26 15:34:09 +02:00
Enno Boland (tox)
7330d0e261 Applying Nibbles download patch. Thanks! 2010-05-26 15:33:01 +02:00
Enno Boland (tox)
36129338cf changing xprops 2010-05-17 11:45:28 +02:00
Enno Boland (tox)
0a6eafe077 dl is not needed anymore 2010-05-17 11:01:37 +02:00
Enno Boland (tox)
6376a30379 removing context-menu, downloading. 2010-05-17 10:58:08 +02:00
Enno Boland (tox)
91d04b15f0 merge 2010-05-11 14:57:44 +02:00
Enno Boland (tox)
b1e9a6e9ab fix download/history bug 2010-05-11 14:57:09 +02:00
pancake
424936e96c Fix NOBACKGROUND meaning 2010-05-09 22:51:26 +02:00
Enno Boland (tox)
f304d0af52 merge 2010-05-09 22:41:11 +02:00
Enno Boland (tox)
168da3730f added js-fix by Troels Henriksen. Thanks :) 2010-05-09 19:37:46 +02:00
pancake
11039e5e2b Do not set cookie session time if set to 0
Add NOBACKGROUND config.def.h option
 - requires body {background-color} in style.css
 - fixes white background when loading pages
2010-05-08 21:43:53 +02:00
Enno Boland (tox)
602eb61623 implementing naive file locking. 2010-05-06 13:58:49 +02:00
Enno Boland (tox)
bef892f513 fixing compilerwarning in newer webkit versions 2010-05-06 13:09:54 +02:00
Enno Boland (tox)
e9c9715f52 Adding small fix by Alex Puterbaugh. Thanks. 2010-05-02 10:59:28 +02:00
pancake
4b1b1b8a20 remove empty lines 2010-04-08 20:28:32 +02:00
Enno Boland (tox)
981e52d5a7 typofix. 2010-03-26 21:44:48 +01:00
Enno Boland (tox)
a7f2765da4 reimplementing cookies. Now we need some file locking. 2010-03-25 09:59:30 +01:00
Enno Boland (tox)
a05bcc653e updating manpage, reformating help output. 2010-03-25 00:05:37 +01:00
Enno Boland (tox)
62dc599a04 fixing argument parsing. 2010-03-24 23:55:41 +01:00
Enno Boland (tox)
3ede103556 fixing downloads 2010-03-24 23:18:03 +01:00
Enno Boland (tox)
19aaa5a74b gotheaders will now be called correctly. 2010-03-24 22:04:36 +01:00
Enno Boland (tox)
b8105c64ed working on cookies 2010-03-24 20:56:56 +01:00
Enno Boland (tox)
e2cae4d1f5 reformating 2010-03-24 19:16:10 +01:00
Enno Boland (tox)
814bf92565 adding cmd-switches for turning of images/plugins/scripts 2010-03-24 19:11:01 +01:00
Enno Boland (tox)
e252a5ec63 now we've got access to cookies before they're sended. Let's start building a cookiehandler. 2010-03-24 18:17:19 +01:00
Enno Boland (tox)
b2a970d04d session gets set properly in setup() 2010-03-10 21:38:07 +01:00
Enno Boland (tox)
1cbeab188d fixing progress, beginning new cookie implementation 2010-03-08 10:06:32 +01:00
Enno Boland (tox)
764550e087 small typo. 2010-03-08 09:30:26 +01:00
Enno Boland (tox)
4f7fdd1dfa removed persistent cookies, replaced deprecated eventlisteners 2010-03-08 09:24:55 +01:00
Enno Boland (tox)
94601622a1 _SURF_URI gets initialised as soon as the window opens. 2010-01-29 09:44:14 +01:00
Enno Boland (tox)
2f9c554f02 adding fixes from thomas_adam. Thanks :) 2009-12-15 17:16:01 +01:00
Enno Boland (tox)
f42461c3cc Backed out changeset 260fda70689f 2009-11-09 00:05:45 +01:00
Enno Boland (tox)
1d93bfa9ce changing locking algorythm for setprop. 2009-11-08 23:45:36 +01:00
Enno Boland (tox)
f0f3ddce76 adding environment variables for proxy and useragent 2009-11-02 09:27:32 +01:00
Enno Boland (tox)
ae42cfde8f sorting functions alphabetical. 2009-10-28 20:43:30 +01:00
Enno Boland (tox)
9d4953691d some polishing. 2009-10-28 19:27:11 +01:00
Enno Boland (tox)
54c73ca84d removed warning when closing a surf-window. 2009-10-28 17:33:31 +01:00
Enno Boland (tox)
4501408808 displaying progress before pagetitle. 2009-10-28 12:17:15 +01:00
Enno Boland (tox)
742fc7fac1 adding automatic download for not supported files. 2009-10-27 08:26:21 +01:00
Enno Boland (tox)
a9d733bd9f fixing downloads based on Evan Gates' patch. 2009-10-27 08:11:44 +01:00
Enno Boland (tox)
1d019cf8af Adding Evan Gates' patch. 2009-10-26 22:02:21 +01:00
Enno Boland (tox)
f347b9f336 moving reloadcookie() call 2009-10-26 22:01:44 +01:00
Enno Boland (tox)
05fbb4ab76 Adding Lorenzo Bollas hints patch. 2009-10-21 15:52:36 +02:00
Enno Boland (tox)
c82fff2dd3 using geturi() where possible. 2009-10-21 10:06:55 +02:00
Enno Boland (tox)
9557e7b769 replacing ignore_once with ignorexprop 2009-10-21 08:35:58 +02:00
Enno Boland (tox)
50192577ee replacing gtk-textentrys with dmenu 2009-10-20 23:46:54 +02:00
Enno Boland (tox)
60dd7545d3 small fix 2009-10-20 20:58:18 +02:00
Enno Boland (tox)
c38404fd0b small cleanups 2009-10-20 20:52:43 +02:00
Enno Boland (tox)
31441e93f7 adding autozoom lock when site is already zoomed. 2009-10-20 20:49:33 +02:00
Enno Boland (tox)
92afa03d80 adding autozoom for small windows 2009-10-20 20:34:13 +02:00
Enno Boland (tox)
f277dbd3d2 using another way to handle cookies. 2009-10-20 19:51:14 +02:00
Enno Boland (tox)
54b93a2dd6 Backed out changeset 7a57a0a8dbc6 2009-10-20 18:57:08 +02:00
Enno Boland (tox)
72e01b2544 reformating 2009-10-20 14:11:08 +02:00
Enno Boland (tox)
0835ea2124 Trying a different cookie handling system. 2009-10-20 14:10:21 +02:00
Enno Boland (tox)
9dc703aff3 whitespace fix. 2009-10-17 20:54:11 +02:00
Enno Boland (tox)
ca10af0783 typo fix 2009-10-17 20:33:27 +02:00
Enno Boland (tox)
9a3c483893 using events for changing cookies 2009-10-17 13:19:21 +02:00
Enno Boland (tox)
e9ee0940b7 Sessioncookies made persistant. 2009-10-17 12:41:40 +02:00
Enno Boland (tox)
bdfa30bf33 fixing double calling functions from contextmenu. 2009-10-17 08:57:23 +02:00
Enno Boland (tox)
5ac31995a3 implementing cookie persistance with multiple processes. 2009-10-17 08:38:46 +02:00
Enno Boland (tox)
3657813fec removed builtin unfinished cookie handling. 2009-10-17 07:50:10 +02:00
Enno Boland (tox)
2eafff0e8b using char instead of gchar. 2009-10-16 16:33:18 +02:00
Enno Boland (tox)
b298d889de implementing user defined context menu 2009-10-16 15:35:11 +02:00
Enno Boland (tox)
e3690dffed renaming newproc to newwindow; make it usable within keys; begin implementing contextmenu 2009-10-16 14:19:25 +02:00
Enno Boland (tox)
f62505a47a changing char to gchar where possible; unifing WebKitWebView variable naming 2009-10-16 14:03:39 +02:00
Enno Boland (tox)
7e86ea553f improving urlbar hiding. 2009-10-16 10:55:05 +02:00
Enno Boland (tox)
17bbc1a3cc creating new process when opening new window if possible. 2009-10-15 16:31:49 +02:00
Enno Boland (tox)
d97b8adfde changing useragent. 2009-10-14 16:28:00 +02:00
Enno Boland (tox)
24bbd6be02 uncommenting source() 2009-10-14 15:19:00 +02:00
Enno Boland (tox)
fe87a88954 removing loadfile. readding later in a simpler way. 2009-10-13 23:22:25 +02:00
Enno Boland (tox)
95a6bfcc03 removing debug output 2009-10-13 22:02:06 +02:00
Enno Boland (tox)
499a497b4e fixing stupidy bug. 2009-10-13 22:01:19 +02:00
Enno Boland (tox)
029dac1504 fixing memoryleak. 2009-10-13 21:58:35 +02:00
Enno Boland (tox)
0d28cf7458 making config-files configurable in config.h 2009-10-13 21:52:43 +02:00
Enno Boland (tox)
92cb8792e1 small whitespacefix. 2009-10-13 20:10:43 +02:00
Enno Boland (tox)
04173f6661 hooking onloadfunctions should be done by script.js. 2009-10-07 15:00:20 +02:00
Enno Boland (tox)
d3d32fd6c7 commenting. 2009-09-21 19:28:39 +02:00
Enno Boland (tox)
a3e1e27762 typo 2009-09-21 03:27:20 +02:00
Enno Boland (tox)
2e9af54363 reformating 2009-09-17 13:03:58 +02:00
Enno Boland (tox)
25b9ae3ce4 applied patch from arg. thanks :) 2009-09-17 01:09:00 +02:00
Enno Boland (tox)
65e09f7b03 auto creation of script.js 2009-09-16 10:12:27 +02:00
Enno Boland (tox)
e9d4da3030 adding user.js support. 2009-09-16 10:06:21 +02:00
Enno Boland (tox)
0e3ac7f3b0 usercss works again. 2009-09-13 16:15:28 +02:00
Enno Boland (tox)
2f639aede5 Makefile fixing 2009-09-11 09:38:53 +02:00
Enno Boland (tox)
44511e2549 unfocus should return false; renaming cookie-file. 2009-09-11 08:12:08 +02:00
Enno Boland (tox)
38a098c81d surf embeds now itself into another window. 2009-09-11 07:21:18 +02:00
Enno Boland (tox)
159022e4ef rearranging some source. 2009-09-10 17:51:16 +02:00
Enno Boland (tox)
2fd67f61e7 adding user stylesheets. 2009-09-10 17:41:56 +02:00
Enno Boland (tox)
82b712fdf7 closing bars when unfocusing them. 2009-09-10 09:44:21 +02:00
Enno Boland (tox)
8f8abc6146 reformating 2009-09-10 09:25:08 +02:00
Enno Boland (tox)
f8c3b223bd adding copystr(). 2009-09-10 08:57:47 +02:00
Enno Boland (tox)
03afc9d985 making all keys lowercase using shiftmask to determinate. 2009-09-09 23:15:39 +02:00
Enno Boland (tox)
b35dd76344 typo 2009-09-09 22:22:20 +02:00
Enno Boland (tox)
e63408f34e fixed scrolling 2009-09-09 22:08:22 +02:00
Enno Boland (tox)
d67de3a9a0 added scrolling. 2009-09-09 21:58:13 +02:00
Enno Boland (tox)
9215a55624 reordering functions. 2009-09-09 21:57:23 +02:00
Enno Boland (tox)
22aa6291df reordering functions. 2009-09-09 15:37:55 +02:00
Enno Boland (tox)
6c57c348ad preparing sourcecode feature coming with webkit-1.1.14. 2009-09-09 14:00:31 +02:00
Enno Boland (tox)
9708b64eed applied patch from pancake 2009-09-09 11:01:50 +02:00
Enno Boland (tox)
504fc78c31 small fix to work more proberly with tabbed. 2009-09-09 11:00:38 +02:00
Enno Boland (tox)
a20d03fb15 adding fflush() 2009-09-08 00:00:43 +02:00
Enno Boland (tox)
38d809ce59 fixing numlock bug. 2009-09-07 15:43:18 +02:00
Enno Boland (tox)
4dbf90e0d7 using gint instead of int (insane API, but ok.) 2009-09-07 15:10:25 +02:00
Enno Boland (tox)
4cbfddf159 using simple strings for colors in config.h 2009-09-07 15:06:32 +02:00
Enno Boland (tox)
277d11037f changing minimal size. 2009-09-07 13:21:49 +02:00
Enno Boland (tox)
03f0a3baf5 moving color definitions to config.h 2009-09-07 11:02:26 +02:00
Enno Boland (tox)
91ca224af2 indicator is red when http and green when https 2009-09-07 10:56:27 +02:00
Enno Boland (tox)
1835cbef2f making indicator smaller. 2009-09-07 10:31:50 +02:00
Enno Boland (tox)
ea2d948930 typo 2009-09-07 10:30:50 +02:00
Enno Boland (tox)
b1d555b9fe adding indicator bar. 2009-09-07 10:30:15 +02:00
Enno Boland (tox)
d934d9c80b s/zoompage/zoom/ 2009-09-07 09:51:51 +02:00
Enno Boland (tox)
124d3e89dd typo fix 2009-09-07 09:48:28 +02:00
Enno Boland (tox)
f0e0656f38 changes to the event system, make config.h saner, working on cookies 2009-09-07 09:44:21 +02:00
Enno Boland (tox)
4156e0aa51 typofix 2009-09-06 14:22:55 +02:00
Enno Boland (tox)
839edbe22d reworked navigate. 2009-09-06 14:12:10 +02:00
Enno Boland (tox)
4384cf198a reappling printing; changing some keys. 2009-09-06 13:54:29 +02:00
Enno Boland (tox)
80d33d696d merge 2009-09-06 13:49:17 +02:00
Enno Boland (tox)
2221ee15bd adding config.h patch from quaker4lyf. Thanks :) 2009-09-06 13:40:41 +02:00
Enno Boland (tox)
2448c967f6 Dropping -f/-u arguments as suggested by Kai Hendry 2009-09-06 13:27:28 +02:00
Enno Boland (tox)
844d414525 minimal cookie implementation. still using also old one. 2009-09-06 13:15:53 +02:00
Enno Boland (tox)
2fcb6c5aab changing back/forward buttons 2009-09-06 10:56:09 +02:00
Enno Boland (tox)
c9f3583ef2 reorganized eventhandling. 2009-09-06 10:18:30 +02:00
Enno Boland (tox)
f44c1d392e Applied print patch from pancake 2009-09-06 10:10:13 +02:00
Enno Boland (tox)
77fc27ef56 merge, download fixing. 2009-09-04 13:20:48 +02:00
Thomas Menari
96edaa8412 fix downloading, tidyup 2009-06-12 13:41:09 +01:00
Enno Boland (Gottox)
e6feabb4f6 added apos p/y-patch, thanks :) 2009-06-09 22:08:59 +02:00
Enno Boland (Gottox)
a122748ae7 getting rid or most gpointers, sorting functions alphabetical, using gchar * where ever possible. 2009-06-09 10:29:47 +02:00
Enno Boland (Gottox)
1a88579f3e small fix. 2009-06-08 23:28:05 +02:00
Enno Boland (Gottox)
b9b055348d fixing _SURF_URL XProperty. 2009-06-08 22:55:48 +02:00
Enno Boland (Gottox)
ccb449f42e allow all modifiers. 2009-06-08 21:36:37 +02:00
Enno Boland (Gottox)
d408ffb595 Fixing keybindings when numlock is enabled. 2009-06-08 20:50:45 +02:00
Enno Boland (Gottox)
b95f15e987 Get rid of these gotos. 2009-06-08 17:25:52 +02:00
Enno Boland (Gottox)
c54933edc1 adding zoom support. 2009-06-08 17:01:12 +02:00
Enno Boland (Gottox)
d3d9c9b714 some cleanups. 2009-06-08 16:49:56 +02:00
Enno Boland (Gottox)
25155222c8 better download handling. 2009-06-08 16:34:46 +02:00
Enno Boland (Gottox)
a4ca2f7aad renamed download handlers. 2009-06-08 13:29:39 +02:00
Thomas Menari
b6e181e82a merged, now has download bar, other misc fixes 2009-06-08 10:47:56 +01:00
Enno Boland (Gottox)
92e8fd101c adding surf-directory. 2009-06-08 09:39:00 +02:00
Enno Boland (Gottox)
05bf05e4a2 use tabs not spaces! 2009-06-08 09:38:01 +02:00
Enno Boland (Gottox)
f287155cb9 backoutmerge 2009-06-08 09:31:29 +02:00
Enno Boland (Gottox)
11efbe62d3 Backed out changeset ed121082f103
unable to use textfields now. Please implement it in a sane way.
2009-06-08 09:30:50 +02:00
Enno Boland (Gottox)
2d9716907d merge 2009-06-08 09:27:40 +02:00
Thomas Menari
c5144c040f cookie persistance
* stored in ~/.surf-cookies
* $EDITOR editable
2009-06-07 21:27:09 +02:00
Thomas Menari
ffd50068b3 vi-style scrolling 2009-06-07 21:27:08 +02:00
Simon Rozet
569d276799 strip trailing whitespace 2009-06-07 21:27:08 +02:00
Enno Boland (Gottox)
8b6548c384 wrap long lines. working on downloads. 2009-06-07 12:50:18 +02:00
Enno Boland (Gottox)
08b45f411a removing urllist. bookmarking should be done externally. 2009-06-07 12:06:19 +02:00
Enno Boland (Gottox)
f2059fdb30 added spaceinvaders downloading support, thanks :) 2009-06-06 21:12:39 +02:00
Enno Boland (Gottox)
d536cb6fe1 sorted functions in alphabetic order. 2009-06-06 20:34:55 +02:00
Enno Boland (Gottox)
4427474779 reworked event system. 2009-06-06 20:26:04 +02:00
Enno Boland (Gottox)
5df6c8d6c5 typo 2009-06-06 17:48:24 +02:00
Enno Boland (Gottox)
90289f6023 typo. 2009-06-06 17:35:58 +02:00
Enno Boland (Gottox)
20c257e90c opening new windows works now. 2009-06-06 17:26:43 +02:00
Enno Boland (Gottox)
58322c0b11 urlbar and searchbar are working. 2009-06-06 17:12:16 +02:00
Enno Boland (Gottox)
37deb47b84 Adding search and urlbar. switching to getopt. 2009-06-06 16:30:11 +02:00
Enno Boland (Gottox)
0e956be80f corrected signal. anyway it still does not work. 2009-06-06 09:51:09 +02:00
Enno Boland (Gottox)
4f9adbdb0a typo 2009-06-06 09:36:46 +02:00
Enno Boland (Gottox)
6848b92342 rearranging, adding initial keyboard support. 2009-06-06 09:35:50 +02:00