Hi,
With the latest Java update on MacOSX 10.6, Eclipse does not find the Java sources anymore.
I am not exactly sure (i.e. don't remember anymore) if I have downloaded the sources manually in the past and put them somewhere or if MacOSX provided them and Eclipse found them automatically.
Does MacOSX have the sources somewhere? (Pleas...
I want to draw using cairo to a window on the mac. I want to use just C (not objective-c) with as little as possible infrastructure. I also don't want to use a event loop (I understand that cuts out interaction, redrawing by moving etc). In essence, I really just want to draw to the screen (window) as I would to a image file.
Can someo...
Hello,
Snow Leopard 10.6.4
mac ports 1.9.1
I have just installed macports and I want to install git-core.
However, I get the following errors:
---> Computing dependencies for git-core
---> Dependencies to be installed: python26 db46 gdbm readline sqlite3 rsync popt
---> Building db46
Error: Target org.macports.build returned: shel...
Hi, I want to write all frames to disk using QTKit.framework for camera input. But all the images I get are half transparent and without some colors, maybe colorspace problem? ;(
They seem good in the preview View but when I write them "something" happens.
I wonder what it that.
-(void)savePNGImage:(CGImageRef)imageRef path:(NSString *)...
Can anyone post a little code that uses CoreAnimation to re-size a button when it is clicked. I mean on first click the button doubles it's size and on a second click the button returns to normal size. (on the mac not the iphone). Thank you very much.
...
As a developer currently working on a Web app that uses a Java/Tomcat backend, the recent announcement by Apple to deprecate Java is causing me some consternation. Mainly because I'm planning on hosting this Web app on Mac OS X Server (already on 10.5, soon to be on 10.6).
From http://www.appleoutsider.com/2010/10/22/java/:
Since th...
hello,
We are working on a stylish screensaver that we would like to publish on the upcoming mac app store. Do you think it will be possible to release a screensaver? We reviewed the draft guidelines but still not sure about it.
Thanks, Renaud
...
#include "ffmpeg/libavcodec/avcodec.h"
#include "ffmpeg/libavformat/avformat.h"
#include "ffmpeg/libswscale/swscale.h"
#include "ffmpeg/libswscale/rgb2rgb.h"
#include "ffmpeg/libswscale/swscale_internal.h"
#include <stdio.h>
#ifdef __MINGW32__
#undef main /* Prevents SDL from overriding main() */
#endif
#include "SDL.framework/Heade...
I have hundreds of mp3 files that have unique file names in succession. i.e. mysong8001.mp3 and mysong8002.mp3 and mysong8101.mp3 where "80" and "81" are the year and "01" and "02" reflect the order of the files for a given year.
The person that created the files did not add any tags except for a Title. Unfortunately all of the files ...
I have a macbook that has Leopard (OS X 10.5) but don't have Snow Leopard.
It ran Rails 2.3.8 fine, but now when it comes to Rails 3.x, with Ruby 1.9.2 (or 1.8.7), gem install cannot build mysql, mysql2, or sqlite3-ruby, so essentially, this macbook can't use Rails 3.x at all? Is there a way? thanks.
(it seems that the latest Xcode ...
How do I get the security type (and other information) of the currently connected network in Airport in my Objective-C / Cocoa program?
...
Hello,
I've noticed what appears to be a bug with Google Chrome and Flash when resizing on a Mac. I have an SWF file embedded on my page and it will resize when the browser window resizes. Crazy things happen in Google Chrome when I resize the window: the Flash screen goes completely black and will flicker like a bad TV reception. You c...
Any one please help on sending ATA commands to SATA Drive on Mac OS.
As per the Apple docs, its not possible to send it from Application and is recommended to write a Logical Unit Driver. There is not much document on the same for ATA family.
Provider class for SATA device is IOAHCIBlockStorageDevice.
Please shed some light on writing...
I am tracking a very tough memory leak (or more likely abandoned memory) situation. I do the following:
1) start my application
2) get to a point where the application will show the leak
3) start instruments using the 'allocations' choice
4) attach to my process and start recording
5) take an initial heapshot
6) take an initial snapsh...
Hello all,
Following up on this ( http://stackoverflow.com/questions/3860256/display-system-keyboard-mac-application ) question, the keyboard is coming up fine, but if my application is in fullscreen mode, the keyboard launches, but remains in the background. How do I get around this? Any help is much appreciated!
Thanks,
Teja
...
Can anyone suggest good image processing tutorials/books to start, on Mac using objective-c?
...
Hi,
I want to write a bash script for a mac which takes a text file containing a table of numbers (can be .csv), converts the numbers to a chart, saves the chart (any file format that I can display on my web page), and exits. It must do this unattended. No user interaction.
I know bash, perl, and a little AppleScript, and I can learn...
I have a C/C++ application in which I define a Python module. I set up Python like this:
PyImport_AppendInittab("myModule", initmymodule);
Py_Initialize();
PyObject *module = PyImport_ImportModule("myModule");
On the ImportModule call, I get this warning:
sys:1: RuntimeWarning: Python C API version mismatch for module myModule: T...
I would like to play around with the Java SE version of NetBeans on Mac, however I need to still have a running copy of BlueJ on my Mac for a school class. Is it possible to run the "JDK-only" BlueJ and the "Java SE" NetBeans together in harmony?
...
I'm working on a template with a designer and we see different things. In my browser on mac the input field are next to the labels but for the designer in his browser the input fields are under the labels.
I use eric meyer's css reset so everything should be correct. Here's a screenshot to illustrate what I mean (left is what it should ...