------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=122269
------- Additional Comments From ogoffart kde org 2006-03-11 12:30 -------
SVN commit 517530 by ogoffart:
Add even more debug in order to track bug 122269
CCBUG: 122269
Thanks to still provide me the same info with this new debug.
M +9 -2 jabbercontact.cpp
M +2 -0 jabbercontact.h
M +4 -2 jabbertransport.cpp
M +2 -0 libiris/iris/xmpp-im/types.cpp
--- branches/kopete/0.12/kopete/protocols/jabber/jabbercontact.cpp
#517529:517530
@ -66,7 +66,7 @
JabberContact::JabberContact (const XMPP::RosterItem &rosterItem,
Kopete::Account *_account, Kopete::MetaContact * mc, const QString &legacyId)
: JabberBaseContact ( rosterItem, _account, mc, legacyId) ,
m_syncTimer(0L)
{
-
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << contactId() << " is
created - " << this << endl;
// this contact is able to transfer files
setFileCapable ( true );
@ -120,6 +120,13 @
mDiscoDone = false;
}
+
+
+JabberContact::~JabberContact()
+{
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << contactId() << " is
destroyed - " << this << endl;
+}
+
QPtrList<KAction> *JabberContact::customContextMenuActions ()
{
@ -1539,7 +1546,7 @
JabberAccount *parentAccount=account();
Kopete::OnlineStatus status=onlineStatus();
- kdDebug() << k_funcinfo << jid << " is not a contact but a
gateway - " << this << endl;
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << jid << " is not a
contact but a gateway - " << this << endl;
delete this; //we are not a contact i said !
--- branches/kopete/0.12/kopete/protocols/jabber/jabbercontact.h #517529:517530
@ -39,6 +39,8 @
JabberContact (const XMPP::RosterItem &rosterItem,
Kopete::Account *account,
Kopete::MetaContact * mc, const QString &legacyId = QString());
+
+ ~JabberContact();
/**
* Create custom context menu items for the contact
--- branches/kopete/0.12/kopete/protocols/jabber/jabbertransport.cpp
#517529:517530
@ -48,6 +48,8 @
JabberContact *myContact = m_account->contactPool()->addContact (
XMPP::RosterItem ( myselfContactId ), Kopete::ContactList::self()->myself(),
false );
setMyself( myContact );
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << " transport created:
myself: " << myContact << endl;
+
//we have to know if the account get loaded from the config, or newly
created
bool exist=configGroup()->readBoolEntry("exist",false);
@ -291,7 +293,7 @
* - a new contact will born, with the same characteristics,
but owned by the transport
* - Olivier 2006-01-17 -
*/
- kdDebug() << k_funcinfo << endl;
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo << endl;
QDict<Kopete::Contact> cts=account()->contacts();
QDictIterator<Kopete::Contact> it( cts );
for( ; it.current(); ++it )
@ -302,7 +304,7 @
XMPP::RosterItem item=contact->rosterItem();
Kopete::MetaContact *mc=contact->metaContact();
Kopete::OnlineStatus status = contact->onlineStatus();
- kdDebug() << k_funcinfo << item.jid().full() << " will
be soon eat - " << contact << endl;
+ kdDebug(JABBER_DEBUG_GLOBAL) << k_funcinfo <<
item.jid().full() << " will be soon eat - " << contact << endl;
delete contact;
Kopete::Contact
*c2=account()->contactPool()->addContact( item , mc , false ); //not sure this
is false;
if(c2)
--- branches/kopete/0.12/kopete/protocols/jabber/libiris/iris/xmpp-im/types.cpp
#517529:517530
@ -615,8 +615,10 @
}
else if(e.tagName() == "thread")
d->thread = e.text();
+#if 0
}
else if (e.namespaceURI() == s.xhtmlImNS()) {
+#endif
if (e.tagName() == "html") {
QDomNodeList htmlNL= e.childNodes();
for (unsigned int x = 0; x <
htmlNL.count(); x++) {
_______________________________________________
kopete-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kopete-devel