Re: [dev] [surf] adblocking

2012-11-20 Thread Kurt H Maier
On Tue, Nov 20, 2012 at 04:33:20PM +0100, Troels Henriksen wrote: > Kurt H Maier writes: > > > On Tue, Nov 20, 2012 at 03:30:38PM +, Nick wrote: > >> > >> The way I do it with a local proxy means that said requests are > >> stripped out of the HTML before reaching the browser. DNS based > >>

Re: [dev] [surf] adblocking

2012-11-20 Thread Troels Henriksen
Kurt H Maier writes: > On Tue, Nov 20, 2012 at 03:30:38PM +, Nick wrote: >> >> The way I do it with a local proxy means that said requests are >> stripped out of the HTML before reaching the browser. DNS based >> things will presumably fail immediately with /etc/hosts, rather >> than time ou

Re: [dev] [surf] adblocking

2012-11-20 Thread Bryan Bennett
What about something like pixelserv (written in perl[1] or C[2]) with something like hostsblock[3]? It's a DNS solution, but the timeouts aren't a problem 1: http://proxytunnel.sourceforge.net/pixelserv.php 2: http://www.linksysinfo.org/index.php?threads/pixelserv-compiled-to-run-on-router-wrt54

Re: [dev] [surf] adblocking

2012-11-20 Thread Kurt H Maier
On Tue, Nov 20, 2012 at 03:30:38PM +, Nick wrote: > > The way I do it with a local proxy means that said requests are > stripped out of the HTML before reaching the browser. DNS based > things will presumably fail immediately with /etc/hosts, rather > than time out. > But you're still wastin

Re: [dev] [surf] adblocking

2012-11-20 Thread Nick
On Tue, Nov 20, 2012 at 10:14:15AM -0500, Kurt H Maier wrote: > wtf? the ads are DISPLAYED in the browser. it's stupid to blackhole > dns and let requests time out rather than just not making the request in > the first place. The way I do it with a local proxy means that said requests are stri

Re: [dev] [surf] adblocking

2012-11-20 Thread Kurt H Maier
On Tue, Nov 20, 2012 at 02:08:01PM +, Nick wrote: > Yeah, I agree with the general feeling that adblocking shouldn't be > done in the browser. wtf? the ads are DISPLAYED in the browser. it's stupid to blackhole dns and let requests time out rather than just not making the request in the firs

Re: [dev] [surf] adblocking

2012-11-20 Thread Nick
Yeah, I agree with the general feeling that adblocking shouldn't be done in the browser. I prefer privoxy, though it's rather complex. adsuck is another thing that probably does the job well. /etc/hosts can do a reasonable job too, as others have mentioned. Also, there is the fact that adblocking

Re: [dev] [surf] adblocking

2012-11-20 Thread hiro
I want web pages and pdfs to be rendered in the cloud, because my fan is running hot. also never forget: if most web sites suck, use less web sites. sorry if you consider this off-topic.

Re: [dev] [surf] adblocking

2012-11-20 Thread Andrew Hills
On Tue, Nov 20, 2012 at 7:27 AM, Christoph Lohmann <2...@r-36.net> wrote: > Hosts filtering re‐ > quires some callback to filter on a specific hosts file with >15k > lines on every request. Would it be possible to disable requests made by the page to any address outside the page's domai

Re: [dev] [surf] adblocking

2012-11-20 Thread hiro
I block only in my DNS. I think it's the most important feature of my home network. Not only because it blocks ads, but also because it block fads. On 11/20/12, Christoph Lohmann <2...@r-36.net> wrote: > Greetings comrades, > > I have been thinking of adding some easy way of adblocking to surf.

Re: [dev] [surf] adblocking

2012-11-20 Thread Eckehard Berns
On Tue, Nov 20, 2012 at 01:27:39PM +0100, Christoph Lohmann wrote: > I have been thinking of adding some easy way of adblocking to surf. My > conclusion is, that it is not needed. > [...] > What are you comrades thinking of this? I don't need adblocking inside the browser. I'm using a hosts file

[dev] [surf] adblocking

2012-11-20 Thread Christoph Lohmann
Greetings comrades, I have been thinking of adding some easy way of adblocking to surf. My conclusion is, that it is not needed. By changing the default parameters of surf to »‐ips«, which will disable all the scripts, the images and plugins by default, nothing wrong is loaded when some UR

Re: [dev] [surf] More convenience

