41 Commits

Author SHA1 Message Date
mrbkap%gmail.com
9cafc6b093 Add some additional evalInSandbox functionality for PAC and use it there. bug 337389, r=shaver sr=darin
git-svn-id: svn://10.0.0.236/trunk@199439 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 20:21:40 +00:00
mrbkap%gmail.com
68a716ce73 Remove some functions that scripts don't need. bug 337389, r=darin sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@199177 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-07 01:58:51 +00:00
mrbkap%gmail.com
4ddae2d565 Ensure that |this| is correct when calling FindProxyForURL. bug 336313, r=darin sr+a=dveditz
git-svn-id: svn://10.0.0.236/trunk@195858 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-03 00:22:13 +00:00
mrbkap%gmail.com
ae6fbb954a bug 302834: Components.utils.evalInSandbox should return the result of the given operations. Introduce a new Sandbox constructor to pass in as the second argument. Also bring the one use of evalInSandbox in the tree up to date with the new API. r=shaver/brendan
git-svn-id: svn://10.0.0.236/trunk@178955 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 16:38:58 +00:00
shaver%mozilla.org
b47ab798b9 Bug 299980: rename Components.util to Components.utils to match other
Components children, and developer expectation. telepathic-r=brendan,
a=bsmedberg.


git-svn-id: svn://10.0.0.236/trunk@175778 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-07 19:34:35 +00:00
shaver%mozilla.org
4f9420d3a2 Bug 296374: move evalInSandbox, reportError, lookupMethod to new Components.util
object, with deprecation-warning forwarding for rE and lM.
r=caillon,dbradley,bsmedberg;a=bsmedberg.


git-svn-id: svn://10.0.0.236/trunk@175292 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 14:23:03 +00:00
darin%meer.net
c7bc8f9e5d landing patch for bug 282442 "Provide interface for configuring proxies" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@171190 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-25 03:41:33 +00:00
bzbarsky%mit.edu
999a281db8 Fix isInNet to be a little more strict. Bug 251675, patch by Anders Holm
<anders@anders.is-a-geek.net>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@168210 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 21:49:56 +00:00
darin%meer.net
8f80ca4f6b landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are
degrading performance" r=lorenzo sr=bryner


git-svn-id: svn://10.0.0.236/trunk@161600 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 19:55:58 +00:00
Stefan.Borggraefe%gmx.de
80d3504ca7 PAC: localHostOrDomainIs() never matches a hostname (bug 242325)
r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@161573 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 11:27:51 +00:00
cbiesinger%web.de
b51a1457df Bug 28998 Support Web Proxy Auto-Discovery Protocol (WPAD); for now, only
support loading http://wpad/wpad.dat, not a pac url from DHCP, or domain
component stripping.

r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@160179 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 17:39:29 +00:00
darin%meer.net
3989042753 fixes bug 246872 "PAC: myIpAddress gives 'myIpAddress is not defined' error" r+sr=shaver
git-svn-id: svn://10.0.0.236/trunk@157926 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 23:20:50 +00:00
darin%meer.net
3e614884a8 fixes bug 170128 "PAC: myIpAddress() does not update to network changes" r=biesi sr=bryner
git-svn-id: svn://10.0.0.236/trunk@156351 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 07:08:25 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
cbiesinger%web.de
f02f98218d 183415, typo in PAC's getClassObject (double negation instead of single one);
also add nsIRequestObserver to getClassObject's interface list.
r=darin sr=bzbarsky; thanks to Nathan Kurz who suggested (the first part of) this patch


