Mercurial > pidgin
annotate COPYRIGHT @ 9417:9f6a28af7164
[gaim-migrate @ 10232]
" IDLETRACK.DLL uses Windows hooks to record the last
time the user pressed a key or moved the mouse.
Windows hooks are a bit unfriendly in that they force
the hook DLL into every process - so IDLETRACK.DLL
gets added to every process after Gaim runs. This can
mean that IDLETRACK.DLL doesn't get unloaded when
Gaim stops, which causes a warning about being unable
to write to IDLETRACK.DLL if you then upgrade Gaim.
Further, hooking is a common tactic employed by key
loggers. If the user has a program installed that checks
for global hooks then it will warn the user that Gaim may
contain a key logger.
From Windows 2000 onwards Microsoft introduced an
API function called GetLastInputInfo that returns the
timer tick at the point that the user last pressed a key
or moved the mouse. I have changed idletrack.c so that
it will try to use this if it can, which avoids all the
ugliness of having to use hooks, but it will fall back to
using hooks if the function isn't present.
This patch changes all three exported functions in
idletrack.c.
In wgaim_set_idlehooks it checks to see if
GetLastInputInfo is present. If it is then the address of
the function is recorded and no hooks are set. If it isn't
then we're running on an old verison of Windows and the
hooks are set as per current behaviour.
In wgaim_remove_idlehooks the module handle taken for
USER32.DLL by wgaim_set_idlehooks is released.
In wgaim_get_lastactive the GetLastInputInfo function
is called, if present. If it isn't present then the hooks will
have run and the shared memory they write to will be
read as per current behaviour. Both methods end up
getting the timer tick of the last user activity, which is
returned as per current behaviour." --Andrew Whewell
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Sun, 27 Jun 2004 22:29:53 +0000 |
parents | 7b48e7c07bcf |
children | 2c6af2767fcf |
rev | line source |
---|---|
8046 | 1 Gaim |
2 Copyright (C) 1998-2004 by the following: | |
3 | |
4 If you have contributed to Gaim, you deserve to be on this list. | |
5 Contact us (see: AUTHORS) and we'll add you. | |
6 | |
7967 | 7 Daniel Atallah |
8598 | 8 Paul Aurich |
7959 | 9 Patrick Aussems |
8266 | 10 Kevin Barry |
9086
9fcbb18aa7be
[gaim-migrate @ 9863]
Christian Hammond <chipx86@chipx86.com>
parents:
9075
diff
changeset
|
11 Curtis Beattie |
7958 | 12 Brian Bernas |
7959 | 13 Jonas Birmé |
7958 | 14 Ethan Blanton |
7959 | 15 Joshua Blanton |
7958 | 16 Herman Bloggs |
9232 | 17 David Blue |
7958 | 18 Jason Boerner |
7959 | 19 Graham Booker |
20 Craig Boston | |
21 Chris Boyle | |
7958 | 22 Jeremy Brooks |
8139 | 23 Philip Brown |
7959 | 24 Sean Burke |
25 Cerulean Studios, LLC | |
8735
92cbf9713795
[gaim-migrate @ 9490]
Christian Hammond <chipx86@chipx86.com>
parents:
8706
diff
changeset
|
26 Jonathan Champ |
7959 | 27 Ka-Hing Cheung |
28 Arturo Cisneros, Jr. | |
29 Vincas Ciziunas | |
7958 | 30 Joe Clarke |
7959 | 31 Todd Cohen |
32 Felipe Contreras | |
9042 | 33 Adam Cowell |
7959 | 34 Jeramey Crawford |
9087
f32ee2e97b37
[gaim-migrate @ 9864]
Christian Hammond <chipx86@chipx86.com>
parents:
9086
diff
changeset
|
35 Finlay Dobbie |
7959 | 36 Mark Doliner |
37 Nuno Donato | |
38 Jim Duchek | |
39 Tom Dyas | |
8664 | 40 Marc E. |
7959 | 41 Andrew Echols |
42 Sean Egan <sean.egan@binghamton.edu> | |
9331
851b8c672011
[gaim-migrate @ 10139]
Christian Hammond <chipx86@chipx86.com>
parents:
9262
diff
changeset
|
43 Nelson Elhage |
8782
5a2b5e4abf3a
[gaim-migrate @ 9544]
Christian Hammond <chipx86@chipx86.com>
parents:
8767
diff
changeset
|
44 Ignacio J. Elia |
7959 | 45 Brian Enigma |
7998 | 46 Stefan Esser |
7958 | 47 Larry Ewing |
7959 | 48 Jesse Farmer |
7983 | 49 Gavan Fantom (gavan) |
8195 | 50 Rob Flynn <gaim@robflynn.com> |
8384 | 51 Rob (rwf) Foehl |
7958 | 52 Nathan Fredrickson |
8267 | 53 Chris J. Friesen |
8048 | 54 Free Software Foundation |
7959 | 55 Decklin Foster |
56 Adam Fritzler | |
8209 | 57 Max G. |
9168 | 58 Evgueni V. Gavrilov |
8160 | 59 Ignacy Gawedzki |
7959 | 60 Michael Golden |
61 Ryan C. Gordon | |
62 Christian Hammond | |
8124 | 63 Benjamin Herrenschmidt |
7959 | 64 Andy Harrison |
65 G. Sumner Hayes | |
66 Mike Heffner | |
8046 | 67 Iain Holmes |
7959 | 68 Karsten Huneycutt |
69 Akuke Kok | |
8124 | 70 Gary Kramlich |
7959 | 71 Tero Kuusela |
8273
f24172f53650
[gaim-migrate @ 8997]
Christian Hammond <chipx86@chipx86.com>
parents:
8267
diff
changeset
|
72 Scott Lamb |
7959 | 73 Dennis Lambe Jr. |
8444 | 74 Daniel Larsson |
7959 | 75 Ho-seok Lee |
76 Moses Lei | |
77 Ambrose C. Li | |
7957 | 78 Nicolas Lichtmaier |
7959 | 79 Artem Litvinovich |
80 Syd Logan | |
8220 | 81 Uli Luckas |
7959 | 82 Matthew Luckie |
8863 | 83 Mike Lundy |
7959 | 84 Brian Macke |
8046 | 85 Paolo Maggi |
7959 | 86 Willian T. Mahan |
87 John Matthews | |
88 Ryan McCabe | |
8656 | 89 Kurt McKee |
7957 | 90 Robert McQueen |
91 Robert Mibus | |
7959 | 92 Benjamin Miller |
93 Kevin Miller | |
94 Paul Miller | |
95 Arkadiusz Miskiewicz | |
96 Andrew Molloy | |
8706 | 97 Novell |
8241 | 98 Padraig O'Briain |
8562 | 99 Christopher (siege) O'Brien |
8697 | 100 Jon Oberheide |
9075
0d5206ffe86a
[gaim-migrate @ 9851]
Christian Hammond <chipx86@chipx86.com>
parents:
9042
diff
changeset
|
101 Gudmundur Bjarni Olafsson |
8334 | 102 Nathan (pianocomp81) Owens |
7959 | 103 Matt Pandina |
8046 | 104 Ricardo Fernandez Pascual |
105 Havoc Pennington | |
7959 | 106 Ari Pollak |
7957 | 107 Robey Pointer |
7959 | 108 Nathan Poznick |
109 Brent Priddy | |
110 Federicco Mena Quintero | |
111 David Raeman | |
112 Etan Reisner | |
113 Kristian Rietveld | |
8332
f4a878d48254
[gaim-migrate @ 9056]
Christian Hammond <chipx86@chipx86.com>
parents:
8273
diff
changeset
|
114 Pekka Riikonen |
7959 | 115 Tim Ringenbach |
8872 | 116 Luciano Miguel Ferreira Rocha |
7959 | 117 Andrew Rodland |
8911 | 118 Tom Samstag |
7959 | 119 Neil Sanchala |
8046 | 120 Carsten Schaar |
7959 | 121 Luke Schierer |
8208
bfbba1a7710a
[gaim-migrate @ 8931]
Christian Hammond <chipx86@chipx86.com>
parents:
8204
diff
changeset
|
122 Evan Schoenberg |
7959 | 123 Torrey Searle |
8767 | 124 Don Seiler |
9405 | 125 Leonardo Serra |
7959 | 126 Jim Seymour |
8935 | 127 Joe Shaw |
7959 | 128 John Silvestri |
8204 | 129 Alex Smith |
7959 | 130 David Smock |
8811 | 131 Phil Snowberger |
9191 | 132 Eddie (tr1sk) Sohn |
7959 | 133 Mark Spencer <markster@marko.net> |
134 Lex Spoon | |
135 Kevin Stange | |
136 David Stoddard | |
8153 | 137 Sun Microsystems |
8217 | 138 Mårten (fursten) Svantesson |
9173 | 139 Robert T. |
7959 | 140 Brian Tarricone |
141 Peter Teichman | |
8118 | 142 Philip Tellis |
7959 | 143 Arun A. Tharuvai |
8118 | 144 Douglas (douglaswth) Thrift |
8124 | 145 Stu Tomlinson |
7959 | 146 Bill Tompkins |
8046 | 147 Tom Tromey |
8474
8b62cc40069b
[gaim-migrate @ 9207]
Christian Hammond <chipx86@chipx86.com>
parents:
8444
diff
changeset
|
148 Chris Toshok |
7959 | 149 Junichi Uekawa |
8518
833dd756dcc3
[gaim-migrate @ 9257]
Christian Hammond <chipx86@chipx86.com>
parents:
8482
diff
changeset
|
150 David Vermeille |
7959 | 151 Bjoern Voigt |
152 Nathan Walp | |
153 Eric Warmenhoven | |
8482 | 154 Andrew Wellington |
9417 | 155 Andrew Whewell |
8091 | 156 Dan Willemsen |
7959 | 157 Jason Willis |
158 Matt Wilson | |
9262
572e4658492c
[gaim-migrate @ 10061]
Christian Hammond <chipx86@chipx86.com>
parents:
9245
diff
changeset
|
159 Justin Wood |
7957 | 160 Ximian |
8436 | 161 Jared Yanovich |
9245 | 162 Timmy Yee |
8661
060171053a32
[gaim-migrate @ 9413]
Christian Hammond <chipx86@chipx86.com>
parents:
8656
diff
changeset
|
163 Nickolai Zeldovich |
8235 | 164 Marco Ziech |
8046 | 165 Jaroen Zwartepoorte |