<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1314</id>
	<title>Nabble - Gaim - Patches</title>
	<updated>2007-04-18T07:48:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gaim---Patches-f1314.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gaim---Patches-f1314.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-10059108</id>
	<title>[Gaim-patches] [ gaim-Patches-1692595 ] most prioritized buddy in expanded contact sign off weirdnes</title>
	<published>2007-04-18T07:48:27Z</published>
	<updated>2007-04-18T07:48:27Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1692595, was opened at 2007-04-01 18:07
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Later
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: most prioritized buddy in expanded contact sign off weirdnes
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;... because the contact priority is not always invalidated when the blist is updated. I removed the ui update in notify_buddy_status_update() because it doesn't recompute the priority and because the only call path for that function already updates the blist
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-18 08:48
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This has been moved to Trac, right?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by DB2 Express
&lt;br&gt;Download DB2 Express C - the FREE version of DB2 express and take
&lt;br&gt;control of your XML. No limits. Just data. Click to get it now.
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/powerbar/db2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/powerbar/db2/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10059108&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1692595---most-prioritized-buddy-in-expanded-contact-sign-off-weirdnes-tp10059108p10059108.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-10059082</id>
	<title>[Gaim-patches] [ gaim-Patches-1413778 ] Conversation: confirm before close unread tabs</title>
	<published>2007-04-18T07:47:14Z</published>
	<updated>2007-04-18T07:47:14Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1413778, was opened at 2006-01-24 09:49
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1413778&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1413778&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 4
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Sadrul Habib Chowdhury (sadrul)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Conversation: confirm before close unread tabs
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This patch requests confirmation before closing tabs 
&lt;br&gt;with unread messages (from `Close other tabs' or `close 
&lt;br&gt;all tabs')
&lt;br&gt;&lt;br&gt;It also makes the gtkconv the handle for the notify/
&lt;br&gt;request dialogs, which I think makes more sense.
&lt;br&gt;&lt;br&gt;-- Adil
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-18 08:47
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;sadrul: If you can deal with my one objection here, you should totally
&lt;br&gt;commit this (but maybe post-2.0.0 for string freeze reasons). Otherwise,
&lt;br&gt;could you please move this to Trac?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2006-02-07 01:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;&lt;br&gt;If I close a window, I don't want to see more than one 
&lt;br&gt;confirmation dialog. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Sadrul Habib Chowdhury (sadrul)
&lt;br&gt;Date: 2006-02-07 00:55
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1132702
&lt;br&gt;&lt;br&gt;The existing confirmation dialog comes up only when you
&lt;br&gt;close the whole window, but doesn't popup when you do `Close
&lt;br&gt;other tabs' or `close this tab', or [accidentally] click on
&lt;br&gt;the [x]. And the existing dialog is modal.
&lt;br&gt;&lt;br&gt;I have attached a new patch which removes the existing
&lt;br&gt;dialog, and uses the new dialogs. The result is, a popup
&lt;br&gt;will appear for each tab with unread messages, and the tabs
&lt;br&gt;with no unread messages will be closed. This behaviour is
&lt;br&gt;different from the existing behaviour (currently it doesn't
&lt;br&gt;close any tab).
&lt;br&gt;&lt;br&gt;I am unable to decide whether this would confuse users.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2006-02-06 20:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;&lt;br&gt;I accepted the gtkconv handle portion of this patch. &amp;nbsp;
&lt;br&gt;Thanks. &amp;nbsp;
&lt;br&gt;&amp;nbsp; 
&lt;br&gt;As for the confirmation dialog.... We already have code to &amp;nbsp;
&lt;br&gt;build a confirmation window when you try to close the 
&lt;br&gt;window and one of the tabs has unread messages. I'd like to 
&lt;br&gt;see this new dialog be more connsisten with that. The code 
&lt;br&gt;should probably be reworked a bit so there isn't 
&lt;br&gt;duplication. Let me know if that sounds stupid. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1413778&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1413778&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by DB2 Express
&lt;br&gt;Download DB2 Express C - the FREE version of DB2 express and take
&lt;br&gt;control of your XML. No limits. Just data. Click to get it now.
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/powerbar/db2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/powerbar/db2/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10059082&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1413778---Conversation%3A-confirm-before-close-unread-tabs-tp10059082p10059082.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-10059065</id>
	<title>[Gaim-patches] [ gaim-Patches-1575202 ] Consistent docklet statuses</title>
	<published>2007-04-18T07:46:09Z</published>
	<updated>2007-04-18T07:46:09Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1575202, was opened at 2006-10-11 06:45
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1575202&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1575202&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 9
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Richard Nelson (wabz)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: Consistent docklet statuses
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This brings the docklet status list in line with the
&lt;br&gt;status selector - when only accounts of one protocol
&lt;br&gt;type are online, show that protocol's statuses.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-18 08:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;wabz: You're a developer now. ;) If this makes sense, you should commit it
&lt;br&gt;to the Pidgin tree.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2006-11-19 01:08
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Sean, can you take a look at this please?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Nelson (wabz)
&lt;br&gt;Date: 2006-10-19 07:31
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=698726
&lt;br&gt;&lt;br&gt;Even after the changes to the statusbox for b4, choosing a
&lt;br&gt;per-protocol primitive status from the docklet didn't make
&lt;br&gt;the statusbox reflect the change. This is because
&lt;br&gt;gaim_account_set_status does not update a saved status, or
&lt;br&gt;create a new one.
&lt;br&gt;&lt;br&gt;I considered making gaim_account_set_status do Something
&lt;br&gt;Smart, but decided it's really impossible to find out what
&lt;br&gt;whatever is calling it really wants - is it trying to set
&lt;br&gt;all accounts to a primitive status? Does it want a new one?
&lt;br&gt;I think whatever is calling it should be aware that it's not
&lt;br&gt;going to change the default status, and the statusbox isn't
&lt;br&gt;going to update.
&lt;br&gt;&lt;br&gt;So, I made the docklet do what the statusbox currently does,
&lt;br&gt;which is to find or create an appropriate saved status, and
&lt;br&gt;set that (and woah, the statusbox now updates correctly ;).
&lt;br&gt;This involved moving a bunch of code around. I've tested it
&lt;br&gt;with several protocol combinations, single protocol,
&lt;br&gt;changing the status from &amp;lt;wherever&amp;gt;, it _appears_ to work
&lt;br&gt;okay :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1575202&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1575202&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by DB2 Express
&lt;br&gt;Download DB2 Express C - the FREE version of DB2 express and take
&lt;br&gt;control of your XML. No limits. Just data. Click to get it now.
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/powerbar/db2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/powerbar/db2/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=10059065&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1575202---Consistent-docklet-statuses-tp10059065p10059065.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9996683</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-14T14:16:14Z</published>
	<updated>2007-04-14T14:16:14Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-24 22:36
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Later
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-14 15:16
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Moved to: &lt;a href=&quot;http://developer.pidgin.im/ticket/148&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.pidgin.im/ticket/148&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-04-09 19:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I remember he said that he had planned to merge it in once 2.0.0 is out
&lt;br&gt;the door. 2 students also said they were going to file SoC applications on
&lt;br&gt;this, so that may or may not change his plan depending if those
&lt;br&gt;applications are accepted.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-09 18:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm commenting here for the record. khc: Have you talked to Sean yet about
&lt;br&gt;any MSNP?? branch he may have? I'd love to see this in a Monotone branch
&lt;br&gt;now that we're public with that.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 03:37
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 03:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-01 16:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 04:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 01:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-15 22:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 14:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 01:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 05:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 01:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 01:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 10:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 12:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 05:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 05:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 04:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 04:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 01:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 01:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-29 20:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 09:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 09:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 08:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 05:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 05:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 17:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 16:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 13:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 12:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 11:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by DB2 Express
&lt;br&gt;Download DB2 Express C - the FREE version of DB2 express and take
&lt;br&gt;control of your XML. No limits. Just data. Click to get it now.
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/powerbar/db2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/powerbar/db2/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9996683&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9996683p9996683.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9996018</id>
	<title>[Gaim-patches] [ gaim-Patches-1668681 ] Close bug #1121620 and fix some Bi-Directional text issues</title>
	<published>2007-04-14T12:57:01Z</published>
	<updated>2007-04-14T12:57:01Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1668681, was opened at 2007-02-25 20:23
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Accepted
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Shlomi Loubaton (shlomil)
&lt;br&gt;Assigned to: Ethan Blanton (eblanton)
&lt;br&gt;Summary: Close bug #1121620 and fix some Bi-Directional text issues
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;In this patch I implemented the following:
&lt;br&gt;&lt;br&gt;* Added a support for tag in the parser of the IMHtml Widget. (AFAIK this HTML tag is deprecated, but most browsers implement it and it beats coding CSS support)
&lt;br&gt;&lt;br&gt;* Added text direction detection to outgoing messages and send it with the correct SPAN tag.
&lt;br&gt;&lt;br&gt;* Added support for the &amp;quot;FN=1&amp;quot; flag in Messanger protocol implementation, both in sending and receiving messages (bug #1121620).
&lt;br&gt;&lt;br&gt;* Fixed some display issues: Insert RLM and RLE unicode characters to the conversation display according to the expected alignment and direction.
&lt;br&gt;&lt;br&gt;For more information about this patch and screenshots:
&lt;br&gt;&lt;a href=&quot;http://shlomil.blogspot.com/2007/02/patch-to-fix-some-bidi-text-issues-in.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://shlomil.blogspot.com/2007/02/patch-to-fix-some-bidi-text-issues-in.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-14 13:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This was moved to Trac and has been committed.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-04-05 17:49
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;4th version of the patch:
&lt;br&gt;The problem mentioned in my previous comment with ICQ plug-in was fixed.
&lt;br&gt;The function gaim_unescape_html() was used (oscar.c:4288) to strip HTML
&lt;br&gt;tags before sending ch2 messages.
&lt;br&gt;Doing that, of course, did not work so I changed it to use
&lt;br&gt;gaim_markup_strip_html() .
&lt;br&gt;&lt;br&gt;File Added: shlomi-bidi4.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-24 11:41
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I investigated implementing the same fix for ICQ protocol only to realized
&lt;br&gt;that it's impossible at least until the ability to send &amp;quot;channel 2&amp;quot;
&lt;br&gt;messages is implemented in Gaim (AKA the 4 years old feature request
&lt;br&gt;#787993). I guess that it's a heavy task since it requires implementing
&lt;br&gt;basic RTF parsing abilities. After we have such ability - it's only a
&lt;br&gt;matter of sending the message with this RTF prefix: '\pard\rtlpar\qr'.
&lt;br&gt;&lt;br&gt;Unfortunately, I also found a problem with the patch - sending a RTL
&lt;br&gt;message to ICQ user will send embedded SPAN tags in the message. Seems like
&lt;br&gt;ICQ's implementation rely on the fact that the message formatting buttons
&lt;br&gt;are disabled when editing a message for ICQ and it doesn't strip the HTML
&lt;br&gt;before sending. This is a minor fix - I'll fix it soon and upload a 4th
&lt;br&gt;version for the patch. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-06 17:59
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;* Timestamps and Aliases are now encapsulated in their own LRE/RLE Unicode
&lt;br&gt;characters. 
&lt;br&gt;* screenshot of fixed timestamps in Gaim:
&lt;br&gt;&lt;a href=&quot;http://bp2.blogger.com/_40WxAMsyuJQ/Re36uN_jodI/AAAAAAAAAA8/UX592uVRwGk/s400/timestamps.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bp2.blogger.com/_40WxAMsyuJQ/Re36uN_jodI/AAAAAAAAAA8/UX592uVRwGk/s400/timestamps.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;Code just got a little more complicated but works great.
&lt;br&gt;Maybe I should try to optimize it somehow. Suggestions/requests are
&lt;br&gt;welcomed.
&lt;br&gt;File Added: shlomi-bidi3.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-01 21:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Ok, thank you both. Note taken.
&lt;br&gt;I'll see what I can do about the timestamps.
&lt;br&gt;&lt;br&gt;Shlomil.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-03-01 20:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I agree with Sean. As you can see in your second screenshot, the
&lt;br&gt;timestamps don't line up. They should be on the right, with the name after
&lt;br&gt;them (on the left, since we're talking about RTL).
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-01 19:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Changes in shlomi-bidi2.patch:
&lt;br&gt;* The two spans were unified to a single span tag (as Etan suggested).
&lt;br&gt;* Now text properties are set by inline CSS attributes (&amp;lt;span
&lt;br&gt;style=&amp;quot;...&amp;quot;&amp;gt;) (also as Etan suggested).
&lt;br&gt;* Need for inline CSS parsing in MSN plug-in made this patch a little more
&lt;br&gt;complicated than the first one.
&lt;br&gt;* gtk_imhtml_get_css_opt() - Function was able to recognized only the
&lt;br&gt;first attribute - now fixed. (But this function is a mess and should be
&lt;br&gt;rewritten IMO)
&lt;br&gt;&lt;br&gt;Tested again talking to MSN Messenger and Gaim and it still works as
&lt;br&gt;expected. 
&lt;br&gt;&lt;br&gt;Shlomil.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Sean Egan (seanegan)
&lt;br&gt;Date: 2007-03-01 19:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=199625
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't speak an rtl language, but it seems like, in the second
&lt;br&gt;screenshot, you'd want the timestamp to be right-aligned, followed by the
&lt;br&gt;screenname, then the message. Like we do it in LTR.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-01 19:27
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: shlomi-bidi2.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-02-28 02:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;After a chat with Etan on IRC, I was suggested to unify the two span tags
&lt;br&gt;into one tag and add the alignment and direction attributes (deprecated
&lt;br&gt;HTML) as CSS properties.
&lt;br&gt;I'll do that and then resubmit my patch.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-02-27 16:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ethan, do you have time to look at this? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;This SF.net email is sponsored by DB2 Express
&lt;br&gt;Download DB2 Express C - the FREE version of DB2 express and take
&lt;br&gt;control of your XML. No limits. Just data. Click to get it now.
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/powerbar/db2/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/powerbar/db2/&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9996018&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1668681---Close-bug--1121620-and-fix-some-Bi-Directional-text-issues-tp9996018p9996018.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9961777</id>
	<title>[Gaim-patches] [ gaim-Patches-1693706 ] Fix missing buddy icons and custom emoticons on MSN</title>
	<published>2007-04-12T09:29:11Z</published>
	<updated>2007-04-12T09:29:11Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1693706, was opened at 2007-04-03 11:22
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Simo Mattila (simom)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Fix missing buddy icons and custom emoticons on MSN
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Newer Live Messenger -versions doesn't always send SHA1C-field in msnobj's and so Gaim discards them. This patch accepts them even if SHA1C is missing, and use SHA1D as icon checksum instead of SHA1C.
&lt;br&gt;Fixes bug #1675659.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-12 11:29
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Thank you
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-12 11:12
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Continued in &lt;a href=&quot;http://developer.pidgin.im/ticket/113&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.pidgin.im/ticket/113&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Daniel Atallah (datallah)
&lt;br&gt;Date: 2007-04-08 21:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=325843
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This will cause all the existing icon checksums to be incorrect.
&lt;br&gt;&lt;br&gt;I think this should be redone using SHA1D as a fallback instead of the
&lt;br&gt;default.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9961777&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1693706---Fix-missing-buddy-icons-and-custom-emoticons-on-MSN-tp9961777p9961777.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9961454</id>
	<title>[Gaim-patches] [ gaim-Patches-1693706 ] Fix missing buddy icons and custom emoticons on MSN</title>
	<published>2007-04-12T09:12:32Z</published>
	<updated>2007-04-12T09:12:32Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1693706, was opened at 2007-04-03 18:22
&lt;br&gt;Message generated for change (Comment added) made by simom
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Simo Mattila (simom)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Fix missing buddy icons and custom emoticons on MSN
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Newer Live Messenger -versions doesn't always send SHA1C-field in msnobj's and so Gaim discards them. This patch accepts them even if SHA1C is missing, and use SHA1D as icon checksum instead of SHA1C.
&lt;br&gt;Fixes bug #1675659.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-12 18:12
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Continued in &lt;a href=&quot;http://developer.pidgin.im/ticket/113&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://developer.pidgin.im/ticket/113&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Daniel Atallah (datallah)
&lt;br&gt;Date: 2007-04-09 04:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=325843
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This will cause all the existing icon checksums to be incorrect.
&lt;br&gt;&lt;br&gt;I think this should be redone using SHA1D as a fallback instead of the
&lt;br&gt;default.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9961454&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1693706---Fix-missing-buddy-icons-and-custom-emoticons-on-MSN-tp9961454p9961454.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9949766</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T16:31:58Z</published>
	<updated>2007-04-11T16:31:58Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 17:01
&lt;br&gt;Message generated for change (Comment added) made by ascheinberg
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;Status: Deleted
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Date: 2007-04-11 18:31
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1355657
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;No caching proxy, and no, I did not receive it today. &amp;nbsp;Just yesterday. &amp;nbsp;
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-11 17:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Also, do you access the internet though some kind of caching proxy server?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stu Tomlinson (nosnilmot)
&lt;br&gt;Date: 2007-04-11 17:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=309779
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;When did you last get this misleading message from the release
&lt;br&gt;notification plugin? I fixed the problem yesterday.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Date: 2007-04-11 17:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1355657
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Laziness? Your Trac site doesn't appear to allow me to post &amp;quot;bugs.&amp;quot; Your
&lt;br&gt;sourceforge site no longer has a link for bugs. &amp;nbsp;Your Trac site docs have
&lt;br&gt;not been updated AT ALL, and still point to default Trac configuration
&lt;br&gt;documents. 
&lt;br&gt;&lt;br&gt;You may have &amp;quot;taken pity&amp;quot; on me for posting here, but it's certainly not
&lt;br&gt;for lack of trying!!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-04-11 17:06
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is not a patch. &amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this once I'll take pity on your lazyness. &amp;nbsp;Our changes to the
&lt;br&gt;website have broken the very fragile release notification plugin. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9949766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9949766p9949766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9948824</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T15:33:18Z</published>
	<updated>2007-04-11T15:33:18Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 17:01
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;Status: Deleted
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-11 17:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Also, do you access the internet though some kind of caching proxy server?
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Stu Tomlinson (nosnilmot)
&lt;br&gt;Date: 2007-04-11 17:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=309779
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;When did you last get this misleading message from the release
&lt;br&gt;notification plugin? I fixed the problem yesterday.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Date: 2007-04-11 17:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1355657
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Laziness? Your Trac site doesn't appear to allow me to post &amp;quot;bugs.&amp;quot; Your
&lt;br&gt;sourceforge site no longer has a link for bugs. &amp;nbsp;Your Trac site docs have
&lt;br&gt;not been updated AT ALL, and still point to default Trac configuration
&lt;br&gt;documents. 
&lt;br&gt;&lt;br&gt;You may have &amp;quot;taken pity&amp;quot; on me for posting here, but it's certainly not
&lt;br&gt;for lack of trying!!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-04-11 17:06
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is not a patch. &amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this once I'll take pity on your lazyness. &amp;nbsp;Our changes to the
&lt;br&gt;website have broken the very fragile release notification plugin. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9948824&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9948824p9948824.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9948606</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T15:19:37Z</published>
	<updated>2007-04-11T15:19:37Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 16:01
&lt;br&gt;Message generated for change (Comment added) made by nosnilmot
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;Status: Deleted
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Stu Tomlinson (nosnilmot)
&lt;br&gt;Date: 2007-04-11 16:19
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=309779
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;When did you last get this misleading message from the release
&lt;br&gt;notification plugin? I fixed the problem yesterday.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Date: 2007-04-11 16:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1355657
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Laziness? Your Trac site doesn't appear to allow me to post &amp;quot;bugs.&amp;quot; Your
&lt;br&gt;sourceforge site no longer has a link for bugs. &amp;nbsp;Your Trac site docs have
&lt;br&gt;not been updated AT ALL, and still point to default Trac configuration
&lt;br&gt;documents. 
&lt;br&gt;&lt;br&gt;You may have &amp;quot;taken pity&amp;quot; on me for posting here, but it's certainly not
&lt;br&gt;for lack of trying!!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-04-11 16:06
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is not a patch. &amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this once I'll take pity on your lazyness. &amp;nbsp;Our changes to the
&lt;br&gt;website have broken the very fragile release notification plugin. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9948606&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9948606p9948606.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9948435</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T15:09:54Z</published>
	<updated>2007-04-11T15:09:54Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 17:01
&lt;br&gt;Message generated for change (Comment added) made by ascheinberg
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;Status: Deleted
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Date: 2007-04-11 17:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1355657
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Laziness? Your Trac site doesn't appear to allow me to post &amp;quot;bugs.&amp;quot; Your
&lt;br&gt;sourceforge site no longer has a link for bugs. &amp;nbsp;Your Trac site docs have
&lt;br&gt;not been updated AT ALL, and still point to default Trac configuration
&lt;br&gt;documents. 
&lt;br&gt;&lt;br&gt;You may have &amp;quot;taken pity&amp;quot; on me for posting here, but it's certainly not
&lt;br&gt;for lack of trying!!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-04-11 17:06
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is not a patch. &amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this once I'll take pity on your lazyness. &amp;nbsp;Our changes to the
&lt;br&gt;website have broken the very fragile release notification plugin. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9948435&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9948435p9948435.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9948388</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T15:06:44Z</published>
	<updated>2007-04-11T15:06:44Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 17:01
&lt;br&gt;Message generated for change (Comment added) made by lschiere
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Deleted
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-04-11 17:06
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is not a patch. &amp;nbsp;
&lt;br&gt;&lt;br&gt;However, this once I'll take pity on your lazyness. &amp;nbsp;Our changes to the
&lt;br&gt;website have broken the very fragile release notification plugin. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9948388&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9948388p9948388.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9948281</id>
	<title>[Gaim-patches] [ gaim-Patches-1698779 ] Upgrade not available</title>
	<published>2007-04-11T15:01:10Z</published>
	<updated>2007-04-11T15:01:10Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1698779, was opened at 2007-04-11 17:01
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: newfeature
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Adam Scheinberg (ascheinberg)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Upgrade not available
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Hello, I am using Gaim 2.0.0 beta 6, which appears to be the most current version. &amp;nbsp;Gaim is telling me to upgrade to 2.0.0 final, and directing me to this site: 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.pidgin.im/version.php?version=2.0.0beta6&amp;build=gaim-win32&lt;/a&gt;&lt;br&gt;&lt;br&gt;There is nothing here. &amp;nbsp;Is something going on here? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1698779&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9948281&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1698779---Upgrade-not-available-tp9948281p9948281.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9911766</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-09T18:09:39Z</published>
	<updated>2007-04-09T18:09:39Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-25 04:36
&lt;br&gt;Message generated for change (Comment added) made by bsponline
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-04-10 01:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I remember he said that he had planned to merge it in once 2.0.0 is out
&lt;br&gt;the door. 2 students also said they were going to file SoC applications on
&lt;br&gt;this, so that may or may not change his plan depending if those
&lt;br&gt;applications are accepted.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-10 00:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm commenting here for the record. khc: Have you talked to Sean yet about
&lt;br&gt;any MSNP?? branch he may have? I'd love to see this in a Monotone branch
&lt;br&gt;now that we're public with that.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 09:37
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 09:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-01 22:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 09:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 06:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 03:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 20:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 07:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 11:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 07:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 07:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 16:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 18:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 02:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 14:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 23:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 22:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 19:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 18:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 17:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9911766&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9911766p9911766.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9911138</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-09T17:02:22Z</published>
	<updated>2007-04-09T17:02:22Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-24 22:36
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-09 18:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm commenting here for the record. khc: Have you talked to Sean yet about
&lt;br&gt;any MSNP?? branch he may have? I'd love to see this in a Monotone branch
&lt;br&gt;now that we're public with that.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 03:37
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 03:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-01 16:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 04:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 01:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-15 22:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 14:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 01:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 05:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 01:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 01:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 10:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 12:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 05:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 05:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 04:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 04:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 01:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 01:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-29 20:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 09:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 09:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 08:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 05:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 05:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 17:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 16:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 13:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 12:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 11:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9911138&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9911138p9911138.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9899647</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-09T02:37:55Z</published>
	<updated>2007-04-09T02:37:55Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-25 04:36
&lt;br&gt;Message generated for change (Comment added) made by jason_syu
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 08:37
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 08:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-01 21:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 09:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 06:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 03:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 20:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 07:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 11:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 07:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 07:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 16:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 18:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 02:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 14:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 23:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 22:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 19:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 18:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 17:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9899647&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9899647p9899647.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9899638</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-09T02:36:20Z</published>
	<updated>2007-04-09T02:36:20Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-25 04:36
&lt;br&gt;Message generated for change (Comment added) made by jason_syu
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: J.S. (jason_syu)
&lt;br&gt;Date: 2007-04-09 08:36
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1760749
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;In function msn_session_sync_users() in file session.c, gaim will throw
&lt;br&gt;SEGFAULT caused by
&lt;br&gt;removing element from the list while iterating the list.
&lt;br&gt;&lt;br&gt;Iterating here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; for(bnode = cnode-&amp;gt;child; bnode; bnode = bnode-&amp;gt;next) {
&lt;br&gt;&lt;br&gt;Removing here:
&lt;br&gt;&amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp;msn_show_sync_issue(session, b-&amp;gt;name, group_name); // bnode may be
&lt;br&gt;removed in this function
&lt;br&gt;&lt;br&gt;So iterating code can be changed to:
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;&amp;nbsp; &amp;nbsp; bnode = cnode-&amp;gt;child;
&lt;br&gt;&amp;nbsp; &amp;nbsp; while(bnode != NULL) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; tnode = bnode-&amp;gt;next;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; ....
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; bnode = tnode;
&lt;br&gt;&amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; ...
&lt;br&gt;to avoid using the data structure of removed element.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-01 21:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 09:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 06:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 03:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 20:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 07:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 11:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 07:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 07:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 16:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 18:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 11:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 10:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 07:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 02:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 15:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 14:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 11:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 23:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 22:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 19:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 18:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 17:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9899638&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9899638p9899638.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9897374</id>
	<title>[Gaim-patches] [ gaim-Patches-1693706 ] Fix missing buddy icons and custom emoticons on MSN</title>
	<published>2007-04-08T19:21:22Z</published>
	<updated>2007-04-08T19:21:22Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1693706, was opened at 2007-04-03 10:22
&lt;br&gt;Message generated for change (Comment added) made by datallah
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Simo Mattila (simom)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Fix missing buddy icons and custom emoticons on MSN
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Newer Live Messenger -versions doesn't always send SHA1C-field in msnobj's and so Gaim discards them. This patch accepts them even if SHA1C is missing, and use SHA1D as icon checksum instead of SHA1C.
&lt;br&gt;Fixes bug #1675659.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Daniel Atallah (datallah)
&lt;br&gt;Date: 2007-04-08 20:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=325843
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This will cause all the existing icon checksums to be incorrect.
&lt;br&gt;&lt;br&gt;I think this should be redone using SHA1D as a fallback instead of the
&lt;br&gt;default.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9897374&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1693706---Fix-missing-buddy-icons-and-custom-emoticons-on-MSN-tp9897374p9897374.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9896601</id>
	<title>[Gaim-patches] [ gaim-Patches-1662169 ] Log Embeded Images</title>
	<published>2007-04-08T17:24:28Z</published>
	<updated>2007-04-08T17:24:28Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1662169, was opened at 2007-02-17 03:26
&lt;br&gt;Message generated for change (Comment added) made by rlaager
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: David Grohmann (dave1g)
&lt;br&gt;Assigned to: Richard Laager (rlaager)
&lt;br&gt;Summary: Log Embeded Images
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This might be aim specific, I'm not sure if the other protocols can do this. But in aim, you can send an image embedded in an IM. But in the logs it just comes out to be something like
&lt;br&gt;&lt;br&gt;(2:48:05 AM) Dave1g: &amp;lt;IMG ID=&amp;quot;1&amp;quot;&amp;gt;
&lt;br&gt;(2:48:14 AM) Dave1g: &amp;lt;IMG ID=&amp;quot;2&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;Deadaim used to log the sent images so I know its technically feasible.
&lt;br&gt;&lt;br&gt;Create &amp;nbsp;a folder in that log directory with the name date_images and src the images from there so when the html log is loaded in a web browser the images show up.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Perhaps this could be a summer of code 2007 project? There seems to be a lot of feature requests for how logging is done.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-04-08 18:24
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The Pidgin stuff is mostly done in the monotone repository. If you want to
&lt;br&gt;port the patch to that, it'd help me a lot. If you need any assistance from
&lt;br&gt;me, please feel free to IM me.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-04-07 20:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I have been busy, but I suppose I will put this on hold until the pigin
&lt;br&gt;stuff settles down. I imagine a lot of code changes are around the corner.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-21 02:58
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Thanks for the hint Richard! I will attempt to address your concerns. I
&lt;br&gt;must admit that most of my experience is with aim. And so I may need the
&lt;br&gt;input/help of others to make this patch useful to other protocols. It is
&lt;br&gt;not my intention to log smiley faces I wasn't aware of the custom ones you
&lt;br&gt;speak of on other protocols.
&lt;br&gt;&lt;br&gt;So as far as naming conventions go I was just going for something that was
&lt;br&gt;simple and had little chance of writing over another file. Wont have any
&lt;br&gt;time to work on this soon, but maybe this weekend. 
&lt;br&gt;&lt;br&gt;Glad you took notice of my work :-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-03-20 19:53
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I think you're on the right track. I do have some comments.
&lt;br&gt;&lt;br&gt;image_file_ptr = fopen(path, &amp;quot;w&amp;quot;);
&lt;br&gt;&lt;br&gt;You're writing binary data, not text. Change the &amp;quot;w&amp;quot; to &amp;quot;wb&amp;quot; instead.
&lt;br&gt;&lt;br&gt;Regarding this...
&lt;br&gt;fwrite(image_data, 1, image_byte_count, image_file_ptr);
&lt;br&gt;&lt;br&gt;To me, you're writing 1 image of a given size, not a number of 1 byte
&lt;br&gt;blocks ;) I'd change this to, which should still work:
&lt;br&gt;fwrite(image_data, image_byte_count, 1, image_file_ptr);
&lt;br&gt;&lt;br&gt;Please indent your code, and if variables are only used within a given
&lt;br&gt;block, please move the variable definitions there instead. For example:
&lt;br&gt;+if (imgid != 0)
&lt;br&gt;+{
&lt;br&gt;+gaim_imgstore_ref(imgid);
&lt;br&gt;+image = gaim_imgstore_get(imgid);
&lt;br&gt;+image_data = gaim_imgstore_get_data(image);
&lt;br&gt;+image_byte_count = &amp;nbsp;gaim_imgstore_get_size(image);
&lt;br&gt;+original_filename = gaim_imgstore_get_filename(image);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;You should be able to move the variable definitions to there instead of
&lt;br&gt;doing them at the top.
&lt;br&gt;&lt;br&gt;I'm not sure how much I like the idea of saving images with the date and
&lt;br&gt;original filename. I think maybe we should be saving them with a file hash
&lt;br&gt;instead. That way, if the same image is embedded multiple times or used
&lt;br&gt;across multiple conversations, we would only save one copy. This is
&lt;br&gt;important for MSN custom emoticons, for example. You should address the
&lt;br&gt;other concerns first, and then I can offer some guidance on making this
&lt;br&gt;change.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:53
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Well I have the patch almost working. The output file is slightly
&lt;br&gt;corrupted from the original. I cant figure out why that is happening.
&lt;br&gt;Perhaps another pair of eyes can point out the flaw. 
&lt;br&gt;&lt;br&gt;I compiled and tested this with svn from a couple days ago and on a cygwin
&lt;br&gt;windows xp installation. core 2 duo dell laptop.
&lt;br&gt;&lt;br&gt;Please if anyone else is interested in this, take a look at my patch and
&lt;br&gt;try to fix it.
&lt;br&gt;&lt;br&gt;P.S. the formatting isnt up to snuff, but it doesn't work so I wasn't
&lt;br&gt;worried about getting it committed yet.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: 2007-03-18.040726Central Daylight TimeCDT.html
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: 2007-03-18.040726_handdrawn copy.jpg
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: handdrawn copy.jpg
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: image_logging.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-16 00:50
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;well i got bored today, and am attempting to put my time where my mouth is
&lt;br&gt;and write a patch that logs images in aim
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: CWAL (cwal)
&lt;br&gt;Date: 2007-02-18 10:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1410499
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I would find this feature useful as well.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9896601&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1662169---Log-Embeded-Images-tp9896601p9896601.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9896284</id>
	<title>[Gaim-patches] [ gaim-Patches-1694728 ] plug 3 simple leaks</title>
	<published>2007-04-08T16:31:14Z</published>
	<updated>2007-04-08T16:31:14Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1694728, was opened at 2007-04-04 23:17
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Accepted
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Andrew Gaul (gaul)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: plug 3 simple leaks
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;==16165== 4,134 bytes in 1 blocks are definitely lost in loss record 231 of 267
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC98692: g_try_malloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC83BAA: g_file_get_contents (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4541864: yahoo_set_buddy_icon (yahoo_picture.c:540)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x453126C: yahoo_login (yahoo.c:2655)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x404C5D5: gaim_connection_new (connection.c:156)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x403D16D: gaim_account_connect (account.c:1000)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x403D453: gaim_accounts_restore_current_statuses (account.c:231
&lt;br&gt;6)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80ABAC0: main (gtkmain.c:797)
&lt;br&gt;&lt;br&gt;==29463== 148 bytes in 10 blocks are definitely lost in loss record 135 of 266
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC98875: g_malloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4467623: jabber_parser_element_start_libxml (parser.c:48)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4A55AB31: (within /usr/lib/libxml2.so.2.6.27)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4A5631BF: xmlParseChunk (in /usr/lib/libxml2.so.2.6.27)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4467A6E: jabber_parser_process (parser.c:190)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x445F486: jabber_recv_cb_ssl (jabber.c:382)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4085101: recv_cb (sslconn.c:138)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x809AFFA: gaim_gtk_io_invoke (gtkeventloop.c:77)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x80B3234: main (gtkmain.c:817)
&lt;br&gt;&lt;br&gt;==16165== 32 bytes in 1 blocks are definitely lost in loss record 70 of 267
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;at 0x40054FB: realloc (vg_replace_malloc.c:306)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC9873A: g_realloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCACF7B: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCAD4A2: g_string_insert_len (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCAD7F5: g_string_append_len (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC82BAB: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC82DAF: g_build_filename (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4044CAC: gaim_buddy_icons_get_full_path (buddyicon.c:520)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44CE133: gaim_ssi_parselist (oscar.c:4976)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44BF273: snachandler (family_feedbag.c:1331)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44C1E44: flap_connection_recv_cb (flap_connection.c:667)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80969C2: gaim_gtk_io_invoke (gtkeventloop.c:77)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80ABA97: main (gtkmain.c:817)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-08 18:31
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The Jabber memleak had already been fixed in Pidgin Monotone, but I
&lt;br&gt;applied the other two changes. &amp;nbsp;I love patches like this. &amp;nbsp;Thanks!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9896284&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1694728---plug-3-simple-leaks-tp9896284p9896284.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9889471</id>
	<title>[Gaim-patches] [ gaim-Patches-1662169 ] Log Embeded Images</title>
	<published>2007-04-07T19:57:44Z</published>
	<updated>2007-04-07T19:57:44Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1662169, was opened at 2007-02-17 03:26
&lt;br&gt;Message generated for change (Comment added) made by dave1g
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: David Grohmann (dave1g)
&lt;br&gt;Assigned to: Richard Laager (rlaager)
&lt;br&gt;Summary: Log Embeded Images
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This might be aim specific, I'm not sure if the other protocols can do this. But in aim, you can send an image embedded in an IM. But in the logs it just comes out to be something like
&lt;br&gt;&lt;br&gt;(2:48:05 AM) Dave1g: &amp;lt;IMG ID=&amp;quot;1&amp;quot;&amp;gt;
&lt;br&gt;(2:48:14 AM) Dave1g: &amp;lt;IMG ID=&amp;quot;2&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;Deadaim used to log the sent images so I know its technically feasible.
&lt;br&gt;&lt;br&gt;Create &amp;nbsp;a folder in that log directory with the name date_images and src the images from there so when the html log is loaded in a web browser the images show up.
&lt;br&gt;&lt;br&gt;&lt;br&gt;Perhaps this could be a summer of code 2007 project? There seems to be a lot of feature requests for how logging is done.
&lt;br&gt;&lt;br&gt;Thank you.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-04-07 20:57
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I have been busy, but I suppose I will put this on hold until the pigin
&lt;br&gt;stuff settles down. I imagine a lot of code changes are around the corner.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-21 02:58
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Thanks for the hint Richard! I will attempt to address your concerns. I
&lt;br&gt;must admit that most of my experience is with aim. And so I may need the
&lt;br&gt;input/help of others to make this patch useful to other protocols. It is
&lt;br&gt;not my intention to log smiley faces I wasn't aware of the custom ones you
&lt;br&gt;speak of on other protocols.
&lt;br&gt;&lt;br&gt;So as far as naming conventions go I was just going for something that was
&lt;br&gt;simple and had little chance of writing over another file. Wont have any
&lt;br&gt;time to work on this soon, but maybe this weekend. 
&lt;br&gt;&lt;br&gt;Glad you took notice of my work :-)
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-03-20 19:53
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I think you're on the right track. I do have some comments.
&lt;br&gt;&lt;br&gt;image_file_ptr = fopen(path, &amp;quot;w&amp;quot;);
&lt;br&gt;&lt;br&gt;You're writing binary data, not text. Change the &amp;quot;w&amp;quot; to &amp;quot;wb&amp;quot; instead.
&lt;br&gt;&lt;br&gt;Regarding this...
&lt;br&gt;fwrite(image_data, 1, image_byte_count, image_file_ptr);
&lt;br&gt;&lt;br&gt;To me, you're writing 1 image of a given size, not a number of 1 byte
&lt;br&gt;blocks ;) I'd change this to, which should still work:
&lt;br&gt;fwrite(image_data, image_byte_count, 1, image_file_ptr);
&lt;br&gt;&lt;br&gt;Please indent your code, and if variables are only used within a given
&lt;br&gt;block, please move the variable definitions there instead. For example:
&lt;br&gt;+if (imgid != 0)
&lt;br&gt;+{
&lt;br&gt;+gaim_imgstore_ref(imgid);
&lt;br&gt;+image = gaim_imgstore_get(imgid);
&lt;br&gt;+image_data = gaim_imgstore_get_data(image);
&lt;br&gt;+image_byte_count = &amp;nbsp;gaim_imgstore_get_size(image);
&lt;br&gt;+original_filename = gaim_imgstore_get_filename(image);
&lt;br&gt;...
&lt;br&gt;&lt;br&gt;You should be able to move the variable definitions to there instead of
&lt;br&gt;doing them at the top.
&lt;br&gt;&lt;br&gt;I'm not sure how much I like the idea of saving images with the date and
&lt;br&gt;original filename. I think maybe we should be saving them with a file hash
&lt;br&gt;instead. That way, if the same image is embedded multiple times or used
&lt;br&gt;across multiple conversations, we would only save one copy. This is
&lt;br&gt;important for MSN custom emoticons, for example. You should address the
&lt;br&gt;other concerns first, and then I can offer some guidance on making this
&lt;br&gt;change.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:53
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Well I have the patch almost working. The output file is slightly
&lt;br&gt;corrupted from the original. I cant figure out why that is happening.
&lt;br&gt;Perhaps another pair of eyes can point out the flaw. 
&lt;br&gt;&lt;br&gt;I compiled and tested this with svn from a couple days ago and on a cygwin
&lt;br&gt;windows xp installation. core 2 duo dell laptop.
&lt;br&gt;&lt;br&gt;Please if anyone else is interested in this, take a look at my patch and
&lt;br&gt;try to fix it.
&lt;br&gt;&lt;br&gt;P.S. the formatting isnt up to snuff, but it doesn't work so I wasn't
&lt;br&gt;worried about getting it committed yet.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: 2007-03-18.040726Central Daylight TimeCDT.html
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: 2007-03-18.040726_handdrawn copy.jpg
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: handdrawn copy.jpg
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-18 05:42
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: image_logging.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: David Grohmann (dave1g)
&lt;br&gt;Date: 2007-03-16 00:50
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1055565
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;well i got bored today, and am attempting to put my time where my mouth is
&lt;br&gt;and write a patch that logs images in aim
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: CWAL (cwal)
&lt;br&gt;Date: 2007-02-18 10:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1410499
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I would find this feature useful as well.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1662169&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9889471&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1662169---Log-Embeded-Images-tp9889471p9889471.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9865361</id>
	<title>[Gaim-patches] [ gaim-Patches-1668681 ] Close bug #1121620 and fix some Bi-Directional text issues</title>
	<published>2007-04-05T16:49:18Z</published>
	<updated>2007-04-05T16:49:18Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1668681, was opened at 2007-02-26 02:23
&lt;br&gt;Message generated for change (Comment added) made by shlomil
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Shlomi Loubaton (shlomil)
&lt;br&gt;Assigned to: Ethan Blanton (eblanton)
&lt;br&gt;Summary: Close bug #1121620 and fix some Bi-Directional text issues
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;In this patch I implemented the following:
&lt;br&gt;&lt;br&gt;* Added a support for tag in the parser of the IMHtml Widget. (AFAIK this HTML tag is deprecated, but most browsers implement it and it beats coding CSS support)
&lt;br&gt;&lt;br&gt;* Added text direction detection to outgoing messages and send it with the correct SPAN tag.
&lt;br&gt;&lt;br&gt;* Added support for the &amp;quot;FN=1&amp;quot; flag in Messanger protocol implementation, both in sending and receiving messages (bug #1121620).
&lt;br&gt;&lt;br&gt;* Fixed some display issues: Insert RLM and RLE unicode characters to the conversation display according to the expected alignment and direction.
&lt;br&gt;&lt;br&gt;For more information about this patch and screenshots:
&lt;br&gt;&lt;a href=&quot;http://shlomil.blogspot.com/2007/02/patch-to-fix-some-bidi-text-issues-in.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://shlomil.blogspot.com/2007/02/patch-to-fix-some-bidi-text-issues-in.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-04-05 22:49
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;4th version of the patch:
&lt;br&gt;The problem mentioned in my previous comment with ICQ plug-in was fixed.
&lt;br&gt;The function gaim_unescape_html() was used (oscar.c:4288) to strip HTML
&lt;br&gt;tags before sending ch2 messages.
&lt;br&gt;Doing that, of course, did not work so I changed it to use
&lt;br&gt;gaim_markup_strip_html() .
&lt;br&gt;&lt;br&gt;File Added: shlomi-bidi4.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-24 16:41
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I investigated implementing the same fix for ICQ protocol only to realized
&lt;br&gt;that it's impossible at least until the ability to send &amp;quot;channel 2&amp;quot;
&lt;br&gt;messages is implemented in Gaim (AKA the 4 years old feature request
&lt;br&gt;#787993). I guess that it's a heavy task since it requires implementing
&lt;br&gt;basic RTF parsing abilities. After we have such ability - it's only a
&lt;br&gt;matter of sending the message with this RTF prefix: '\pard\rtlpar\qr'.
&lt;br&gt;&lt;br&gt;Unfortunately, I also found a problem with the patch - sending a RTL
&lt;br&gt;message to ICQ user will send embedded SPAN tags in the message. Seems like
&lt;br&gt;ICQ's implementation rely on the fact that the message formatting buttons
&lt;br&gt;are disabled when editing a message for ICQ and it doesn't strip the HTML
&lt;br&gt;before sending. This is a minor fix - I'll fix it soon and upload a 4th
&lt;br&gt;version for the patch. 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-06 23:59
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;* Timestamps and Aliases are now encapsulated in their own LRE/RLE Unicode
&lt;br&gt;characters. 
&lt;br&gt;* screenshot of fixed timestamps in Gaim:
&lt;br&gt;&lt;a href=&quot;http://bp2.blogger.com/_40WxAMsyuJQ/Re36uN_jodI/AAAAAAAAAA8/UX592uVRwGk/s400/timestamps.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://bp2.blogger.com/_40WxAMsyuJQ/Re36uN_jodI/AAAAAAAAAA8/UX592uVRwGk/s400/timestamps.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;Code just got a little more complicated but works great.
&lt;br&gt;Maybe I should try to optimize it somehow. Suggestions/requests are
&lt;br&gt;welcomed.
&lt;br&gt;File Added: shlomi-bidi3.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-02 03:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Ok, thank you both. Note taken.
&lt;br&gt;I'll see what I can do about the timestamps.
&lt;br&gt;&lt;br&gt;Shlomil.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2007-03-02 02:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I agree with Sean. As you can see in your second screenshot, the
&lt;br&gt;timestamps don't line up. They should be on the right, with the name after
&lt;br&gt;them (on the left, since we're talking about RTL).
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-02 01:45
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Changes in shlomi-bidi2.patch:
&lt;br&gt;* The two spans were unified to a single span tag (as Etan suggested).
&lt;br&gt;* Now text properties are set by inline CSS attributes (&amp;lt;span
&lt;br&gt;style=&amp;quot;...&amp;quot;&amp;gt;) (also as Etan suggested).
&lt;br&gt;* Need for inline CSS parsing in MSN plug-in made this patch a little more
&lt;br&gt;complicated than the first one.
&lt;br&gt;* gtk_imhtml_get_css_opt() - Function was able to recognized only the
&lt;br&gt;first attribute - now fixed. (But this function is a mess and should be
&lt;br&gt;rewritten IMO)
&lt;br&gt;&lt;br&gt;Tested again talking to MSN Messenger and Gaim and it still works as
&lt;br&gt;expected. 
&lt;br&gt;&lt;br&gt;Shlomil.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Sean Egan (seanegan)
&lt;br&gt;Date: 2007-03-02 01:44
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=199625
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't speak an rtl language, but it seems like, in the second
&lt;br&gt;screenshot, you'd want the timestamp to be right-aligned, followed by the
&lt;br&gt;screenname, then the message. Like we do it in LTR.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-03-02 01:27
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: shlomi-bidi2.patch
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Shlomi Loubaton (shlomil)
&lt;br&gt;Date: 2007-02-28 08:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=953881
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;After a chat with Etan on IRC, I was suggested to unify the two span tags
&lt;br&gt;into one tag and add the alignment and direction attributes (deprecated
&lt;br&gt;HTML) as CSS properties.
&lt;br&gt;I'll do that and then resubmit my patch.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Luke Schierer (lschiere)
&lt;br&gt;Date: 2007-02-27 22:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=28833
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ethan, do you have time to look at this? 
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1668681&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9865361&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1668681---Close-bug--1121620-and-fix-some-Bi-Directional-text-issues-tp9865361p9865361.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9849456</id>
	<title>[Gaim-patches] [ gaim-Patches-1694728 ] plug 3 simple leaks</title>
	<published>2007-04-04T21:17:03Z</published>
	<updated>2007-04-04T21:17:03Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1694728, was opened at 2007-04-04 22:17
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Andrew Gaul (gaul)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: plug 3 simple leaks
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;==16165== 4,134 bytes in 1 blocks are definitely lost in loss record 231 of 267
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC98692: g_try_malloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC83BAA: g_file_get_contents (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4541864: yahoo_set_buddy_icon (yahoo_picture.c:540)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x453126C: yahoo_login (yahoo.c:2655)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x404C5D5: gaim_connection_new (connection.c:156)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x403D16D: gaim_account_connect (account.c:1000)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x403D453: gaim_accounts_restore_current_statuses (account.c:231
&lt;br&gt;6)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80ABAC0: main (gtkmain.c:797)
&lt;br&gt;&lt;br&gt;==29463== 148 bytes in 10 blocks are definitely lost in loss record 135 of 266
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC98875: g_malloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4467623: jabber_parser_element_start_libxml (parser.c:48)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4A55AB31: (within /usr/lib/libxml2.so.2.6.27)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4A5631BF: xmlParseChunk (in /usr/lib/libxml2.so.2.6.27)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4467A6E: jabber_parser_process (parser.c:190)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x445F486: jabber_recv_cb_ssl (jabber.c:382)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4085101: recv_cb (sslconn.c:138)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x809AFFA: gaim_gtk_io_invoke (gtkeventloop.c:77)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==29463== &amp;nbsp; &amp;nbsp;by 0x80B3234: main (gtkmain.c:817)
&lt;br&gt;&lt;br&gt;==16165== 32 bytes in 1 blocks are definitely lost in loss record 70 of 267
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;at 0x40054FB: realloc (vg_replace_malloc.c:306)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC9873A: g_realloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCACF7B: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCAD4A2: g_string_insert_len (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCAD7F5: g_string_append_len (in /lib/libglib-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC82BAB: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC82DAF: g_build_filename (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4044CAC: gaim_buddy_icons_get_full_path (buddyicon.c:520)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44CE133: gaim_ssi_parselist (oscar.c:4976)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44BF273: snachandler (family_feedbag.c:1331)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x44C1E44: flap_connection_recv_cb (flap_connection.c:667)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80969C2: gaim_gtk_io_invoke (gtkeventloop.c:77)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC91441: g_main_context_dispatch (in /lib/libglib-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC947C8: g_main_loop_run (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x423624B3: gtk_main (in /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80ABA97: main (gtkmain.c:817)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694728&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9849456&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1694728---plug-3-simple-leaks-tp9849456p9849456.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9843328</id>
	<title>[Gaim-patches] [ gaim-Patches-1694487 ] added RC4 support in cipher.c</title>
	<published>2007-04-04T12:55:31Z</published>
	<updated>2007-04-04T12:55:31Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1694487, was opened at 2007-04-04 13:55
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694487&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694487&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Nathan Peterson (uvwarning)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: added RC4 support in cipher.c
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;RC4 is a fairly common encryption method and will be needed for MySpaceIM authentication, so I have preemptively created this patch as an update to cipher.c and have tested all of the functions. &amp;nbsp;As far as I can tell, everything seems to be working great. &amp;nbsp;(I also have successfully logged in to MySpaceIM with the help of this patch).
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694487&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1694487&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9843328&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1694487---added-RC4-support-in-cipher.c-tp9843328p9843328.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9835050</id>
	<title>[Gaim-patches] [ gaim-Patches-1678291 ] fixed 3 BUGS, jabber get usr info crash etc</title>
	<published>2007-04-04T05:17:28Z</published>
	<updated>2007-04-04T05:17:28Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1678291, was opened at 2007-03-11 20:41
&lt;br&gt;Message generated for change (Comment added) made by gnap_an
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: segfault
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: George Ang (gnap_an)
&lt;br&gt;Assigned to: Mark Huetsch (markhuetsch)
&lt;br&gt;Summary: fixed 3 BUGS, jabber get usr info crash etc
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;1、crashes when obtaining jabber user info;
&lt;br&gt;2、crashes when sending buddy message using QQ protocol;
&lt;br&gt;3、playing nxn times user leaving chat room sound when opening a QQ
&lt;br&gt;protocol chat room. n equals to the number of users in a QQ chat room.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: George Ang (gnap_an)
&lt;br&gt;Date: 2007-04-04 19:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1139767
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Actually,I didn't realy fix the bug in buddy.c.I just hided it :(
&lt;br&gt;I should learn more about glib:)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Huetsch (markhuetsch)
&lt;br&gt;Date: 2007-04-04 12:27
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1529760
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Thanks gnap! &amp;nbsp;I committed the QQ changes. &amp;nbsp;Sorry about the slow response
&lt;br&gt;time.
&lt;br&gt;&lt;br&gt;Are you still experiencing the jabber crash on current SVN? &amp;nbsp;I looked, and
&lt;br&gt;no one has made the change from your patch, and yet I am unable to
&lt;br&gt;reproduce the bug.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9835050&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1678291---fixed-3-BUGS%2C-jabber-get-usr-info-crash-etc-tp9835050p9835050.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9830827</id>
	<title>[Gaim-patches] [ gaim-Patches-1678291 ] fixed 3 BUGS, jabber get usr info crash etc</title>
	<published>2007-04-03T22:27:34Z</published>
	<updated>2007-04-03T22:27:34Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1678291, was opened at 2007-03-11 05:41
&lt;br&gt;Message generated for change (Comment added) made by markhuetsch
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: segfault
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: George Ang (gnap_an)
&lt;br&gt;Assigned to: Mark Huetsch (markhuetsch)
&lt;br&gt;Summary: fixed 3 BUGS, jabber get usr info crash etc
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;1、crashes when obtaining jabber user info;
&lt;br&gt;2、crashes when sending buddy message using QQ protocol;
&lt;br&gt;3、playing nxn times user leaving chat room sound when opening a QQ
&lt;br&gt;protocol chat room. n equals to the number of users in a QQ chat room.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Huetsch (markhuetsch)
&lt;br&gt;Date: 2007-04-03 21:27
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1529760
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Thanks gnap! &amp;nbsp;I committed the QQ changes. &amp;nbsp;Sorry about the slow response
&lt;br&gt;time.
&lt;br&gt;&lt;br&gt;Are you still experiencing the jabber crash on current SVN? &amp;nbsp;I looked, and
&lt;br&gt;no one has made the change from your patch, and yet I am unable to
&lt;br&gt;reproduce the bug.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1678291&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9830827&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1678291---fixed-3-BUGS%2C-jabber-get-usr-info-crash-etc-tp9830827p9830827.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9817212</id>
	<title>[Gaim-patches] [ gaim-Patches-1692858 ] SIP/SIMPLE register/auth/message problems with Siemens</title>
	<published>2007-04-03T10:15:08Z</published>
	<updated>2007-04-03T10:15:08Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1692858, was opened at 2007-04-02 08:47
&lt;br&gt;Message generated for change (Settings changed) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692858&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692858&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Chris Brody (cbrody)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: SIP/SIMPLE register/auth/message problems with Siemens
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;I have encountered several problems when connecting to a Siemens CSCF. I made some quick fixes to get this to work, as shown in the attached diff file.
&lt;br&gt;&lt;br&gt;Unfortunately, I did not yet succeed to get the presence information (PUBLISH) to work with the Siemens CSCF. I will try again at some other point.
&lt;br&gt;&lt;br&gt;So far, I have got the basic registration and a simple MESSAGE to work.
&lt;br&gt;&lt;br&gt;I am now testing some other functionality with the Siemens CSCF for the next 1-2 months. If these problems are fixed and committed before I am done, I will be happy to try the new version as well.
&lt;br&gt;&lt;br&gt;I will try to make a complete list, as concise as I can:
&lt;br&gt;&lt;br&gt;1. The Siemens CSCF uses abbreviated headers, such as l:0 for Content-Length: 0. These abbreviated headers are valid according to RFC 3261, but they are not supported in the current SIMPLE protocol library.
&lt;br&gt;&lt;br&gt;2. simple.c: in the &amp;quot;auth&amp;quot; HTTP Digest authentication (auth-&amp;gt;type == 1), upon receiving the WWW-Authenticate:Digest in a challenge response (401 Unauthorized) to the first REGISTER request, the client must put in a CNONCE value, and of course use it in gaim_cipher_http_digest_calculate_session_key() &amp; gaim_cipher_http_digest_calculate_response().
&lt;br&gt;&lt;br&gt;3. simple.c: in addition, the qop (&amp;quot;auth&amp;quot; for Siemens) must be used in gaim_cipher_http_digest_calculate_response().
&lt;br&gt;&lt;br&gt;4. Some of the WWW-Authenticate parameters from the Siemens CSCF are separated by &amp;quot;,&amp;quot; only, no space between them. In fill_auth(), the 2nd g_strsplit() function call should be replaced by: parts = g_strsplit_set(hdr, &amp;quot;, &amp;quot;, 0);
&lt;br&gt;&lt;br&gt;5. In send_sip_request(), it is only in the REGISTER message for which the Request URI &amp; authentication URI should have been the same. For others such as MESSAGE, even though the Request URI has the end-username, the auth URI was still sip:servername.
&lt;br&gt;&lt;br&gt;6. To submit a MESSAGE (as well as any other request beyond registration), the Proxy-Authorization: must be included using the authorization from the successful REGISTER transaction. To fix send_sip_request() for MESSAGE, I put the following lines right before if(sip-&amp;gt;proxy.type &amp;&amp; strcmp(method, &amp;quot;REGISTER&amp;quot;)):
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(sip-&amp;gt;registrar.type &amp;&amp; !strcmp(method, &amp;quot;MESSAGE&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; buf = auth_header(sip, &amp;sip-&amp;gt;registrar, method, auth_uri);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auth = g_strdup_printf(&amp;quot;Proxy-Authorization: %s&amp;quot;, buf);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_free(buf);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug(GAIM_DEBUG_MISC, &amp;quot;simple&amp;quot;, &amp;quot;header %s&amp;quot;, auth);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&lt;br&gt;At this point, my fixes are in rough form. If some fixes are committed, I will be happy to try them again assuming that I still have access.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Chris
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Chris Brody (cbrody)
&lt;br&gt;Date: 2007-04-02 08:49
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1757099
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;File Added: Siemens-message1.zip
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692858&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692858&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9817212&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1692858---SIP-SIMPLE-register-auth-message-problems-with-Siemens-tp9817212p9817212.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9815164</id>
	<title>[Gaim-patches] [ gaim-Patches-1693706 ] Fix missing buddy icons and custom emoticons on MSN</title>
	<published>2007-04-03T09:22:45Z</published>
	<updated>2007-04-03T09:22:45Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1693706, was opened at 2007-04-03 18:22
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Simo Mattila (simom)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: Fix missing buddy icons and custom emoticons on MSN
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Newer Live Messenger -versions doesn't always send SHA1C-field in msnobj's and so Gaim discards them. This patch accepts them even if SHA1C is missing, and use SHA1D as icon checksum instead of SHA1C.
&lt;br&gt;Fixes bug #1675659.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1693706&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9815164&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1693706---Fix-missing-buddy-icons-and-custom-emoticons-on-MSN-tp9815164p9815164.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9783733</id>
	<title>[Gaim-patches] [ gaim-Patches-1574238 ] add icq away message to user info window</title>
	<published>2007-04-01T18:39:19Z</published>
	<updated>2007-04-01T18:39:19Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1574238, was opened at 2006-10-09 23:46
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Accepted
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Mark Doliner (thekingant)
&lt;br&gt;Summary: add icq away message to user info window
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;icq away message was only showing in blist and tooltip,
&lt;br&gt;this patch adds it to the info window so it can be copy
&lt;br&gt;and pasted.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-01 20:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Looks good to me. &amp;nbsp;Sorry it took 6 months.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-04-01 19:13
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ping rlaager!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-27 22:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;a new version updated with evands' notify_user_info change
&lt;br&gt;&lt;br&gt;File Added: oscar-icq-status-msg.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2006-11-19 02:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;At a *quick* glance, this seems reasonable. Mark, thoughts?
&lt;br&gt;&lt;br&gt;Ka-Hing, if there's no response on this in a little while, ping me.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9783733&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1574238---add-icq-away-message-to-user-info-window-tp9783733p9783733.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9783212</id>
	<title>[Gaim-patches] [ gaim-Patches-1574238 ] add icq away message to user info window</title>
	<published>2007-04-01T17:13:47Z</published>
	<updated>2007-04-01T17:13:47Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1574238, was opened at 2006-10-10 04:46
&lt;br&gt;Message generated for change (Comment added) made by bsponline
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Mark Doliner (thekingant)
&lt;br&gt;Summary: add icq away message to user info window
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;icq away message was only showing in blist and tooltip,
&lt;br&gt;this patch adds it to the info window so it can be copy
&lt;br&gt;and pasted.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-04-02 00:13
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ping rlaager!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 03:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;a new version updated with evands' notify_user_info change
&lt;br&gt;&lt;br&gt;File Added: oscar-icq-status-msg.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Richard Laager (rlaager)
&lt;br&gt;Date: 2006-11-19 07:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=156487
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;At a *quick* glance, this seems reasonable. Mark, thoughts?
&lt;br&gt;&lt;br&gt;Ka-Hing, if there's no response on this in a little while, ping me.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1574238&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9783212&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1574238---add-icq-away-message-to-user-info-window-tp9783212p9783212.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9783154</id>
	<title>[Gaim-patches] [ gaim-Patches-1692595 ] most prioritized buddy in expanded contact sign off weirdnes</title>
	<published>2007-04-01T17:07:38Z</published>
	<updated>2007-04-01T17:07:38Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1692595, was opened at 2007-04-02 00:07
&lt;br&gt;Message generated for change (Tracker Item Submitted) made by Item Submitter
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: most prioritized buddy in expanded contact sign off weirdnes
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;... because the contact priority is not always invalidated when the blist is updated. I removed the ui update in notify_buddy_status_update() because it doesn't recompute the priority and because the only call path for that function already updates the blist
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692595&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9783154&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1692595---most-prioritized-buddy-in-expanded-contact-sign-off-weirdnes-tp9783154p9783154.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9782132</id>
	<title>[Gaim-patches] [ gaim-Patches-1621854 ] brings soc-2006-msnp13 up to head</title>
	<published>2007-04-01T15:03:43Z</published>
	<updated>2007-04-01T15:03:43Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1621854, was opened at 2006-12-25 06:36
&lt;br&gt;Message generated for change (Comment added) made by simom
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Assigned to: Sean Egan (seanegan)
&lt;br&gt;Summary: brings soc-2006-msnp13 up to head
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This tarball brings soc-2006-msnp13 up to head. In addition to that it also fixes a crash with sending offline messages.
&lt;br&gt;&lt;br&gt;I wasn't able to generate a diff against that branch, svn seems to insist on diff'ing against HEAD after I run the merge command. After running `svn merge -r 16309:HEAD &lt;a href=&quot;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://gaim.svn.sourceforge.net/svnroot/gaim/trunk&lt;/a&gt;` on the soc-2006-msnp13 you can replace the msn directory with the attached tarball. The fix for offline messaging is on msn.c:901:
&lt;br&gt;&lt;br&gt;if (!session-&amp;gt;oim)
&lt;br&gt;&amp;nbsp; &amp;nbsp; session-&amp;gt;oim = msn_oim_new(session)
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-04-02 00:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Couple patches again:
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/markup_escape_psm.diff&lt;/a&gt;&lt;br&gt;PSM needs to be escaped, tooltip rendering fails if PSM had '&amp;' in it.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/currentmedia.diff&lt;/a&gt;&lt;br&gt;Support for showing current media of buddies in buddy list. Tooltip shows
&lt;br&gt;both PSM and current media if they are both set, but status line shows only
&lt;br&gt;current media if it is set (official client behaviour). Note: This patch
&lt;br&gt;already includes escaping of PSM, you don't need markup_escape_psm.diff if
&lt;br&gt;you use this.
&lt;br&gt;I know there are bigger problems at the moment than lack of current media
&lt;br&gt;support, but here it is anyway :)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-16 11:18
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Two little patches, first one prevents own account to be added as a buddy
&lt;br&gt;to buddylist, and second fixes tooltip messing with status and PSM.
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/own-account-as-buddy.diff&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/psm-in-tooltip.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 08:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;A little late, but here is a version that should remember your friendly
&lt;br&gt;name. Also has a fix for a crasher when MSN sends you back:
&lt;br&gt;&lt;br&gt;&amp;lt;faultstring&amp;gt;Need to do full sync. Can't sync deltas Client &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;has too old a copy for us to do a delta sync&amp;lt;/faultstring&amp;gt;
&lt;br&gt;&lt;br&gt;In this case, I make gaim re-request the full contact list/address book.
&lt;br&gt;&lt;br&gt;I haven't look too deeply into the reverse list problem, but I think the
&lt;br&gt;solution would involve caching the reverse list, which may require
&lt;br&gt;extending the privacy api.
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-16 05:30
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Updated the diff with basically no change, except with simom's icon fix.
&lt;br&gt;The previous diff was broken because some of the files were not added
&lt;br&gt;&lt;br&gt;Had to compress it because of sourceforge file size limit
&lt;br&gt;File Added: msn-p13-merge-head.diff.gz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-10 22:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;uploaded a diff, this diff is unchanged from the last tarball that I
&lt;br&gt;previously uploaded, except that it's against HEAD. This should be a little
&lt;br&gt;easier for most people.
&lt;br&gt;&lt;br&gt;File Added: msn-p13-merge-head.diff
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-07 09:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Another way is to make a SOAP request whenever the friendly name is set,
&lt;br&gt;and set the friendly name every time you sign on, which doesn't fix the
&lt;br&gt;reverse list problem, but does allow the friendly name to persist. I
&lt;br&gt;already have the first part written.
&lt;br&gt;&lt;br&gt;I apologize if my lack of activity wasted you too much time.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-06 13:22
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;One way too is to ask full contact list and address book every time
&lt;br&gt;(*Changes=NULL in certain function calls), I tried this too, it works but
&lt;br&gt;logging in takes some more time. It actually fixes reverse list -problem
&lt;br&gt;too, but maybe local caching would still be a better solution as it is
&lt;br&gt;planned to work that way and it reduces bandwidth-usage.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-03-06 09:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Ooh, that's so rockin'
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2007-03-06 09:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I found a way to make the server resend the friendly name every time you
&lt;br&gt;sign on, but I haven't had the time and motivation to finish that.
&lt;br&gt;Hopefully I will find the time to look at your diff this weekend.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Simo Mattila (simom)
&lt;br&gt;Date: 2007-03-05 18:43
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1525231
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I fixed the icons by adding &amp;quot;b-&amp;gt;proto_data = user;&amp;quot; to msn_userlist_load()
&lt;br&gt;in userlist.c (see end of the patch), and Friendly name -issue by caching
&lt;br&gt;it to buddylist and using that if it isn't sent by server. This seems to be
&lt;br&gt;necessary as server sends only changes in information since last time.
&lt;br&gt;Maybe same should be done to reverse list, as now for every buddy in my
&lt;br&gt;list i get 'has you: no' in the tooltip. I also prevented own account to be
&lt;br&gt;added to buddy list. Patch against msn.tgz v2 (the one dated 2006-12-30
&lt;br&gt;09:17) can be found in
&lt;br&gt;&lt;a href=&quot;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://koti.mbnet.fi/simom/gaim-msnp13/msnp13-friendly-name-and-icons.diff&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 20:54
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I am heading out, but g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3) means if the
&lt;br&gt;condition cmd-&amp;gt;param_count &amp;gt;= 3 fails, the function would return right
&lt;br&gt;there. So that part is working as expected. I have no idea why sometimes I
&lt;br&gt;get the friendly name and sometimes I don't.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 13:11
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;The first two connection I receive after last USR TWN command
&lt;br&gt;USR &amp;lt;tid&amp;gt; OK &amp;lt;email&amp;gt; 1 0
&lt;br&gt;USR &amp;lt;tid2&amp;gt; &amp;lt;email&amp;gt; &amp;lt;a number of three blocks
&lt;br&gt;nnnnnnnnnn.nnnnnnnn.nnnnnnnn&amp;gt;
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;displayname&amp;gt;
&lt;br&gt;&lt;br&gt;The third time the last USR OK command is:
&lt;br&gt;USR &amp;lt;tid2&amp;gt; OK &amp;lt;email&amp;gt; &amp;lt;email&amp;gt;
&lt;br&gt;&lt;br&gt;I changed nothing in account's setting, I only connected and disconnected
&lt;br&gt;for three time. VERY strange.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 13:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Uhm... I'm trying your updated version... with a new profile.... The first
&lt;br&gt;connection, it's all ok... it loads for my contact the right friendly name
&lt;br&gt;from server I think because the local alias is different. I disconnected,
&lt;br&gt;then reconnected, it's ok also this time; again I disconnect and then
&lt;br&gt;reconnect, but at this third time... it doesn't load the friendly name, and
&lt;br&gt;all my msn buddies have the same msn icon
&lt;br&gt;&lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;. :|
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 12:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;And also I see now in prp_cmd method of notification.c your mod...
&lt;br&gt;###############
&lt;br&gt;static void
&lt;br&gt;prp_cmd(MsnCmdProc *cmdproc, MsnCommand *cmd)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnSession *session = cmdproc-&amp;gt;session;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; const char *type, *value;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; value = cmd-&amp;gt;params[3];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;PHM&amp;quot;))
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_user_set_mobile_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; else if (!strcmp(type, &amp;quot;MFM&amp;quot;)) {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; type = cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_connection_set_display_name(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_account_get_connection(session-&amp;gt;account),
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_url_decode(cmd-&amp;gt;params[2]));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}
&lt;br&gt;###############################
&lt;br&gt;as third instruction of the void there is
&lt;br&gt;g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);, from whati I understand of this
&lt;br&gt;void, it stop the void procedure if cmd-&amp;gt;param_count &amp;gt;= 3.... but after I
&lt;br&gt;see if (cmd-&amp;gt;param_count == 4) .... so if it's right the interpretation of
&lt;br&gt;g_return_if_fail the condition that follow never happen! And I also thought
&lt;br&gt;that was incoerent... and so I changed the integer of values.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-30 12:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I added the if (!strcmp(type, &amp;quot;MFN&amp;quot;)) { in sync.c and notification.c
&lt;br&gt;because it figured out in that files the void prp_cmd... and I thought that
&lt;br&gt;was necessary add the parsing of that instruction... that set the nickname.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 09:17
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;new version, fixes some crashes because group_id is char * but in some
&lt;br&gt;places it's set to an int (!). skadotnet, I don't understand why you need
&lt;br&gt;`if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {` in so many places, so I didn't include most
&lt;br&gt;of them. I also have different versions of some of your fixes because I
&lt;br&gt;already fixed them.
&lt;br&gt;&lt;br&gt;Group manipulations may still not work, at least it's not crashing :-)
&lt;br&gt;&lt;br&gt;File Added: msn.tgz
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 09:03
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;are you sure that setting the friendly name in msn_notification_post_adl()
&lt;br&gt;is correct?
&lt;br&gt;&lt;br&gt;something is weird, sometimes I get back my own contact information in
&lt;br&gt;contact.c:msn_parse_addressbook(), so I can set the display name there, and
&lt;br&gt;sometimes I don't. It may have something to do with contact list caching.
&lt;br&gt;&lt;br&gt;I will upload a new version soon that fixes lots of compiler warning and
&lt;br&gt;some crashes for group manipulations.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-30 04:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I finally figured out why I couldn't sign on, I was missing a */ so a
&lt;br&gt;large block of code was commented out!
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 17:35
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I link directly the patch file....
&lt;br&gt;&lt;a href=&quot;http://skadotnet.altervista.org/msn.patch&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://skadotnet.altervista.org/msn.patch&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 17:33
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;This is the patch file for the first 2 fix, it's not complete because it
&lt;br&gt;need the implementation of the field where save the friendly name, now it
&lt;br&gt;use local alias as first display name. It persists the problem of buddy
&lt;br&gt;icon, I'm sorry but more than this I can't do.
&lt;br&gt;Here the patch:
&lt;br&gt;############################################################################################################################################
&lt;br&gt;diff -uN msn.original/msn.c msn/msn.c
&lt;br&gt;--- msn.original/msn.c	2006-12-25 03:29:57.000000000 +0100
&lt;br&gt;+++ msn/msn.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -137,9 +137,10 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	if (strlen(alias) &amp;gt; 0)
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;+	else
&lt;br&gt;+		msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_username(account)));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;@@ -798,6 +799,9 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (!msn_session_connect(session, host, port, http_method))
&lt;br&gt;&amp;nbsp;		gaim_connection_error(gc, _(&amp;quot;Failed to connect to server.&amp;quot;));
&lt;br&gt;+	
&lt;br&gt;+	// Transitional pointment to local alias. Should be the friendly name
&lt;br&gt;saved at every change.
&lt;br&gt;+	gaim_connection_set_display_name(gc, gaim_account_get_alias(account));
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;diff -uN msn.original/notification.c msn/notification.c
&lt;br&gt;--- msn.original/notification.c	2006-12-25 00:52:23.000000000 +0100
&lt;br&gt;+++ msn/notification.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -235,8 +235,9 @@
&lt;br&gt;&amp;nbsp;		/* authenticate OK */
&lt;br&gt;&amp;nbsp;		const char *friendly = gaim_url_decode(cmd-&amp;gt;params[3]);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-		gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;-
&lt;br&gt;+		if (g_ascii_strcasecmp(friendly, &amp;quot;1&amp;quot;))
&lt;br&gt;+			 gaim_connection_set_display_name(gc, friendly);
&lt;br&gt;+			 
&lt;br&gt;&amp;nbsp;		msn_session_set_login_step(session, MSN_LOGIN_STEP_SYN);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;//		msn_cmdproc_send(cmdproc, &amp;quot;SYN&amp;quot;, &amp;quot;%s&amp;quot;, &amp;quot;0&amp;quot;);
&lt;br&gt;@@ -626,6 +627,29 @@
&lt;br&gt;&amp;nbsp;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;&amp;nbsp;{
&lt;br&gt;&amp;nbsp;	MsnTransaction *trans;
&lt;br&gt;+	
&lt;br&gt;+	GaimAccount *account;
&lt;br&gt;+	account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;+	
&lt;br&gt;+	/*
&lt;br&gt;+	 * TODO: save somewhere the friendly name in accounts file, when a new
&lt;br&gt;account is created,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; or it's set empty &amp;nbsp;or equal to local alias.	When a command PRP
&lt;br&gt;MFN is sent through
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; prp_cmd method in notification.c and sync.c the field in xml
&lt;br&gt;config file is updated.
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; This is loaded after login with
&lt;br&gt;gaim_connection_set_display_name(GaimConnection *gc, const char *value)
&lt;br&gt;[msn.c:803-804]
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; so if we connect throught MSNP8 &amp;nbsp;on USR OK command we overwrite
&lt;br&gt;that field,
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; if the length isn't equal to &amp;quot;1&amp;quot;, else if we connect throught
&lt;br&gt;MSNP11 or higher, on USR OK command
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we don't overwrite that field because the params is equals to
&lt;br&gt;&amp;quot;1&amp;quot;, and throught the command down here
&lt;br&gt;+	 * &amp;nbsp; &amp;nbsp; &amp;nbsp; we set for the first time the saved friendly nickname.
&lt;br&gt;+	 */
&lt;br&gt;+	const char *friendly;
&lt;br&gt;+	friendly =
&lt;br&gt;gaim_url_encode(gaim_connection_get_display_name(account-&amp;gt;gc));
&lt;br&gt;+	
&lt;br&gt;+	if (strlen(friendly) &amp;lt;= 0)
&lt;br&gt;+		friendly = gaim_url_encode(gaim_account_get_username(account));
&lt;br&gt;+	
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, friendly);
&lt;br&gt;+	
&lt;br&gt;+	gaim_debug_info(&amp;quot;Ska&amp;quot;,&amp;quot;Set friendly name as
&lt;br&gt;%s\n&amp;quot;,gaim_url_decode(friendly));
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp;	trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;@@ -1025,12 +1049,16 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	g_return_if_fail(cmd-&amp;gt;param_count &amp;gt;= 3);
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	type &amp;nbsp;= cmd-&amp;gt;params[2];
&lt;br&gt;+	type &amp;nbsp;= cmd-&amp;gt;params[1];
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	if (cmd-&amp;gt;param_count == 4)
&lt;br&gt;+	if (cmd-&amp;gt;param_count == 3)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		value = cmd-&amp;gt;params[3];
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		value = cmd-&amp;gt;params[2];
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -1039,7 +1067,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;diff -uN msn.original/sync.c msn/sync.c
&lt;br&gt;--- msn.original/sync.c	2006-12-25 00:17:41.000000000 +0100
&lt;br&gt;+++ msn/sync.c	2006-12-29 16:11:15.000000000 +0100
&lt;br&gt;@@ -64,7 +64,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;	if (cmd-&amp;gt;param_count == 2)
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc,
&lt;br&gt;gaim_url_decode(value));
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, gaim_url_decode(value));
&lt;br&gt;@@ -73,7 +77,11 @@
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;	else
&lt;br&gt;&amp;nbsp;	{
&lt;br&gt;-		if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;+		if (!strcmp(type, &amp;quot;MFN&amp;quot;)) {
&lt;br&gt;+			msn_user_set_friendly_name(session-&amp;gt;user, NULL);
&lt;br&gt;+			gaim_connection_set_display_name(session-&amp;gt;account-&amp;gt;gc, NULL);
&lt;br&gt;+		}
&lt;br&gt;+		else if (!strcmp(type, &amp;quot;PHH&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_home_phone(session-&amp;gt;user, NULL);
&lt;br&gt;&amp;nbsp;		else if (!strcmp(type, &amp;quot;PHW&amp;quot;))
&lt;br&gt;&amp;nbsp;			msn_user_set_work_phone(session-&amp;gt;user, NULL);
&lt;br&gt;############################################################################################################################################
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 16:05
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I'm modifying the fix for second issue, that also set the display name's
&lt;br&gt;field when you open the dialog for set alias manually
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 13:15
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;There is also another bug.... all my msn buddies have the same msn icon:
&lt;br&gt;this &lt;a href=&quot;http://xs210.xs.to/xs210/06525/screenshot1.png&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://xs210.xs.to/xs210/06525/screenshot1.png&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 13:09
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I don't see any other way to solve this... when login server send the
&lt;br&gt;command USR Ok, now there isn't the display name that should be stored on
&lt;br&gt;the server....
&lt;br&gt;I've found, I think, the right location to add this command. File
&lt;br&gt;notification.c at line 625.
&lt;br&gt;&lt;br&gt;From:
&lt;br&gt;#####################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;######################################
&lt;br&gt;&lt;br&gt;To:
&lt;br&gt;######################################
&lt;br&gt;void
&lt;br&gt;msn_notification_post_adl(MsnCmdProc *cmdproc,char *payload, int
&lt;br&gt;payload_len)
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; MsnTransaction *trans;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; GaimAccount *account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; account = cmdproc-&amp;gt;session-&amp;gt;account;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send(cmdproc,&amp;quot;PRP&amp;quot;,&amp;quot;MFN %s&amp;quot;,
&lt;br&gt;gaim_url_encode(gaim_account_get_alias(account)));
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; gaim_debug_info(&amp;quot;MaYuan&amp;quot;,&amp;quot;Send ADL{%s}\n&amp;quot;,payload);
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; trans = msn_transaction_new(cmdproc, &amp;quot;ADL&amp;quot;,&amp;quot;%d&amp;quot;,strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_transaction_set_payload(trans, payload, strlen(payload));
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; msn_cmdproc_send_trans(cmdproc, trans);
&lt;br&gt;}
&lt;br&gt;################################################
&lt;br&gt;&lt;br&gt;&lt;br&gt;with this fix, now the friendly name is set at startup as the local alias
&lt;br&gt;field's value.
&lt;br&gt;For the old MSNP8 is still enabled the parsing of USR OK answer to look
&lt;br&gt;for the display name... but connecting with MSNP13/14 it finds only the
&lt;br&gt;value &amp;quot;1&amp;quot;, because server answer with &amp;quot;USR &amp;lt;transid&amp;gt; OK &amp;lt;email-address&amp;gt; 1
&lt;br&gt;0\r\n&amp;quot;. The old parser get the fourth parameter... that now is &amp;quot;1&amp;quot;, and set
&lt;br&gt;it as friendly name... but then arrives another USR OK answer that
&lt;br&gt;containst at fourth parameter again the email address, and again it set the
&lt;br&gt;friendly name with the email address.
&lt;br&gt;Using this fix, before the second USR OK answer it set the friendly name
&lt;br&gt;so the second USR OK answer arrives as the old format &amp;quot;USR &amp;lt;transid&amp;gt; OK
&lt;br&gt;&amp;lt;email-address&amp;gt; &amp;lt;friendly-name&amp;gt; 0\r\n&amp;quot;.
&lt;br&gt;&lt;br&gt;There are other things to do, because, now it set the local alias, and
&lt;br&gt;when you want manually change the friendly name through the dialog, the
&lt;br&gt;value of textbox is &amp;quot;1&amp;quot;, I don't know why.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-29 01:02
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;ya, I thought about that, but then with MSNP8 you can use your friendly
&lt;br&gt;name that you set from elsewhere, with this it means you can't
&lt;br&gt;&lt;br&gt;anyway, I still need to fix the logon issue before I can do any meaningful
&lt;br&gt;work again.
&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-29 00:40
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;For the second &amp;quot;bug&amp;quot;, from what I could see from the code, and from
&lt;br&gt;msnpiki, it's a change of commands of the protocol. Before the friendly
&lt;br&gt;name ad login was recieved form USR command, but now as says
&lt;br&gt;&lt;a href=&quot;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://msnpiki.msnfanatic.com/index.php/MSNP13:Example_Session#Updating_Display_Name&lt;/a&gt;&lt;br&gt;after ADL command we need to send a fisrt PRP command to set the friendly
&lt;br&gt;name, so we need to save somewhere the nickname.
&lt;br&gt;A solution could be use the config file to save this parameter, when the
&lt;br&gt;account is created this field is sat as alias field; then ad after sending
&lt;br&gt;ADL command to get the contact list, send the first PRP MFN, to set first
&lt;br&gt;the nickname with param the value of friendlyname field; and also add a
&lt;br&gt;command to save the friendly nickname's value in the setting file, when is
&lt;br&gt;modified manually throught the dialog.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 21:21
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;actually I _thought_ I fixed the 2nd issue, turns out now I can't log in
&lt;br&gt;anymore :-/ reverting to old gaim code works though, will figure it out
&lt;br&gt;later tonight.
&lt;br&gt;&lt;br&gt;feel free to take a shot
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Ka-Hing Cheung (bsponline)
&lt;br&gt;Date: 2006-12-28 20:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=159910
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;I actually have those 2 fixed already, nice job though.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Michele Scandale (skadotnet)
&lt;br&gt;Date: 2006-12-28 19:34
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1678429
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;I've tried the patch winth gaim svn... it works but there are some
&lt;br&gt;problems with the friendly nickname... when I try to set the nickname, it
&lt;br&gt;disconnect from msn. I've corrected this problem using the new msn command
&lt;br&gt;to set nickname, instead of the obsolate one.
&lt;br&gt;&lt;br&gt;###################################################################
&lt;br&gt;--- msn.c.original	2006-12-28 18:30:12.000000000 +0100
&lt;br&gt;+++ msn.c	2006-12-28 18:30:34.000000000 +0100
&lt;br&gt;@@ -137,9 +137,7 @@
&lt;br&gt;&amp;nbsp;		return;
&lt;br&gt;&amp;nbsp;	}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;-	msn_cmdproc_send(cmdproc, &amp;quot;REA&amp;quot;, &amp;quot;%s %s&amp;quot;,
&lt;br&gt;-					 gaim_account_get_username(account),
&lt;br&gt;-					 alias);
&lt;br&gt;+	msn_cmdproc_send(cmdproc, &amp;quot;PRP&amp;quot;, &amp;quot;MFN %s&amp;quot;, alias);
&lt;br&gt;&amp;nbsp;}
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;static void
&lt;br&gt;#########################################################################
&lt;br&gt;&lt;br&gt;Now I'm going to solve the missed nickname's update on connect.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1621854&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9782132&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1621854---brings-soc-2006-msnp13-up-to-head-tp9782132p9782132.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9780950</id>
	<title>[Gaim-patches] [ gaim-Patches-1684297 ] GAIM crashes on Buddy Get Info (Jabber protocol)</title>
	<published>2007-04-01T12:59:21Z</published>
	<updated>2007-04-01T12:59:21Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1684297, was opened at 2007-03-20 08:30
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1684297&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1684297&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: segfault
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Accepted
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Atamyrat Hezretguliyev (myhat)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: GAIM crashes on Buddy Get Info (Jabber protocol)
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;This patch fixes a bug in buddy.c, jabber_buddy_remove_id function. 
&lt;br&gt;l-&amp;gt;data is accessed after l is freed, which crashes GAIM.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-01 14:59
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Cool, thanks
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;Comment By: Atamyrat Hezretguliyev (myhat)
&lt;br&gt;Date: 2007-03-20 08:39
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=1125672
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Fixes this bug
&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1676403&amp;group_id=235&amp;atid=100235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1676403&amp;group_id=235&amp;atid=100235&lt;/a&gt;&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1684297&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1684297&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9780950&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1684297---GAIM-crashes-on-Buddy-Get-Info-%28Jabber-protocol%29-tp9780950p9780950.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9780169</id>
	<title>[Gaim-patches] [ gaim-Patches-1692248 ] plug gtkblist.c memory leaks and code cleanup</title>
	<published>2007-04-01T11:46:45Z</published>
	<updated>2007-04-01T11:46:45Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1692248, was opened at 2007-04-01 02:56
&lt;br&gt;Message generated for change (Comment added) made by gaul
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692248&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692248&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;Status: Open
&lt;br&gt;Resolution: None
&lt;br&gt;Priority: 5
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: Andrew Gaul (gaul)
&lt;br&gt;Assigned to: Nobody/Anonymous (nobody)
&lt;br&gt;Summary: plug gtkblist.c memory leaks and code cleanup
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Plug two memory leaks found by Valgrind in gtkblist.c and clean up code a little.
&lt;br&gt;&lt;br&gt;==16170== 392 bytes in 7 blocks are definitely lost in loss record 130 of 210
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D5019FF: (within /usr/lib/libXcursor.so.1.0.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D502205: (within /usr/lib/libXcursor.so.1.0.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D502C51: XcursorXcFileLoadImages (in /usr/lib/libXcursor.so.1
&lt;br&gt;.0.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D502D6A: XcursorFileLoadImages (in /usr/lib/libXcursor.so.1.0
&lt;br&gt;.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D503660: XcursorLibraryLoadImages (in /usr/lib/libXcursor.so.
&lt;br&gt;1.0.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D5036DA: XcursorShapeLoadImages (in /usr/lib/libXcursor.so.1.
&lt;br&gt;0.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D504012: XcursorTryShapeCursor (in /usr/lib/libXcursor.so.1.0
&lt;br&gt;.2)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D2D1C21: XCreateGlyphCursor (in /usr/lib/libX11.so.6.2.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4D2D20AC: XCreateFontCursor (in /usr/lib/libX11.so.6.2.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x421D9271: gdk_cursor_new_for_display (in /usr/lib/libgdk-x11-2
&lt;br&gt;.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x421B8A99: gdk_cursor_new (in /usr/lib/libgdk-x11-2.0.so.0.1000
&lt;br&gt;.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80CF05D: setup_icon_box (gtkstatusbox.c:345)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD13E00: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD147A7: g_object_new_valist (in /lib/libgobject-2.0.so.0.120
&lt;br&gt;0.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD148AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80CB98A: gtk_gaim_status_box_new (gtkstatusbox.c:1814)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x8078A70: gaim_gtk_blist_show (gtkblist.c:4359)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x403F6CC: gaim_blist_show (blist.c:702)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80AB951: main (gtkmain.c:763)
&lt;br&gt;&lt;br&gt;==16170== 35,008 (10,752 direct, 24,256 indirect) bytes in 42 blocks are definit
&lt;br&gt;ely lost in loss record 198 of 210
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;at 0x40054FB: realloc (vg_replace_malloc.c:306)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x49CF7E13: (within /usr/lib/libfontconfig.so.1.1.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x49CF87E3: (within /usr/lib/libfontconfig.so.1.1.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x49CF8CDB: (within /usr/lib/libfontconfig.so.1.1.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x49CF53F2: FcFontRenderPrepare (in /usr/lib/libfontconfig.so.1.
&lt;br&gt;1.0)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x425E6CB8: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42622D8F: pango_font_map_load_fontset (in /usr/lib/libpango-1.
&lt;br&gt;0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x425E6FC4: (within /usr/lib/libpangoft2-1.0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42622E18: pango_font_map_load_font (in /usr/lib/libpango-1.0.s
&lt;br&gt;o.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x426212F8: pango_context_load_font (in /usr/lib/libpango-1.0.so
&lt;br&gt;.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42626F55: pango_layout_line_get_extents (in /usr/lib/libpango-
&lt;br&gt;1.0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4262725E: (within /usr/lib/libpango-1.0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42629DB4: (within /usr/lib/libpango-1.0.so.0.1400.10)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42411EB2: gtk_text_layout_get_line_display (in /usr/lib/libgtk
&lt;br&gt;-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42415008: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4241007E: gtk_text_layout_wrap (in /usr/lib/libgtk-x11-2.0.so.
&lt;br&gt;0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x423F3F78: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42413EEA: gtk_text_layout_validate_yrange (in /usr/lib/libgtk-
&lt;br&gt;x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42420ADC: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x42420B7D: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4236509C: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD0D588: (within /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD0ED9A: g_closure_invoke (in /lib/libgobject-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD1FA82: (within /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD20956: g_signal_emit_valist (in /lib/libgobject-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD20B18: g_signal_emit (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x424807EE: gtk_widget_set_scroll_adjustments (in /usr/lib/libgt
&lt;br&gt;k-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x423C0AB0: (within /usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD1B608: g_cclosure_marshal_VOID__OBJECT (in /lib/libgobject-
&lt;br&gt;2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD0D588: (within /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD0ED9A: g_closure_invoke (in /lib/libgobject-2.0.so.0.1200.9
&lt;br&gt;)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD1F8C9: (within /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD20956: g_signal_emit_valist (in /lib/libgobject-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD20B18: g_signal_emit (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x422D1E7B: gtk_container_add (in /usr/lib/libgtk-x11-2.0.so.0.1
&lt;br&gt;000.8)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80D649A: gaim_gtk_create_imhtml (gtkutils.c:154)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80CD1E0: gtk_gaim_status_box_init (gtkstatusbox.c:1601)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD2E6FB: g_type_create_instance (in /lib/libgobject-2.0.so.0.
&lt;br&gt;1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD15F41: (within /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD13B9A: g_object_newv (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD147A7: g_object_new_valist (in /lib/libgobject-2.0.so.0.120
&lt;br&gt;0.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x4CD148AF: g_object_new (in /lib/libgobject-2.0.so.0.1200.9)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80CB98A: gtk_gaim_status_box_new (gtkstatusbox.c:1814)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x8078A70: gaim_gtk_blist_show (gtkblist.c:4359)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x403F6CC: gaim_blist_show (blist.c:702)
&lt;br&gt;==16170== &amp;nbsp; &amp;nbsp;by 0x80AB951: main (gtkmain.c:763)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Andrew Gaul (gaul)
&lt;br&gt;Date: 2007-04-01 12:46
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=139865
&lt;br&gt;Originator: YES
&lt;br&gt;&lt;br&gt;Pasted the same leak twice, here is the correct second leak:
&lt;br&gt;&lt;br&gt;==16165== 667 bytes in 45 blocks are definitely lost in loss record 185 of
&lt;br&gt;267
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;at 0x4005400: malloc (vg_replace_malloc.c:149)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC98875: g_malloc (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCABED8: g_strdup (in /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x8075E37: buddy_node (gtkblist.c:3288)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80762AB: gaim_gtk_blist_update_contact
&lt;br&gt;(gtkblist.c:4882)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x8076312: gaim_gtk_blist_update_buddy (gtkblist.c:4910)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x8076525: gaim_gtk_blist_update (gtkblist.c:4986)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x40778EF: gaim_presence_set_idle (status.c:1331)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x406C417: gaim_prpl_got_user_idle (prpl.c:98)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x45318FB: yahoo_update_status (yahoo.c:176)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4531F6F: yahoo_process_status (yahoo.c:228)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x453758E: yahoo_packet_process (yahoo.c:1055)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4538B06: yahoo_pending (yahoo.c:2333)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80969C2: gaim_gtk_io_invoke (gtkeventloop.c:77)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CCBABAC: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC91441: g_main_context_dispatch (in
&lt;br&gt;/lib/libglib-2.0.so.0.12
&lt;br&gt;00.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC9441E: (within /lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x4CC947C8: g_main_loop_run (in
&lt;br&gt;/lib/libglib-2.0.so.0.1200.9)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x423624B3: gtk_main (in
&lt;br&gt;/usr/lib/libgtk-x11-2.0.so.0.1000.8)
&lt;br&gt;==16165== &amp;nbsp; &amp;nbsp;by 0x80ABA97: main (gtkmain.c:817)
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692248&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1692248&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9780169&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1692248---plug-gtkblist.c-memory-leaks-and-code-cleanup-tp9780169p9780169.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-9780069</id>
	<title>[Gaim-patches] [ gaim-Patches-1691784 ] Patch to fix SVN 18222</title>
	<published>2007-04-01T11:38:09Z</published>
	<updated>2007-04-01T11:38:09Z</updated>
	<author>
		<name>SourceForge.net</name>
	</author>
	<content type="html">Patches item #1691784, was opened at 2007-03-31 02:03
&lt;br&gt;Message generated for change (Comment added) made by thekingant
&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1691784&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1691784&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;Please note that this message will contain a full copy of the comment thread,
&lt;br&gt;including the initial issue submission, for this request,
&lt;br&gt;not just the latest update.
&lt;br&gt;Category: None
&lt;br&gt;Group: None
&lt;br&gt;&amp;gt;Status: Closed
&lt;br&gt;&amp;gt;Resolution: Accepted
&lt;br&gt;Priority: 6
&lt;br&gt;Private: No
&lt;br&gt;Submitted By: William Ehlhardt (orborde)
&lt;br&gt;Assigned to: Sadrul Habib Chowdhury (sadrul)
&lt;br&gt;Summary: Patch to fix SVN 18222
&lt;br&gt;&lt;br&gt;Initial Comment:
&lt;br&gt;Fixes a build-breaker introduced in SVN r18220.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;Comment By: Mark Doliner (thekingant)
&lt;br&gt;Date: 2007-04-01 13:38
&lt;br&gt;&lt;br&gt;Message:
&lt;br&gt;Logged In: YES 
&lt;br&gt;user_id=20979
&lt;br&gt;Originator: NO
&lt;br&gt;&lt;br&gt;Applied, thanks. &amp;nbsp;For some reason my build compiled without this change...
&lt;br&gt;but that might be operating system dependent or something.
&lt;br&gt;&lt;br&gt;----------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;You can respond by visiting: 
&lt;br&gt;&lt;a href=&quot;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1691784&amp;group_id=235&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://sourceforge.net/tracker/?func=detail&amp;atid=300235&amp;aid=1691784&amp;group_id=235&lt;/a&gt;&lt;br&gt;&lt;br&gt;-------------------------------------------------------------------------
&lt;br&gt;Take Surveys. Earn Cash. Influence the Future of IT
&lt;br&gt;Join SourceForge.net's Techsay panel and you'll get the chance to share your
&lt;br&gt;opinions on IT &amp; business topics through brief surveys-and earn cash
&lt;br&gt;&lt;a href=&quot;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.techsay.com/default.php?page=join.php&amp;p=sourceforge&amp;CID=DEVDEV&lt;/a&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Gaim-patches mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=9780069&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Gaim-patches@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/gaim-patches&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;https://lists.sourceforge.net/lists/listinfo/gaim-patches&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Gaim-patches----gaim-Patches-1691784---Patch-to-fix-SVN-18222-tp9780069p9780069.html" />
</entry>

</feed>
