Why a WatchPaths key instead of a QueueDirectories key?

 
The QueueDirectories depends on the directory being empty to look for added files. If you open
the directory in the Finder it will make a .DS_Store file and throw your job into a horrible loop. The
WatchPaths is a bit different in that it watches a path for modifications and doesn’t require the
directory to be empty. WatchPaths can also keep an eye on a file.

Blogged with the Flock Browser

InputManagers folders is now officially unsupported in Leopard

The automatic loading of bundles located in InputManagers folders is now officially unsupported. The conditions for valid input manager bundle is further tightened. This functionality is likely to be disabled in a future release.

  • The valid installation is now restricted to the /Library/InputManagers folder only. Bundles in other locations are silently ignored.
  • All the files in the bundle and /Library/InputManagers folder itself must be owned by the root user and admin group. No files inside the bundle can have group or other write permissions.
  • Processes running with the root privilege (getuid() == 0 or geteuid() == 0) cannot load any bundle input manager.
  • Processes running with the wheel group privilege cannot load any bundle input manager.
  • The process must be in the active workspace session at the time of loading the bundles.
  • The process must not be tainted by changing user or group id (checked by issetugid()).
  • No 64-bit processes can load any bundle input managers.
Blogged with the Flock Browser
Posted in MAc. Tags: , , . 1 Comment »

Examine the Objective-C segment of Mach-O files

About class-dump

This is a command-line utility for examining the Objective-C segment of Mach-O files. It generates declarations for the classes, categories and protocols. This is the same information provided by using ‘otool -ov’, but presented as normal Objective-C declarations.

Why use class-dump?

It’s a great tool for the curious. You can look at the design of closed source applications, frameworks, and bundles. Watch the interfaces evolve between releases. Experiment with private frameworks, or see what private goodies are hiding in the AppKit. Learn about the plugin API lurking in Mail.app. Uncover the API of the latest, greatest consumer electronics device that ships without an SDK.

Blogged with the Flock Browser