Mercurial > pidgin.yaz
annotate Makefile.am @ 13914:3ae8a3935406
[gaim-migrate @ 16414]
First stab at trying to fix the MSN http connect method. It still
doesn't work, and I'm not sure why, but it gets a lot farther in
the signon process now.
For those unfamiliar with the issue, the MSN http connect method
stopped working after all the non-blocking I/O changes. The http
connect method is apparently used by lots of people behind silly
firewalls and stuff, and therefore we really shouldn't release
Gaim 2.0.0 without it working, because people will complain.
The two main problems were
1. The outgoing message queue was removed in favor of buffering all
data to one large buffer. This sounds good in theory... but apparently
each message sent to and from the server has a "SessionID" in the
HTTP header. Every message we send should use the same SessionID as
the last packet we received from the server. So basically you can't
put two messages into the outgoing buffer at the same time because
you don't have the correct SessionID to use for the second message.
You have to wait until you get the reply from the server.
2. There were some strange buffer problems with using the wrong
variable when trying to combine the header+body into one buffer
before sending the message.
I also fixed a small memleak or two, added some comments, and
tried to clean up the code a little.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 03 Jul 2006 20:39:04 +0000 |
parents | 40c5d0508a1a |
children | 009db0b357b5 |
rev | line source |
---|---|
4554
fbf9f873abfc
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
1 EXTRA_DIST = \ |
7960 | 2 COPYRIGHT \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
3 Doxyfile.in \ |
9364 | 4 gaim.pc.in \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
5 gaim.spec.in \ |
10362 | 6 gaim.apspec.in \ |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
7 gaim.desktop.in \ |
13490
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
8 gaim.service.in \ |
7601
6d59800ace03
[gaim-migrate @ 8223]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
7231
diff
changeset
|
9 gaim-installer.nsi \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
10 HACKING \ |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
11 intltool-extract.in \ |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
12 intltool-merge.in \ |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
13 intltool-update.in \ |
6246 | 14 PROGRAMMING_NOTES \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
15 ChangeLog.win32 \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
16 config.h.mingw \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
17 Makefile.mingw \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
18 README.mingw \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
19 VERSION \ |
9137
63565de253af
[gaim-migrate @ 9921]
Christian Hammond <chipx86@chipx86.com>
parents:
9099
diff
changeset
|
20 VERSION.in \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
21 plugins/win32/transparency/Makefile.mingw \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
22 plugins/win32/transparency/win2ktrans.c \ |
6411
0d0bdf0bf6d2
[gaim-migrate @ 6917]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6246
diff
changeset
|
23 plugins/win32/winprefs/gtkappbar.c \ |
0d0bdf0bf6d2
[gaim-migrate @ 6917]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6246
diff
changeset
|
24 plugins/win32/winprefs/gtkappbar.h \ |
6198
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
25 plugins/win32/winprefs/Makefile.mingw \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
26 plugins/win32/winprefs/winprefs.c \ |
fcc28f5dd0c8
[gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
6187
diff
changeset
|
27 po/Makefile.mingw |
0 | 28 |
9364 | 29 gaimincludedir=$(includedir)/gaim |
30 gaiminclude_HEADERS = config.h | |
31 | |
32 pkgconfigdir = $(libdir)/pkgconfig | |
33 pkgconfig_DATA = gaim.pc | |
34 | |
13490
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
35 if ENABLE_DBUS |
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
36 dbus_servicedir=$(DBUS_SERVICES_DIR) |
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
37 dbus_service_DATA=gaim.service |
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
38 endif |
40c5d0508a1a
[gaim-migrate @ 15866]
Gary Kramlich <grim@reaperworld.com>
parents:
13318
diff
changeset
|
39 |
3449
8c6950b6eb82
[gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents:
3439
diff
changeset
|
40 dist-hook: gaim.spec |
8c6950b6eb82
[gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents:
3439
diff
changeset
|
41 cp gaim.spec $(distdir) |
8c6950b6eb82
[gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents:
3439
diff
changeset
|
42 |
6701
b7e113a59b51
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6596
diff
changeset
|
43 distcheck-hook: plugins/perl/common/Gaim.pm |
b7e113a59b51
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6596
diff
changeset
|
44 # cp plugins/perl/common/Gaim.pm $(distdir)/plugins/perl/common |
b7e113a59b51
[gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents:
6596
diff
changeset
|
45 |
5253
2c9de5ae24a0
[gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents:
4564
diff
changeset
|
46 appsdir = $(datadir)/applications |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
47 apps_in_files = gaim.desktop.in |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
48 apps_DATA = $(apps_in_files:.desktop.in=.desktop) |
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
49 @INTLTOOL_DESKTOP_RULE@ |
327 | 50 |
13179
5adc0c9da9f3
[gaim-migrate @ 15542]
Richard Laager <rlaager@wiktel.com>
parents:
12299
diff
changeset
|
51 SUBDIRS = doc m4macros pixmaps plugins po sounds src |
4554
fbf9f873abfc
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
52 |
6596
dcb336f3d9a6
[gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents:
6411
diff
changeset
|
53 docs: Doxyfile |
10925
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
54 if HAVE_DOXYGEN |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
55 @echo "Running doxygen..." |
4554
fbf9f873abfc
[gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents:
3726
diff
changeset
|
56 @doxygen |
10925
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
57 else |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
58 @echo "doxygen was not found during configure. Aborting." |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
59 @echo; |
993db24dae16
[gaim-migrate @ 12696]
Gary Kramlich <grim@reaperworld.com>
parents:
10362
diff
changeset
|
60 endif |
11862 | 61 |
62 # perl's MakeMaker uninstall foo doesn't work well with DESTDIR set, which | |
63 # breaks "make distcheck" unless we ignore perl things | |
64 | |
65 distuninstallcheck_listfiles = \ | |
11883 | 66 find . -type f -print | grep -v perl | grep -v Gaim.3pm |
12299 | 67 |