Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-08 Thread Thiago Macieira
On Thursday, 8 de December de 2011 12.02.42, João Abecasis wrote: It should be fairly simple to add an inline templated connect function that takes a pointer-like type, unwraps the actual pointer and calls the real connect. (e.g., using something like boost::get_pointer and hooking our pointer

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-07 Thread Olivier Goffart
On Monday 05 December 2011 14:50:23 Jeff Mitchell wrote: QSharedPointer: * Use for all three (disk cache, cookie jar, qnam) so that the user can keep a ref around if they want (also for the static methods) * Make QSharedPointer be able to delete properly with a forward declaration Not

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Peter Hartmann
On 12/06/2011 12:32 AM, ext Thiago Macieira wrote: (...) The cache, however, could be an issue. Imagine I do a get() from an auxiliary thread, one that the QNAM and the cache are not affined to. The implementation would need to read from the cache in one thread and make the data available to

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Alexis Menard
On Dec 6, 2011, at 12:40 PM, Thiago Macieira wrote: On Tuesday, 6 de December de 2011 12.24.11, Peter Hartmann wrote: Another interesting thing to note is that AFAIU with WebKit 2 there can be multiple web processes per application, all using the same cache (and cookie jar), so we would

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Alexis Menard
On Dec 5, 2011, at 4:50 PM, Jeff Mitchell wrote: Hello, Hi, I was asked to put this information on the wiki, but wasn't actually sure where the correct place was to do it. I'll put the info here and it can be moved into the wiki later. At the Contributor Day in San Francisco, a number

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Jonas Gastal
On Tue, Dec 6, 2011 at 1:43 PM, Alexis Menard alexis.men...@openbossa.orgwrote: On Dec 6, 2011, at 12:40 PM, Thiago Macieira wrote: On Tuesday, 6 de December de 2011 12.24.11, Peter Hartmann wrote: Another interesting thing to note is that AFAIU with WebKit 2 there can be multiple web

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Thiago Macieira
On Tuesday, 6 de December de 2011 13.56.18, Jonas Gastal wrote: Sorry if this is a stupid point, but there is a pretty standard mechanism for multiprocess mutexes in the form of .lock files. Isn't this an obvious and acceptable solution(to that part of the issue)? They have the same up/down

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-06 Thread Jeff Mitchell
On 12/06/2011 11:09 AM, Thiago Macieira wrote: On Tuesday, 6 de December de 2011 13.56.18, Jonas Gastal wrote: Sorry if this is a stupid point, but there is a pretty standard mechanism for multiprocess mutexes in the form of .lock files. Isn't this an obvious and acceptable solution(to that

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-05 Thread Thiago Macieira
On Monday, 5 de December de 2011 14.50.23, Jeff Mitchell wrote: At the Contributor Day in San Francisco, a number of people met to discuss some of the issues involving QtNetwork, espcially QNetworkAccessManager (QNAM). The overall idea is that eventually QNetworkAccessManager, which is meant

Re: [Development] QtNetwork changes from QtDD SF 2011

2011-12-05 Thread Charley Bay
On Monday, 5 de December de 2011 14.50.23, Jeff Mitchell wrote: At the Contributor Day in San Francisco, a number of people met to discuss some of the issues involving QtNetwork, espcially QNetworkAccessManager (QNAM). The overall idea is that eventually QNetworkAccessManager, which is