On 3 apr. 2012, at 18:38, Kevin Smith wrote:

> On Tue, Apr 3, 2012 at 5:27 PM, bear <bea...@gmail.com> wrote:
>> The Mozilla folks are testing an addon to Thunderbird that will allow
>> IM capabilities (see http://blog.instantbird.org/ for info)
>> 
>> While that alone is a good reason for me to post here :) - what i'm
>> really posting about is that they have a bug that is preventing them
>> from enabling XMPP in general (currently they only support GTalk and
>> Facebook.)  According to
>> https://bugzilla.mozilla.org/show_bug.cgi?id=735215 the issue is a
>> lack of SRV support in libpurple.
> 
> I think that's not what it's saying. It seems to be saying that SRV
> support is fine in libpurple, but not in Thunderbird/exposed by
> Javascript/something.
> 
> I'd strongly encourage them against their plan of launching without
> SRV support - it'd be very broken (and non-compliant).
> 
> /K

To elaborate on this: libpurple definitely supports SRV queries. In fact,
there are two implementations for it: there is an implementation for Windows
that uses dnsapi.dll and there is an implementation for *NIX that forks and
uses res_query. Aside from that, 2.8.0 included a patch I wrote to add an API
for UIs to supply their own functions for TXT and SRV queries[1] (however, it
had some significant bugs that were fixed in 2.10.0, don't try to use it in
earlier versions). I still need to finish up the custom implementation that
Adium will use (the fork() method works on OS X, but it's discouraged to
call fork without exec in graphical applications).

But that's not the issue they have, they want to replace libpurple with an
XMPP backend written in JavaScript, however, that doesn't support SRV as they
don't have an API in JavaScript for it.

Thijs

[1] 
http://developer.pidgin.im/doxygen/dev2.x.y/html/structPurpleSrvTxtQueryUiOps.html
_______________________________________________
JDev mailing list
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: jdev-unsubscr...@jabber.org
_______________________________________________

Reply via email to