195 Commits

Author SHA1 Message Date
wr%rosenauer.org
42ed4685bb Bug 297131 follow-up build fix for --enable-ldap-experimental, s+sr=dmose, NPOTB
git-svn-id: svn://10.0.0.236/trunk@176730 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-28 05:08:38 +00:00
dmose%mozilla.org
e643bb9796 Add basic support for LDAP controls to the LDAP XPCOM SDK, LDAP autocomplete code, and LDAP addressbook (bug 297131). r=bienvenu, sr=roc, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@176617 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:27:18 +00:00
darin%meer.net
3c8d5a66a9 landing missing changes for bug 287648
git-svn-id: svn://10.0.0.236/trunk@171766 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:52:44 +00:00
dmose%mozilla.org
bd42032802 Partial fix for LDAP blocking UI on multiple outstanding requests (bug 257732), patch=vladimir@pobox.com, r=mcs@pearlcrescent.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@171602 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:22:57 +00:00
dmose%mozilla.org
d35fb02a45 Address sr comments for style & error-handling in bug 242789. Patch from bienvenu@nventure.com, r=sspitzer, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@171597 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:01:15 +00:00
bsmedberg%covad.net
c891331f56 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171570 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 17:21:39 +00:00
cbiesinger%web.de
30848c34f2 Bug 288011 eliminate nsISSLSocketProvider
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@171533 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 17:22:58 +00:00
darin%meer.net
5bb8f98045 landing backend changes for bug 134105 "SOCKS5: DNS lookups should occur on proxy, not client side." (remote dns pref disabled by default) patch by malsmith@cs.rmit.edu.au, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@166776 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 02:46:12 +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
cbiesinger%web.de
d511ca850c removing extra semicolon to fix gcc 3.4 bustage, bug 249839
git-svn-id: svn://10.0.0.236/trunk@158768 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 22:34:13 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
bienvenu%nventure.com
a89bc0af92 fix for ldap operation ref-counting problem introduced in fix for 242789, r=dmose, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@157592 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 17:25:50 +00:00
bienvenu%nventure.com
73c92166c7 fix for 242789 fallback from v3 to v2 for ldap, r/sr=sspitzer, for baking on the trunk, with moa from dmose
git-svn-id: svn://10.0.0.236/trunk@157066 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 17:47:17 +00:00
bienvenu%nventure.com
38d1368cea fix 239729, crash in nsLDAPConnection::RemovePendingOperation, usually when you backspace during ldap autocomplete in compose window r=dmose, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@157049 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 14:59:08 +00:00
kyle.yuan%sun.com
4b2e8a5dc3 Bug 242990 Crash when LDAP query results content none UTF8 characters
r+sr=dmose, patch by wind.li@sun.com


git-svn-id: svn://10.0.0.236/trunk@156354 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 07:21:12 +00:00
gerv%gerv.net
8b69962ee3 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 21:07:34 +00:00
jst%mozilla.jstenback.com
fd0ce912f6 Fixing bug 227497. Cleaning up some string usage in nsLDAPChannel. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@154767 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:53:38 +00:00
bienvenu%nventure.com
1aa9a5f271 fix ldap connections not closing properly by breaking cycle, r=dmose, sr=mscott 206018
git-svn-id: svn://10.0.0.236/trunk@153249 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:30:30 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bienvenu%nventure.com
e03d038f58 fix build bustage in nsLDAPChannel for port platforms that define MOZ_LDAP_XPCOM_EXPERIMENTAL, not part of default build, 198168
git-svn-id: svn://10.0.0.236/trunk@152792 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 16:58:01 +00:00
bienvenu%nventure.com
0c53d7eca8 support ldap v3, patch by dmose, r/sr=sspitzer 198168
git-svn-id: svn://10.0.0.236/trunk@152772 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 02:10:45 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7e08b118b7 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150973 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
9706f93476 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150961 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 01:22:31 +00:00
peter%propagandism.org
e6ae01a399 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@148687 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 10:57:41 +00:00
bienvenu%nventure.com
562c22d655 ignore ldap hosts after the first host (i.e., space delimited host lists) until we can make multiple hosts work r=mscott, sr=dmose,a=asa 223603
git-svn-id: svn://10.0.0.236/trunk@148377 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-25 15:34:39 +00:00
simford.dong%sun.com
b06c35dcf2 Bugzilla Bug 168226 XPCOM Wrapper does not support ldap port numbers greater than 32k, r=Pete Zha, sr=Henry Jia
fixed by wind.li@sun.com
checked in by Simford.Dong@Sun.COM


