When embedding WebView in an application and loading html-pages in it, JavaScripts alert()/confirm()/etc. do not work.
Looking around in the documentation, there are no related settings in WebPreferences - the only thing that looks related are WebUIDelegates -(void)webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame: etc ... but...
Hi
I am creating a CMI plugin in Carbon to add a menu item to my Finder's context menu. I would like call some web services when the item is clicked. Now since the context menu selection handler is written in C, I am not very sure if I would like to do it there.
Is it possible to call a Cocoa application on the context menu item's cli...
Hi,
I'm running a piece of software listening on a particular port inside an Ubuntu VM using VMWare fusion on OS X.
I can connect to the port from OS X but I can't get to it via other, separate machines. I suspect that the OS X firewall is blocking access but I'm not sure how to verify that or really what port to open. I can't imagine ...
I have a working program written in Java with the Java Sound API that is able to play multiple mp3 audio files at the same time to different USB Sound Cards in the same computer. It works fine in Linux. In Mac OS X, however, it does not.
The listing of my sound Mixer Infos is:
[0] Java Sound Audio Engine
[1] Built-in Input
[2] USB Adva...
I just got burned because I used find_index on an array on my dev box (OSX with Ruby 1.8.7) and the deployment machine runs Ruby 1.8.6. (What's the difference between find_index and index? The latter works on 1.8.7 and 1.8.6)
So that got me thinking: what's the best way to force Rails to run with a specific Ruby version?
Since it's pr...
How do you mount the hard drive in os x when booting from the CD. I cant boot in single user mode from the hard drive(error) so i need to boot into single user mode from the CD. Then how do i mount the drive so i can delete driver files etc?
...
Hi,
I am new to OSX and mac. I have some old number crunching programs. I wonder what are the best approaches in OSX to
1) find the bottlenecks in the program. I read that the best is to use Xcode and profiling tools, but this is not clear to me which one of this tools is the best one
2) once the bottlneck is found, what is the best a...
Hi,
could you tell me plz - is it possible (and how if yes) to capture following information in AIR application:
Operation System
Laptop model and vendor (if laptop)
Installed applications with versions
thanks a lot!!
...
I just want to build this on my development machine -- the binary install from Python.org is still 32 bits and installing extensions (MySQLdb, for example) is driving me nuts with trying to figure out the proper flags for each and every extension.
Clarification: I did NOT replace the system Python, I just installed the Python.org binary...
I have a filter scheme driver with four binaries for 10.4 PPC, 10.4 i386, 10.5 & 10.6 i386 and 10.6 x86_64. I need to put them all into one kext. I don't think I can just lipo them together because of the two different i386 binaries.
How can I get them all into the same kext bundle?
...
I'm trying to compile the simplest program on MacOS 10.6 like:
$ g++ -o hello hello.cpp
the following source:
#include <iostream>
int main (int argc, char * const argv[]) {
std::cout << "Hello, World!\n";
return 0;
}
I'm getting the error:
hello.cpp:1:20: error: iostream: No such file or directory
hello.cpp: In function ‘...
This is super urgent! Need to get vPython working, can anyone give me help on any way to do this?
I'm running on Mac OS X with Python 2.6 , and recently downloaded vPython. Upon installation it also installs the Boost libraries for Python. Now, when I try to import the vPython libraries ('visual'), the following occurs:
>>>import v...
I want to make a kiosk application in mac. So, I want to disable certain hotkeys which can be done by editing .globalprefernces.plist file but it is requiring a relogin to system and I want to do it without relogin. Similarly as System preferences application do but programatically without pooping the system preferneces applicaiton.
Tha...
I've been learning C++ for some months now and find it an excellent language albeit its perks.
I was wondering what exactly is the so-called Objective-C++ and if it's worth learning it as a main development language to target Apple environments (ie. Mac OS X, iPhone OS). Searching around the web I only found a couple of good articles: m...
I am developing an application that uses the GStreamer library. In order to ease deployment I would like to collect all the GStreamer libraries in a local bundle. For this I wrote a little script that does the following:
recursively traverse dependencies (using otool -L)
copy all dependencies to a local directory
make all the dependenc...
I have a basic C++ applicatin build using g++ and -framework ...
when I run it, I get a :
Working in unbundled mode. You should build a .app wrapper for your Mac OS X applications.
(which is not std::couted by any of my application).
What causes this, and how can I get rid of it?
Thanks!
...
I have mysql installed on my mac (running OSX Snow Leopard). According to everything I have seen, all I should have to do is type mysql at the command line to bring up the monitor. I do have /usr/local/mysql in my path.
Instead, I have to type open mysql. That opens the monitor. However, I cannot login as root. I tried sudo open mysql...
I am installing Koha from source. Generic unix directions indicate the following step after sudo make install
sudo ln -s /etc/koha/koha-httpd.conf /etc/apache2/sites-available/koha
huh?
My apache2 directory contains no sites-available, only
/private/etc/apache2/extra
/private/etc/apache2/httpd.conf
/private/etc/apache2/magic
/private...
Ok, I know this is a longshot, but I'm going to ask anyway...
I develop web applications locally on my computer and use the normal Apache directory index to navigate amongst the directories of project. When I am in Finder, I label certain directories with color labels to highlight what is current.
Wondering if there is a way to determi...
I want to compile C++ code on MacOS X, using the g++ compiler. How do I install it?
...