annotate pixmaps/warn.xpm @ 3752:b32474e522fa

[gaim-migrate @ 3890] From: "William T. Mahan" <wtm2@duke.edu> This patch, against CVS HEAD, fixes three bugs in Oscar File Transfer support. I can split it up further if desired. * Send a null checksum when initiating a file transfer, which fixes "files don't match" warnings produced by some versions of WinAIM; add a compile-time option to actually compute the checksum, which is slow but necessary when sending to some Mac clients. * Don't allow sending files to oneself, because it causes all kinds of subtle problems and it's not useful. * Don't crash when there is an error writing to the output file when receiving. From: "William T. Mahan" <wtm2@duke.edu> This patch 2 of 3, which applies on top of the first, adds support for reverse connections for Oscar File Transfer, the lack of which has been the biggest complaint so far. Reverse connections are used by newer AIM clients when there is difficulty verifying the IP of the sender. From: "William T. Mahan" <wtm2@duke.edu> This patch 3 of 3, which applies on top of the first 2, removes the alarm() and sigaction() calls that were added by my original FT patch to detect transfer timeouts. Besides apparently not working on Windows, they involved a lot of ugly code to handle a special case. My new approach is to add destructors that can called when SNACs are freed; a timeout is detected when a request SNAC is cleaned up before the transfer is accepted. Although this touches several files, it is more generic than the old method. I tried to implement this in an unintrusive manner, so that there is little preformance penalty for SNACs that do not use destructors. My first two patches should work fine without this. If there are any objections to the third patch, I ask that the first two patches be applied, in which case I will set up a SourceForge page for this one. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Sat, 19 Oct 2002 05:22:30 +0000
parents 0bbcdd94e5b0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
467
04f4ed4e34fc [gaim-migrate @ 477]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 /* XPM */
04f4ed4e34fc [gaim-migrate @ 477]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 static char * warn_xpm[] = {
665
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
3 "24 24 25 1",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
4 " c None",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
5 ". c #000000",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
6 "+ c #B8AE9A",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
7 "@ c #DCD0B8",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
8 "# c #C9BEA8",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
9 "$ c #A89F8D",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
10 "% c #A7685C",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
11 "& c #956056",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
12 "* c #625C51",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
13 "= c #C59C94",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
14 "- c #B37D72",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
15 "; c #B0A693",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
16 "> c #BD8D84",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
17 ", c #A67369",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
18 "' c #9A9181",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
19 ") c #CCC5B7",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
20 "! c #C1B9A8",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
21 "~ c #B4AA96",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
22 "{ c #AC786D",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
23 "] c #79554A",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
24 "^ c #85685A",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
25 "/ c #908878",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
26 "( c #938B7A",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
27 "_ c #6D5446",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
28 ": c #664E41",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
29 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
30 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
31 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
32 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
33 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
34 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
35 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
36 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
37 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
38 " ...... ... ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
39 " .+@#@@$..%%&... ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
40 " .*@$@@@@@.=-.%%. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
41 " .;@@+@##@@.>%.,,. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
42 " ..#'#)!~~.{].^^. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
43 " ./~~~~~(.._::... ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
44 " ....~(. ... ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
45 " .~. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
46 " .@~. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
47 " .@(. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
48 " .~(. ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
49 " ... ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
50 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
51 " ",
0bbcdd94e5b0 [gaim-migrate @ 675]
Rob Flynn <gaim@robflynn.com>
parents: 467
diff changeset
52 " "};