Граф коммитов

45 Коммитов

Автор SHA1 Сообщение Дата
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
dmose%netscape.com 1ff8c12305 support for binary attribute values in LDAP XPCOM SDK (bug 119380). r=peterv@netscape.com, sr=sspitzer@netscape.com/mscott@netscape.com 2002-06-14 00:38:18 +00:00
dmose%netscape.com 49752a8d2d 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 2002-04-10 04:21:13 +00:00
dmose%netscape.com f92b86316d 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 2002-03-26 02:51:27 +00:00
dmose%netscape.com 00d763c01b Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com 2001-09-21 05:26:32 +00:00
dmose%netscape.com 96ea8f8f07 Add internationalized error message support to the LDAP XPCOM SDK; part of bug 79935. r=jaggernaut@netscape.com, sr=bienvenu@netscape.com 2001-09-20 07:46:58 +00:00
leif%netscape.com c4f096970f Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com. 2001-09-17 23:35:03 +00:00
leif%netscape.com 6140b5aece Bug 71247, provide scriptable UTF8 encoders in nsILDAPService. r=dmose,
sr=mscott, a=asa@mozilla.org, patch=leif@netscape.com.
2001-06-20 03:35:55 +00:00
dmose%netscape.com b292106d6f Parameterize LDAP autocomplete searchfilter via hidden pref (bug 77386); also improves default searchfilter (85315). r=leif@netscape.com,srilatha@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org 2001-06-15 05:04:32 +00:00
leif%netscape.com 7adcd672d4 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.
2001-06-14 05:48:03 +00:00
leif%netscape.com ed7ab86b1f Fix for bug 70611, support attributes in LDAP URLs. patch=leif@netscape.com,
r=dmose, sr=mscott, a=blizzard.
2001-06-13 23:42:38 +00:00
leif%netscape.com a9b78f3686 Changed LDAP XPCOM SDK to use "wstring" instead of "string", bug 71247.
r=dmose@netscape.com
sr=mscott@netscape.com
2001-05-17 06:26:35 +00:00
dmose%netscape.com 0fedea1b41 Initial implementation and supporting changes for nsLDAPService (bug 70422). Patch from Leif Hedstrom <leif@netscape.com>, r=dmose@netscape.com, sr=brendan@mozilla.org. 2001-05-05 02:30:50 +00:00
dmose%netscape.com ffdaa9f196 minor LDAP XPCOM SDK changes to support nsLDAPAutoCompleteSession, which will be checked in shortly (bug 70933). r=leif@netscape.com, sr=shaver@mozilla.org 2001-05-02 22:04:28 +00:00
dmose%netscape.com a9bb61a223 Fix getters and setters of various LDAP URL spec pieces to actually allow a spec to be built up from the individual pieces (bug 70420). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org 2001-04-12 01:25:07 +00:00
dmose%netscape.com 9d54a3b81a Initial interface and implementation of a class that represents the unique characteristics of an nsILDAPConnection (bug 70421). Patch from Leif Hedstrom <leif@netscape.com>. r=<dmose@netscape.com>, sr=<shaver@mozilla.org>. 2001-03-24 07:09:55 +00:00
dmose%netscape.com 80a677d2ec Split up ldap build options into two sections: ldap and ldap_experimental, in preparation for turning on just the ldap module in the default builds. Also fixes LDAP C SDK bustage introduced by change to --enable-nspr-autoconf. Bug 70658. Patch from leif@netscape.com, r=dmose@netscape.com, sr=alecf@netscape.com. 2001-03-14 06:41:35 +00:00
dmose%netscape.com ed5898feca 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 2001-03-09 03:25:47 +00:00
dmose%mozilla.org 71e1b8348a LDAP error-handling cleanup, part 1. a=r=(not built) 2000-10-17 23:07:38 +00:00
dmose%mozilla.org c2a8c63c2b nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built) 2000-10-03 01:53:23 +00:00
dmose%mozilla.org 88a5c480ce * include of ldap.h removed. this header is now a public header, and clients of the XPCOM wrapper don't need to be polluted with the contents of ldap.h, since that functionality should happen entirely inside the wrapper.
* NS_ERROR_LDAP_DECODING_ERROR added

