UNOFFICIAL Adium with msnp15 testing

An instant messenger which can connect to AIM, GTalk, Jabber, ICQ, and more.
User avatar
alexit84
Harmless
Posts: 6
Joined: Thu Jul 03, 2008 10:33 am
Location: Italy
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by alexit84 »

Hello Dimmuxx,
I'm testing your builds and I've noticed that there is a problem on showing played songs as personal message. I can't see them (blank message) but if I look on the contact popup, the song is correctly there...

Hope it helps... and thank you !
Kuka
Harmless
Posts: 2
Joined: Thu Jul 03, 2008 11:56 am

Re: UNOFFICIAL Adium with msnp15 testing

Post by Kuka »

Hello Dimmuxx, I'm using your build since 24008, and I hadn't too problems, but I noticed I'm not able to block/unblock contacts...now I'm using 24077, it's the only bug I have. If I block a buddy the block persists only until the next reconnection...it's a little bit boring.
Btw, Thanks for your work, these builds are amazing! :cool: (and excuse me for my bad english :lol: )
User avatar
SLMalling
Harmless
Posts: 16
Joined: Mon Jun 16, 2008 9:01 pm
Location: Vejle, Denmark

Re: UNOFFICIAL Adium with msnp15 testing

Post by SLMalling »

alexit84 wrote: I'm testing your builds and I've noticed that there is a problem on showing played songs as personal message. I can't see them (blank message) but if I look on the contact popup, the song is correctly there...
I'm just guessing here, but you probably only use adium for msn.
And I'm thinking that this is just a setting that you have to enable in Adium.
go to "preferences" from the "adium" menu in the top
Select the number 4 icon from the left (it should say "appearance" the icon is 2 feathers)
Click on the lowest button titled "customize"
In the "contacts" pane make sure the top box has a checkmark, and that the whole line says something like "✓ show status below name"
Then it should work.... if all my assumptions are correct. :-)
User avatar
alexit84
Harmless
Posts: 6
Joined: Thu Jul 03, 2008 10:33 am
Location: Italy
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by alexit84 »

SLMalling wrote:
alexit84 wrote: I'm testing your builds and I've noticed that there is a problem on showing played songs as personal message. I can't see them (blank message) but if I look on the contact popup, the song is correctly there...
I'm just guessing here, but you probably only use adium for msn.
And I'm thinking that this is just a setting that you have to enable in Adium.
go to "preferences" from the "adium" menu in the top
Select the number 4 icon from the left (it should say "appearance" the icon is 2 feathers)
Click on the lowest button titled "customize"
In the "contacts" pane make sure the top box has a checkmark, and that the whole line says something like "✓ show status below name"
Then it should work.... if all my assumptions are correct. :-)
These settings are ok... I can read personal text messages, I can not read only songs !
User avatar
SLMalling
Harmless
Posts: 16
Joined: Mon Jun 16, 2008 9:01 pm
Location: Vejle, Denmark

Re: UNOFFICIAL Adium with msnp15 testing

Post by SLMalling »

alexit84 wrote: These settings are ok... I can read personal text messages, I can not read only songs !
If you add yourself to your contact-list, can you then see your own music?
If no, it may still be some setting... autosize vs. text size, that makes the music appear off the area that adium displays.
If yes, there may be a bug, which you could add me to your msn to test, if official msn sends the music in a different way.
Faye
Harmless
Posts: 3
Joined: Fri Jul 04, 2008 9:19 am

Re: UNOFFICIAL Adium with msnp15 testing

Post by Faye »

I'd really like to test this properly, but unfortunately I also need ICQ. Your DMG doesn't include ICQ6... but the MSN side looks great, apart from contact icons not being shown.
User avatar
alexit84
Harmless
Posts: 6
Joined: Thu Jul 03, 2008 10:33 am
Location: Italy
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by alexit84 »

