Re: [dev] surf cookies handling bug and cookiejar patch

2010-07-10 Thread carlosjosepita
> Why did you write everything on a different file instead of just > adding to surf.c? Just because I prefer to keep medium sized or bigger patches in its own files if possible. In this case there is a coding style mismatch between gobject stuff and suckless standard, also. > Also, you mixed tabu

[dev] surf history patch

2010-07-09 Thread carlosjosepita
Last but also least is this tiny history patch that attempts to improve the current one in two aspects: 1) log every page you surf, not only the ones explicitly opened from the cli or c-g (which in my case are very few ones). 2) more informative log entries %title - %url. It naturally hooks on t

[dev] surf download patch

2010-07-09 Thread carlosjosepita
Hi, this patch implements a more general approach to http downloading that doesn't depend on external tools and can cope with resources that are not easily URI-referenced (for example, for sites like rapidshare with evil javascript that generates POST requests). The patch just uses the webkit dow

[dev] development (logger && web inspector) patch

2010-07-09 Thread carlosjosepita
Hi, hopefully this patch will be useful for those doing web development with surf or hacking surf itself. Briefly: -l set stdout log level L as described in http://library.gnome.org/devel/libsoup/unstable/SoupLogger.html#SoupLoggerLogLevel -n enables web inspector http://trac.webkit.org/wiki/W

[dev] surf cookies handling bug and cookiejar patch

2010-07-09 Thread carlosjosepita
Hi all, I've been having problems to use gmail -just like others- and the google pdf quick view -I haven't seen another report about this one- with surf. Besides the session management issues, surf is not updating cookies that are created by javascript running in the current page. Notice v.g. that