osx

OS X 10.5 SDK deprecated getAttributeNS; what should I use instead?

I'm upgrading a project to use the 10.5 SDK. I'm getting warnings of this form: warning: 'getAttributeNS::' is deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/WebKit.framework/Headers/DOMElement.h:74) ...for getAttributeNS, hasAttributeNS, removeAttributeNS, replaceChild, and getElementsByTagNa...

Fortran debugger for Mac OS X

Can anyone recommend a good Fortran debugger for the mac (other than installing gdb, etc, via fink or macports)? ...

Easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard)?

What is the easiest way to activate PHP and MySQL on Mac OS 10.6 (Snow Leopard)? I'd prefer to use any built in versions before resorting to downloading from the PHP or MySQL websites. I'm comfortable at the command line in Terminal. ...

iPhone Login Screen that shows a Table View after logging in the user

Hi, I have a navigation based template application, I parse data into table view. I want to put a login screen before parse the data. I did the login screen and and succeed the login check. My problem is that when the user presses the button I change the view to the tableview. what a way should I draw? I want to learn how can i close the...

How to build a VST-plugin with OSX/XCode

I want to build a VST plugin on OSX. I can compile it just fine, but the VST-host (Cubase Essential 4) always crashes when trying to load it or reports that the plugin is somehow broken. Probably, this is because I am missing some ingredients to the VST-bundle. Which preferences need to be set in XCode and what stuff has to be put into ...

Longest pathname string in Mac OS X HFS+

I'm trying to find a definitive answer (e.g. Apple developer documentation) for the maximum length of a complete path string on Mac OS X. I've seen various non-authoritative sites that state that it is unbounded, 4096 characters, or 1024 characters, but haven't been able to find an answer on Apple's web site. ...

Change File Save Location

Hi Everyone: I am wondering if there is some way that I can create an script on Mac OS X that will change the default save location of all native Cocoa apps. I don't know where to start, so I am open to any advice about how to do this. Thanks for any help! ...

Visual Source Safe on Mac OS X

Is there an application or API for using/accessing Visual SourceSafe (6.0) under Mac OS X? I'm currently using VSS Connect under Parallels for working with our company's ASP.NET site/s. I currently have my Windows drive shared and try to use TextMate on the Mac side to actually edit files. It would be nice to have the ability to check fi...

Problem loading quaqua 64 libraries

Everytime my app loads I get the following error in the console: Warning: class ch.randelshofer.quaqua.osx.Application couldn't load library "quaqua64". java.lang.UnsatisfiedLinkError: no quaqua64 in java.library.path I thought this would be resolved by adding libquaqua64.jnlib to the resource directory that contian my libquaqua.jnli...

What is causing the Java VM on OS X to crash with "Invalid memory access of location java"?

The full message that I got on the console is: Invalid memory access of location 00000000 eip=0117f7e1 Bus error I don't remember seeing the Java VM crashing with this before, and I wasn't running code that was particularly new. Have you ever seen this before? I got this error running Java 1.5 on OS X. The precise version is: java v...

Run terminal commands from GUI app??

Hey guys, Do you guys know how to run terminal commands from you GUI application? I need the coding for my app. For example, if I type "netstat" in terminal it will give me all the ports. I want to this from my xcode app. Is that possible? BTW it's not just the "netstat" command it could be "sudo.... " Thanks, Kevin ...

Mutliplatform application: (Automated) Testing for Mac OSX howto?

I have a firefox based application(ff extension) that is supposedly/allegedly working on Mac OSX too. I wish to make the application formally supported in Mac OSX. For that, I need to incorporate automated tests in the build process specific to Mac OSX. With ubiquitous availability of Windows and Linux as cloud offering, executing autom...

"Click to execute" in Mac OS X

I have a short script to start my application (it invokes java with some parameters). The application needs a grannny-proof launcher for Mac OS X. The application is not installed, it is not even copied to the host disk, it is instead delivered on USB sticks. When the user inserts the stick and opens it up, she should be able to click a...

libpng framework on OS X

I'm looking for an Xcode project file that will let me trivially build a dynamic framework for libpng to embed in a Mac OS X application bundle. I found this project for libpng 1.2.8, but I need something reasonably current. I can make the project file myself, but I'd rather not reinvent the wheel if I don't have to. Does this already...

How to get the on-screen location of an NSStatusItem

Hi Fokes, I have a question about the NSStatusItem for cocoa in mac osx. If you look at the mac app called snippets (http://snippetapp.com/ look @ the movie there). you will see that once you clicked your statusbar icon that a perfectly aligned view / panel or maybe even windows appears just below the icon. My question is ... How to c...

Why is Standard Input is not displayed as I type in Mac OS X Terminal application?

I'm confused by some behavior of my Mac OS X Terminal and my Django manage.py shell and pdb. When I start a new terminal, the Standard Input is displayed as I type. However, if there is an error, suddenly Standard Input does not appear on the screen. This error continues until I shut down that terminal window. The Input is still being ...

FinalBuilder alternative for Mac OS X?

I use finalbuilder (http://www.finalbuilder.com/) for my build process. I wonder if exist a alternative to run in OSX. I could try to run finalbuilder inside a Windows virtual machine and run from SSH commands from there but still I want sometime to automatize the build process of my iPhone apps. I don't find a tool like FB with graphi...

Cloning permissions of a folder to another folder

Are there any ways in OS X to clone the permissions of one folder to another. Just to be clear, I don't want to copy the entire folder, just the permissions and then set them on another folder. I think this type of thing could be achieved on Linux/UNIX using the setfacl/getfacl commands, but I'm unsure on how to do this with OS X. Thank...

Xcode & passing command line arguments

I just started working with C & Xcode and I've run into a little difficulty. All I want to do is read a file from the command line and see the output in the terminal. I think my problem lies with the path to the file that I want to read in. I'm using a Mac and the file is on my desktop, so the path should be Users/myName/Desktop/words.t...

Unable to install python berkeleydb access on osx

I installed python 2.6 on my mac (which ships with 2.5, and I am going crazy in working with 2.6) Everything has been installed on /Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/. Now I want to install the python BerkeleyDB module, but it goes syntax error during the build: creating build/temp.macosx-10.3-fat-2.6/ex...