I use a mac (and therefore java 1.6) to develop a cross-platform application that is released in Java 1.5. I've discovered that Eclipse can enforce 1.5 compliance, and that has saved me from publishing some code with 1.6-style @Override syntax. However, eclipse's compliance-detection is limited to syntax. It will not catch functions. ...
Hi all,
I'm new to Mac OSX dev, and I'm having trouble with building a metapackage.
I have 7 pkgs which I want to wrap up into a metapkg.
When I executing each package separately everything works as expected, all scripts run etc.
However, when the same packages run as part of a metapackage, none of the scripts execute. The scripts a...
When you run top or Activity Monitor on OS X, you see a variety of performance data for the whole system - current and historic CPU usage, physical memory and swap space usage, disk activity, and so on. On Linux and some other Unixen, you can access this data in your own programs using syscalls or looking in the /proc and/or /sys pseudo...
Ctrl+enter works in all browsers on windows and mac except chrome mac.
This is a flash as3 app.
Here is my code:
stage.addEventListener(KeyboardEvent.KEY_UP, upListener);
private function upListener(e:KeyboardEvent):void {
if(e.ctrlKey && e.charCode == 13) {
//do stuff
}
}
One thing I notice is that the mouse cursor ...
I spend most of my time in Eclipse these days, so I thought I would check out what Eclipse's C++ support was like (I usually use Xcode on Mac and Visual Studio for Windows).
I found the CDT package for Eclipse 3.5, so I installed it.
Everything installed properly and the default C++ "Hello World" project compiled nicely, however for th...
Hello all,
I am trying to get dock click event on dock icon on Mac OS X. I am using Qt-Cocoa.
Any help would be highly appreciated.
Thanks,
Rahul
...
I have an odd problem that seems to be specific to Mac computers. I have a prog that prints the content of an AWT drawing surface to an A3 sheet of paper. On Linux and windows machines the output is OK. Printing from a Mac I get the same dialog with the same preset parameters, the printer prints on an A3 sheet of paper as expected, but f...
I am developing a site and I noticed a strange gray thing appearing on my screen. It only comes up in Firefox 3.6 for Mac, and not in any other browser I tested (IE on Windows, Firefox on Windows, Safari on Mac, Chrome on both Mac and Windows). After some investigation, I discovered that it comes up if I have an element with the "overflo...
I have a file in my ~/Sites directory that works fine when I browse to it through coderama.local/~coderama/index2.php
Now I want to get tricky and move my index2.php file to somewhere else on my system, so I do this by creating a symbolic link. However, when I try to access coderama.local/~coderama/index2.php I now get the following err...
Having a weird issue. I'm new to Macs and have a windows VM that I'm running on a new macbook pro via VM Fusion. I setup a file share on the windows side (Win 7) and accessed it from the Mac side using the "Connect to Server" dialog. I did it successfully several times, even adding in a symlink on the mac side and starting a git repos...
Why are Linux, MacOS and other operating systems written in C and not in C++? Isn't C++ C with new features?
...
Hello,
As someone new to developing for macs I was wondering if I could gather some advice on dealing with network proxies. Currently the software makes use of:
NSURLRequest
NSURLDownload
[NSString initWithContentsOfURL:]
WebKit / WebView
I had a little search on google and found Apple's page on CFProxySupport although I haven't looke...
Some time ago I developed an app for a client. It's basically a simple calculator. Because they like it so much they asked me if it would be possible to create dashboard widget with the same functionality based on the iPhone app.
I have never before developed a widget, I only know that they are mostly html + css based, so this raises a ...
I'm trying to install gearman interface on mac os x 10.6.4 using python 2.4.
so after doing
./configure --with-libgearman-prefix=/opt/local/
I'm getting:
configure: error:
Could not link test program to Python. Maybe the main Python library has been
installed in some non-standard library path. If so, pass it to configure,
vi...
Hi all,
Am using Mac OS X 10.6. I have a sound file, say "a.aiff" which i want to be redirected to Soundflower(not my default). afplay doesn't seem to provide --device flag which it used to support in earlier Mac versions I think. So any idea of what to do?
...
I want to write a program that will generate random notes and draw them on the screen on a staff. I want to use Cocoa or Cocoa Touch. What's the best way to go about displaying the notes? Should I somehow use a music font, or pngs of each note, or what? Are there any good tutorials or sources of info out there on this topic?
...
Hi,
I was trying to compile bochs the sh .conf.macosx worked but the make command
resulted in InitCursor(), CreateStandardAlert(), RunStandardAlert() not declared in scope is
there something obvious that I'm missing on.
Thanx in advance.
--
Srimanth
...
Ok, i think i've seen it all now.
For about 24 hours i've been trying to debug my app, trying to find where all the weird crashes are coming from all of a sudden. I've been debugging via Simulator/Debug mode. As usual, when i hit a breakpoint, i could see the value of variables (most of the time). Then suddenly i was unable to view vari...
Hi
I'd like to get the finger's position when user makes a gesture on the trackpad.
I've already hooked on to swipeWithEvent that triggers on swipe. Within that NSEvent there's a method deltaX that reports the change of the movement. There's also absoluteX method that looks promising, but I can't get it to return anything but the follo...
Hi everybody,
I'm trying to migrate a large project to Flex 4.
The problem is that the AIR version must be compatible with old MACs (without intel processors) such as G5. As far as I know, only AIR runtime 1.5.3 works on these machines, but Flex 4 requires AIR 2.0.
Is there any possible way to deploy an AIR application built with Flex ...