Mercurial > pidgin
annotate src/protocols/zephyr/ZCmpUIDP.c @ 5129:c19cc54f4df6
[gaim-migrate @ 5492]
Stuff I did (in order from most important to least):
-Made set away message and set profile count the number of bytes
rather than the number of characters. This fixes the lack of a
warning dialog when setting info that needs an encoding other than
ascii or iso8859-1. (Because "hi" in UCS-2BE is 4 bytes but "hi"
in utf8 is only 2.)
-Created an oscar_encoding_to_utf8 function to convert from a given
encoding to utf8. This is AIM/ICQ specific.
-Added a "Profile:" and "Away Message:" line to the get info response
window. Is it better this way or without it? I thought it would be
good if there was a way for users to tell which text was the away
message and which was the info, but I also think this solution could
be nicer looking.
-Added a little check for some server icon stuff because someone
reported an obscure crash.
-Shuffled some stuff around in oscar.c
-Bouldered on the little wall outside of the gym today. It's much
more difficult than climbing inside. I think my forearms are just
a bit too weak. The holds are tiny, though.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Mon, 14 Apr 2003 04:52:42 +0000 |
| parents | 424a40f12a6c |
| children | 43d6c08d7e96 |
| rev | line source |
|---|---|
| 2086 | 1 /* This file is part of the Project Athena Zephyr Notification System. |
| 2 * It contains source for the ZCompareUIDPred function. | |
| 3 * | |
| 4 * Created by: Robert French | |
| 5 * | |
| 6 * $Source$ | |
| 7 * $Author: warmenhoven $ | |
| 8 * | |
| 9 * Copyright (c) 1987 by the Massachusetts Institute of Technology. | |
| 10 * For copying and distribution information, see the file | |
| 11 * "mit-copyright.h". | |
| 12 */ | |
| 13 /* $Header$ */ | |
| 14 | |
| 15 #ifndef lint | |
| 16 static char rcsid_ZCompareUIDPred_c[] = "$Header$"; | |
| 17 #endif | |
| 18 | |
| 19 #include <internal.h> | |
| 20 | |
| 21 int ZCompareUIDPred(notice, uid) | |
| 22 ZNotice_t *notice; | |
| 23 void *uid; | |
| 24 { | |
| 25 return (ZCompareUID(¬ice->z_uid, (ZUnique_Id_t *) uid)); | |
| 26 } | |
| 27 | |
| 28 int ZCompareMultiUIDPred(notice, uid) | |
| 29 ZNotice_t *notice; | |
| 30 void *uid; | |
| 31 { | |
| 32 return (ZCompareUID(¬ice->z_multiuid, (ZUnique_Id_t *) uid)); | |
| 33 } |
