[jdev] js library for client side XMPP and DNS SRV

bear bear42 at gmail.com
Tue Apr 3 17:40:50 UTC 2012

On Tue, Apr 3, 2012 at 13:20, Thijs Alkemade <thijs at xnyhps.nl> wrote:
> On 3 apr. 2012, at 18:38, Kevin Smith wrote:
>> On Tue, Apr 3, 2012 at 5:27 PM, bear <bear42 at gmail.com> wrote:
>>> The Mozilla folks are testing an addon to Thunderbird that will allow
>>> IM capabilities (see http://blog.instantbird.org/ for info)

wow, Mozilla has a *lot* of projects.  Turns out Instabird is *not*
XMPP in Thunderbird, but rather another project that is trying to
create a chat client.

>>> 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.

I'm trying to find someone on the Thunderbird team who is more
familiar with this to either come here or, barring that, to explain to
me what the details are so I can ask better questions.

> 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-unsubscribe at jabber.org
> _______________________________________________


bear at xmpp.org (email)
bear42 at gmail.com (xmpp, email)
bear at code-bear.com (xmpp, email)
http://code-bear.com/bearlog (weblog)

PGP Fingerprint = 9996 719F 973D B11B E111  D770 9331 E822 40B3 CD29

More information about the JDev mailing list