annotate Makefile.am @ 10787:c932d96a7c69

[gaim-migrate @ 12428] " Autocorrect in gaim... um... sucks. The problem is that the correction only happens AFTER you send a message. This means that you don't actually know what message you are sending until it is sent. Horrible. My new patch works AS YOU TYPE with the following rules: * You must be typing, not pasting in text. If you paste in the and there is a rule to correct the to the, it won't be corrected. This is because it would be impossible to go back and check all the text. * Check whole words ONLY. Partial words don't count. * If the dictionary word has capital letters in it, match only words with that capitalization. (FPT -> FTP doesn't match ftp.) * If the dictionary word doesn't have capital letters, preserve the capitalization the user used. (The code assumes three possible capitalization schemes: ALLCAPS, lowercase, and Proper.) Unless the solution has capital letters. In that case, force the capitalization used in the solution. * A word may have quote characters in it and still be a word. * If the user immediately hits the backspace key after a correction, undo the correction." --xkan " This patch is based off xkahn's work available at: http://sf.net/support/tracker.php?aid=300235 Most of the changes are his. I just changed his formatting to match the rest of Gaim more closely. Also, I made a couple coding style changes. The two biggest changes I made were: 1) I added some hash stuff to load_config. This removes duplicates. 2) I imported my list of text replacement strings as the default list in addition to xkahn's list. My list consisted primarily of the autocorrect entries from my copy of OpenOffice.org Writer. There were a few things I've added by hand. (For those familiar with my comments in #gaim, this list does NOT include anything like a pwn -> own replacement. If people want to talk like that, I'm not going to stop them. This list should be useful to anyone.) I also fixed a memory leak in load_config. A GtkListStore stores its own copy of strings, so there is no need to g_strdup them when appending to the GtkListStore. When I get a chance, I need to make it give an error if you try to set a duplicate "You type" word in the preferences. Otherwise, this patch should take care of everything. I would recommend considering this patch over xkahn's because it's a direct superset of his patches. However, I want to be very clear that most of the changes in this patch are his and he deserves the credit for them. " --rlaager committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 07 Apr 2005 14:35:25 +0000
parents c398f55ce5c7
children 993db24dae16
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4554
fbf9f873abfc [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
1 EXTRA_DIST = \
7960
0371ed7ed3ad [gaim-migrate @ 8637]
Nathan Walp <nwalp@pidgin.im>
parents: 7601
diff changeset
2 COPYRIGHT \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
3 Doxyfile.in \
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
4 gaim.pc.in \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
5 gaim.spec.in \
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents: 9364
diff changeset
6 gaim.apspec.in \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
7 gaim.desktop \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
8 gaim2blt.pl \
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 \
6246
2cb2a49f4bbe [gaim-migrate @ 6740]
Mark Doliner <mark@kingant.net>
parents: 6198
diff changeset
11 PROGRAMMING_NOTES \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
12 licq2gaim.pl \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
13 setup-gettext \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
14 ChangeLog.win32 \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
15 config.h.mingw \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
16 Makefile.mingw \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
17 README.mingw \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
18 VERSION \
9137
63565de253af [gaim-migrate @ 9921]
Christian Hammond <chipx86@chipx86.com>
parents: 9099
diff changeset
19 VERSION.in \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
20 plugins/win32/transparency/Makefile.mingw \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
21 plugins/win32/transparency/win2ktrans.c \
6411
0d0bdf0bf6d2 [gaim-migrate @ 6917]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6246
diff changeset
22 plugins/win32/winprefs/gtkappbar.c \
0d0bdf0bf6d2 [gaim-migrate @ 6917]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6246
diff changeset
23 plugins/win32/winprefs/gtkappbar.h \
6198
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
24 plugins/win32/winprefs/Makefile.mingw \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
25 plugins/win32/winprefs/winprefs.c \
fcc28f5dd0c8 [gaim-migrate @ 6684]
Herman Bloggs <hermanator12002@yahoo.com>
parents: 6187
diff changeset
26 po/Makefile.mingw
0
a5ace2e037bc Tailorization
Tailor Script <tailor@pidgin.im>
parents:
diff changeset
27
9364
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
28 gaimincludedir=$(includedir)/gaim
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
29 gaiminclude_HEADERS = config.h
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
30
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
31 pkgconfigdir = $(libdir)/pkgconfig
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
32 pkgconfig_DATA = gaim.pc
63f07fa577eb [gaim-migrate @ 10172]
Ethan Blanton <elb@pidgin.im>
parents: 9137
diff changeset
33
3449
8c6950b6eb82 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
34 dist-hook: gaim.spec
8c6950b6eb82 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
35 cp gaim.spec $(distdir)
8c6950b6eb82 [gaim-migrate @ 3493]
Christian Hammond <chipx86@chipx86.com>
parents: 3439
diff changeset
36
6701
b7e113a59b51 [gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents: 6596
diff changeset
37 distcheck-hook: plugins/perl/common/Gaim.pm
b7e113a59b51 [gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents: 6596
diff changeset
38 # cp plugins/perl/common/Gaim.pm $(distdir)/plugins/perl/common
b7e113a59b51 [gaim-migrate @ 7227]
Christian Hammond <chipx86@chipx86.com>
parents: 6596
diff changeset
39
5253
2c9de5ae24a0 [gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents: 4564
diff changeset
40 appsdir = $(datadir)/applications
2c9de5ae24a0 [gaim-migrate @ 5625]
Christian Hammond <chipx86@chipx86.com>
parents: 4564
diff changeset
41 apps_DATA = gaim.desktop
327
5dbb426d61c2 [gaim-migrate @ 337]
Rob Flynn <gaim@robflynn.com>
parents: 326
diff changeset
42
8916
2c33a94a6ac2 [gaim-migrate @ 9686]
Nathan Walp <nwalp@pidgin.im>
parents: 7960
diff changeset
43 SUBDIRS = doc intl pixmaps plugins po sounds src
4554
fbf9f873abfc [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
44
6596
dcb336f3d9a6 [gaim-migrate @ 7120]
Christian Hammond <chipx86@chipx86.com>
parents: 6411
diff changeset
45 docs: Doxyfile
4554
fbf9f873abfc [gaim-migrate @ 4834]
Christian Hammond <chipx86@chipx86.com>
parents: 3726
diff changeset
46 @doxygen