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

411 Коммитов

Автор SHA1 Сообщение Дата
leif%netscape.com 3558ec7b84 Backed out my checkin, sorry for that. 2001-06-21 21:56:57 +00:00
leif%netscape.com 85e18ae7b4 Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.
2001-06-21 21:44:18 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +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
dbaron%fas.harvard.edu a236696e96 To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa 2001-06-19 22:38:45 +00:00
cls%seawood.org b3c6959aa9 Remove workaround for WS6 bug in-lieu of vendor patch listed at http://www.mozilla.org/unix/solaris-build.html .
Thanks to Rich Burridge <rich.burridge@Sun.COM> for the patch.
Bug #73834 r=dmose sr=alecf a=asa
2001-06-15 06:19:24 +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
dougt%netscape.com e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
dougt%netscape.com d3be11ab85 Fixes bug 2001-06-06 00:02:56 +00:00
scc%mozilla.org a50975fc25 fixing bustage 2001-05-23 04:19:39 +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
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +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
colin%theblakes.com d2cc74de96 Move ldap40 and lber40 after MOZ_COMPONENT_LIBS so that they have
a -L in effect. b=76482. r=cld. a=roc+moz.
2001-04-19 09:57:17 +00:00
dmose%netscape.com d87f020e0c Replace duplicated CID with unique one (bug 75048). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org 2001-04-12 01:40:19 +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 de0dae2a35 Fixing --enable-ldap-experimental build bustage introduced by Necko API changes. 2001-04-11 04:34:58 +00:00
miodrag%netscape.com f508ba75d0 Allow explicit SSLSocketFactory, contribution by Kyle F. Downey, kdowney@amberarcher.com 2001-04-03 13:17:22 +00:00
miodrag%netscape.com 74c18a7fc4 A minor update 2001-04-03 13:13:52 +00:00
miodrag%netscape.com 9e334ecc48 74378 fix in flushEntries(), contribution by Glenn McAllister, glenn@somanetworks.com 2001-04-03 13:12:03 +00:00
dmose%mozilla.org f50b8ea04a Workaround bug in Solaris WorkShop 6 Update 1 that crashes the compiler by ifdefing out the offending code on that compiler (bug 73834). r=rich.burridge@sun.com, sr=sfraser@netscape.com 2001-03-28 23:17:44 +00:00
miodrag%netscape.com 1e9dcafbfa Updtates for LDAPJDK 4.14 2001-03-28 15:45:58 +00:00
disttsc%bart.nl f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +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
peter.vanderbeken%pandora.be 8191d44c0b 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 0b2dd2b2d2 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 accd78ff55 Fix for mac bustage from Zach. 2001-03-21 04:30:48 +00:00
dmose%netscape.com 4cfee0e5dc 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 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
bryner%uiuc.edu a563de9f60 Fixing typo in valeski's checkin (build bustage in LDAP). sr=sspitzer. 2001-03-13 05:18:55 +00:00
valeski%netscape.com 68017cb9e2 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +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
disttsc%bart.nl 8b43034cef 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 a6f2f5861a 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 128f95aa9b 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 28e108e179 Add REQUIRES line to fix --enable-ldap + MOZ_TRACK_MODULE_DEPS bustage. 2001-02-17 18:30:12 +00:00
Peter.VanderBeken%pandora.be 328689ca7c Not part of the build. Correcting depth. 2001-02-13 14:16:28 +00:00
Peter.VanderBeken%pandora.be 8b4bc5e873 Not part of the build. Adding a QI. 2001-02-13 14:15:42 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl e3963cac86 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 1b9ca82439 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 bfbcc8c3a0 backing out inadvertant checkin; not in default build 2001-02-07 03:32:44 +00:00
dmose%mozilla.org c88e2cab67 backing out inadvertant checkin; not in default build 2001-02-07 03:24:13 +00:00
dmose%mozilla.org 8c4a4fa262 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 7fbd4fae30 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 484ff79b14 Not part of the build. Basic scaffolding for the LDAP datasource. 2001-02-02 15:58:09 +00:00
Peter.VanderBeken%pandora.be 3381cbb072 Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build. 2001-01-24 13:49:55 +00:00
miodrag%netscape.com 26b52046f8 Updtates for LDAPJDK 4.13 2000-12-18 14:02:20 +00:00
miodrag%netscape.com 6752b7f127 Make file compile under JDK1.3 2000-12-08 17:17:49 +00:00
dmose%mozilla.org f976819736 test commit; a=r=(not built) 2000-10-25 23:54:02 +00:00
dmose%mozilla.org 9727b8f6ac test commit; a=r=(not built) 2000-10-25 23:50:42 +00:00
dmose%mozilla.org f80e4dd62d get rid of outdated comments; a=r=(not built) 2000-10-19 20:51:46 +00:00
dmose%mozilla.org 4001c840aa 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 71e1b8348a LDAP error-handling cleanup, part 1. a=r=(not built) 2000-10-17 23:07:38 +00:00
leif%netscape.com abe9c66796 Merged in changes from v1.4.1. 2000-10-05 19:47:47 +00:00
leif%netscape.com eed7074d00 *** empty log message *** 2000-10-05 18:51:45 +00:00
leif%netscape.com 3c9652d210 Removed. 2000-10-05 01:08:34 +00:00
dmose%mozilla.org 7c33175cf1 TestLDAP.cpp has bitrotted into uselessness. cvs removing. a=r=(not built) 2000-10-03 02:23:33 +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 04fb02d7fe 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 8d7e529b78 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 ae3964aa70 update so that datasource tests work with jar packaging. a=r=(not built) 2000-09-29 22:30:12 +00:00
dmose%mozilla.org 6c0ad43dd5 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 93e54988c3 * 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 d0f8f905be * 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 ba7f6ff318 Migrate from progids to contractids. a=r=(not built) 2000-09-29 01:11:34 +00:00
dmose%mozilla.org bf2d8408ca 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 e5ccc70968 Tweak some comments. a=r=(not built) 2000-09-29 01:09:27 +00:00
dmose%mozilla.org dc482e949c include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built) 2000-09-29 01:08:17 +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 6c20606702 * migrate from progids to contractids
a=r=(not built)
2000-09-29 01:04:24 +00:00
dmose%mozilla.org 8ee5a1e74a * 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 bbd7df9f96 * 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 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 c476dca916 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 f6b8f75202 Infrastructure for internal use by the LDAP code. a=r=(not built) 2000-09-29 00:45:52 +00:00
dmose%mozilla.org deecc5b1fd Significant updates to the todo list. a=r=(not built). 2000-09-29 00:43:22 +00:00
disttsc%bart.nl 98a80b17b2 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 f00b08f5d0 fix to mal-formed contract id introduced in mega-check-in:x 2000-09-14 04:18:07 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
dmose%mozilla.org d2339b8896 Patch from <peter.vanderbeken@pandora.be> to keep LDAP building with the latest string changes. r=dmose@mozilla.org, a=(not built). 2000-09-06 01:25:19 +00:00
dmose%mozilla.org f26ac839f0 remove items relating to cleanup constructors, destructors, and initializers. a=r=(not built) 2000-08-24 03:41:05 +00:00
dmose%mozilla.org b6a1eafe4b cleanup constructors, destructors, and initializers. a=r=(not built) 2000-08-24 03:40:32 +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 7fcb3f3f8d pending operations on an LDAP connection now get removed from the queue after they either complete or are aborted. also tweaked a few comments. a=r=(not built) 2000-08-23 21:54:12 +00:00
dmose%mozilla.org 546de631d0 check pointer arg before dereferencing. a=r=(not built) 2000-08-23 21:40:00 +00:00
dmose%mozilla.org 1cab4f3e13 remove some useless debugging cruft; implement more callbacks using closures. a=r=(not built) 2000-08-23 21:38:19 +00:00
dmose%mozilla.org d8d5443d92 Reorganized and updated TODO list. a=r=(not built). 2000-08-23 21:36:49 +00:00
dmose%mozilla.org 25de616d20 fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built) 2000-08-22 22:26:44 +00:00
dmose%mozilla.org 670c424b4a fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built) 2000-08-22 22:17:44 +00:00
dmose%mozilla.org 4cf3c2ccd7 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 2000-08-22 01:05:13 +00:00
dmose%mozilla.org 6f95b7e865 refine to assign to the prototype rather than the created objects, and add debugging stuff to help shaver. a=r=(not built) 2000-08-15 20:58:17 +00:00
dmose%mozilla.org 0eb0e898b7 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) 2000-08-14 23:16:03 +00:00
rayw%netscape.com 6385bb207a Changed case of nsIFactory.idl methods to start with lower case to be like other
interfaces.  Since the C++ generated code upper-cases the method names, this
affects no C++ code, but only a few javascript methods.

Bug 46771.

r=waterson.

I am in today and tomorrow.
2000-08-10 20:12:08 +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 1cb86ef8dd adding .cvsignore files to stop cvs whining in non-OBJDIR builds. a=r=(not built) 2000-08-09 04:44:01 +00:00
dmose%mozilla.org 9ad2e3e186 A number of lines were not properly bracketed by DEBUG conditionals, causing non-DEBUG builds to fail. a=r=(not built) 2000-08-09 04:43:33 +00:00