[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] use MacOSX network location web proxy settings

From: Martin Hauner <Martin.Hauner_at_gmx.net>
Date: 2006-08-01 18:10:14 CEST

Hi,

using my Mac mostly from two locations with one having no proxy and the
other having a proxy i always have to edit subversions proxy settings
after changing location to access a repository. Of course, I always see
at first a subversion error before I do remember to edit the servers
file. ;)

Since MacOSX has network location specific proxy settings i though it
wouldn't be a bad idea if subversion would use them.

So I wrote a patch that reads the proxy information from the system if
'http-system-proxy' is set in the global section of the servers config
file.

The patch works but has a few (small) issues:

- I have no idea how to read proxy username/password from the MacOSX
  settings. I didn't find any documention how to do this.

- To keep the patch simple on the first run and to avoid splitting up
  the existing code blocks that read the configuration sections the
  MacOSX specific code also reads the timeout/compression/neon_debug
  options from the global section.

- I simply added the required framework to LIBS in configure.in. I
  guess that is not the preferred solution.

The log message is part of the attached patch.

-- 
Martin
Subcommander 1.1.1, http://subcommander.tigris.org
a cross platform Win32/Unix/MacOSX subversion gui
client & diff/merge tool.
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://www.gmx.net/de/go/dsl


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Tue Aug 1 18:10:50 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.