SLMalling wrote: If you add yourself to your contact-list, can you then see your own music?
Yes, I can see it!
If yes, there may be a bug, which you could add me to your msn to test, if official msn sends the music in a different way.
Ok, I add you on my contact list. See you soon :) :smile:
gargantuayo
Harmless
Posts: 1
Joined: Fri Jul 04, 2008 3:54 pm

Re: UNOFFICIAL Adium with msnp15 testing

Post by gargantuayo »

Hello Dimmuxx,

I don't know if it's a known issue, but I'm gonna tell it anyway : when you send OIM messages to an not really off line client, it will not recieved the message until he disconnect and reconnect. It's very annoying beaucause some person thinks that I ignored them even if I answer them.
User avatar
SLMalling
Harmless
Posts: 16
Joined: Mon Jun 16, 2008 9:01 pm
Location: Vejle, Denmark

Re: UNOFFICIAL Adium with msnp15 testing

Post by SLMalling »

me and alexit86, just tested sending and receiving music messages, here's what we found out.
From adium the music is sent as an ordinary status message, and hence it works when received by adium.

From official msn the music is somehow sent differently, because adium will only display the status, and not the music.
Adium receives the music because it can bee seen in the pop-up if you hover your mouse over the contact.
If you're contact uses msn and does not have a personal message set, but is hearing music, no personal message will be displayed.
So in no circumstance adium will display the music it receives on the contact-list.

Do you think dimmuxx that you have the skills to connect the pieces in the adium code, or is this something that will have to be filed to trac as a bug?
It will probably have to be something that can be turned on and off with a pref, like the the old "display name as statusmessage", if I know the adium dev's
User avatar
Dimmuxx
Crema
Posts: 359
Joined: Mon Apr 21, 2008 1:42 pm
Location: Sweden

Re: UNOFFICIAL Adium with msnp15 testing

Post by Dimmuxx »

I'm away and I don't have access to my mac so I won't do builds for a while. But I have linked to my build with the icq fix at least.

Blocking list work in my two latest build.
The music stuff is another field and I prefer to see the personal message rather than the song. In Adium you can see both while in wlm only one of them. :)
Talking to invisible users work as it should and they get the message at once. (unless you can provide me with a log that shows the error) Maybe some clients doesn't handle OIMs as well as Adium & WLM does or the server can be weird. The MSN servers loves to be weird.
Buddy icons that doesn't show up are probably because they don't have any or they are using the web messenger or mobile which doesn't support them. Adium doesn't show if a contact is mobile or web messenger yet but the code exists in libpurple.

ALWAYS USE MY LATEST BUILD!
Don't fill this thread with bugs that are already fixed ;)
jakudo
Muffin
Posts: 26
Joined: Fri Jun 27, 2008 8:12 am
Location: Czech Republic
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by jakudo »

I tried to download the last build, but in this version the ICQ doesn't work and in the official version 1.2.6 is not the last MSN... Right? What can I do? How can I make the ICQ and MSN works?
User avatar
Dimmuxx
Crema
Posts: 359
Joined: Mon Apr 21, 2008 1:42 pm
Location: Sweden

Re: UNOFFICIAL Adium with msnp15 testing

Post by Dimmuxx »

jakudo wrote:I tried to download the last build, but in this version the ICQ doesn't work and in the official version 1.2.6 is not the last MSN... Right? What can I do? How can I make the ICQ and MSN works?
Icq works in 24179.

http://www.mediafire.com/?sbmjxidd0nv
User avatar
MacCuajo
Latté
Posts: 99
Joined: Sat Dec 25, 2004 4:53 pm
Location: Santiago , Chile
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by MacCuajo »

Mmm I keep getting the Authorization Request bug.. does it affect the fact that I'm running 10.4.11?
Mac Rulez !
MacBook 2.1Ghz
4GB RAM
User avatar
Dimmuxx
Crema
Posts: 359
Joined: Mon Apr 21, 2008 1:42 pm
Location: Sweden

