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
mkaply%us.ibm.com
12efffe3de
OS/2 bustage - these should be extern C - r=dmose
...
git-svn-id: svn://10.0.0.236/trunk@118630 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 17:35:49 +00:00
mkaply%us.ibm.com
a1810efc82
These should be here but I don't think it will fix the Os/2 bustage
...
git-svn-id: svn://10.0.0.236/trunk@118615 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 12:54:13 +00:00
dmose%netscape.com
40882ab4e1
LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@118585 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:21:13 +00:00
dmose%netscape.com
613e75ba4a
Fix windows build bustage
...
git-svn-id: svn://10.0.0.236/trunk@117625 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:34:50 +00:00
dmose%netscape.com
9d000c4abc
Build system and LDAP XPCOM SDK changes to switch to LDAP C SDK version 5; required for SSL-LDAP (bug 124244). r=sspitzer@netscape.com, seawood@netscape.com (build changes); sr=bienvenu@netscape.com; a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117617 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 06:31:38 +00:00
dmose%netscape.com
c385b78720
Fix LDAP XPCOM SDK race condition which could cause LDAP entries to get dropped, or binds to fail entirely (bug 131447). The old code asked ldap_result() for all new messages received, including ones for operations that it did not yet know how to handle. That code has been changed to enumerate the pending operations, and ask for results of each of the pending operations that it knows about, and no others. r=sspitzer@netscape.com, dmose@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@117457 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 02:51:27 +00:00
dbaron%fas.harvard.edu
8a6d46ad56
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:42:00 +00:00
darin%netscape.com
8defbf5d26
b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
rjc%netscape.com
c3a18c1936
Fix bug # 124919: get LDAP searches in Addrbook working on Mac OS X. r=dmose sr=ben a=asa
...
git-svn-id: svn://10.0.0.236/trunk@116252 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-09 02:49:12 +00:00
peterv%netscape.com
b59a301ab2
Fix LDAP experimental code bustage from darin's landing. Bug 124042. r=dmose. Not part of the default build.
...
git-svn-id: svn://10.0.0.236/trunk@116146 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 13:13:25 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
cathleen%netscape.com
c93312040a
eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan
...
git-svn-id: svn://10.0.0.236/trunk@114904 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 07:36:56 +00:00
sfraser%netscape.com
67a35c1a08
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
cathleen%netscape.com
ea31156ed0
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
...
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
jdunn%netscape.com
01a246e76f
AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
...
a function prototype. So we have to decare the function and then
declare it a friend. When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
git-svn-id: svn://10.0.0.236/trunk@111825 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:16:05 +00:00
timeless%mac.com
7b921259da
Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
...
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@108471 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-19 06:45:00 +00:00
leif%netscape.com
372229eb99
Bug 103084 and Bug 103085: Memory leaks in LDAP code. r=mitesh, sr=bienvenu.
...
git-svn-id: svn://10.0.0.236/trunk@106007 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:19:12 +00:00
seawood%netscape.com
f2559aab90
Use LOCAL_INCLUDES to make sure that our ldap.h gets used before any system copy.
...
Bug #103281
git-svn-id: svn://10.0.0.236/trunk@105608 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-17 06:20:42 +00:00
leif%netscape.com
deb288ebf0
Bug 102227: Crash in LDAP autocomplete addressing, r=dmose,sr=bienvenu,patch=leif
...
git-svn-id: svn://10.0.0.236/trunk@104710 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 01:19:14 +00:00
jaggernaut%netscape.com
51e0dc7a6c
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
...
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
leif%netscape.com
8154ee7ea7
Bug 91248: LDAP referrals hangs browser. r=dmose, sr=bienvenu, patch=leif.
...
git-svn-id: svn://10.0.0.236/trunk@103542 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 05:13:05 +00:00
cls%seawood.org
cceeacbea1
Place LDAP headers into ldap subdir.
...
Bug #98924 r=dmose sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103536 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 02:28:40 +00:00
dmose%netscape.com
edcb1dfc22
Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@103429 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 05:26:32 +00:00
srilatha%netscape.com
e026314a27
Fix for bug # 100645. NextToken returns utf-8 string instead of ucs2.
...
r=dmose, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:24:19 +00:00
cls%seawood.org
4cdf497958
Only use LDAP_CFLAGS where needed.
...
Bug #98924 r=dmose
git-svn-id: svn://10.0.0.236/trunk@103307 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 12:30:57 +00:00
dmose%netscape.com
57f5288a54
Add internationalized error message support to the LDAP XPCOM SDK; part of bug 79935. r=jaggernaut@netscape.com, sr=bienvenu@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@103287 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:46:58 +00:00
jaggernaut%netscape.com
8a87c13848
One module per line for REQUIRES. r=/sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91
Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
...
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
leif%netscape.com
fb1a4be4c0
Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com.
...
git-svn-id: svn://10.0.0.236/trunk@103035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:35:03 +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
alecf%netscape.com
f3d9c9c141
Add REQUIRES to many modules for win32 support, bug 98372 r=cls
...
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
cls%seawood.org
373451a083
Install LDAP headers into seperate ldap include dir.
...
Bug #98924 r=dmose
git-svn-id: svn://10.0.0.236/trunk@102632 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 05:17:41 +00:00
valeski%netscape.com
8db35965a8
r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
...
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
leif%netscape.com
1342a2ecf3
Bug 85452, 100% CPU usage in LDAP autocomplete. r=dmose, sr=mscott,
...
patch=leif.
git-svn-id: svn://10.0.0.236/trunk@101591 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-22 01:30:19 +00:00