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.

[dev] [tabbed] [patch] Remove startup flickering

2012-10-19 Thread Carlos Pita
Just a trivial fix for a minor quirk: an aesthetic annoyance I experienced when launching a new surf view inside tabbed. The surf instance flashed a little on startup which is completely avoidable as far as tabbed won't show it immediately. I lowered the new window until it gets focused. Best rega

Re: [dev] slock 1.0 color patch

2012-10-19 Thread Anselm R Garbe
On 19 October 2012 13:56, ilf wrote: > On 03-17 18:04, Anselm R Garbe wrote: >>> >>> I implemented a color patch for slock similar to Joseph Iacobucci's patch >>> but for slock 1.0. >>> You can configure the two colors in config.mk in the CPPFLAGS. >> >> Thanks, as mentioned earlier, I like this i

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] slock 1.0 color patch

2012-10-19 Thread ilf
On 03-17 18:04, Anselm R Garbe wrote: I implemented a color patch for slock similar to Joseph Iacobucci's patch but for slock 1.0. You can configure the two colors in config.mk in the CPPFLAGS. Thanks, as mentioned earlier, I like this idea and applied it to slock. It will become part of mainst