2012-11-20 Thread Christoph Lohmann
Greetings. On Tue, 20 Nov 2012 11:54:01 +0100 Hiltjo Posthuma wrote: > On Fri, Nov 16, 2012 at 6:50 PM, Christoph Lohmann <2...@r-36.net> wrote: > > > > Anyone has done the wget/curl scripts together to handle referer, cook‐ > > ies and whatever else is needed to fool websites, so it could be u

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 6:50 PM, Christoph Lohmann <2...@r-36.net> wrote: > > Anyone has done the wget/curl scripts together to handle referer, cook‐ > ies and whatever else is needed to fool websites, so it could be used in > surf? > > Such a script would be useful for other not‐surf‐related down

Re: [dev] [surf] Useragent string

2012-11-16 Thread Carlos Torres
Dear God, amen On Nov 16, 2012 4:38 PM, "Christoph Lohmann" <2...@r-36.net> wrote: > Greetings comrades. > > If you are using surf, be noticed that you should change your useragent > value in your config.h. The default is now changed to something that > will work with the mediocre technolo

[dev] [surf] Useragent string

2012-11-16 Thread Christoph Lohmann
Greetings comrades. If you are using surf, be noticed that you should change your useragent value in your config.h. The default is now changed to something that will work with the mediocre technology at Google, which needs correct useragent strings to work with their bloated javascript cra

Re: [dev] [surf] More convenience

2012-11-16 Thread hiro
it should be enough to always send the site's base url as referrer.

Re: [dev] [surf] More convenience

2012-11-16 Thread Christoph Lohmann
Greetings. On Fri, 16 Nov 2012 18:50:02 +0100 Hiltjo Posthuma wrote: > On Fri, Nov 16, 2012 at 5:41 PM, Nick wrote: > > On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > > > >> For privacy reasons it's probably best to only pass the referrer > >> if the target download uri is f

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 5:41 PM, Nick wrote: > On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > >> For privacy reasons it's probably best to only pass the referrer >> if the target download uri is from the same site. > > Not sure about this. We happily pass the referrer around ev

Re: [dev] [surf] More convenience

2012-11-16 Thread Nick
On Fri, Nov 16, 2012 at 05:22:01PM +0100, Hiltjo Posthuma wrote: > Some sites check the HTTP referrer Ah, good point, I'd forgotten about that. Such sites seem to be reasonably rare, but worth supporting. > For privacy reasons it's probably best to only pass the referrer > if the target download

Re: [dev] [surf] More convenience

2012-11-16 Thread Hiltjo Posthuma
On Fri, Nov 16, 2012 at 4:43 PM, Nick wrote: > On Fri, Nov 16, 2012 at 04:29:25PM +0100, Christoph Lohmann wrote: >> On my TODO list for surf is to get the downloading right > > What are your plans for this? There's a patch on the wiki using > webkit's built-in download support, but it was decided

Re: [dev] [surf] More convenience

2012-11-16 Thread Nick
On Fri, Nov 16, 2012 at 04:29:25PM +0100, Christoph Lohmann wrote: > On my TODO list for surf is to get the downloading right What are your plans for this? There's a patch on the wiki using webkit's built-in download support, but it was decided that wget actually tended to work fine. Are there any

[dev] [surf] More convenience

2012-11-16 Thread Christoph Lohmann
Greetings comrades, surf now has a nice surf‐open.sh script in its tip, which will add some more convenience for daily usage of surf as a replacement for other browsers. With the toggle patches to disable scripting and other re‐ source‐hungry crap noone really needs but marketing peop

Re: [dev] [surf] Disable javascript

2012-11-16 Thread Edgaras
On Fri, Nov 16, 2012 at 10:13:56AM +0100, Christoph Lohmann wrote: > Who will send the patch to replace Webkit with something sane? > > Sincerely, > Christoph Lohmann Well there is no sane thing for web, and I think trying to make one would drive the creator insane. I think the closest thing to s

Re: [dev] [surf] Disable javascript

