Login | Register
My pages Projects Community openCollabNet

Discussions > dev [DISABLED] > [PATCH] use MacOSX network location web proxy settings

subversion
Discussion topic

Back to topic list

[PATCH] use MacOSX network location web proxy settings

Author Martin Hauner <Martin dot Hauner at gmx dot net>
Full name Martin Hauner <Martin dot Hauner at gmx dot net>
Date 2006-08-01 09:10:14 PDT
Message 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
Attachments

« Previous message in topic | 1 of 4 | Next message in topic »

Messages

Show all messages in topic

[PATCH] use MacOSX network location web proxy settings Martin Hauner <Martin dot Hauner at gmx dot net> Martin Hauner <Martin dot Hauner at gmx dot net> 2006-08-01 09:10:14 PDT
     Re: [PATCH] use MacOSX network location web proxy settings julianfoad Julian Foad 2006-08-14 13:56:54 PDT
         Re: [PATCH] use MacOSX network location web proxy settings malcolm Malcolm Rowe 2006-09-19 06:16:09 PDT
             Re: [PATCH] use MacOSX network location web proxy settings rooneg Garrett Rooney 2006-09-19 07:00:00 PDT
Messages per page: