Giter Club home page Giter Club logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
You can get the current mac OS X proxy settings via 
http://developer.apple.com/library/mac/#documentation/Networking/Reference/SCDyn
amicStoreCopySpecific/Reference/reference.html with the function 
SCDynamicStoreCopyProxies. Since that is only a native c function, you need to 
use JNI.
You can also find an example here: 
http://developer.apple.com/library/mac/#qa/qa2001/qa1234.html and within the 
network source for Qt4 
(http://svn.netlabs.org/repos/qt4/trunk/src/network/kernel/qnetworkproxy_mac.cpp
). Hope that helps.

Original comment by [email protected] on 30 Jan 2011 at 7:07

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
Unfortunately there seem to be some problems to override the proxy settings in 
Java under OS X 
(http://lists.apple.com/archives/java-dev/2009/Jun/msg00148.html).

Original comment by [email protected] on 30 Jan 2011 at 7:15

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
Thanks a lot for all this info.
I currently have no access to an Mac and have absolutly no experience with it.
JNI code loading, library format and loading, c compiler, ...
So I could try to build a library for OSX but have no chance to debug or test 
it.
Therefore support for OSX is very limited at the moment and I still hope that I 
get some production quality code contribution some day or buy a Mac one day and 
do it myself but this may take some time ;-)

Problems like the mentioned one is the reason why I do not rely on the VM proxy 
features but wrote proxy-vole

Have fun,
- Rossi

Original comment by [email protected] on 31 Jan 2011 at 6:01

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
Small update of the status of this request.
I finally have access to OSX and started to implement support for OSX.
Proxy settings are stored in OSX in a plist XML file. I'm going to read the 
settings from there and setup a proxy selector in Java. This will allow me to 
support OSX without writing native code.
Initial support for this is already in the repository.

Have fun,
- Rossi

Original comment by [email protected] on 5 May 2011 at 8:50

  • Changed state: Started

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
I have now deployed a new version that includes support for OSX.
It is not very well tested yet but for me it works.

Have fun,
- Rossi

Original comment by [email protected] on 15 May 2011 at 6:55

  • Changed state: Done

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
I'm having some difficulties...
when I call ProxySearch.getProxySelector() under OSX using default strategies, 
i get "null" value as return. (proxy is configured either as PAC/Manual at OS 
level).
Is it a configuration problem of some kind?

Original comment by [email protected] on 24 May 2011 at 12:16

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024
Hello Liro,
Sorry for my late reply I was away for some weeks and then forgot about this 
issue.
Do you still have the problem? If yes could you please send me the following 
information from your OSX installation:
- OSX version
and the file that is located at 

/Library/Preferences/SystemConfiguration/preferences.plist 

This file will contain the proxy settings that are selected. I need to have a 
look at it to find out why I the parsing fails.

Please send the information at rosstauscher (et) gmx.de 

The OSX code is rather new and a little bit untested. It may be that there is 
still a bug in this.


Have fun,
- Rossi





Original comment by [email protected] on 20 Jun 2011 at 7:22

  • Changed state: New

from proxy-vole.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 2, 2024

Original comment by [email protected] on 27 Jul 2012 at 9:31

  • Changed state: Done

from proxy-vole.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.