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

325 Коммитов

Автор SHA1 Сообщение Дата
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
dmose%mozilla.org 49bb645f0b 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 b941e6ffda 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 31fca86c72 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 d867e404c8 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 6e6dd23a4c 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 9a125e7ea0 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 1b3bb8a2fc add a comment; a=r=(not built) 2000-08-05 08:43:51 +00:00
dmose%mozilla.org 8b0c9b3a30 get rid of unused static sNullTimeval. a=r=(not built) 2000-08-05 08:42:45 +00:00
dmose%mozilla.org d76638bfbb 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 20a0d07c28 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 58e2f914c7 added one item, dropped one item, completed one item. a=r=(not built) 2000-08-03 22:48:08 +00:00
dmose%mozilla.org 7e6563f32c get rid of C-style casts. a=r=(not built) 2000-08-03 22:47:11 +00:00
dmose%mozilla.org d0a3220c36 add XXX cleanup reminder comment. a=r=(not built) 2000-08-03 22:46:42 +00:00
dmose%mozilla.org 6587c751a6 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 8d81ed2ca7 add XXX comment to remind about future cleanup. a=r=(not built) 2000-08-03 22:43:43 +00:00
dmose%mozilla.org 76c8ff0e3c Building on windows now works, using ENABLE LDAP. Removed from the list. 2000-07-28 22:57:12 +00:00
dmose%mozilla.org 714c99c247 ldap_set_option was being called incorrectly; fixed. a=r=(not built). 2000-07-28 22:44:43 +00:00
dmose%mozilla.org eda65944a9 get ldap build working on windows; a=r=(not built) 2000-07-26 22:51:19 +00:00
dmose%mozilla.org b50d4018d7 reorder includes to avoid Windows-specific SetPort lossage. a=r=(not built) 2000-07-26 22:50:05 +00:00
dmose%mozilla.org 7c13805e3d added a few issues that came up while revamping the callback model 2000-07-12 23:08:11 +00:00
dmose%mozilla.org 836ca8d849 a per-connection nsILDAPMessageListener is no longer necessary. removed. a=r=(not built) 2000-07-12 23:06:37 +00:00
dmose%mozilla.org 062e758949 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 b00e140232 Updated description of directories in the tree. a=r=(not built) 2000-07-10 21:27:05 +00:00
dmose%mozilla.org 44efaf29c7 Makefile.in 2000-07-10 21:24:55 +00:00
dmose%mozilla.org 2d6492aef7 some tests of the LDAP code, currently just for the datasource 2000-07-10 21:24:45 +00:00
dmose%mozilla.org d2d41b1eed 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 ff889bea7d updated the TODO list. a=r=(not built) 2000-07-10 21:17:59 +00:00
dmose%mozilla.org 702acc757d adjust some comments. a=r=(not built) 2000-07-10 21:17:04 +00:00
miodrag%netscape.com eda0c6aed9 Updates for LDAPJDK 4.12 2000-07-10 18:41:40 +00:00
dmose%mozilla.org ce1cd37f5a various updates. a=r=(not built) 2000-07-10 17:50:32 +00:00
dmose%mozilla.org d7e3972ed3 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 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
miodrag%netscape.com ad2a7c4da1 Updates for LDAPJDK 4.11 2000-06-29 22:31:17 +00:00
Peter.VanderBeken%pandora.be 3971843b2d Fixing access paths. Not part of the build. 2000-06-28 22:55:26 +00:00
dmose%mozilla.org 4e12864213 Added an item about thread death. a=r=(not built) 2000-06-28 21:42:15 +00:00
dmose%mozilla.org f1382a220f Added and updated a few more issues. a=r=(not built) 2000-06-28 19:56:08 +00:00
dmose%mozilla.org 79087ec12a 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 80e2f60e4f Updated documentation. a=r=(not built). 2000-06-28 19:02:27 +00:00
mcs%netscape.com b7a9bf7379 First Checked In. 2000-06-23 19:42:37 +00:00
dmose%mozilla.org 0c6474b843 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 52a2d02b73 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 234db35889 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 b4dbf256ef 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 135388e421 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 a5f2656ccd changed non-portable int type to PRInt32. a=r=(not built) 2000-06-19 21:40:29 +00:00
dmose%mozilla.org efc696d6a0 clarified comments. a=r=(not built) 2000-06-19 21:36:09 +00:00
dmose%mozilla.org 3def2b4b42 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 3947c09017 canonicalized method names to proper XPIDL interCaps style. a=r=(not built) 2000-06-17 03:15:23 +00:00
dmose%mozilla.org 07090d79fd 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 f0fec56b70 42767. AsyncOpen (dead code) removal. 2000-06-16 14:39:19 +00:00
dmose%mozilla.org 365398df16 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
mcs%netscape.com e705189237 removed old project and .exp files. 2000-06-15 20:31:13 +00:00
dmose%mozilla.org 43a8709e13 canonicalize more method names to proper interCaps style. a=r=(not built) 2000-06-12 01:42:08 +00:00
dmose%mozilla.org 50889ce100 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 9e16120aa9 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 fe842ea074 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 f7fc14ba4c removed misnamed and unused nsLDAPURI.cpp. a=r=(not built). 2000-06-11 23:53:01 +00:00
dmose%mozilla.org 00acafc483 explicitly document assumption about the connection attribute; a=r=(not built) 2000-06-11 23:50:30 +00:00
dmose%mozilla.org 46df9707b5 added a thread-related TODO item; a=r=(not built) 2000-06-11 23:47:05 +00:00
dmose%mozilla.org 5a025ab964 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 d38cef7b0f add a couple of comments; a=r=(not built) 2000-06-06 07:43:21 +00:00
dmose%mozilla.org 75da35e2a6 cause "cvs update" to stop whining about generated Makefiles in non-objdir builds 2000-06-06 07:23:21 +00:00
dmose%mozilla.org 9530b29d77 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 7d7ee704e9 backing out simple to std URx usage for the moment 2000-05-31 00:14:08 +00:00
dmose%mozilla.org 8635a1c640 updated several build-related items 2000-05-30 22:12:25 +00:00
dmose%mozilla.org 4cb322dff1 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 bde156185d using nsStandardURL instead nsSimpleURL 2000-05-30 22:01:16 +00:00
dmose%mozilla.org 3768bb8806 moved some PR_fprintfs inside of #ifdef DEBUG 2000-05-30 21:59:54 +00:00
dmose%mozilla.org 267dfd7f7e More updates. 2000-05-18 20:40:49 +00:00
dmose%mozilla.org 75b718213f Updated to reflect the new async reality. 2000-05-18 08:51:27 +00:00
dmose%mozilla.org e777587477 More minor updates & reorg. 2000-05-18 08:50:50 +00:00
dmose%mozilla.org 23b2545cad Lots of updates; many related to today's checkin of async code. 2000-05-18 08:48:07 +00:00
dmose%mozilla.org 9f9a4819d7 channel now runs async on a worker thread 2000-05-18 02:37:42 +00:00
dmose%mozilla.org c0800f2ac2 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 6b38a9662c 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 cb59429f00 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 04c16f2618 Made the warning at the top of the file less drastic. 2000-05-10 04:02:30 +00:00
dmose%mozilla.org 1d7b0efa4d updated a bit 2000-05-10 04:01:42 +00:00
dmose%mozilla.org 8558692d2c Split out and added detail to XPCOMification info. 2000-05-10 00:08:26 +00:00
dmose%mozilla.org 0cd87d3ee9 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 7d71bd6ee4 Added more verbiage about the instability of the code. 2000-05-10 00:06:46 +00:00
dmose%mozilla.org 5894ddd3a8 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 f6824e5426 LDAP XPCOM components + infrastructure 2000-05-09 01:09:11 +00:00
miodrag%netscape.com e722950b27 Disbale unconditional debug statments 2000-05-08 20:58:49 +00:00
miodrag%netscape.com 870ce16988 Updates for LDAPJDK 4.1 2000-05-06 19:36:18 +00:00
miodrag%netscape.com 38b29a6764 Pass className rather than mechanismName to DynamicInvoker (391585) 2000-04-10 17:47:02 +00:00