2012-11-16 Thread Christoph Lohmann
Greetings. On Fri, 16 Nov 2012 10:13:56 +0100 sta...@cs.tu-berlin.de wrote: > * Nick [2012-11-15 15:47]: > > Insert mode? Since when did surf become modal? Why is this needed > > (except for people who like to pretend they're using vim)? > > I agree, insert mode is quite special and maybe is wor

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* Nick [2012-11-15 15:47]: > Insert mode? Since when did surf become modal? Why is this needed > (except for people who like to pretend they're using vim)? I agree, insert mode is quite special and maybe is worth having it as a patch rather than in mainline surf. It makes character handling less

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Nick
On Thu, Nov 15, 2012 at 03:29:45PM +0100, Christoph Lohmann wrote: > Thanks for the patches. Toggle, insert and the status area patch are now > in surf tip. And they are documented in the manpage too. Insert mode? Since when did surf become modal? Why is this needed (except for people who like to

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 15:29:45 +0100 sta...@cs.tu-berlin.de wrote: > * sta...@cs.tu-berlin.de [2012-11-15 14:34]: > > * s...@alternametz.org [2012-11-15 12:56]: > > > As a side note, I wonder how difficult would it be to create > > > a generic toggle function for surf which could be calle

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Thuban
No problem. The method is based on a piece of code found on uzbl wiki. Just paste this in ~/.surf/script.js (see attachement). The first part of the code is just simple rules towhitelist some domains. (see examples) Have a nice day everyone! Le 10:38:28 le 15 nov. 2012 , Nick a écrit : > Quo

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* sta...@cs.tu-berlin.de [2012-11-15 14:34]: > * s...@alternametz.org [2012-11-15 12:56]: > > As a side note, I wonder how difficult would it be to create > > a generic toggle function for surf which could be called with > > look for 20120602113939.GA26438 in your mailbox or > http://permalink.gm

Re: [dev] [surf] Disable javascript

2012-11-15 Thread stanio
* s...@alternametz.org [2012-11-15 12:56]: > As a side note, I wonder how difficult would it be to create > a generic toggle function for surf which could be called with > any WebKitWebSettings boolean parameter in config.h such as > "auto-load-images", "enable-scripts" and so on ... look for 201

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Christoph Lohmann
Greetings. On Thu, 15 Nov 2012 14:11:09 +0100 Raphael Proust wrote: > On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann > wrote: > >> I read them, but I suppose I don't remember them... > > > > No. > > Not to sound too rude, but this is not the problem here... > > The problem is surf has no GUI

Re: [dev] [surf] Disable javascript

2012-11-15 Thread skls
Nick wrote: > (...) I'd like to be able to disable javascript > on a per site basis, but have never got around to doing that. > (...) Hello, Sorry, not related to the per site basis : The handiest way to deal with javascript on surf at the moment is IMO the toggle patch you put on the wiki,

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
On 2012/11/15 - 09:49:04 +, Raphael Proust wrote: > On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann > wrote: > >> I read them, but I suppose I don't remember them... > > > > No. > > Not to sound too rude, but this is not the problem here... > > The problem is surf has no GUI with drop-down m

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
> Well, you don't know what I did, so don't judge too fast. I'm stating facts, take away any judgement you feel entitled to. Fact is: your question was trivial; the answer to your question *was* one "man surf" or web search away. > I did read the manual, a long time ago, bit I did. And I'm sure

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Nick
Quoth Thuban: > I alsa used for a while a kind of "noscript" in .surf/script.js. Care to share the details? I'd like to be able to disable javascript on a per site basis, but have never got around to doing that. Adding proper support in surf rather than just script.js would probably be better,

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Thuban
Well, you don't know what I did, so don't judge too fast. I alsa used for a while a kind of "noscript" in .surf/script.js. I did read the manual, a long time ago, bit I did. And I'm sure such mistakes can happen to anyone. Le 10:40:08 le 15 nov. 2012 , Julian Dammann a écrit : > > I read them, bu

Re: [dev] [surf] Disable javascript

2012-11-15 Thread 7heo
On 11/15/2012 10:40 AM, Julian Dammann wrote: I read them, but I suppose I don't remember them... No. Not to sound too rude, but this is not the problem here... Welcome to "How to answer almost all your questions about any software without wasting other people's time": 1. Is there a manual?

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Raphael Proust
On Thu, Nov 15, 2012 at 9:40 AM, Julian Dammann wrote: >> I read them, but I suppose I don't remember them... > > No. > Not to sound too rude, but this is not the problem here... The problem is surf has no GUI with drop-down menus and stuff… If it had, then everyone would refer to http://xkcd.com

Re: [dev] [surf] Disable javascript

2012-11-15 Thread Julian Dammann
> I read them, but I suppose I don't remember them... No. Not to sound too rude, but this is not the problem here... Welcome to "How to answer almost all your questions about any software without wasting other people's time": 1. Is there a manual? If no goto 2 else 1a 1a. Have you read it? If

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Thuban
I read them, but I suppose I don't remember them... Le 20:59:12 le 14 nov. 2012 , Christoph Lohmann a écrit : > Greetings. > > On Wed, 14 Nov 2012 20:59:12 +0100 Thuban wrote: > > How could I have missed this? > > Because you never read manpages. > > > Sincerely, > > Christoph Lohmann > >

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Christoph Lohmann
Greetings. On Wed, 14 Nov 2012 20:59:12 +0100 Thuban wrote: > How could I have missed this? Because you never read manpages. Sincerely, Christoph Lohmann

Re: [dev] [surf] Disable javascript

2012-11-14 Thread Thuban
How could I have missed this? Thank you Le 09:56:34 le 12 nov. 2012 , Nick a écrit : > > Do you have any method to disable completely javascript in surf (I mean > > always, not by a per-site rule)? > > surf -s > -- ,--. Xavier Cartron , /( : /` ) M2 MEFPC

Re: [dev] [surf] Disable javascript

2012-11-12 Thread Nick
> Do you have any method to disable completely javascript in surf (I mean > always, not by a per-site rule)? surf -s

[dev] [surf] Disable javascript

2012-11-12 Thread Thuban
Hello, Do you have any method to disable completely javascript in surf (I mean always, not by a per-site rule)? Thanks -- ,--. Xavier Cartron , /( : /` ) M2 MEFPCo **}=\\,\(,, | `-' Debian user<0--(___(_\

Re: [dev] [surf]easier keyboard shortcuts

2012-11-07 Thread Thuban
I'm not enough "C-self confident" to do this yet. But if anyone is able to, I would be more than interested too. If there is no problem, I'll put it on the wiki if no one is against. Cheers, Xavier Le 14:24:21 le 07 nov. 2012 , Christoph Lohmann a écrit : > Hello. > > On Wed, 07 Nov 2012 14:24

Re: [dev] [surf]easier keyboard shortcuts

2012-11-07 Thread Christoph Lohmann
Hello. On Wed, 07 Nov 2012 14:24:21 +0100 Thuban wrote: > hi all, > Instead of always using Ctrl + any other key to navigate with surf, here > is a simple replacement using vim usual shortcuts. > It is javascript, and simply typing h/j/k/l to move around is enough. > Pressing g or G bring you to

[dev] [surf]easier keyboard shortcuts

2012-11-07 Thread Thuban
hi all, Instead of always using Ctrl + any other key to navigate with surf, here is a simple replacement using vim usual shortcuts. It is javascript, and simply typing h/j/k/l to move around is enough. Pressing g or G bring you to the top or the bottom of the page. Just add this code in ~/.surf.sc

[dev] [surf] some changes

2012-10-31 Thread Christoph Lohmann
Greetings comrades. There are some changes for surf in the repository now: * The loading indicator will only appear on loading. * If using a proxy then the colors of the indicator are different. * Mod + / is now search. * There are now commandline options to specify

Re: [dev] [surf] [patch] Tiny fix to search engine patch

2012-10-27 Thread Christoph Lohmann
Hello. On Sat, 27 Oct 2012 18:03:32 +0200 "Eric R. J. Edwards" wrote: > Hi all, > > I recently found that the most recently available search engine patch > fails on surf 0.5. A tiny change fixes that, and I've attached the > resultant diff file. Please send patches for the wiki using the wik

[dev] [surf] [patch] Tiny fix to search engine patch

2012-10-27 Thread Eric R. J. Edwards
Hi all, I recently found that the most recently available search engine patch fails on surf 0.5. A tiny change fixes that, and I've attached the resultant diff file. Best, Eric --- surf.c 2012-10-26 17:58:18.912014914 +0200 +++ surf.c 2012-10-27 15:54:06.332317229 +0200 @@ -68,6 +68,11 @@

Re: [dev] [surf] [patch] Multiple views, one process

2012-10-21 Thread Calvin Morrison
On 19 October 2012 21:13, Strake wrote: > On 19/10/2012, Calvin Morrison wrote: >> I think the largest benefit is the cache. Loading up many >> http://google.com's would mean you'd have to reload all of the images >> and such, whereas with one process, you wouldn't have an opportunity >> of overl

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-21 Thread Nick
Quoth Christoph Lohmann: > Thanks for the fast response. The patch is now applied. Please all test > it out. Webkit is such a huge beast that standard inefficient beta test‐ > ing has to be applied to find corner cases. I've been using it since you pushed it out, and so far have seen no problems

Re: [dev] [surf] [patch] Multiple views, one process

2012-10-19 Thread Strake
On 19/10/2012, Calvin Morrison wrote: > I think the largest benefit is the cache. Loading up many > http://google.com's would mean you'd have to reload all of the images > and such, whereas with one process, you wouldn't have an opportunity > of overlap cache. So make a local HTTP caching proxy.

Re: [dev] [surf] [patch] Multiple views, one process

2012-10-19 Thread Calvin Morrison
On 19 October 2012 13:16, Carlos Pita wrote: >> I have mixed feelings about this idea. >> >> On the one hand, I like that new windows are new processes. It makes >> sense, and ensures that unix tools like kill, and I imagine workload >> schedulers, work as expected. > > I know. I just think that t

Re: [dev] [surf] [patch] Multiple views, one process

2012-10-19 Thread Carlos Pita
> I have mixed feelings about this idea. > > On the one hand, I like that new windows are new processes. It makes > sense, and ensures that unix tools like kill, and I imagine workload > schedulers, work as expected. I know. I just think that the memory tradeoff is significant enough to pay this c

Re: [dev] [surf] [patch] Multiple views, one process

2012-10-19 Thread Nick
Quoth Carlos Pita: > I've coded this patch that considerably reduces surf memory usage > (and some LOCs) by avoiding the creation of a new process each > time a new webview is created. I have mixed feelings about this idea. On the one hand, I like that new windows are new processes. It makes s

[dev] [surf] [patch] Multiple views, one process

2012-10-19 Thread Carlos Pita
Hi all, I've coded this patch that considerably reduces surf memory usage (and some LOCs) by avoiding the creation of a new process each time a new webview is created. The patch is very simple, it just replaces calls to newwindow with calls to a slightly modified newclient. This only applies to "i

Re: [dev] [surf] keyboard shortcut not working

2012-10-18 Thread Christoph Lohmann
Greetings. On Thu, 18 Oct 2012 20:14:37 +0200 Carlos Torres wrote: > Does anyone else find that scrolling with the keyboad shortcuts doesn't > work on a page with frames? You are scrolling in the frames, due to focus changes. The same happens in big divs with images. The only solution seems

Re: [dev] [surf] keyboard shortcut not working

2012-10-18 Thread Nimrod Omer
Happens to me, too. I've found that this happens on a bunch of other webkit browsers: luakit, vimprobable, uzbl, etc. Vimium, an add-on that gives chromium vim-like keybindings, solves this by making "gf" switch between frames. Maybe surf can do something like that? -Nimi On Thu, Oct 18, 2012 at

Re: [dev] [surf] keyboard shortcut not working

2012-10-18 Thread Carlos Torres
Does anyone else find that scrolling with the keyboad shortcuts doesn't work on a page with frames? --Carlos On Sun, Oct 14, 2012 at 1:11 AM, Christoph Lohmann <2...@r-36.net> wrote: > Greetings. > > On Sun, 14 Oct 2012 07:11:49 +0200 Thomas Dean <78...@web.de> wrote: > > On Sat, Oct 13, 2012 at

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Christoph Lohmann
Hello. On Tue, 16 Oct 2012 21:57:26 +0200 Carlos Pita wrote: > Sure Christoph, in fact I put all this in a separate file because it > didn't play well with surf style, but there was a reason for that and > it was that I needed to follow some gtk or webkit conventions just > because of the macros

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Carlos Pita
Sure Christoph, in fact I put all this in a separate file because it didn't play well with surf style, but there was a reason for that and it was that I needed to follow some gtk or webkit conventions just because of the macros you dislike. I have forgotten the details but give me a little time and

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Nick
On Tue, Oct 16, 2012 at 09:03:44AM -0300, Carlos Pita wrote: > Maybe you will find this patch to enable webkit cookie support (the > cookie jar) useful. Thanks for that Carlos. I had been vaguely wanting somebody to do this for ages! Now reformat it as Christoph desires, so we can all delight in i

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Christoph Lohmann
Hello. On Tue, 16 Oct 2012 16:21:47 +0200 Carlos Pita wrote: > Maybe you will find this patch to enable webkit cookie support (the > cookie jar) useful. I tried really hard to integrate this patch into surf, but I always had to scream in insanity because of this pita to have to define hidden de

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Daniel Bainton
On 16 October 2012 15:03, Carlos Pita wrote: > Maybe you will find this patch to enable webkit cookie support (the > cookie jar) useful. > > Regards > -- > Carlos > > On Tue, Oct 16, 2012 at 5:37 AM, Daniel Bainton wrote: >> Hi, >> >> I bumped into a bug in surf. >> >> I try to use Googles multip

Re: [dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Carlos Pita
Maybe you will find this patch to enable webkit cookie support (the cookie jar) useful. Regards -- Carlos On Tue, Oct 16, 2012 at 5:37 AM, Daniel Bainton wrote: > Hi, > > I bumped into a bug in surf. > > I try to use Googles multiple sign-in so I can view my work and my > personal mail in the sa

[dev] [surf] A bug with Googles multiple sign-in

2012-10-16 Thread Daniel Bainton
Hi, I bumped into a bug in surf. I try to use Googles multiple sign-in so I can view my work and my personal mail in the same browser, but somehow the cookies start fighting and all sorts of buggy behaviour shows in Google Mail. 1. Most of the time I can only open one of the inboxes at a time, t

Re: [dev] [surf] keyboard shortcut not working

2012-10-13 Thread Christoph Lohmann
Greetings. On Sun, 14 Oct 2012 07:11:49 +0200 Thomas Dean <78...@web.de> wrote: > On Sat, Oct 13, 2012 at 13:56:48 +0200, Thuban wrote: > > I was just meaning the shortcus defined in config.h, nothing else. > > > > I just tried your changes, but I still can't, as example, scroll with > > control-

Re: [dev] [surf] keyboard shortcut not working

2012-10-13 Thread Thomas Dean
On Sat, Oct 13, 2012 at 13:56:48 +0200, Thuban wrote: > I was just meaning the shortcus defined in config.h, nothing else. > > I just tried your changes, but I still can't, as example, scroll with > control-j. > > Am I the only one with this issue? I have the same problem since changeset 246. No

Re: [dev] [surf] keyboard shortcut not working

2012-10-13 Thread Thuban
I was just meaning the shortcus defined in config.h, nothing else. I just tried your changes, but I still can't, as example, scroll with control-j. Am I the only one with this issue? Le 12:06:02 le 13 oct. 2012 , Christoph Lohmann a écrit : > Greetings. > > On Sat, 13 Oct 2012 12:06:02 +0200

Re: [dev] [surf] keyboard shortcut not working

2012-10-13 Thread Christoph Lohmann
Greetings. On Sat, 13 Oct 2012 12:06:02 +0200 Thuban wrote: > Hi, > Have you noticed that in last hg tip of surf, it is impossible to > navigate using keyboard. It seems GDK_CONTROL_MASK is not recognised > anymore. What extra navigation but the default config.h do you mean? I pushed a change t

[dev] [surf] keyboard shortcut not working

2012-10-13 Thread Thuban
Hi, Have you noticed that in last hg tip of surf, it is impossible to navigate using keyboard. It seems GDK_CONTROL_MASK is not recognised anymore. -- ,--. Xavier Cartron , /( : /` ) M2 MEFPCo **}=\\,\(,, | `-' Debian user

Re: [dev] [surf] zero percent in title bug

2012-10-12 Thread Christoph Lohmann
Greetings. On Sat, 13 Oct 2012 07:18:23 +0200 Alexander Sedov wrote: > 2012/10/12 Christoph Lohmann <2...@r-36.net>: > > Greetings. > > > > On Fri, 12 Oct 2012 19:42:11 +0200 Carlos Pita > > wrote: > >> Hi, > >> > >> I found this patch for the bug but I don't think it's right to just > >> hide

Re: [dev] [surf] [patch] Middle click to open new tab/window (C version)

2012-10-12 Thread Christoph Lohmann
Greetings. On Sat, 13 Oct 2012 07:17:05 +0200 Carlos Pita wrote: > Hi, > > experiencing problems in some pages with the "middle click links" js > script I wrote this patch to achieve the same goal. Middle button > click opens a new tab while inside tabbed and a new window in case > surf is not e

Re: [dev] [surf] zero percent in title bug

2012-10-12 Thread Carlos Pita
>>> c->progress = 100; // <--- previously = 0 >> >> Could you please send patches instead of complex inline gibberish? Sorry, it was just 1 LOC and I wasn't even sure that the fix was the right one. Here is the patch. Regards -- Carlos surf-r246-0progress.diff Description: B

[dev] [surf] [patch] Copy link location to primary selection

2012-10-12 Thread Carlos Pita
Makes "copy link location" item in context menu to feed the primary selection so then you can just middle-click to paste as usual. Regards -- Carlos surf-r246-primsel.diff Description: Binary data

[dev] [surf] [patch] Middle click to open new tab/window (C version)

2012-10-12 Thread Carlos Pita
Hi, experiencing problems in some pages with the "middle click links" js script I wrote this patch to achieve the same goal. Middle button click opens a new tab while inside tabbed and a new window in case surf is not embedded. Also, ctrl-middle-click forces new window. Regards -- Carlos surf-r

Re: [dev] [surf] zero percent in title bug

2012-10-12 Thread Alexander Sedov
2012/10/12 Christoph Lohmann <2...@r-36.net>: > Greetings. > > On Fri, 12 Oct 2012 19:42:11 +0200 Carlos Pita > wrote: >> Hi, >> >> I found this patch for the bug but I don't think it's right to just >> hide the [0%] because there is the legitimate case when the page >> hasn't started to load yet

Re: [dev] [surf] zero percent in title bug

2012-10-12 Thread Christoph Lohmann
Greetings. On Fri, 12 Oct 2012 19:42:11 +0200 Carlos Pita wrote: > Hi, > > I found this patch for the bug but I don't think it's right to just > hide the [0%] because there is the legitimate case when the page > hasn't started to load yet. > > http://www.digipedia.pl/usenet/thread/15253/9123/ >

[dev] [surf] zero percent in title bug

2012-10-12 Thread Carlos Pita
Hi, I found this patch for the bug but I don't think it's right to just hide the [0%] because there is the legitimate case when the page hasn't started to load yet. http://www.digipedia.pl/usenet/thread/15253/9123/ So I did this instead: case WEBKIT_LOAD_FINISHED: c->progress = 100;

Re: [dev] [surf] Double execution of masked key binding

2012-10-12 Thread Christoph Lohmann
Greetings. On Fri, 12 Oct 2012 12:31:17 +0200 Carlos Pita wrote: > Sorry Christoph, I've cloned the tip but the last changeset I'm able to see > is: Yes, I forgot to push the commit. It is now on the repository. Sincerely, Christoph Lohmann

Re: [dev] [surf] Double execution of masked key binding

2012-10-12 Thread Carlos Pita
Sorry Christoph, I've cloned the tip but the last changeset I'm able to see is: changeset: 245:7fe5e1810a81 tag: tip user:Christoph Lohmann <2...@r-36.net> date:Mon Jul 16 16:35:47 2012 +0200 summary: Surf now parses hex window ids properly from tabbed. have you push

Re: [dev] [surf] Double execution of masked key binding

2012-10-12 Thread Christoph Lohmann
Greetings. On Fri, 12 Oct 2012 11:45:04 +0200 Carlos Pita wrote: > Hi, > > this seems like a bug in surf 0.5 to me. When defining a couple of key > bindings for the same key, one with a shift mask and the other without > the mask, the commands for both bindings are executed in sequence when > I

[dev] [surf] Double execution of masked key binding

2012-10-12 Thread Carlos Pita
Hi, this seems like a bug in surf 0.5 to me. When defining a couple of key bindings for the same key, one with a shift mask and the other without the mask, the commands for both bindings are executed in sequence when I press the shift-masked key once. For example: My keys[] { MODKEY,

[dev] surf-0.5 possible memleak

2012-09-30 Thread Jakub Daniel
Hello, I believe loaduri does not free all strings in all situations. A patch attached. Jakub Daniel surf-0.5-loaduri-gfree-memleak.patch Description: Binary data

[dev] [surf]how to debug script.js

2012-08-18 Thread Thuban
Hi, I'm trying to use this tips : http://surf.suckless.org/files/hide_applets but it seems that the script is not executed. Is there any method to have surf more verbose? I would like to understand what's happening. Regards, Xavier

Re: [dev] [surf+tabbed]can't embed surf since tabbed 0.4

2012-07-16 Thread Thuban
Problem solved now with last changes. Thanks! Le 16:36:53 le 16 juil. 2012 , Christoph Lohmann a écrit : > Greetings. > > On Mon, 16 Jul 2012 16:36:53 +0200 Thuban wrote: > > Of course, I should give more explanations. Sorry > > I launch tabbed to get it's id : > > tabbed -d > /tmp/tabbedid > >

Re: [dev] [surf+tabbed]can't embed surf since tabbed 0.4

2012-07-16 Thread Christoph Lohmann
Greetings. On Mon, 16 Jul 2012 16:36:53 +0200 Thuban wrote: > Of course, I should give more explanations. Sorry > I launch tabbed to get it's id : > tabbed -d > /tmp/tabbedid > > Then, when I want to launch surf inside this way : > surf -e $(cat /tmp/tabbedid) > > it's just not working, I hav

Re: [dev] Surf 0.5 released

2012-07-16 Thread Josh Rickmar
Nick wrote: > The SSL something is changeset 227, The incrementing changeset numbers are local only. If you want to reference a changeset for another, use the hash. -- Josh Rickmar http://jrick.devio.us/ smime.p7s Description: S/MIME cryptographic signature

Re: [dev] [surf+tabbed]can't embed surf since tabbed 0.4

2012-07-16 Thread Thuban
Of course, I should give more explanations. Sorry I launch tabbed to get it's id : tabbed -d > /tmp/tabbedid Then, when I want to launch surf inside this way : surf -e $(cat /tmp/tabbedid) it's just not working, I have surf and tabbed separated. What I want is to be able to open a new surf in t

Re: [dev] [surf+tabbed]can't embed surf since tabbed 0.4

2012-07-16 Thread Christoph Lohmann
Greetings. On Mon, 16 Jul 2012 14:44:05 +0200 Thuban wrote: > Since tabbed 0.4, it is impossible to embed surf. However, it still > works with urxvt. > > Did syntax have changed or is it a bug? That bug report is invalid. How are you invoking both? What happens? What doesn't happen what you ex

R: Re: R: Re: [dev] Surf 0.5 released

2012-07-16 Thread anonimopococin...@alice.it
actually it quits after xinit (dunno why I wrote 'before run label' XD) Messaggio originale Da: peterjohnhart...@gmail.com Data: 16-lug-2012 13.47 A: "dev mail list" Ogg: Re: R: Re: [dev] Surf 0.5 released I use surf & st just fine. st -e has worked for about

R: Re: R: Re: [dev] Surf 0.5 released

2012-07-16 Thread anonimopococin...@alice.it
it quits before even going to the 'run' label. on a side note is it plain impossible to call wget from surf without using a terminal? Messaggio originale Da: peterjohnhart...@gmail.com Data: 16-lug-2012 13.47 A: "dev mail list" Ogg: Re: R: Re: [dev] Surf 0.5 released

Re: R: Re: [dev] Surf 0.5 released

2012-07-16 Thread Peter Hartman
I use surf & st just fine. st -e has worked for about a year. here's a quick fix: sed 's/xterm/st/' config.def.h Peter On Mon, Jul 16, 2012 at 7:03 AM, Nick wrote: > Quoth anonimopococin...@alice.it: >> surf still relies on xterm for the downloads, why can't we use st? >> (I mean I did a few

[dev] [surf+tabbed]can't embed surf since tabbed 0.4

2012-07-16 Thread Thuban
Since tabbed 0.4, it is impossible to embed surf. However, it still works with urxvt. Did syntax have changed or is it a bug? -- ,--. Xavier Cartron , /( : /` ) M1 MEFPCo **}=\\,\(,, | `-' Debian user<0-- (

Re: R: Re: [dev] Surf 0.5 released

2012-07-16 Thread Nick
Quoth anonimopococin...@alice.it: > surf still relies on xterm for the downloads, why can't we use st? > (I mean I did a few -superficial- attempts at using st instead of > xterm, but it does not work, probably st's fault, do you know > where the problem is?) Something to do with quoting and -

R: Re: [dev] Surf 0.5 released

2012-07-16 Thread anonimopococin...@alice.it
: suckless-...@njw.me.uk Data: 16-lug-2012 12.12 A: "dev mail list" Ogg: Re: [dev] Surf 0.5 released Quoth Troels Henriksen: > For the next release, the surf hackers will work dilligently on > supporting emerging web technologies such as cookies and file downloads. To ensure that I'm c

[dev] [surf] patch for manpage

2012-07-16 Thread Nick
Add the horizontal scrolling keybinds to the manpage. diff -r 5596ef69d425 surf.1 --- a/surf.1 Thu Jul 12 12:41:56 2012 +0200 +++ b/surf.1 Mon Jul 16 11:21:24 2012 +0100 @@ -51,6 +51,12 @@ .B Ctrl\-j Scrolls page downwards. .TP +.B Ctrl\-u +Scrolls page left. +.TP +.B Ctrl\-i +Scrolls page right

Re: [dev] Surf 0.5 released

2012-07-16 Thread Nick
Quoth Troels Henriksen: > For the next release, the surf hackers will work dilligently on > supporting emerging web technologies such as cookies and file downloads. To ensure that I'm considered humourless, I have to point out that file downloads are working fine now. Even downloads which require

<    5   6   7   8   9   10   11   12   13   14   >