osx

Is there an equivalent to XKB geometry on Windows and OS X?

I am displaying an on-screen keyboard overlay, and ideally I would like to display something resembling the user's actual keyboard, which I do under X with XkbGetGeometry, much like xkbprint. I was wondering if there was something comparable on OS X and Windows. ...

How to detect printer out of paper in OS X?

In Mac OS X: Is there a programmatic way to detect if the selected printer is out of paper? ...

Mac OS X Java SDK Support

Can anyone tell me, or send me to a page, that can tell me what version of Java that a Mac OS X supports out of the box? I know for instance 10.5 comes with Java 1.5 installed by default. what about 10.4? 10.3? 10.2? 10.1? My app needs to be cross platform and I need to figure out what Java version to use to build my Java code. This wo...

Reinstall /Library/Python on OS X Leopard

I accidentally removed /Library/Python on OS X Leopard. How can I reinstall that? ...

How am I going to reproduce Javascript bugs if I don't have a Mac & Safari?

Simple question... How am I going to reproduce Javascript bugs if I don't have a Mac & Safari? Is it possible to run a legit copy of Mac OS on VMWare, or even better...run Safari in Windows? ...

Can MacOS be run in a VMWare type environment?

Can MacOS be run in a VMWare type environment on Windows? ...

Python unicode in Mac os X terminal

Can someone explain to me this odd thing: When in python shell I type the following Cyrillic string: >>> print 'абвгд' абвгд but when I type: >>> print u'абвгд' Traceback (most recent call last): File "<stdin>", line 1, in <module> UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-9: ordinal not in range(128)...

SVN won't commit unversioned files even though they show up with svn status

Hi, I'm running into difficulty setting up a new project into source control. I've imported a project into subversion and on the surface everything seems to be running fine. However, whenever I add a new file into the project, even though it comes up as unversioned when I run svn status, it isn't checked in when i try and check in, eithe...

How to pass a command line switch to XCode when I start 'Build and Debug'

Hi, I have a XCode project and I can 'build and debug' with it. But how can I pass a 'command line switch' so that XCode to invoke with that command line switch when I 'build and debug'? Thank you. ...

How do I get the "Measurement Units" setting from OS X?

I want my app to display measurements in US or Metric based on the chosen setting in OS X's International preference pane. How do I get this piece of information from the OS in my code? ...

Is there any opengl example so that I can run on MacOS?

Is there any opengl example so that I can run on MacOS 10.5.5? And if there is a XCode project with the opengl examples? Thank you. ...

How to set breakpoint in a dependent xcode project

Hi, i have a XCode project (my main xcode project which has its executable). It has dependencies on a few other projects (under the Project tab in Detail View, there are a few other xcode project that it depends on). My question is how can I setup breakpoint in the code of the dependent project? I tried this, but this does not work 1....

Can you develop Windows Mobile applications on OS X?

Is it possible to develop an application for a Windows Mobile device, on Mac OS X? This question mostly due to this answer, criticising Apple for only releasing the iPhone developer tools for the Mac platform.. I'm simply curious if this is possible or not, hopefully an Apple-vs-Microsoft argument can be avoided! There are similar ques...

Odd behavior - SWT Browser on Mac OS X

This is a strange behavior, and hard to explain without a picture, so I will try my best. My application has an embedded SWT browser widget, and the application is cross platform. It works perfect on Windows, but need to support Mac OS X 10.4 and above. The browser widget is within a composite on the right side, and a file tree within a...

Creating a bundle - What's going wrong?

Hello everyone, I've got a relatively simple one here. I'm making bundles to live inside the Resources folder of my application (and possibly in the Application Support folder). These bundles will contain template information for the data the application handles. I've constructed a bundle, with extension "booksprintstyle", and the direct...

Applet 'blinking', 'flashing' under OSX while scrolling.

Hi, I have the problem that an applet in Safari or FF under OSX 'disappears' for 1-2 sec when scrolling and then fully redraws again. This effect I call 'blinking/flashing' because it looks like it. This usually happens if the applet is bigger then the browser window - so I need to scroll. Is this a general problem with OSX? Is it a k...

best way to start learning Cococa in iPhone or OSX, espeicaly getting the big picture

Hi all, So I started my iPhone programming and have just uploaded my first game to the app store. However, I took the C++ & OpenGL & openFrameworks route, hence I am still entirely a newbie to the Cococa, Objective-C and the "authentic" Apple developer world. Right now I am learning through Beginning iPhone Development by Dav Mark, Jef...

cannot ffmpeg-php mac os x leopard

has anyone been able to install ffmpeg-php on osx? i was able to install ffmpeg via mac ports. ffmpeg-php wont install. problems: cannot find shared directory because macports installs it to /opt/local/include/ and /opt/local/lib. ffmpeg-php looks in /usr/local/include/ffmpeg phpize returns a whole bunch of warnings, not sure if thi...

How can I display all the threads for my program when debug in Xcode

Hi, How can I display all the threads for my program when debug in Xcode? I am using eclipse for java debugging, it can show all the current threads in the program and I can suspend each one of them and show their current stack trace. Can I do that same in XCode? Thank you. ...

How can I make a String with cyrillic characters display correctly?

On Mac OS X 10.5 with Java 1.5, I have this code snippet. public static void main(String[] args) { String name = "Алексей"; System.out.println("name = " + name); } The output is: name = ??????? I expected to see: name = Алексей How can I make this happen? ...