git-svn-id: svn://10.0.0.236/trunk@153405 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 21:23:45 +00:00
darin%meer.net
2f5f654992 fixes bug 86846 "PAC: Cannot display alert() in autproxy config file" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148513 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-30 02:20:08 +00:00
darin%meer.net
f95b2ef09c landing patch for bug 205726 "DNS rewrite" r=dougt sr=bryner
git-svn-id: svn://10.0.0.236/trunk@146796 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 20:32:33 +00:00
darin%netscape.com
9f57ab74cc fixes bug 84798 "PAC: Failover does not work" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@141205 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 23:07:12 +00:00
darin%netscape.com
b700779e62 fixes bug 191715 "PAC: did not work, after a external site is shown" r=bbaetz sr=bz
git-svn-id: svn://10.0.0.236/trunk@140709 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 20:50:46 +00:00
suresh%netscape.com
3c69094473 fix for 139772 - PAC: HTTP auth support. r-dbradley, sr-darin.
git-svn-id: svn://10.0.0.236/trunk@140312 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 01:19:52 +00:00
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
darin%netscape.com
9e12988e78 fixes bug 117931 "Function shExpMatch in nsProxyAutoConfig.js: conversion
from shell pattern to regexp is incorrect."
patch=zybi@talex.com.pl
r=tingley@sundell.net
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@111973 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 22:52:32 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
tingley%sundell.net
6478bc24d7 checkin for _basic@yahoo.com to add support for the SOCKS directive in proxy
autoconfig (PAC) files.  bug 105335, r=bbaetz, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@110500 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:52:06 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
darin%netscape.com
76c7355ac1 checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@102859 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-13 02:21:05 +00:00
darin%netscape.com
c07308d0f9 fixes bug 93924 "PAC - dnsResolve should have one-element cache"
patch=tingley@sundell.net r=bbaetz, sr=darin, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@101997 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-30 01:35:26 +00:00
serge%netscape.com
67c90e46e4 bug 79246 PAC: reload of PAC file fails; submitted by tingley@sundell.net, r=serge, sr=darin
git-svn-id: svn://10.0.0.236/trunk@100342 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-04 01:53:49 +00:00
serge%netscape.com
37194d0d37 Fixes for 79057 submitted by tingley@sundell.net, r=bbaetz, sr=darin, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@100013 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-30 22:22:27 +00:00
bbaetz%cs.mcgill.ca
dd6a0a2d8c Bug 80363. Handle failure trying to get the machine's IP. This broke PAC on the mac because of bug 92516. r=pink, sr=darin, a=blizzard
git-svn-id: svn://10.0.0.236/trunk@99987 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-27 21:34:41 +00:00
serge%netscape.com
d36d985fce ecking in tingley@sundell.net patch to fix (79052) PAC: isPlainHostName not working; r=serge; sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@99020 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 00:30:13 +00:00
blizzard%redhat.com
fc0d2b7cfb Fix bug #85290. "proxy autoconfig module needs to shut the hell up" r=gerv,rs=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@96894 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-11 21:54:48 +00:00
dbaron%fas.harvard.edu
303821fb00 Make dnsDomainIs behave as it did in Netscape 4.x. b=76649 r=gagan@netscape.com sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@93142 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-26 14:06:22 +00:00
drapeau%eng.sun.com
4564105d70 Bug fix for Bugzilla bug 53080. Includes a JavaScript XPCOM component that
does the automatic proxy config.  Much thanks to Denis Antrushin
(adu@sparc.spb.su), among others, for writing this fix.


git-svn-id: svn://10.0.0.236/trunk@92495 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 02:34:47 +00:00
akhil.arora%sun.com
281efa9839 fixes for making auto proxies work again (phase1) b=53080 r=gagan@netscape.com a=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@79992 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 02:03:43 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
rayw%netscape.com
b02b43d396 Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.


git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +00:00
gagan%netscape.com
f67c707f01 Fix for bug 20145. Proxy Auto Config is now in. For more information check http://www.mozilla.org/docs/netlib/pac.html r=bryner,rjc.
git-svn-id: svn://10.0.0.236/trunk@75257 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-31 21:24:55 +00:00
jab%atdot.org
027f444ba4 a=brendan@mozilla.org
Bug #16103
Support for SOCKS proxies in HTTP, HTTPS, and FTP protocols.
Also includes the prefs configuration and UI bits.


git-svn-id: svn://10.0.0.236/trunk@73625 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-01 10:25:25 +00:00
gagan%netscape.com
b17f19938b More proxy auto config work.
git-svn-id: svn://10.0.0.236/trunk@68386 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-05 09:49:42 +00:00
gagan%netscape.com
77bcb2946d First checkin of proxy auto config stuff.
git-svn-id: svn://10.0.0.236/trunk@67010 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 01:15:35 +00:00