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
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
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
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
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
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
dougt%netscape.com
1d2be05759
Fixes bug
...
git-svn-id: svn://10.0.0.236/trunk@96469 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:02:56 +00:00
scc%mozilla.org
9dafc29f8a
fixing bustage
...
git-svn-id: svn://10.0.0.236/trunk@95792 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 04:19:39 +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
22713bb18c
Fixing --enable-ldap-experimental build bustage introduced by Necko API changes.
...
git-svn-id: svn://10.0.0.236/trunk@91948 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 04:34:58 +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
disttsc%bart.nl
abd8de21e5
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
dougt%netscape.com
175245e2de
Relanding Necko Changes.
...
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
r=darin@netscape.com
sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003
Back out dougt's channel changes
...
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
disttsc%bart.nl
2ebbb1e4f8
Fix bustage (at least on linux with GCC) in LDAP by adding missing NS_IMETHODIMP for nsLDAPChannel::AsyncOpen
...
git-svn-id: svn://10.0.0.236/trunk@86748 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 04:47:37 +00:00
dougt%netscape.com
7af79c83df
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
...
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.
This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.
The full details of the change on written up in the netlib newsgroup.
r=darin@netscape.com
sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dmose%mozilla.org
b664e998e2
backing out inadvertant checkin; not in default build
...
git-svn-id: svn://10.0.0.236/trunk@86449 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:24:13 +00:00
dmose%mozilla.org
ee1f5d9512
fix bug 67357. link-time bustage in ldap module caused by earlier nsIURI::SchemeIs change. not in default build. r=gagan@netscape.com, sr=scc@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@86448 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:20:33 +00:00
Peter.VanderBeken%pandora.be
3db76d9e10
Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build.
...
git-svn-id: svn://10.0.0.236/trunk@85425 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 13:49:55 +00:00
dmose%mozilla.org
3d31c414a3
NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@81318 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:14:10 +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
664e265d7d
cut down number of Write() and OnDataAvailable() PLEvents by an order of magnitude ; fix error handler for nsLDAPMessage::IterateAttributes to properly deallocate the array on an error; update TODO.txt. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@80232 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:52:03 +00:00
dmose%mozilla.org
12782ecfb6
* switch from old {First,Next}Attribute() functions to new GetAttributes() call
...
* adjust GetDn() calls to use an nsXPIDLString now that GetDN() does proper string ownership
* error-handling improvements
* partial addition of event sink infrastructure to be used for updating the status bar
* nsLDAP.h include replaced with nsLDAPInternal.h
* migrate from progids to contractids
* emacs mode-line added, and re-indented
a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:20:31 +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
7f3bc04522
fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@76893 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:17:44 +00:00
dmose%mozilla.org
1c53b7c30e
patch from peter.vanderbeken@pandora.be which tracks warren's change to nsIRequest.idl and keep LDAP building on the tip. a=(not built), r=dmose@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@76835 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 01:05:13 +00:00
dmose%mozilla.org
8d84ef21cf
Major fixes to the code that cleans up at the end of an LDAP search and/or when a search has been cancelled. Most visible effect: the throbber should always stop spinning at the end of a search, rather than sometimes lingering on indefinitely. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@76319 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 23:16:03 +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
985a0b5df5
add XXX comment to remind about future cleanup. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@75537 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:43:43 +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
1dee72d1cb
two calls to PR_fprintf were not properly bracketed by ifdef DEBUG, causing non-debugging builds to fail. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@73792 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-06 22:38:11 +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
c70724e4c9
Simplified nsILDAPMessageListener, and refactored much of the code in ldapSearch.cpp into nsLDAPChannel.cpp itself, using the simplified nsILDAPMessageListener callback interface. 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@72634 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:17:51 +00:00
valeski%netscape.com
23654db003
42767. AsyncOpen (dead code) removal.
...
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +00:00
dmose%mozilla.org
e020038dc1
preliminary impl of nsILDAPMessageListener; fix nsLDAPConnection::NextAttribute() to not assert when the last attribute is reached; canonicalize names to interCaps style. a=r=(not built)
...
git-svn-id: svn://10.0.0.236/trunk@72013 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:06:08 +00:00
dmose%mozilla.org
66365bab27
Got rid of conditional definition of shouldCache attr. It's gone now. a=r=(not built).
...
git-svn-id: svn://10.0.0.236/trunk@71701 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 05:46:24 +00:00
dmose%mozilla.org
00f88d7ba1
Updated to track changes to nsIChannel.idl: shouldCache attribute disappeared and was replacd with localFile attribute. Unclear why this happened; this is a workaround so that nsLDAPChannel.cpp continues to compile. a=r=(not built).
...
git-svn-id: svn://10.0.0.236/trunk@71588 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 06:35:43 +00:00
dmose%mozilla.org
8f5c05faa4
updated comment; made thread hang around forever in DEBUG mode to workaround gdb lossage; added forgotten Close for the nsIPipe
...
git-svn-id: svn://10.0.0.236/trunk@71098 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:10:46 +00:00
dmose%mozilla.org
adb3c7cdcb
channel now runs async on a worker thread
...
git-svn-id: svn://10.0.0.236/trunk@70429 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 02:37:42 +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
79013acd7d
Move prototype outside of #ifdef DEBUG so that non-DEBUG builds don't die.
...
git-svn-id: svn://10.0.0.236/trunk@68924 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-09 23:41:32 +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