annotate .cvsignore @ 12360:3153661f4d5c

[gaim-migrate @ 14664] Faceprint is concerned about 2 things: 1)some of the random colors are very close together. as best we can tell, there are two ways to fix this 1a) for each proposed color, iterate the entire list of selected colors, looking to ensure that it is not too close to any of them. this is an O(n^2) operation, with n >= 220 (the current number of colors we look for) 1b) iterate the entire set of possible colors, skipping ahead by some guess (rather than iterating by 1). this is an O(n^3) operation, where n is 65535/(whatever we skip ahead by). This is not only a more expensive operation, but because of the nature of the color list, it is not _necessarily_ going to yield more predictable results, skipping ahead 5 (or any other number) does not necessarily guarantee that you've skipped 5 very similar colors. 2) as you can see, either solution to #1 is potentially a resource hog. #1a is a random delay, #1b is inherently expensive. How often #1a will exceed the bound #1b, if ever, is unknown. rather than doing either of these, we settled on a middle course: a .h file has been created containing a set of colors. currently the set we were previously hard coded to. Gaim will search that list for usable colors and start randomly looking only if that list does not contain sufficient usable colors. ideally this list would be generated to have colors that are known to be a "safe" distance appart, that is colors that you can tell appart. and Ideally it would have a (small) multiple of the number of colors we are searching for. This should ensure that IF we go to randomly searching, we need do so only for a few colors. Right now I have no good way to generate a "safe" list of colors though. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Mon, 05 Dec 2005 21:46:47 +0000
parents b0ad08e1d492
children 5adc0c9da9f3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1893
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
1 config.h
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
2 libtool
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
3 config.status
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
4 intl
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
5 ABOUT-NLS
5048
cb320b74a0dd [gaim-migrate @ 5396]
Luke Schierer <lschiere@pidgin.im>
parents: 4704
diff changeset
6 compile
1893
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
7 config.guess
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
8 config.sub
4558
d22814243d13 [gaim-migrate @ 4839]
Christian Hammond <chipx86@chipx86.com>
parents: 4427
diff changeset
9 Doxyfile
1893
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
10 ltconfig
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
11 ltmain.sh
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
12 install-sh
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
13 missing
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
14 aclocal.m4
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
15 configure
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
16 config.h.in
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
17 stamp-h.in
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
18 Makefile.in
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
19 config.log
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
20 config.cache
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
21 Makefile
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
22 stamp-h
3b956bf94751 [gaim-migrate @ 1903]
Rob Flynn <gaim@robflynn.com>
parents:
diff changeset
23 gaim.spec
2168
74947d32d3c6 [gaim-migrate @ 2178]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1894
diff changeset
24 depcomp
74947d32d3c6 [gaim-migrate @ 2178]
Eric Warmenhoven <eric@warmenhoven.org>
parents: 1894
diff changeset
25 stamp-h1
3358
092594c175ff [gaim-migrate @ 3377]
Christian Hammond <chipx86@chipx86.com>
parents: 3356
diff changeset
26 autom4te*.cache
3356
8647a5b37b5c [gaim-migrate @ 3375]
Christian Hammond <chipx86@chipx86.com>
parents: 3355
diff changeset
27 configure.2.1x
3358
092594c175ff [gaim-migrate @ 3377]
Christian Hammond <chipx86@chipx86.com>
parents: 3356
diff changeset
28 confdefs.h
092594c175ff [gaim-migrate @ 3377]
Christian Hammond <chipx86@chipx86.com>
parents: 3356
diff changeset
29 *.swp
3702
d82147d95f6b [gaim-migrate @ 3833]
Rob Flynn <gaim@robflynn.com>
parents: 3358
diff changeset
30 win32-install-dir
3703
286e44e665e1 [gaim-migrate @ 3834]
Rob Flynn <gaim@robflynn.com>
parents: 3702
diff changeset
31 .temp-gettextize
9365
f61c37936a41 [gaim-migrate @ 10173]
Ethan Blanton <elb@pidgin.im>
parents: 9138
diff changeset
32 gaim.pc
10362
c398f55ce5c7 [gaim-migrate @ 11580]
Tim Ringenbach <marv@pidgin.im>
parents: 9365
diff changeset
33 *.apspec