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

148 Коммитов

Автор SHA1 Сообщение Дата
peter.vanderbeken%pandora.be 91bc158c0f Clean up datasource. Return partial result list to allow progressive display. Don't onAssert for the attributes, let the user ask for them. Not part of the default build. r=dmose. 2001-03-22 15:02:24 +00:00
blakeross%telocity.com eaa6754a0a Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben 2001-03-22 00:59:29 +00:00
dmose%netscape.com 65a92daa9b Fix for mac bustage from Zach. 2001-03-21 04:30:48 +00:00
dmose%netscape.com 24c7dc20d9 Turn on basic LDAP infrastructure in the default mac build. No user-visible changes yet. Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org. Mac system build changes: r=peterv@netscape.com, sr=sfraser@netscape.com 2001-03-21 01:45:24 +00:00
dmose%netscape.com 42c00de566 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
bryner%uiuc.edu e8a4514009 Fixing typo in valeski's checkin (build bustage in LDAP). sr=sspitzer. 2001-03-13 05:18:55 +00:00
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dmose%netscape.com 2204f8059a 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
disttsc%bart.nl aebc676048 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
2001-03-08 08:05:05 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f 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
2001-02-21 20:38:08 +00:00
dbaron%fas.harvard.edu cc6aa25233 Add REQUIRES line to fix --enable-ldap + MOZ_TRACK_MODULE_DEPS bustage. 2001-02-17 18:30:12 +00:00
Peter.VanderBeken%pandora.be 0e235ef180 Not part of the build. Correcting depth. 2001-02-13 14:16:28 +00:00
Peter.VanderBeken%pandora.be eb56c4d46d Not part of the build. Adding a QI. 2001-02-13 14:15:42 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl ac15734e15 Fix bustage (at least on linux with GCC) in LDAP by adding missing NS_IMETHODIMP for nsLDAPChannel::AsyncOpen 2001-02-10 04:47:37 +00:00
dougt%netscape.com 69415757ab 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
2001-02-10 00:16:26 +00:00
dmose%mozilla.org 63b09341a2 backing out inadvertant checkin; not in default build 2001-02-07 03:32:44 +00:00
dmose%mozilla.org 705a051a9f backing out inadvertant checkin; not in default build 2001-02-07 03:24:13 +00:00
dmose%mozilla.org f87b27e729 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 2001-02-07 03:20:33 +00:00
Peter.VanderBeken%pandora.be 64c9aec804 Not part of the build. Eliminate JS warning. Correct error in CID. Add debugging info. 2001-02-05 15:46:51 +00:00
Peter.VanderBeken%pandora.be 78f14b0345 Not part of the build. Basic scaffolding for the LDAP datasource. 2001-02-02 15:58:09 +00:00
Peter.VanderBeken%pandora.be 2d5a74813b Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build. 2001-01-24 13:49:55 +00:00
dmose%mozilla.org 7509d87f65 test commit; a=r=(not built) 2000-10-25 23:54:02 +00:00
dmose%mozilla.org a3dbc9bed2 test commit; a=r=(not built) 2000-10-25 23:50:42 +00:00
dmose%mozilla.org a011f6d93b get rid of outdated comments; a=r=(not built) 2000-10-19 20:51:46 +00:00
dmose%mozilla.org 0724b52649 NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built) 2000-10-17 23:14:10 +00:00
dmose%mozilla.org 6c9183a50c LDAP error-handling cleanup, part 1. a=r=(not built) 2000-10-17 23:07:38 +00:00
dmose%mozilla.org 3b690fcec5 TestLDAP.cpp has bitrotted into uselessness. cvs removing. a=r=(not built) 2000-10-03 02:23:33 +00:00
dmose%mozilla.org 39c76b6fc8 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 dbbe3df0aa 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) 2000-10-03 00:52:03 +00:00
dmose%mozilla.org b1728bcc17 fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built) 2000-09-29 22:35:35 +00:00
dmose%mozilla.org 2974744755 update so that datasource tests work with jar packaging. a=r=(not built) 2000-09-29 22:30:12 +00:00
dmose%mozilla.org 0265ecf065 Reorganized significantly. Triaged so that there are only 4 items left to do (the first four) before attempting an initial prerelease (0.x). 2000-09-29 20:09:38 +00:00
dmose%mozilla.org fc222b3075 * 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)
2000-09-29 01:20:31 +00:00
dmose%mozilla.org b7947fd655 * pipeWrite() prototype changed from |char *| to |const char *|
* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)
2000-09-29 01:14:53 +00:00
dmose%mozilla.org 6852bc27b1 Migrate from progids to contractids. a=r=(not built) 2000-09-29 01:11:34 +00:00
dmose%mozilla.org 12decc83d0 define __STRICT_ANSI__ and change the include order to keep linux gcc from whining about one of the system include files. a=r=(not built) 2000-09-29 01:10:40 +00:00
dmose%mozilla.org 6025ff6ae3 Tweak some comments. a=r=(not built) 2000-09-29 01:09:27 +00:00
dmose%mozilla.org 1945a1a0cc include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built) 2000-09-29 01:08:17 +00:00
dmose%mozilla.org 3a6e4c491f * 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 fe2112236d * migrate from progids to contractids
a=r=(not built)
2000-09-29 01:04:24 +00:00
dmose%mozilla.org d3a800d819 * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)
2000-09-29 01:01:10 +00:00
dmose%mozilla.org efe7310f8c * replaced {First,Next}Attribute() functions with GetAttributes(), which returns an array. threadsafe and easier on JS callers.
* fixed GetDn() to do better error handling and use the standard XPCOM string ownership model (ie getter_Copies)

* better error handling for GetValues()

* tweak some includes

* added an emacs modeline and reindented

a=r=(not built)
2000-09-29 00:58:38 +00:00
dmose%mozilla.org 6201e1656a * 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 23f43e5ad2 Added an emacs mode line, reindented with spaces as per the mode line. Also tweaked a couple of comments as well as some debugging stuff. a=r=(not built) 2000-09-29 00:48:26 +00:00
dmose%mozilla.org 0c8c837015 Infrastructure for internal use by the LDAP code. a=r=(not built) 2000-09-29 00:45:52 +00:00
dmose%mozilla.org 0bafb90b58 Significant updates to the todo list. a=r=(not built). 2000-09-29 00:43:22 +00:00
disttsc%bart.nl 51b19f44ac Removing bookmarks.xul per dmose's suggestion ("that was really just me messing around"). bug=53297, r=dmose, a=(not in build). 2000-09-21 13:27:25 +00:00
rayw%netscape.com 52476868db fix to mal-formed contract id introduced in mega-check-in:x 2000-09-14 04:18:07 +00:00