Re: QWebFrame and baseUrl

2009-11-10 Thread Petri Damstén
On Tuesday 10 November 2009 15:42:18 Kenneth Christiansen wrote: Hi again. I talked to Thiago Macieira and he told me that QUrl in 4.6 is more strict than in 4.5, but there isn't any behaviour change. Can you please give me examples that stopped working?

Re: QWebFrame and baseUrl

2009-11-10 Thread Thiago Macieira
Em Terça-feira 10 Novembro 2009, às 14:42:18, ext Kenneth Christiansen escreveu: Hi again. I talked to Thiago Macieira and he told me that QUrl in 4.6 is more strict than in 4.5, but there isn't any behaviour change. Can you please give me examples that stopped working? cc'ing Thiago.

Re: QWebFrame and baseUrl

2009-11-10 Thread Thiago Macieira
Em Terça-feira 10 Novembro 2009, às 15:02:15, ext Petri Damstén escreveu: On Tuesday 10 November 2009 15:42:18 Kenneth Christiansen wrote: Hi again. I talked to Thiago Macieira and he told me that QUrl in 4.6 is more strict than in 4.5, but there isn't any behaviour change. Can you

Re: QWebFrame and baseUrl

2009-11-10 Thread Aaron J. Seigo
On November 10, 2009, Thiago Macieira wrote: if package()-filePath() returns a URL, it should have file:// already. If it returns a file name, you should be using QUrl::fromLocalFile. It returns a file name. It does not return a URL because the file is guaranteed to be local to thing (e.g. a

Re: QWebFrame and baseUrl

2009-11-09 Thread Kenneth Christiansen
Hi there, Strange... We merely fixed the behavior to be as expected and documented. setHtml was totally broken. It was adding the baseurl to the session history if one was supplied, and not adding anything if nothing was supplied. That has now been fixed. So I wonder why this stopped working,

Re: QWebFrame and baseUrl

2009-11-09 Thread Aaron J. Seigo
On November 9, 2009, Kenneth Christiansen wrote: So I wonder why this stopped working, if this is due to a QUrl change, due to our change or due to a change in WebKit itself. yes, with a switch to KUrl it apparently started working (URLs with #s in them were one issue iirc?) -- Aaron J.