Re: UNOFFICIAL Adium with msnp15 testing

Post by Dimmuxx »

MacCuajo wrote:Mmm I keep getting the Authorization Request bug.. does it affect the fact that I'm running 10.4.11?
With 24106+? Provide log if so.
Faye
Harmless
Posts: 3
Joined: Fri Jul 04, 2008 9:19 am

Re: UNOFFICIAL Adium with msnp15 testing

Post by Faye »

Your new Adium is burning my legs at the moment, here's the sample:

Code: Select all

Sampling process 1112 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Adium (pid 1112) every 1 millisecond
Call graph:
    1866 Thread_2503
      1866 start
        1866 _start
          1866 NSApplicationMain
            1866 -[NSApplication run]
              1866 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                1866 _DPSNextEvent
                  1866 BlockUntilNextEventMatchingListInMode
                    1866 ReceiveNextEventCommon
                      1866 RunCurrentEventLoopInMode
                        1866 CFRunLoopRunInMode
                          1866 CFRunLoopRunSpecific
                            1866 mach_msg
                              1866 mach_msg_trap
                                1866 mach_msg_trap
    1866 Thread_2603
      1866 thread_start
        1866 _pthread_start
          1866 CAPThread::Entry(CAPThread*)
            1866 HALRunLoop::OwnThread(void*)
              1866 CFRunLoopRunInMode
                1866 CFRunLoopRunSpecific
                  1866 mach_msg
                    1866 mach_msg_trap
                      1866 mach_msg_trap
    1866 Thread_2703
      1866 thread_start
        1866 _pthread_start
          1866 __NSThread__main__
            1866 -[NSThread main]
              1866 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                1866 CFRunLoopRunInMode
                  1866 CFRunLoopRunSpecific
                    1866 mach_msg
                      1866 mach_msg_trap
                        1866 mach_msg_trap
    1866 Thread_2803
      1866 thread_start
        1866 _pthread_start
          1866 select$DARWIN_EXTSN
            1866 select$DARWIN_EXTSN
    1866 Thread_2903
      1866 thread_start
        1866 _pthread_start
          1866 CFURLCacheWorkerThread(void*)
            1866 CFRunLoopRunInMode
              1866 CFRunLoopRunSpecific
                1866 mach_msg
                  1866 mach_msg_trap
                    1866 mach_msg_trap
    1866 Thread_2a03
      1866 thread_start
        1866 _pthread_start
          1866 __NSThread__main__
            1866 -[NSThread main]
              1866 -[NSUIHeartBeat _heartBeatThread:]
                1866 -[NSConditionLock lockWhenCondition:]
                  1866 -[NSConditionLock lockWhenCondition:beforeDate:]
                    1866 -[NSCondition waitUntilDate:]
                      1866 pthread_cond_timedwait_relative_np
                        1866 _pthread_cond_wait
                          1866 semaphore_timedwait_signal_trap
                            1866 semaphore_timedwait_signal_trap
    1866 Thread_2b03
      1866 start_wqthread
        1866 __workq_ops
          1866 __workq_ops
    1866 Thread_2d03
      1866 thread_start
        1866 _pthread_start
          1866 __NSThread__main__
            1866 +[NSThread exit]
              1866 _pthread_exit
                1866 _pthread_tsd_cleanup
                  1866 __NSFinalizeThreadData
                    1866 -[NSRunLoop(NSRunLoop) dealloc]
                      1866 _CFRelease
                        1866 __CFRunLoopDeallocate
                          1866 CFSetApplyFunction
                            1866 __CFRunLoopDeallocateSources
                              1866 __spin_lock
                                1866 __spin_lock
    1866 Thread_2e03
      1866 thread_start
        1866 _pthread_start
          1866 glvmDoWork
            1866 pthread_cond_wait$UNIX2003
              1866 __semwait_signal
                1866 __semwait_signal
    1866 Thread_2f03
      1866 thread_start
        1866 _pthread_start
          1866 fe_fragment_thread
            1866 pthread_cond_wait$UNIX2003
              1866 __semwait_signal
                1866 __semwait_signal

