mac

Turbogears: Can not start paster after updateing to mac osx 10.6

After updateing to mac osx 10.6 I had to switch back to python 2.5 in order to make virtual env work. But still I can not start my turbogears project. Paster is giving this : Traceback (most recent call last): File ".../tg2env/bin/paster", line 5, in <module> from pkg_resources import load_entry_point File ".../tg2env/lib/python...

When was <input type=search> introduced in Safari

When was <input type=search.> (and type=range etc.) introduced in Safari? And can you find the blog-post to this item? I can't seem to find it. ...

Built-in password authentication dialog in Cocoa?

Is there a built in username/password dialog box in Cocoa? I don't want to reinvent this if there's a standard way of doing it, but after googling, I came up with nothing. I often see that lock image with the application image superimposed on it, so I thought there might be something. ...

Compatability problem on Mac browsers*

Hey everyone, I'm designing a little website ( you can see it here ) but I'm getting conflicts with something going from Mac based web browsers to PC based browsers. It seems to pop up on all Mac browsers and not on PC browsers. I have tested on Safari and Firefox on the Mac and Firefox/IE on PC. The image on the left is from a PC, the...

How do I create a Mac installer for my Java application?

I have created an executable JAR file for my Java application. If I double-click then it works fine. But I want to create installer for Mac OS, because I cannot give a JAR file to my users. Any suggestions? ...

Core Location in OS X 10.6 Snow Leopard

Is there a way to utilize this? 10.6 uses it to determine the time zone; it can be disabled in Security.prefPane. ...

How to access / embed Finder functionality?

Is it possible to embed Finder functionality in a cocoa app, now that Finder is itself cocoa (assuming the app were to function only in snow leopard)? What I mean is to have a file browser pane as part of the app, actually browsing the file system itself (to edit in another pane), but without writing all the functionality of the Finder....

Building universal binaries on Mac - Forcing single compiler child process

Cheers, at company, we're creating a port of our games, and we need to compile PythonOgre, a wrapper of Ogre3d for Python. This is an enormous chunk of code, particularly the generated wrapper code. We have a Mac Mini with 1GB RAM. We've built i386 version. Since we have only 1GB of RAM, we've forced the build system to use only one co...

iPhone SDK on PowerPC?

Hi All, Can any one tell me that does iPhone SDK 3.0 or 3.1 support Power PC machines having Leopard 10.5 or above. If not then what's the solution for the same. As i am having a Mac with Power PC on it and panther. First of all I will upgrade it to Leopard by purchasing the Installable and then install iPhone SDK. Will this work ? Ple...

Developing Word add-ins for Macintosh

I have an add-in for Word 2007 developed using VS2008/.NET 3.5. What do I need to do in order for Mac users to use this add-in with their Word 2008? (or did MS made sure it would be impossible to do...) Thanks guys, you saved me a lot of time. ...

Compiling a 'static' binary from fortran on mac

Hi, I would like to compile fortran code on mac such that it does not depend on any shared library. Ultimately, I want to be able to send the binary to other people and for it to just work (provided the processor has the right architecture). I noticed that g95 and ifort have a -static flag, which does not work on mac. If I consider the...

Add an item to the Finder/Save dialog sidebar

I'm working on a script where a user logs into a guest account on OS and is prompted for their network credentials in order to mount their network home folder (while they benefit from working on a local user folder). As the guest folder is deleted when users log out, I want to discourage them from saving anything there. I would like ...

Undefined symbol _main when trying to build logstalgia on mac

Hey all, I have been trying to build the logstalgia project (http://code.google.com/p/logstalgia/) on my Mac (10.5). Rather than having to link it to the system libraries correctly, I have built and added all of the dependencies to the project. I am new at this, but I do think I have done this correctly, mostly because I have had two o...

Independent iPhone Developer Network

Hi I'm currently doing some independent development on the iPhone and Mac. Loving the freedom but the single biggest thing I miss about working with a team of developers is the opportunity to talk through design choices and issues with other developers. I'm not talking about general "humm ..." questions (there is stackoverflow for that ...

Upgrade Python to 2.6 on Mac

I'd like to upgrade the default python installation (2.5.1) supplied with OS X Leopard to the latest version. Please let me know how I can achieve this. Thanks ...

Java5 on Snow Leopard

Hi, I need Java5 (not 6), but Snow Leopard comes with only Java6. There is /System/Library/Frameworks/JavaVM.framework/Versions/1.5, but that just points to 1.6.0: $ ls -la /System/Library/Frameworks/JavaVM.framework/Versions/ lrwxr-xr-x 1 root wheel 5 Sep 24 20:12 1.3 -> 1.3.1 drwxr-xr-x 3 root wheel 102 Jul 21 07:35 1.3....

How can I find out how much memory my c++ app is using on the Mac

Certain operations in my app are using more memory than I think they should, and I would like to log the current memory usage to help identify which they are. Is there a system call that will return the amount of memory currently in use? ...

OCUnit on Snow Leopard VS Leopard

I am working on a iPhone project that just added a second developer. The new developer got a new shiny macbookpro with snow leopard and Xcode 3.2. I am still on leopard and using Xcode 3.1. He is getting errors trying to run the unit tests (OCUnit and OCMock are being used). The shell script as the last step of the Test Target fails ...

Using a category in a dylib to extend a binary's class

Hello, I have an objc app that has the class Foobar and I want to make a dylib that will be loaded into that app on start and extends the class Foobar with a few methods. Unfortunately I cannot build the library, I get the following linker error: "_OBJC_CLASS_$_Foobar", referenced from: __objc_const@0 in Foobar+MyStuff.o ...

How do you change a drag-and-dropped image mid-drag?

So I want to drag an object from one source to multiple potential destinations. When the object is over each destination, I want it to 'morph' into a different image. Is there a straightforward way to do this from the NSDragSource perspective? ...