a=r=(not built)
2000-09-29 01:06:53 +00:00
dmose%mozilla.org 7808cb66cc * replaced {first,next}Attribute() with getAttributes which returns an array: threadsafe and more useful from JS.
* added an emacs mode line and reindented.

* improved doxygen comments to include nsresult errors thrown
2000-09-29 00:53:29 +00:00
dmose%mozilla.org 1af95aecbe updated doxygen comments on interfaces to better match reality. a=r=(not built) 2000-08-24 03:39:40 +00:00
dmose%mozilla.org cc5b5a6aaf 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) 2000-08-10 02:13:21 +00:00
dmose%mozilla.org 49bb645f0b in DEBUG builds, created a PRLogModuleInfo for LDAP (gLDAPLogModule), and migrated most PR_fprintf(STDERR) bracketed by DEBUG_dmose to PR_LOG. a=r=(not built) 2000-08-08 23:44:48 +00:00
dmose%mozilla.org b941e6ffda 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). 2000-08-08 03:23:05 +00:00
dmose%mozilla.org 6587c751a6 remove NS_ERROR_LDAP_SUCCESS, as non-NS_OK success codes are considered bad form, and this one wasn't even used yet. a=r=(not built) 2000-08-03 22:45:43 +00:00
dmose%mozilla.org eda65944a9 get ldap build working on windows; a=r=(not built) 2000-07-26 22:51:19 +00:00
dmose%mozilla.org 062e758949 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) 2000-07-12 23:05:27 +00:00
dmose%mozilla.org 702acc757d adjust some comments. a=r=(not built) 2000-07-10 21:17:04 +00:00
dmose%mozilla.org 79087ec12a 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) 2000-06-28 19:39:32 +00:00
dmose%mozilla.org 0c6474b843 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) 2000-06-21 04:44:58 +00:00
dmose%mozilla.org 234db35889 Simplified nsILDAPMessageListener, and refactored much of the code in ldapSearch.cpp into nsLDAPChannel.cpp itself, using the simplified nsILDAPMessageListener class. This work is in preparation for pushing all threading code out of nsILDAPChannel down into nsILDAPConnection/Operation/Message. a=r=(not built) 2000-06-20 05:12:32 +00:00
dmose%mozilla.org b4dbf256ef forgot this critical file for the nsILDAPURL interface checkin earlier. a=r=(not built) 2000-06-20 03:59:52 +00:00
dmose%mozilla.org 135388e421 scaffolding & some initial work on an nsILDAPURL interface and an nsLDAPURL component that implements it. (a=r=not built) 2000-06-19 21:43:33 +00:00
dmose%mozilla.org 3947c09017 canonicalized method names to proper XPIDL interCaps style. a=r=(not built) 2000-06-17 03:15:23 +00:00
dmose%mozilla.org 07090d79fd changed nsILDAPOperation::Result() to use PRIntervalTime rather than PRTime for the timeout value. a=r=(not built) 2000-06-16 19:16:59 +00:00
dmose%mozilla.org 365398df16 first cut at some new-style windows makefiles for the C SDK. these don't really work yet - they are being checked in to allow other developers to collaborate on them. a=r=(not built) 2000-06-16 02:35:41 +00:00
dmose%mozilla.org 43a8709e13 canonicalize more method names to proper interCaps style. a=r=(not built) 2000-06-12 01:42:08 +00:00
dmose%mozilla.org 9e16120aa9 remove unused and misnamed nsILDAPURI.idl; add nsILDAPMessageListener.idl; transform nsILDAPMessage methods to correct interCaps style. a=r=(not built) 2000-06-12 00:03:04 +00:00
dmose%mozilla.org 00acafc483 explicitly document assumption about the connection attribute; a=r=(not built) 2000-06-11 23:50:30 +00:00
dmose%mozilla.org 75da35e2a6 cause "cvs update" to stop whining about generated Makefiles in non-objdir builds 2000-06-06 07:23:21 +00:00
dmose%mozilla.org c0800f2ac2 initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces 2000-05-17 22:48:50 +00:00
dmose%mozilla.org 6b38a9662c created an nsILDAPConnection interface, and set up nsLDAPConnection to implement it so that we can use XPCOM proxies for cross-thread marshalling, and so we get JS access as well 2000-05-13 01:38:38 +00:00
dmose%mozilla.org f6824e5426 LDAP XPCOM components + infrastructure 2000-05-09 01:09:11 +00:00