Total number in stack (recursive counted multiple, when >=5):
        8       _pthread_start
        8       thread_start

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        7464
        __semwait_signal        3732
        __spin_lock        1866
        __workq_ops        1866
        select$DARWIN_EXTSN        1866
        semaphore_timedwait_signal_trap        1866
Sample analysis of process 1112 written to file /dev/stdout
User avatar
Dimmuxx
Crema
Posts: 359
Joined: Mon Apr 21, 2008 1:42 pm
Location: Sweden

Re: UNOFFICIAL Adium with msnp15 testing

Post by Dimmuxx »

Faye wrote:Your new Adium is burning my legs at the moment, here's the sample:
?
Faye
Harmless
Posts: 3
Joined: Fri Jul 04, 2008 9:19 am

Re: UNOFFICIAL Adium with msnp15 testing

Post by Faye »

It was burning 100% CPU, doing that little lot. Your old build, and the new b7 build didn't do it, but the build on this page of the forum did it. !00% CPU for prolonged periods of time hurts your legs, when your laptop is placed on them. I had a Jabber conference open, and an MSN chat. Unfortunately I can't make head or tail of what the adium threads are busy doing, apart from getting lots of messages...

Here's a sample of a normally behaving Adium B7.

Code: Select all

Sampling process 151 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Adium (pid 151) every 1 millisecond
Call graph:
    1304 Thread_2503
      1304 start
        1304 _start
          1304 NSApplicationMain
            1304 -[NSApplication run]
              1304 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
                1304 _DPSNextEvent
                  1304 BlockUntilNextEventMatchingListInMode
                    1304 ReceiveNextEventCommon
                      1304 RunCurrentEventLoopInMode
                        1304 CFRunLoopRunInMode
                          1304 CFRunLoopRunSpecific
                            1304 mach_msg
                              1304 mach_msg_trap
                                1304 mach_msg_trap
    1304 Thread_2603
      1304 thread_start
        1304 _pthread_start
          1304 CAPThread::Entry(CAPThread*)
            1304 HALRunLoop::OwnThread(void*)
              1304 CFRunLoopRunInMode
                1304 CFRunLoopRunSpecific
                  1304 mach_msg
                    1304 mach_msg_trap
                      1304 mach_msg_trap
    1304 Thread_2703
      1304 thread_start
        1304 _pthread_start
          1304 select$DARWIN_EXTSN
            1304 select$DARWIN_EXTSN
    1304 Thread_2803
      1304 thread_start
        1304 _pthread_start
          1304 __NSThread__main__
            1304 -[NSThread main]
              1304 -[NSUIHeartBeat _heartBeatThread:]
                1304 -[NSConditionLock lockWhenCondition:]
                  1304 -[NSConditionLock lockWhenCondition:beforeDate:]
                    1304 -[NSCondition waitUntilDate:]
                      1304 pthread_cond_timedwait_relative_np
                        1304 _pthread_cond_wait
                          1304 semaphore_timedwait_signal_trap
                            1304 semaphore_timedwait_signal_trap
    1304 Thread_2903
      1304 start_wqthread
        1304 __workq_ops
          1304 __workq_ops
    1304 Thread_2b03
      1304 thread_start
        1304 _pthread_start
          1304 glvmDoWork
            1304 pthread_cond_wait$UNIX2003
              1304 __semwait_signal
                1304 __semwait_signal
    1304 Thread_2c03
      1304 thread_start
        1304 _pthread_start
          1304 CFURLCacheWorkerThread(void*)
            1304 CFRunLoopRunInMode
              1304 CFRunLoopRunSpecific
                1304 mach_msg
                  1304 mach_msg_trap
                    1304 mach_msg_trap
    1304 Thread_2d03
      1304 thread_start
        1304 _pthread_start
          1304 fe_fragment_thread
            1304 pthread_cond_wait$UNIX2003
              1304 __semwait_signal
                1304 __semwait_signal
    1304 Thread_2e03
      1304 thread_start
        1304 _pthread_start
          1304 __NSThread__main__
            1304 -[NSThread main]
              1304 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:]
                1304 CFRunLoopRunInMode
                  1304 CFRunLoopRunSpecific
                    1304 mach_msg
                      1304 mach_msg_trap
                        1304 mach_msg_trap

