From: I. <air...@us...> - 2003-10-31 17:33:56
|
Ok, I fixed some bugs with hashing we had yesterday (basically the SHA1C or SHA1D is not a good hash function, as it can have "/" or strange symbols on it). Sorry for any problems it could cause. Now I use a md5 hashing function. Anyways, we can change the hashing function very easily, it's all done in proc ::MSNP2P::GetFilenameFromMSNOBJ. Right now it request new pictures, and caches them. It won't show the picture box on the chat window if the user doesn't have a picture (what a waste of space :D). If a user changes picture while it's in use in a chat window, it will update it in all windows. I think there are some bugs, we will find and fix them ;) For the moment, I don't remove old pictures (after a user changes its picture). They are only about 10k, so shouldn't be too much. I think we could work some day on a picture browser, so you can see thumbnails of all pictures in ~/.amsn/profile/displaypics, and use any of them as your display picture, remove them, purge by date, or similar... I removed the if {$config(getdisplaypic)} condition, because some people updated from CVS yesterday, and they had that setting set to "0", and it can't be changed from preferences, so they won't get display pictures even if it's working. We can add it later :) By the way, some friends of mine are getting this error, I think it's due to the 64bit integer used in the protocol. What are this integers for? Really big number :D. The error is: integer value too large to represent integer value too large to represent while executing "expr $word % 4294967296" (procedure "binword" line 3) invoked from within "binword $Offset" (procedure "MakePacket" What can we do about this? I guess if we need 64bit integers, but tcl/tk 8.3 can't manage them... then we have a problem. Greets. Alvaro. Greets. Alvaro. -- (================================) Alvaro J. Iradier Muro air...@us... |