git-svn-id: svn://10.0.0.236/trunk@147980 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 02:23:26 +00:00
bryner%brianryner.com
8af6bcdb92 updating my email address
git-svn-id: svn://10.0.0.236/trunk@147417 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 05:35:34 +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
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
timeless%mozdev.org
637f19c2b0 Bug 152700 compiler warnings caused by 119380 checkin
patch by dmose r=timeless sr=bryner


git-svn-id: svn://10.0.0.236/trunk@138678 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 03:18:58 +00:00
timeless%mozdev.org
4c3673a823 Bug 191717 `PRUint8 * array' might be used uninitialized in this function
r=dmose sr=alecf


git-svn-id: svn://10.0.0.236/trunk@138270 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 04:41:12 +00:00
asa%mozilla.org
142b3b53a7 checkin for dmose. fix bustage for --enable-ldap-extensions bug 189691 r+sr=dmose a=asa
git-svn-id: svn://10.0.0.236/trunk@136932 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-24 09:57:29 +00:00
dbaron%dbaron.org
0653a5fa91 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135993 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:35:36 +00:00
bzbarsky%mit.edu
9a29d832d6 kill off some nsISupportsArray and fix a potential leak. Bug 177400,
r=dmose, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@133939 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 02:35:20 +00:00
dbaron%fas.harvard.edu
0aaa1704e7 Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf
git-svn-id: svn://10.0.0.236/trunk@130797 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:18:27 +00:00
peterv%netscape.com
80930addc5 Fix for bug 86000 (convert LDAP XPCOM SDK to use AUTF8String). r=dmose, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@129251 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 11:22:41 +00:00
dmose%netscape.com
e41e21c745 Fix --enable-ldap-experimental build bustage
git-svn-id: svn://10.0.0.236/trunk@128804 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 04:03:23 +00:00
rjc%netscape.com
68d677c3a3 Fix bug # 164175: XPCom LDAP API extensions. OnLDAPInit() now passes relevant connection, and LDAP operations/connections accept closures. r=dmose sr=darin
git-svn-id: svn://10.0.0.236/trunk@128789 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 01:28:36 +00:00
andreas.otte%debitel.net
fa69b03848 fix bug 166085 [Assertion constructing about: URIs
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin


git-svn-id: svn://10.0.0.236/trunk@128681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 22:04:03 +00:00
kaie%netscape.com
0b1add5b4a Patch from bug 87902 to fix SSL/TLS logic.
- make TLS intolerant server detection over proxies work
  (this bug 87902)
- on connection failure, only retry without TLS when it is really
  likely to help (bug 149910)
- remove obsolete workarounds in SSL i/o layer
  (see removed comments in patch)
- avoid to confuse programmers reading code,
  by renaming TLSStepUp (which means something else)
  to the correct term STARTTLS (what the code is actually doing).
  (As suggested by nelsonb)
- If an invalid or expired etc. server certificate is presented,
  a warning is shown. If the user decides to cancel,
  network activity should stop immediately.
  (we currently warn multiple times) (bug 87209)

r=javi/darin/ducarroz/dmose sr=alecf


git-svn-id: svn://10.0.0.236/trunk@127298 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 23:43:28 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
dmose%netscape.com
e22bbce0e2 support for binary attribute values in LDAP XPCOM SDK (bug 119380). r=peterv@netscape.com, sr=sspitzer@netscape.com/mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123276 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 00:38:18 +00:00
dmose%netscape.com
4c0089d9ec Support LDAP authentication for autocomplete and addressbook (bug 135778); r=sspitzer@netscape.com, srilatha@netscape.com; sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122529 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 04:05:48 +00:00
timeless%mac.com
2976361bba fixing directory bustage (nsCRT string)
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp: In method `nsresult nsLDAPChannel::OnLDAPBind(nsILDAPMessage *)':
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:796: syntax error before `::'
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:798: confused by earlier errors, bailing out
gmake[4]: *** [nsLDAPChannel.o] Error 1
gmake[4]: Leaving directory `/home/timeless/mozilla/obj-xlib-i386-unknown-freebsd4.4/directory/xpcom/base/src'

if (nsCRT::strlen(baseDn) == 0) {


git-svn-id: svn://10.0.0.236/trunk@121567 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:20:44 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
dmose%netscape.com
84d6a44973 Set maximum LDAP I/O timeout to 10 seconds (bug 143172). This significantly mitigates the pain of the connection hang bug (bug 79509). r=mcs@netscape.com, sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121248 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 04:14:18 +00:00
rdayal%netscape.com
86c09b35bd fixes leaks when retrieving attribs and values for each LDAP search entry, bug # 134069
r=dmose, sr=sspitzer.


git-svn-id: svn://10.0.0.236/trunk@119343 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 02:08:57 +00:00