Total number in stack (recursive counted multiple, when >=5):
        7       _pthread_start
        7       thread_start

Sort by top of stack, same collapsed (when >= 5):
        mach_msg_trap        5216
        __semwait_signal        2608
        __workq_ops        1304
        select$DARWIN_EXTSN        1304
        semaphore_timedwait_signal_trap        1304
Sample analysis of process 151 written to file /dev/stdout
User avatar
Dimmuxx
Crema
Posts: 359
Joined: Mon Apr 21, 2008 1:42 pm
Location: Sweden

Re: UNOFFICIAL Adium with msnp15 testing

Post by Dimmuxx »

Faye wrote:It was burning 100% CPU, doing that little lot. Your old build, and the new b7 build didn't do it, but the build on this page of the forum did it. !00% CPU for prolonged periods of time hurts your legs, when your laptop is placed on them. I had a Jabber conference open, and an MSN chat. Unfortunately I can't make head or tail of what the adium threads are busy doing, apart from getting lots of messages...
It might be some bug in the revision I built from then or I did something bad in my msn-pecan changes but I didn't have any problem with it the time I tested it. It's probably a jabber bug since a lot stuff have been messed up with it lately. I can't build any new version for a while since I'm away from my mac.
Rusty Shackleford
Muffin
Posts: 38
Joined: Sun Jan 15, 2006 9:56 am

Re: UNOFFICIAL Adium with msnp15 testing

Post by Rusty Shackleford »

SLMalling wrote:From official msn the music is somehow sent differently, because adium will only display the status, and not the music.
The MSN (and XMPP) protocol allows you to publish current tune info independent of your status. It looks like the bit of the protocol for setting the currently playing song is detailed here. Ideally Adium should have a checkbox in the MSN account configuration to toggle whether song publishing is sent or not, similar to how XMPP accounts do it. Unless i'm going senile i'm sure that such a checkbox did, in fact, make an appearance in one of the 1.2 betas but disappeared in the final. Whether it actually did anything i don't know.
Adium receives the music because it can bee seen in the pop-up if you hover your mouse over the contact.
If you're contact uses msn and does not have a personal message set, but is hearing music, no personal message will be displayed.
So in no circumstance adium will display the music it receives on the contact-list.

Do you think dimmuxx that you have the skills to connect the pieces in the adium code, or is this something that will have to be filed to trac as a bug?
I would imagine this is a contact-list theme issue and also Adium probably has no current way of passing the info to the contact-list. It's not really a bug, and if you want to create a ticket should be marked as an enhancement request. If you do create a ticket you should probably request a protocol agnostic implementation since XMPP also supports similar functionality (using PEP) which i don't believe shows up in the contact-list either (i don't have any PEP enabled contacts to test it with).
It will probably have to be something that can be turned on and off with a pref, like the the old "display name as statusmessage", if I know the adium dev's
Probably best as a customise option in Appearance/List Layout.
User avatar
zac
Cocoaforge Admin
Posts: 1518
Joined: Sun Mar 27, 2005 3:19 pm
Contact:

Re: UNOFFICIAL Adium with msnp15 testing

Post by zac »

To re-enable the "Show others what I'm listening to" for P15, you can use `svn merge -c -21828 .` to restore the preference view, otherwise it's all there still -- this was disabled when we went back to P9 on trunk, and it doesn't look like msn-pecan supports the tune information yet.
Post Reply