Asynchronous use of SwHTMLParser - is this needed

Kohei Yoshida kohei.yoshida at gmail.com
Fri Apr 20 06:49:39 PDT 2012


On Fri, 2012-04-20 at 13:03 +0200, Eike Rathke wrote:
> Hi Kohei,
> 
> On Thursday, 2012-04-19 17:06:43 -0400, Kohei Yoshida wrote:
> 
> > My question is, do we need to keep this asynchronicity of
> > SwHTMLParser, or is it okay to change it into a synchronous call like
> > the rest of SvParser uses?
> 
> IIRC the intention was to not make the user wait until timeout if a site
> can't be connected or doesn't serve the document. I'd say we should keep
> that.

Ok.  That makes sense.

Unfortunately, keeping this behavior makes removal of SvRefBase from
SvParser non-trivial.  I'll put my work on hold for now.  I might come
back to give it another try later.

If someone is interested, here is my work-in-progress patch.

http://people.freedesktop.org/~kohei/my-attempt-to-remove-svrefbase-from-svparser.diff

plus 

e1520a9d6a9f9bcfcaa332d54892040fe54776c2
a4bc804627b8b21506e9b86fa54d2f7d2525e43e

which were committed earlier then reverted due to a crasher these
changes caused.

Best,

Kohei

-- 
Kohei Yoshida, LibreOffice hacker, Calc



More information about the LibreOffice mailing list