bugzilla%standard8.demon.co.uk
e8a2b5393f
Bug 124897 Implement editing of a directory in the LDAP XPCOM SDK. Original patch by peterv, updated and revised by me. r=bienvenu,sr=mscott
...
git-svn-id: svn://10.0.0.236/trunk@221612 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 16:33:49 +00:00
bugzilla%standard8.demon.co.uk
20b176c5cc
Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@187342 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 18:51:12 +00:00
bugzilla%standard8.demon.co.uk
ae9c52b23d
Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@187337 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 17:45:47 +00:00
bugzilla%standard8.demon.co.uk
c312d8ec5b
Bug 136773 Enable ldap logging on optimized builds. r/sr=dmose
...
git-svn-id: svn://10.0.0.236/trunk@187168 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 17:19:57 +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
dmose%mozilla.org
6ebf12f1b5
Make LDAP attributes used by the addressbook customizable via preferences (bug 119291). r=bienvenu@nventure.com, sr+a=shaver@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@173284 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-11 04:16:54 +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
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
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
seawood%netscape.com
04d820b459
Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
...
git-svn-id: svn://10.0.0.236/trunk@143552 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 00:15:38 +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
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
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
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
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
12afe29bd3
Bug 71247, provide scriptable UTF8 encoders in nsILDAPService. r=dmose,
...
sr=mscott, a=asa@mozilla.org , patch=leif@netscape.com .
git-svn-id: svn://10.0.0.236/trunk@97541 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:35:55 +00:00
dmose%netscape.com
c953445c90
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
...
git-svn-id: svn://10.0.0.236/trunk@97205 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 05:04:32 +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
4fc4ebb545
Fix for bug 70611, support attributes in LDAP URLs. patch=leif@netscape.com,
...
r=dmose, sr=mscott, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@97100 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 23:42:38 +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
b6cf57be1e
Initial implementation and supporting changes for nsLDAPService (bug 70422). Patch from Leif Hedstrom <leif@netscape.com>, r=dmose@netscape.com, sr=brendan@mozilla.org.
...
git-svn-id: svn://10.0.0.236/trunk@94015 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 02:30:50 +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
b02af4908d
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
...
git-svn-id: svn://10.0.0.236/trunk@92044 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:25:07 +00:00
dmose%netscape.com
089c45bae6
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>.
...
git-svn-id: svn://10.0.0.236/trunk@90334 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:09:55 +00:00
dmose%netscape.com
7caf9ab8dc
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.
...
git-svn-id: svn://10.0.0.236/trunk@89619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:41:40 +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
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
d2711a2b7d
nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@80237 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:53:23 +00:00
dmose%mozilla.org
3f6a882c55
* 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)
git-svn-id: svn://10.0.0.236/trunk@80121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:06:53 +00:00
dmose%mozilla.org
afe7807e71
* 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
git-svn-id: svn://10.0.0.236/trunk@80117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:53:29 +00:00
dmose%mozilla.org
2fcf1fab6e
updated doxygen comments on interfaces to better match reality. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@77037 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:39:40 +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
358461d7b4
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)
...
git-svn-id: svn://10.0.0.236/trunk@75831 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 23:44:48 +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
2766e71f0f
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)
...
git-svn-id: svn://10.0.0.236/trunk@75538 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:45:43 +00:00
dmose%mozilla.org
5809654b4d
get ldap build working on windows; a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@74844 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-26 22:51:19 +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
7d0df230ae
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)
...
git-svn-id: svn://10.0.0.236/trunk@72632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:12:32 +00:00
dmose%mozilla.org
de51b96975
forgot this critical file for the nsILDAPURL interface checkin earlier. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@72615 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:59:52 +00:00
dmose%mozilla.org
e467c5ca10
scaffolding & some initial work on an nsILDAPURL interface and an nsLDAPURL component that implements it. (a=r=not built)
...
git-svn-id: svn://10.0.0.236/trunk@72550 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:43:33 +00:00
dmose%mozilla.org
adb6a7750f
canonicalized method names to proper XPIDL interCaps style. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@72479 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:15:23 +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
30a76fc5b2
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)
...
git-svn-id: svn://10.0.0.236/trunk@72341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 02:35:41 +00:00