leopard

Where is Java source code for various com.sun.* packages on Leopard?

I am working on my MacBook at home, running Leopard, with the latest JDK 1.6 from Apple installed. In IDE, I'd like to browse source code for com.sun.java.swing.plaf.nimbus.NimbusLookAndFeel, but IDE cannot find it. Another example I'd like to browse is com.sun.java.swing.plaf.nimbus.ButtonPainter. What JAR or ZIP do I need to add to my...

Replace the bundled Apache and PHP installs on OS X Server 10.5

Is there any way to replace the bundled Apache and PHP install on OS X Server 10.5? I've got them installed separately at the moment, but it'd be nice if I could use the Server Admin tools with them. I know this is a long shot, but figured it's worth it. ...

Setting GCC 4.2 as the default compiler on Mac OS X Leopard

I'm sure there must be a way to do this. As you are probably aware the latest versions of Xcode (and in fact I think all versions of Xcode) on Leopard come with GCC 4.0.1 and GCC 4.2. GCC 4.0.1 is the default system compiler while GCC 4.2 is an optional compiler you can set in the Xcode project settings. Does anyone know how to set GCC ...

How to use hotspot probes in dtrace on Mac OS X Leopard?

My Leopard system has dtrace built in. I also have Java 6 installed, using the Apple-provided installer: $ java -version java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211) Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode) Nevertheless, dtrace shows no hotspot probes when listing probes: $ ...

“Right Click” keyboard short cut for Eclipse?

I am switching back and forth between eclipse and intellij and am really missing the ability to "right click" using the keyboard when I am in eclipse. I am running OSX Leopard. Does anyone know if this can be setup in the keys preferences, or is there a plugin that handles simulating a context menu at the current focused component? ...

Disable/Cancel Sleep Command on MacOSX

It seems to be impossible to completely disable the Sleep option in MacOSX so that a user cannot manually put the system to sleep. Is there a way in Leopard (or even Snow Leopard) for AppleScript to catch the Sleep event and cancel it? ...

Multiple versions of Python on OS X Leopard

Hi, I currently have multiple versions of Python installed on my Mac, the one that came with it, a version I downloaded recently from python.org, an older version used to run Zope locally and another version that Appengine is using. It's kind of a mess. Any recommendations of using one version of python to rule them all? How would I go a...

How do you install lxml on OS X Leopard without using MacPorts or Fink?

I've tried this and run in to problems a bunch of times in the past. Does anyone have a recipe for installing lxml on OS X without MacPorts or Fink that definitely works? Preferably with complete 1-2-3 steps for downloading and building each of the dependencies. ...

Mac OS X Tiger vs Leopard usage pervasiveness - any study?

I need to decide whether I should support Mac OS X 10.4 / Tiger, and the decision likely hinges on what percentage of mac users are still running Tiger. I didn't find anything too reliable on the interwebs nor on Apple's developer website. Let's ignore the impending Snow Leopard release and it's impact on Mac OS version usage distributio...

Binding IKImageBrowserView's zoom to the size of its parent NSScrollView

I have a vertical NSSplitView containing on one of its sides a NSScrollView with a IKImageBrowserView inside. The IKImageBrowserView shows only one row of thumbnails and only has horizontal scroller (the resizing mask is equal to NSViewWidthSizable). I would like to bind the zoom level of the IKImageBrowserView to the height of any of ...

No results in Spotlight in searches against kMDItemPath

I am trying to create a Spotlight query that searches for a string in the path of a file (I would like it to match in either the name of the file or the name of any of the folders is contained in). NSPredicate *predicateTemplate = [NSPredicate predicateWithFormat: @"kMDItemPath like[wcd] $SEARCH"; [query setPredicate: [predicateTem...

Compiling a py2app working build for both Leopard and Snow Leopard?

I currently am making my PyObjC application work for Snow Leopard and I successfully compiled a standalone app. My question would be, how do I make the build to be also Leopard-compatible, given these errors? dyld: lazy symbol binding failed: Symbol not found: _fopen$UNIX2003 Referenced from: /Applications/MyApp.app/Contents/MacOS/MyA...

What's the best resource to learn how to write apps for Mac OS X?

Hi. I'd like to learn how to write application for Mac OS X. Like how to use XCode properly, Cocoa syntaxes and examples, etc. I'm already a web developer using ruby, php, mysql, rails, etc. I looked through google quite some times but never found something palpable to learn from. But I really want to make my own application, for fu...

installer software for macintosh?

Hi, What installer software for macintosh would you recommend? It has to support leopard & snow leopard. Be easily scriptable and not expensive. Thank you, Nava ...

Can XCode 3.2 run on 10.5 Leopard?

Can XCode 3.2 run on 10.5.x Leopard? Or will it only work with Snow Leopard (10.6)? ...

Applescript to print Word documents

Is there a way to print all of the Microsoft Word documents (.doc) in a folder using AppleScript? ...

WiTap problem, probably 10.5.8 firewall

I've built the WiTap example both for my iPhone and for the simulator. Bonjour finds properly the other part on both, nevertheless (a) if I click the iPhone name on the simulator, all works well (the "game" does start) (b) if, though, I tap the Mac name on the iPhone, it goes blue--and nothing happens (in the code, the stream delegate ...

test.php cannot output file into Leopard filesystem

may i know what permission do i need to add, to allow test.php to able to write file into macos filesystem PHP Error: <br /> <b>Warning</b>: file_put_contents(20090915203127.jpg) [<a href='function.file-put-contents'>function.file-put-contents</a>]: failed to open stream: Permission denied in <b>/Library/WebServer/Documents/testphp/tes...

Problem with building Boost Graph Library Python bindings under Leopard

I've inherited some Python code which is importing boost.graph and I'm having an issue setting up the following under Mac OS X Leopard (I believe this is what I need to install to get it working): http://osl.iu.edu/~dgregor/bgl-python/ According to the readme I need to build with bjam, but I see the following error: [matt@imac ~/Downl...

Building for 10.5 in Xcode 3.2 (on Snow Leopard) error

I just created a new Cocoa project on XCode 3.2. I'm running it in Snow Leopard. When I build it for 10.6 it works fine but if I change the active SDK to 10.5 I get this error: cannot find protocol declaration for 'NSApplicationDelegate' ...