Thursday, November 29, 2007

System Spelunking

I got bored, so I started poking around inside OS X this week. Here's some of the interesting (to me) tidbits:

Time Machine


Used to be called Peabody? Hitting Time Machine with strings(1) shows three keys of the form com.apple.peabody.* - This is (probably) a reference to Mr. Peabody's Wayback Machine which allowed one to see what the past looked like. Another curiosity here, in the prefpane's Localizable.strings, we see FILEVAULT_WARNING_TIGER. Does this mean that Time Machine used to work on Tiger?

Screen Sharing


Perhaps this used to be called Liason? The icon name inside the app bundle is liason.icns. This is a little odd because the app controller is SSAppController. Maybe they just used their refactoring support there but didn't change the icon name. Also, there's an -isLeopard; selector in here - maybe this was designed to work on 10.4 as well? I might try grabbing the app and shifting it over to a 10.4 machine to see what happens. Liason is definitely a cooler name than Screen Sharing.

Probably not new, but interesting anyway:



  • Network Utility has "stroke" in its resources, it's a simple command-line portscanner. It's even nice enough to give you usage if you fail to give it sane arguments.

  • Apple is really inconsistent about their standards for shipping nibs. Boot Camp has classes.nib, info.nib, keyedobjects.nib, and objects.nib, but over in Address Book I saw keyedobjects.nib and designable.nib.


I've never noticed designable.nib before. It's XML text, and it looks like the new "xib" format introduced with IB 3. In fact, you can open designable.nib using IB 3 if you change the extension to xib and it'll work. locate(1) indicates a bunch of these scattered throughout the system. Does anybody know what these are for? There's one in my dev build of Adium, so I don't think it has something to do with using xib files, because we don't do those yet.

1 Comments:

Blogger Peter Hosey said...

> Another curiosity here, in the prefpane's Localizable.strings, we see FILEVAULTWARNINGTIGER. Does this mean that Time Machine used to work on Tiger?

FileVault is built on sparse disk images, and there are some new features of those in Leopard. My guess, then, is tha tit presents that warning if it encounters a FileVault disk image that was created in Tiger. The English text of the warning's title seems to back this up.

> Liason is definitely a cooler name than Screen Sharing.

I believe you mean Liaison.

That's probably why they changed it: I suspect a lot of people get that wrong. Apple doesn't do very many hard-to-spell names; “Xcode” is the only one I can think of off the top of my head.

> Boot Camp has classes.nib, info.nib, keyedobjects.nib, and objects.nib, but over in Address Book I saw keyedobjects.nib and designable.nib.

Boot Camp ran on Tiger. I think they figured that upgrading its nibs would violate the principle of DRTB.

As for Address Book, that's a version-3 nib. Presumably, Apple is using xibs for the new AB; these get compiled to version-3 in the built product. (So sayeth the release notes.)

1:28 AM  

Post a Comment

<< Home