Mercurial > pidgin.yaz
annotate libpurple/protocols/jabber/Makefile.am @ 28133:3eef8392a54b
jabber: Add a BOSH send timer (queue up stanzas), fixes connecting to Prosody
This send timer shouldn't strictly be necessary, but Prosody currently
closes the TCP stream after every response (MattJ tells me there's a
pipelining bug that they couldn't fix, so they just disabled it), but in my
tests, the initial purple_ssl_read doesn't catch the EOF/disconnection
(the read returns EAGAIN), so the prpl, while processing the response from
the server, thinks that BOSH connection is still open, and tries to send
to send to it. *Then*, the write input watcher triggers and read returns 0
(EOF). The request that was sent is then lost.
Anyway, I've termed Prosody a fuzzer for BOSH. :-)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sun, 02 Aug 2009 03:00:00 +0000 |
parents | e5fdfff98aa9 |
children | 932661a155b7 8ada06fb65ed f858b53dfbf0 |
rev | line source |
---|---|
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
1 EXTRA_DIST = \ |
24332
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
2 Makefile.mingw \ |
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
3 win32/posix.uname.c \ |
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
4 win32/utsname.h |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
5 |
16591
ce049678a67b
soname versioning of libpurple. Should help resolve debian bug 421282
Stu Tomlinson <stu@nosnilmot.com>
parents:
16285
diff
changeset
|
6 pkgdir = $(libdir)/purple-$(PURPLE_MAJOR_VERSION) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
7 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
8 JABBERSOURCES = auth.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
9 auth.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
10 buddy.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
11 buddy.h \ |
25600
1cbe5a9f6efb
* adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents:
18686
diff
changeset
|
12 bosh.c \ |
1cbe5a9f6efb
* adding bosh files to Makefile.am & .mingw
Tobias Markmann <tfar@soc.pidgin.im>
parents:
18686
diff
changeset
|
13 bosh.h \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
14 chat.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
15 chat.h \ |
23445
4ac5db6e39f3
Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents:
18686
diff
changeset
|
16 data.c \ |
4ac5db6e39f3
Custom smileys for XMPP according to XEP 0231. Refs #5627.
Marcus Lundblad <ml@update.uu.se>
parents:
18686
diff
changeset
|
17 data.h \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
18 disco.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
19 disco.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
20 google.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
21 google.h \ |
23999
b4ec5481a67a
Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents:
18686
diff
changeset
|
22 ibb.c \ |
b4ec5481a67a
Implements file transfers using in-band bytestreams for XMPP
Marcus Lundblad <ml@update.uu.se>
parents:
18686
diff
changeset
|
23 ibb.h \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
24 iq.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
25 iq.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
26 jabber.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
27 jabber.h \ |
26014
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
28 jingle/jingle.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
29 jingle/jingle.h \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
30 jingle/content.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
31 jingle/content.h \ |
26042
bee5ab815291
Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26020
diff
changeset
|
32 jingle/iceudp.c \ |
bee5ab815291
Added a Jingle ice-udp transmitter.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
26020
diff
changeset
|
33 jingle/iceudp.h \ |
26014
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
34 jingle/rawudp.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
35 jingle/rawudp.h \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
36 jingle/rtp.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
37 jingle/rtp.h \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
38 jingle/session.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
39 jingle/session.h \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
40 jingle/transport.c \ |
bd598b606ca4
Restructure Jingle code to more easily support multiple application types.
Mike Ruprecht <maiku@soc.pidgin.im>
parents:
25637
diff
changeset
|
41 jingle/transport.h \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
42 jutil.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
43 jutil.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
44 message.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
45 message.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
46 oob.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
47 oob.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
48 parser.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
49 parser.h \ |
17562
6ab1089e2101
applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents:
16765
diff
changeset
|
50 ping.c \ |
6ab1089e2101
applied patch for supporting XEP-0199: XMPP Ping
Andreas Monitzer <pidgin@monitzer.com>
parents:
16765
diff
changeset
|
51 ping.h \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
52 presence.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
53 presence.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
54 roster.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
55 roster.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
56 si.c \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
57 si.h \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
58 xdata.c \ |
18686
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
59 xdata.h \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
60 caps.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
61 caps.h \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
62 adhoccommands.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
63 adhoccommands.h \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
64 pep.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
65 pep.h \ |
25815
5dd25c58b65e
Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents:
24332
diff
changeset
|
66 useravatar.c \ |
5dd25c58b65e
Migrate the XMPP User Avatar (XEP-0084) code to its own file
Paul Aurich <paul@darkrain42.org>
parents:
24332
diff
changeset
|
67 useravatar.h \ |
18686
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
68 usermood.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
69 usermood.h \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
70 usernick.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
71 usernick.h \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
72 usertune.c \ |
b70664a62de8
Added the files I created to the Makefile. This hasn't happened yet since Adium doesn't use those Makefiles for building.
Andreas Monitzer <pidgin@monitzer.com>
parents:
18684
diff
changeset
|
73 usertune.h |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
74 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
75 AM_CFLAGS = $(st) |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
76 |
16240
547c76fe2e7a
This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents:
15886
diff
changeset
|
77 libxmpp_la_LDFLAGS = -module -avoid-version |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
78 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
79 if STATIC_JABBER |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
80 |
15886
53f9f4ebea7a
s/GAIM_STATIC_PRPL/PURPLE_STATIC_PRPL/ in prpl Makefiles
Stu Tomlinson <stu@nosnilmot.com>
parents:
15462
diff
changeset
|
81 st = -DPURPLE_STATIC_PRPL |
24332
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
82 noinst_LTLIBRARIES = libjabber.la |
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
83 libjabber_la_SOURCES = $(JABBERSOURCES) libxmpp.c |
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
84 libjabber_la_CFLAGS = $(AM_CFLAGS) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
85 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
86 else |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
87 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
88 st = |
24332
2b62300d2c19
Use libtool to build static archives when --with-static-prpls is passed
Mark Doliner <mark@kingant.net>
parents:
23445
diff
changeset
|
89 pkg_LTLIBRARIES = libjabber.la libxmpp.la |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
90 libjabber_la_SOURCES = $(JABBERSOURCES) |
27674
e5fdfff98aa9
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <paul@darkrain42.org>
parents:
26817
diff
changeset
|
91 libjabber_la_LIBADD = $(GLIB_LIBS) $(SASL_LIBS) $(LIBXML_LIBS) $(IDN_LIBS) |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
92 |
16240
547c76fe2e7a
This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents:
15886
diff
changeset
|
93 libxmpp_la_SOURCES = libxmpp.c |
547c76fe2e7a
This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents:
15886
diff
changeset
|
94 libxmpp_la_LIBADD = libjabber.la |
547c76fe2e7a
This does the ol' AIM/ICQ split trick on Jabber, creating an XMPP prpl. This can be used, later, to create a Bonjour plugin that reuses libjabber
Sean Egan <seanegan@gmail.com>
parents:
15886
diff
changeset
|
95 |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
96 endif |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
97 |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
98 AM_CPPFLAGS = \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
99 -I$(top_srcdir)/libpurple \ |
16765
441945083737
Now that version.h is a generated source file, we need to add
Stu Tomlinson <stu@nosnilmot.com>
parents:
16591
diff
changeset
|
100 -I$(top_builddir)/libpurple \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
101 $(DEBUG_CFLAGS) \ |
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
102 $(GLIB_CFLAGS) \ |
27674
e5fdfff98aa9
When GNU Libidn is available, use it for XMPP stringprep operations.
Paul Aurich <paul@darkrain42.org>
parents:
26817
diff
changeset
|
103 $(IDN_CFLAGS) \ |
15374
5fe8042783c1
Rename gtk/ and libgaim/ to pidgin/ and libpurple/
Sean Egan <seanegan@gmail.com>
parents:
diff
changeset
|
104 $(LIBXML_CFLAGS) |