30 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
leif%netscape.com
b9be7fbfe5 Bug 74498: Add attribute support to SearchExt(), making it possible to limit
the search results to a set of attributes. r=dmose, sr=mscott, a=asa.
Patch by leif@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@97129 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 05:48:03 +00:00
leif%netscape.com
0f7cb4d033 Changed LDAP XPCOM SDK to use "wstring" instead of "string", bug 71247.
r=dmose@netscape.com
sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@95234 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 06:26:35 +00:00
dmose%netscape.com
d60cc597a3 minor LDAP XPCOM SDK changes to support nsLDAPAutoCompleteSession, which will be checked in shortly (bug 70933). r=leif@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@93673 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:04:28 +00:00
dmose%netscape.com
af8a05701f Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:25:47 +00:00
dmose%mozilla.org
c6b003435c get rid of outdated comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81465 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:51:46 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00
dmose%mozilla.org
85df13c59b cleanup constructors, destructors, and initializers. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77038 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:40:32 +00:00
dmose%mozilla.org
b36370d6bf check pointer arg before dereferencing. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76978 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:40:00 +00:00
dmose%mozilla.org
d2fb313f29 Changed nsLDAPConnection to execute the nsILDAPMessageListener callbacks directly rather than through an nsISupports proxy, meaning that the default is for them to execute on the nsLDAPConnection thread. Callers can still create a proxy manually and pass it in, if desired. Changed the datasource and channel objects to run correctly on the nsLDAPConnection thread, in the hopes that this would help avoid UI stalls. On Linux, at least, this didn't make any perceptible improvement, but it still is probably a good thing, and may help once more event system loving gets checked in. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75947 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 02:13:21 +00:00
dmose%mozilla.org
b29cf24bab added ldap_abandon()-like functionality to the XPCOM wrapper, and changed the nsLDAPChannel code to implement request cancellation (eg pressing the stop button in the browser) using said functionality. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@75755 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 03:23:05 +00:00
dmose%mozilla.org
f50bc0021f replace a few regular libc includes and function calls with their NSPR equivalents. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75651 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:45:11 +00:00
dmose%mozilla.org
054fa6446d add XXX cleanup reminder comment. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75539 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:46:42 +00:00
dmose%mozilla.org
429ae87836 Revamped callback code so that nsILDAPMessageListener is a per operation attribute rather than a per connection attribute. This allows for much more flexibility in handling LDAP messages received, as well as sharing of LDAP connections (a performance win). Also modified nsISupports proxy usage so that I can callback to nsILDAPMessageListeners implemented in JS (thanks dougt). a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74121 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:05:27 +00:00
dmose%mozilla.org
c4f7d926f5 adjust some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73942 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:17:04 +00:00
dmose%mozilla.org
e52529dc5c gave the threading model a good whack. pushed the threading from the callers (eg nsLDAPChannel) down into the XPCOM wrapper code itself, so that the calling code doesn't need to deal with threading directly ( it gets callbacks via nsISupports proxies ) . this allows LDAP code to be written in Javascript without hanging the UI thread of the browser. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73428 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:39:32 +00:00
dmose%mozilla.org
1ffa061258 made bindname an attribute of nsILDAPConnection. folded all remaining code from ldapSearch.cpp into various parts of nsLDAPChannel in preparation for pushing threading down out of nsLDAPChannel and into the core SDK wrapper classes (nsILDAP{Connection,Operation,Message}). added an (as-yet unimplemented) toString method to nsILDAPMessage; some of the code in nsLDAPChannel should eventually move there. a=r=(notbuilt)
git-svn-id: svn://10.0.0.236/trunk@72735 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 04:44:58 +00:00
dmose%mozilla.org
9fc87bbe32 removed NS_ENSURE_ARG macros, as NULL pointers are valid for either argument. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72547 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:34:30 +00:00
dmose%mozilla.org
444572d5d5 changed nsILDAPOperation::Result() to use PRIntervalTime rather than PRTime for the timeout value. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72403 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 19:16:59 +00:00
dmose%mozilla.org
bbfdcdf5bb canonicalize more method names to proper interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72017 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 01:42:08 +00:00
dmose%mozilla.org
03dd654c88 initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces
git-svn-id: svn://10.0.0.236/trunk@70409 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 22:48:50 +00:00
dmose%mozilla.org
e592592b5d LDAP XPCOM components + infrastructure
git-svn-id: svn://10.0.0.236/trunk@68771 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 01:09:11 +00:00