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

326 Коммитов

Автор SHA1 Сообщение Дата
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
leif%netscape.com 6af64c6c73 Bug 85452, 100% CPU usage in LDAP autocomplete. r=dmose, sr=mscott,
patch=leif.
2001-08-22 01:30:19 +00:00
andreas.otte%primus-online.de c6853783af bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
dmose%netscape.com c58f518755 Change LDAP autocomplete default minStringLength to only autocomplete against strings >= 2 chars long to avoid a possible hang on NT as well as unindexed searches (bug 84566; r=leif@netscape.com, sr=darin@netscape.com) and default searchFilterTemplate to catch people whose cn contains their middle name or initial (bug 90535; r=leif@netscape.com, rs=darin@netscape.com). This second patch also fixes a bug where filter templates sometimes ignored the last token of the entered string 2001-07-25 04:15:30 +00:00
leif%netscape.com a821a77707 Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.
2001-06-22 01:09:20 +00:00
leif%netscape.com 1dedb98d77 Backed out my checkin, sorry for that. 2001-06-21 21:56:57 +00:00
leif%netscape.com 5d505a7750 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 0877b1a573 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 6f0519335a 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 09e99242d5 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 7f31c4d4eb 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 8472214a18 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 7648bd6eb2 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 b39b1ee7a7 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 9174af6517 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 2ce9ab7d5e Fixes bug 2001-06-06 00:02:56 +00:00
scc%mozilla.org c9ef8044a2 fixing bustage 2001-05-23 04:19:39 +00:00
leif%netscape.com 6dc106b7ae 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 d5bd552195 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 39361b75fa 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 82e1565abf 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 b7301ec7a8 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 4271f2af6e 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 978ded7b33 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 94ee1ddb0f Fixing --enable-ldap-experimental build bustage introduced by Necko API changes. 2001-04-11 04:34:58 +00:00
dmose%mozilla.org d7011234d0 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
disttsc%bart.nl 6e48266508 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
dmose%netscape.com 3ff909bbd5 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 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
rayw%netscape.com 6cc70ebd6c 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 8ebe591ae8 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 640af1317f remove items relating to cleanup constructors, destructors, and initializers. a=r=(not built) 2000-08-24 03:41:05 +00:00
dmose%mozilla.org cc8167cb15 cleanup constructors, destructors, and initializers. a=r=(not built) 2000-08-24 03:40:32 +00:00
dmose%mozilla.org 9539d7e255 updated doxygen comments on interfaces to better match reality. a=r=(not built) 2000-08-24 03:39:40 +00:00
dmose%mozilla.org 954df04fe3 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 b77807e476 check pointer arg before dereferencing. a=r=(not built) 2000-08-23 21:40:00 +00:00
dmose%mozilla.org 9ad5022116 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 a0e24d7b1e Reorganized and updated TODO list. a=r=(not built). 2000-08-23 21:36:49 +00:00
dmose%mozilla.org 618669c849 fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built) 2000-08-22 22:26:44 +00:00
dmose%mozilla.org 4fccb8304b fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built) 2000-08-22 22:17:44 +00:00
dmose%mozilla.org 45ac9962d2 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 6278d71538 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 ddd40180e3 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 d8d52c08c6 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 4525e9564d 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 f345f913c2 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 c3a16e7f09 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
dmose%mozilla.org 25b0a8bf75 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 e89d51e9ef 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 bfe38b7737 use lexical closure of JS functions to bind data to a function for use as a callback. a=r=(not built) 2000-08-08 02:56:44 +00:00
waterson%netscape.com 08bd36fb57 Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm 2000-08-08 00:22:36 +00:00
dmose%mozilla.org f0409f54b0 one item completed; several important items moved up to the top of the list. a=r=(not built) 2000-08-05 08:46:57 +00:00
dmose%mozilla.org a04e7fa1b6 replace a few regular libc includes and function calls with their NSPR equivalents. a=r=(not built) 2000-08-05 08:45:11 +00:00
dmose%mozilla.org c8f414c374 add a comment; a=r=(not built) 2000-08-05 08:43:51 +00:00
dmose%mozilla.org 6f1e811c6c get rid of unused static sNullTimeval. a=r=(not built) 2000-08-05 08:42:45 +00:00
dmose%mozilla.org 0608bebb67 All currently known ChoadWarrior warnings in the LDAP code have been fixed. Another item removed from the TODO list. a=r=(not built) 2000-08-03 23:57:58 +00:00
dmose%mozilla.org c0823a7ff5 Removed trailing semicolons after NS_DECL stuff to keep ChoadWarrior from whining. a=r=(not built) 2000-08-03 23:55:12 +00:00
dmose%mozilla.org 495164c348 added one item, dropped one item, completed one item. a=r=(not built) 2000-08-03 22:48:08 +00:00
dmose%mozilla.org 64ea8012d9 get rid of C-style casts. a=r=(not built) 2000-08-03 22:47:11 +00:00
dmose%mozilla.org 7c0ce8a4e2 add XXX cleanup reminder comment. a=r=(not built) 2000-08-03 22:46:42 +00:00
dmose%mozilla.org d65b1cf18a 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 5265d9dae8 add XXX comment to remind about future cleanup. a=r=(not built) 2000-08-03 22:43:43 +00:00
dmose%mozilla.org ff2ce0bb7a Building on windows now works, using ENABLE LDAP. Removed from the list. 2000-07-28 22:57:12 +00:00
dmose%mozilla.org 65c4b692ef ldap_set_option was being called incorrectly; fixed. a=r=(not built). 2000-07-28 22:44:43 +00:00
dmose%mozilla.org 992ce2a468 get ldap build working on windows; a=r=(not built) 2000-07-26 22:51:19 +00:00
dmose%mozilla.org dd59a55ecb reorder includes to avoid Windows-specific SetPort lossage. a=r=(not built) 2000-07-26 22:50:05 +00:00
dmose%mozilla.org a9d7b7519c added a few issues that came up while revamping the callback model 2000-07-12 23:08:11 +00:00
dmose%mozilla.org 2356d8245c a per-connection nsILDAPMessageListener is no longer necessary. removed. a=r=(not built) 2000-07-12 23:06:37 +00:00
dmose%mozilla.org c8b1840fe1 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 09160b9a9f Updated description of directories in the tree. a=r=(not built) 2000-07-10 21:27:05 +00:00
dmose%mozilla.org 3a051670b7 Makefile.in 2000-07-10 21:24:55 +00:00
dmose%mozilla.org 0db5225142 some tests of the LDAP code, currently just for the datasource 2000-07-10 21:24:45 +00:00
dmose%mozilla.org f5e45622ff initial code for an LDAP datasource; not yet working or complete. a=r=(not built) 2000-07-10 21:22:17 +00:00
dmose%mozilla.org 58ee32dadc updated the TODO list. a=r=(not built) 2000-07-10 21:17:59 +00:00
dmose%mozilla.org 066074e959 adjust some comments. a=r=(not built) 2000-07-10 21:17:04 +00:00
dmose%mozilla.org 7abfcb5d26 various updates. a=r=(not built) 2000-07-10 17:50:32 +00:00
dmose%mozilla.org 4ba7d9b5bd two calls to PR_fprintf were not properly bracketed by ifdef DEBUG, causing non-debugging builds to fail. a=r=(not built) 2000-07-06 22:38:11 +00:00
cls%seawood.org e1e6c5760f Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
Peter.VanderBeken%pandora.be 33bc1a23c0 Fixing access paths. Not part of the build. 2000-06-28 22:55:26 +00:00
dmose%mozilla.org ef1080cbf4 Added an item about thread death. a=r=(not built) 2000-06-28 21:42:15 +00:00
dmose%mozilla.org eee48977dd Added and updated a few more issues. a=r=(not built) 2000-06-28 19:56:08 +00:00
dmose%mozilla.org 5bb1c008fb 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 63d8a2d5ac Updated documentation. a=r=(not built). 2000-06-28 19:02:27 +00:00
mcs%netscape.com 89b8e26d83 First Checked In. 2000-06-23 19:42:37 +00:00
dmose%mozilla.org 140bf4f8a8 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 d17aee4853 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) 2000-06-20 05:17:51 +00:00
dmose%mozilla.org 466e5e94e3 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 ef7ca6cf3d 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 5ba5ca4ec8 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 d86cc52233 changed non-portable int type to PRInt32. a=r=(not built) 2000-06-19 21:40:29 +00:00
dmose%mozilla.org 4e3e516df2 clarified comments. a=r=(not built) 2000-06-19 21:36:09 +00:00
dmose%mozilla.org 0b741f6d8c removed NS_ENSURE_ARG macros, as NULL pointers are valid for either argument. a=r=(not built) 2000-06-19 21:34:30 +00:00
dmose%mozilla.org 9ce2c5ed31 canonicalized method names to proper XPIDL interCaps style. a=r=(not built) 2000-06-17 03:15:23 +00:00
dmose%mozilla.org ee0ead0dd7 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
valeski%netscape.com c9ce86137e 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
dmose%mozilla.org f654ad2c93 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 45d7b50733 canonicalize more method names to proper interCaps style. a=r=(not built) 2000-06-12 01:42:08 +00:00
dmose%mozilla.org 2d5860d212 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) 2000-06-12 00:06:08 +00:00
dmose%mozilla.org ddc9c32d1d 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 74f7ba2e81 cache the nsILDAPConnection for when we need to call methods (eg GetLdErrno) on it. a=r=(not built) 2000-06-11 23:56:39 +00:00
dmose%mozilla.org 24cf539b1d removed misnamed and unused nsLDAPURI.cpp. a=r=(not built). 2000-06-11 23:53:01 +00:00
dmose%mozilla.org dab2357bd0 explicitly document assumption about the connection attribute; a=r=(not built) 2000-06-11 23:50:30 +00:00
dmose%mozilla.org d5672f4da4 added a thread-related TODO item; a=r=(not built) 2000-06-11 23:47:05 +00:00
dmose%mozilla.org b3c3a4b5f5 Got rid of conditional definition of shouldCache attr. It's gone now. a=r=(not built). 2000-06-07 05:46:24 +00:00
dmose%mozilla.org a53be4829a add a couple of comments; a=r=(not built) 2000-06-06 07:43:21 +00:00
dmose%mozilla.org dfa05881c1 cause "cvs update" to stop whining about generated Makefiles in non-objdir builds 2000-06-06 07:23:21 +00:00
dmose%mozilla.org 195e9d2e55 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). 2000-06-06 06:35:43 +00:00
dmose%mozilla.org 4ffb4f01eb backing out simple to std URx usage for the moment 2000-05-31 00:14:08 +00:00
dmose%mozilla.org 680e025a86 updated several build-related items 2000-05-30 22:12:25 +00:00
dmose%mozilla.org 4da3e9710c updated comment; made thread hang around forever in DEBUG mode to workaround gdb lossage; added forgotten Close for the nsIPipe 2000-05-30 22:10:46 +00:00
dmose%mozilla.org 1abc36f2b9 using nsStandardURL instead nsSimpleURL 2000-05-30 22:01:16 +00:00
dmose%mozilla.org 2289563453 moved some PR_fprintfs inside of #ifdef DEBUG 2000-05-30 21:59:54 +00:00
dmose%mozilla.org c273934031 More updates. 2000-05-18 20:40:49 +00:00
dmose%mozilla.org bc83614a8f Updated to reflect the new async reality. 2000-05-18 08:51:27 +00:00
dmose%mozilla.org 484c1e5995 More minor updates & reorg. 2000-05-18 08:50:50 +00:00
dmose%mozilla.org 9a3c3edd68 Lots of updates; many related to today's checkin of async code. 2000-05-18 08:48:07 +00:00
dmose%mozilla.org b4a07bb9be channel now runs async on a worker thread 2000-05-18 02:37:42 +00:00
dmose%mozilla.org daadb1e059 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 04f021dd02 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 6ef232c731 a couple of shutdown related things: added an mThreadRunning member, and made thread PR_JOINABLE 2000-05-13 01:36:25 +00:00
dmose%mozilla.org 3b190b03e7 Made the warning at the top of the file less drastic. 2000-05-10 04:02:30 +00:00
dmose%mozilla.org d580c16137 updated a bit 2000-05-10 04:01:42 +00:00
dmose%mozilla.org f2316a2561 Split out and added detail to XPCOMification info. 2000-05-10 00:08:26 +00:00
dmose%mozilla.org 304a56401f Cleaned up a bit. Added some top-priority tasks to the top of the housecleaning section. 2000-05-10 00:07:22 +00:00
dmose%mozilla.org 0517eb6165 Added more verbiage about the instability of the code. 2000-05-10 00:06:46 +00:00
dmose%mozilla.org 673a7c6e68 Move prototype outside of #ifdef DEBUG so that non-DEBUG builds don't die. 2000-05-09 23:41:32 +00:00
dmose%mozilla.org b2697ba752 LDAP XPCOM components + infrastructure 2000-05-09 01:09:11 +00:00