Mercurial > pidgin.yaz
annotate po/POTFILES.in @ 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 | d3e878162771 |
children | b8d8571877df |
rev | line source |
---|---|
4310 | 1 plugins/autorecon.c |
5081 | 2 plugins/chkmail.c |
7437 | 3 plugins/contact_priority.c |
6504 | 4 plugins/docklet/docklet-win32.c |
5 plugins/docklet/docklet.c | |
9216 | 6 plugins/extplacement.c |
5081 | 7 plugins/filectl.c |
6504 | 8 plugins/gaim-remote/remote.c |
5081 | 9 plugins/gaiminc.c |
6504 | 10 plugins/gestures/gestures.c |
8097 | 11 plugins/gevolution/add_buddy_dialog.c |
12 plugins/gevolution/assoc-buddy.c | |
13 plugins/gevolution/gevo-util.c | |
14 plugins/gevolution/gevolution.c | |
15 plugins/gevolution/new_person_dialog.c | |
4113 | 16 plugins/history.c |
17 plugins/iconaway.c | |
4310 | 18 plugins/idle.c |
6864 | 19 plugins/ipc-test-client.c |
20 plugins/ipc-test-server.c | |
5081 | 21 plugins/mailchk.c |
4310 | 22 plugins/notify.c |
6504 | 23 plugins/perl/perl.c |
5081 | 24 plugins/raw.c |
7543 | 25 plugins/relnot.c |
6503 | 26 plugins/signals-test.c |
5081 | 27 plugins/simple.c |
4585 | 28 plugins/spellchk.c |
7043 | 29 plugins/ssl/ssl-gnutls.c |
30 plugins/ssl/ssl-nss.c | |
31 plugins/ssl/ssl.c | |
6504 | 32 plugins/statenotify.c |
6834 | 33 plugins/tcl/tcl.c |
5081 | 34 plugins/ticker/ticker.c |
6504 | 35 plugins/timestamp.c |
4596 | 36 plugins/win32/transparency/win2ktrans.c |
37 plugins/win32/winprefs/winprefs.c | |
6504 | 38 src/about.c |
7129 | 39 src/account.c |
6504 | 40 src/away.c |
41 src/blist.c | |
42 src/connection.c | |
43 src/conversation.c | |
44 src/dialogs.c | |
45 src/ft.c | |
46 src/gaim-disclosure.c | |
47 src/gaim-remote.c | |
48 src/gaimrc.c | |
49 src/gtkaccount.c | |
50 src/gtkblist.c | |
51 src/gtkconn.c | |
52 src/gtkconv.c | |
53 src/gtkdebug.c | |
54 src/gtkft.c | |
55 src/gtkimhtml.c | |
8382 | 56 src/gtkimhtmltoolbar.c |
7490 | 57 src/gtklog.c |
6504 | 58 src/gtknotify.c |
59 src/gtkpounce.c | |
60 src/gtkprefs.c | |
61 src/gtkprivacy.c | |
62 src/gtkrequest.c | |
8162 | 63 src/gtkroomlist.c |
6504 | 64 src/gtksound.c |
65 src/gtkutils.c | |
66 src/log.c | |
67 src/main.c | |
68 src/plugin.c | |
69 src/prefs.c | |
2393
a7ecfd3f7714
[gaim-migrate @ 2406]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2198
diff
changeset
|
70 src/protocols/gg/gg.c |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1560
diff
changeset
|
71 src/protocols/icq/gaim_icq.c |
6351 | 72 src/protocols/irc/cmds.c |
8382 | 73 src/protocols/irc/dcc_send.c |
2198
196e23ddd8bf
[gaim-migrate @ 2208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2086
diff
changeset
|
74 src/protocols/irc/irc.c |
6351 | 75 src/protocols/irc/msgs.c |
76 src/protocols/irc/parse.c | |
7043 | 77 src/protocols/jabber/auth.c |
78 src/protocols/jabber/buddy.c | |
79 src/protocols/jabber/chat.c | |
2198
196e23ddd8bf
[gaim-migrate @ 2208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2086
diff
changeset
|
80 src/protocols/jabber/jabber.c |
5081 | 81 src/protocols/jabber/jutil.c |
7043 | 82 src/protocols/jabber/message.c |
83 src/protocols/jabber/parser.c | |
84 src/protocols/jabber/presence.c | |
85 src/protocols/jabber/roster.c | |
7418 | 86 src/protocols/jabber/si.c |
7926 | 87 src/protocols/jabber/xdata.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
88 src/protocols/msn/cmdproc.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
89 src/protocols/msn/command.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
90 src/protocols/msn/directconn.c |
5347 | 91 src/protocols/msn/error.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
92 src/protocols/msn/group.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
93 src/protocols/msn/history.c |
7290 | 94 src/protocols/msn/httpmethod.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
95 src/protocols/msn/msg.c |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1560
diff
changeset
|
96 src/protocols/msn/msn.c |
8181 | 97 src/protocols/msn/nexus.c |
5347 | 98 src/protocols/msn/notification.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
99 src/protocols/msn/object.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
100 src/protocols/msn/page.c |
7308 | 101 src/protocols/msn/servconn.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
102 src/protocols/msn/session.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
103 src/protocols/msn/slp.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
104 src/protocols/msn/slpcall.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
105 src/protocols/msn/slplink.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
106 src/protocols/msn/slpmsg.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
107 src/protocols/msn/slpsession.c |
5380 | 108 src/protocols/msn/state.c |
4586 | 109 src/protocols/msn/switchboard.c |
9207
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
110 src/protocols/msn/sync.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
111 src/protocols/msn/table.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
112 src/protocols/msn/transaction.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
113 src/protocols/msn/user.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
114 src/protocols/msn/userlist.c |
7d50846c1573
[gaim-migrate @ 10002]
Christian Hammond <chipx86@chipx86.com>
parents:
9171
diff
changeset
|
115 src/protocols/msn/utils.c |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1560
diff
changeset
|
116 src/protocols/napster/napster.c |
9039 | 117 src/protocols/novell/nmuser.c |
8713 | 118 src/protocols/novell/novell.c |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1560
diff
changeset
|
119 src/protocols/oscar/oscar.c |
8877 | 120 src/protocols/silc/buddy.c |
121 src/protocols/silc/chat.c | |
122 src/protocols/silc/ft.c | |
123 src/protocols/silc/ops.c | |
124 src/protocols/silc/pk.c | |
125 src/protocols/silc/silc.c | |
126 src/protocols/silc/util.c | |
2086
424a40f12a6c
[gaim-migrate @ 2096]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
1560
diff
changeset
|
127 src/protocols/toc/toc.c |
5824 | 128 src/protocols/trepia/trepia.c |
2685
3edac3b31edc
[gaim-migrate @ 2698]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2393
diff
changeset
|
129 src/protocols/yahoo/yahoo.c |
7684 | 130 src/protocols/yahoo/yahoo_filexfer.c |
9171 | 131 src/protocols/yahoo/yahoo_profile.c |
6834 | 132 src/protocols/yahoo/yahoochat.c |
2198
196e23ddd8bf
[gaim-migrate @ 2208]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
2086
diff
changeset
|
133 src/protocols/zephyr/zephyr.c |
5081 | 134 src/proxy.c |
6504 | 135 src/prpl.h |
5824 | 136 src/request.h |
964
2cd7b73e2c9a
[gaim-migrate @ 974]
Eric Warmenhoven <eric@warmenhoven.org>
parents:
960
diff
changeset
|
137 src/server.c |
6244 | 138 src/status.c |
5081 | 139 src/stock.c |
4310 | 140 src/util.c |
5081 | 141 src/win32/win32dep.c |