snow-leopard

Unable to install Eclipse IDE on my Mac

Hello, I'm trying to download Eclipse IDE for Android development. I've downloaded the setup but whenever I try to open the dmg it gives the an error saying: "Can't open the application Eclipse because it is not supported on this type of Mac." The Processor of my Mac is 1.83 GHz Intel Core Duo and version of my Mac OS X is 10.6.4. ...

How do I wait until an NSOperationQueue has finished in a Unit Test?

The Problem I have an NSOperationQueue called logEntryGeneratorQueue I want to wait until all operations on the queue have completed If I use: [logEntryGeneratorQueue waitUntilAllOperationsAreFinished]; it works fine if the thread adding to the queue is in the background itself. However, if I'm running this code via a unit test,...

Django and PIL on Snow Leopard

I am trying to get PIL working with Django 1.2.1 and Python 2.7 on Snow Leopard I have followed instructions I found here on SO and I should be doing it right. The imports and selftest.py works fine and I both save and open images in the interactive python, but Django cannot use it. I get the error The _imaging C module is not instal...

Does the Mac Developer Program have old versions of Mac OS X?

I'm developing something for Mac OS X. It's a port of a Windows product. One of my boss' concerns is how it will run on older versions of Mac OS X. I know Xcode has facilities for compiling for old versions of Mac OS X, but QA would prefer to actually run the older versions of Mac OS X on a Macintosh. Since we got into Macintosh devel...

A profiler for Fortran on a mac?

I've got a scientific code running on my mac (I'm running snow leopard) , a code written in Fortran. I've been trying to get a profile of the run time of the code, but am having little success. It appears that gprof doesn't return any actual timings, just a count on how many times a subroutine was called. I looked around, this appears...

Cocoa osx: Add a menu item on dock elements for all running applications

I'm working to an application for OSX and I would to add a new menu item on the menu shown when you click on a dock icon. The menu isn't for my application but it must appear for all running apps. I've found only this doc http://cocoadevcentral.com/articles/000036.php but it adds to its own app. My app will run on OSX 10.6 or superior ...

PDF to HTML Mac

Is there a software for mac os X 10.6.4 that that converts PDF to HTML ? ...

What process controls the menubar in OS X (not menuextras on the right side)?

I know menuextras are controlled by SystemUIServer. My question is what process controls the entire menubar, including accepting and displaying app menus on the left side? ...

SecurityKit problem, snow leopard

Hi, Very simple question but I can't seem to get it to work. Imagine the following code, why would the compiler give me the errors below? I've imported the relevant header file, included the framework. Target is 10.6. #import <Security/Security.h> - (void) snowLeopardCodeSignCheck { SecStaticCodeRef ref = NULL; } 'SecStatic...

Is it possible to uninstall ruby gems, rails etc and do a complete clean install?

I seem to be having issues with gems and want to start with a fresh install. Is this possible without reinstalling Snow Leopard from scratch? Thanks in advance, Galen ...

NSEvent modifier flags not updating until mouse moves.

In Mac OS X 10.6, NSEvent has a +modifierFlags class method to determind the currently pressed modifier flags. In 10.5, using [[NSApp currentEvent] modifierFlags] only updates after mouse move. Is there any way to asynchronously get the modifier flags? ...

Wordpress: Error establishing a database connection. Yeah, I've tried that. And that...

This is driving me nuts! I have a test instance of Wordpress installed on my MacBook Pro, which has suddenly stopped working. If I head for http://localhost:9003/wp-admin/ I get: Error establishing a database connection This either means that the username and password information in your wp-config.php file is incorrect or ...

How to program in C on Mac Leopard without XCode IDE ?

Hi, I have just come to Mac world from Linux world and I love my way around in Mac environment. I want to write and practice simple C programs in mac and I was searching for the tools I require. Most (All) of the resources in the web ask me to use XCode as IDE to do programming in C on Mac. XCode, for my purpose seems to be an overkill....

How to get and modify EXIF data from Images in mac os x sdk

Hi All, Is there any library that I can use to get/modify EXIF data of images on mac os x (snow). Thanks Saurabh ...

How to edit EXIF, IPTC and XMP metadata in cocoa?

Hello All, I want to read and edit EXIF, IPTC and XMP metadata of an images using cocoa. I can read the EXIF metadata using NSBitmapImageRep * imageTest = [NSBitmapImageRep imageRepWithContentsOfFile:filePath] ; NSLog(@"Exif Data in %@ : %@",fileName, [imageTest valueForProperty:@"NSImageEXIFData"]) ; How can I modify this data? ...

Howto change Pythonpath in Python 3

I am trying to switch from using Python 2.6.5 to using Python 3.2a2. I am using OSX 10.6.4. However, when I open Idle in the Python 3.2a2 folder it cannot import any of the modules I installed to Python 2.6.5. Is there a way that I can share the same folders on Python 3.2a2 ? ...

Installing VPython in Snow Leopard?

So, i've just startet university, and we have to install python. Thats fine, cause it's build-in to OSX (Snow Leopard). I have installed matplotlib, numpy and scipy using this : http://stronginference.com/scipy-superpack/ It works perfectly, and i don't have to install the python.org version. But, now we have to install VPython, wich req...

How to Install rpy2 on Mac OS X

Hi everyone, I am trying, so far unsuccessfully, at installing the rpy2 for python on my Mac OSX. I have tried Macports and DarwinPorts but have had no luck with import rpy2 within the python shell environment. I don't know much about programming in Mac and I am a wiz at installing modules on a Windoze based system, but for the life of...

Compiling PHP 5.3.3 on mac os snow leopard. Issue with iconv linking

Hi, I'm trying to recompile PHP 5.3.3 on mac os snow leopard with iconv and getting the following error: Undefined symbols: "_libiconv_open", referenced from: _php_iconv_string in iconv.o __php_iconv_strlen in iconv.o __php_iconv_substr in iconv.o __php_iconv_substr in iconv.o __php_iconv_strpos in iconv...

Possible to configure OS X VPN to split traffic between VPN and local interface?

I'm using the built-in OS X VPN tool to connect to my company's network. I notice that, when I'm connected, all traffic goes over the VPN. In the past when I've used the Windows VPN tool I was able to configure it such that only traffic to certain IP ranges and/or host names went over the VPN and everything else went over the local net...