Archive for the 'Adium' Category

ISO 8601 parser

Monday, May 29th, 2006

I finally finished (more or less) my ISO 8601 parser for Obj-C. I’ll be using it in my TTL patches for Vienna and Feed, and Colin will use it in the Adium XML logging code.

Right now I’m working on an unparser, for creating a string from an NSCalendarDate. Colin will be using that too. I think he’ll be posting more about it on the Adium blog when it’s in.

Technorati tags: .

Troy Stephens is cool

Friday, March 17th, 2006

I emailed him early this morning about the fact that I wasn’t credited on the 0.9 release, which incorporates my patch. He has fixed the IconFamily webpage and will add me to the ReadMe for 0.9.2.

And when 0.9.2 comes out, I’ll check it into Adium, killing three of its deprecation warnings. Sweet! (I never applied my patch in Adium because my preference was for it to be applied in the master IconFamily source, and now it has been.)

Technorati tags: .

Adding chat styles to Skype

Monday, February 27th, 2006

The Mac version of Skype has a pop-up menu in its Preferences labeled “Style”.

Screenshot of Skype's Preferences, Chat tab, with the “Style” pop-up set to Stockholm.

But wait. Why does it say “Stockholm” in my screenshot?

Well, it turns out that the format of Skype’s “chat styles” is the same as Adium’s message view styles. This isn’t something they openly tell people; the only evidence of it is a folder named “ChatStyles” inside the Skype application bundle, with the built-in chat style in it. A cursory analysis suggested that the format might be the same, and this was proven when I dropped the chat style into Adium’s message styles folder (and changed its filename extension) and it worked.

But you can’t go the other way — if you change the contents of Skype’s application bundle in any way, by adding, changing, or removing files, Skype will log an error to Console and refuse to launch.

So here’s how I installed the third-party Adium message view style “Stockholm” as a Skype chat style.

  1. Create a folder named “ChatStyles” in Library/Application\ Support/Skype.

  2. Copy an Adium message view style of your choice to the new ChatStyles folder.

  3. Rename it from “Foo.AdiumMessageStyle” to “Foo.SkypeChatStyle”. The icon will change to a folder; this is normal. But Finder’s column-view preview will still show the Adium message style icon. ;)

    UPDATE 03:47 PM: Actually, you don’t have to rename it. An AdiumMessageStyle will work just fine. (Sorry, should have tried that first…)

When you launch Skype, it will have the new chat style(s) in its pop-up menu.

UPDATE 3:51 PM: A previous version of this post claimed that you have to rename the style to Foo.SkypeChatStyle. Well, you can, but you don’t have to — Foo.AdiumMessageStyle will work just as well.