mac

Are there any guidelines for appropriate use of the Black HUD UI in OS X?

Does anyone know what the HIG are saying about the black HUD UI in OS X? ...

Why does Mac's $find not have the option -printf?

I have not found a reason why Mac's find does not have the option -printf. Apple normally decides to take options out which are not orthogonal to the other commands? How can you reach the same result as the following command in Mac without coreutils? find . -printf "%i \n" // command in Ubuntu ...

When is a CGBitmapContext not a BitmapContext?

I have a CGContext that I create with CreateARGBBitmapContext from here. When I do CGBitmapContextGetBitsPerComponent it tells me 8 bits per component (Which is correct) However, when I do CGBitmapContextGetBitmapInfo or CGBitmapContextGetData, I get NULL. Those are only supposed to give NULL when the context isn't a bitmap context. How...

Events For Window Dragging in Java

I'm trying to implement an OS X drawer like feature in Java, and so I'm going to have one window hiding under another. However when I drag the primary window (JFrame) I need to send updates as it moves to the secondary window (JWindow) below. So it'd be something like this… --------------- | |---------- | JFrame | ...

Black and White graphics context

I'm working in Quartz/Core-graphics. I'm trying to create a black and white, 1b per pixel graphics context. I currently have a CGImageRef with a grayscale image (which is really black and white). I want to draw it into a black and white BitmapContext so I can get the bitmap out and compress it with CCITT-group 4. (For some reason Quart...

Producing CCITT compressed TIFF from CGImage

I have a CGImage (core graphics, C/C++). It's grayscale. Well, originally it was B/W, but the CGImage may be RGB. That shouldn't matter. I want to create a CCITT-Group 4 TIFF. I can create an LZW TIFF (grayscale or color) via creating a destination with the correct dictionary and adding the image in. No problem. However, there doesn't...

Testing a Mac-developed WebApp with IE through Virtualization?

Hello, I'm currently developing a Java-based web application on my MacBook. Most of my testing is on Firefox and Safari, but some clients have expressed interest in using the app on Internet Explorer with WinXP and Vista. I know I'll have some serious client-side / Ajax debugging, adjustements to do. I do have a Fusion guest with WinXP...

Unable to make a tab completion file for MacPorts in Bash?

I did not find by Google a tab completion file for MacPorts. It should not apparetnly differ much from the ones for Git and Django. How can you make a tab completion for MacPorts in Bash? ...

Unable to pbcopy at Vim's ED editor

I have tried unsuccessfully to copy the pwd to pbcopy as follows pwd | !pbcopy How can you copy your path in Vim's ED editor (: -mode)? ...

Unable to add a port to my local repo in MacPorts

I am trying to add a port to my local repo in MacPorts. I know the guide. I run at /Users/Masi/bin/MacPorts/ports/Git unsuccessfully portindex Creating software index in /Users/Masi/bin/MacPorts/ports/Git Total number of ports parsed: 0 Ports successfully parsed: 0 Ports failed: 0 My port-file is the following PortSystem...

Making RDoc Ruby Gem Default on Mac OS X

Hey all, I've recently installed RDoc version (2.4.3) through Ruby gems to replace the one shipped with Mac OS X (version 1.0.1). Unfortunately, I can still only use RDoc 1.0.1 when I call run "rdoc" at the command line. rdoc -v returns: RDoc V1.0.1 - 20041108 I tried amending the $PATH variable to point the first entry to the RDoc 2....

Bus error when running Android 1.5 emulator on Mac OS X 10.5.6

Here is the crash report. I have removed all Input Managers that were added, but it's still happening. Any ideas? Process: emulator [460] Path: /usr/local/dev/android/android-sdk-mac_x86-1.5_pre/tools/emulator Identifier: emulator Version: ??? (???) Code Type: X86 (Native) Parent Process: bash [275...

Choosing an area on a Mac OS X Desktop

If you press cmd+shift+4 in Mac OS X you are able to select an area on your screen with the corrosponding coordinates shown. I need to implement such a function in one of my applications and have no idea of how to do it. Could anyone give me some advices on that? Thx. ...

CodeCharge Studio alternatives for Mac?

Hi, I'm a happy user of CodeCharge Studio but sadly it's the only reason to have a virtual machine with parallels, everybody here use a Mac. Does anyone know some other tool that generates PHP code and runs under OS X? ...

Running python code from standard Cocoa application

I have an XCode project built as a Cocoa single document application (it's not a Python-Cocoa application, that is not what I want). All the documentation I found assumes I want to create a Cocoa application with code written in Python and this is not the case - I want a standard Cocoa application that calls a method out of a Python cla...

Unable to use git-svn in Mac

I installed Git with svn in MacPorts by sudo port install git-core +svn I have tried to use git-svn unsuccessfully by git svn egUrl and git-svn egUrl How can you use Git-svn in Mac after MacPorts' installation? ...

Where can I get the 10.6 SDK for XCode

Where can I get the 10.6 SDK for XCode? I have the beta of Snow Leopard, and I installed XCode off of the DVD, but it only installed the 10.5 and 10.4 SDKs. I need to build against 10.6 to verify a bug for Apple. ...

installing BlackBerry Eclipse JDE plugin on Mac OS X

Is it possible to install BlackBerry Eclipse JDE plugin on Mac OS X? I tried to install the plugin through the eclipse update and also by downloading the zip file from the BlackBerry site. This is the most unintuitive process for getting set up in development environment. BlackBerry site does not make it easy. ...

Errors compiling PHP with GD2 and Freetype on Mac Leopard 10.5.6

I'm compiling PHP5.2.9 on Mac OS X 10.5.6. Need some help to figure this out. I have PHP compiling and working with a basic config, and now I'm trying to compile with GD2. The problem I'm running into is that if I add the argument to build with Freetype, I get build errors. This is my minimum config to demo the problem. Also, I know tha...

<s>open</s> firmware console on mac osX (intel)

according to ADC: You can access Open Firmware this by holding down Command-Option-O-F at boot time. however, in reality this does not work on current hardware. Does anybody know if there is a way (through trigger-key's, etc) to get to an open firmware (EFI) console on contemporary architecture macs? thanks in advance! |K< EDIT:...