389 Commits

Author SHA1 Message Date
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
edabaedfe6 Updated description of directories in the tree. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73950 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:27:05 +00:00
dmose%mozilla.org
641b51dd55 Makefile.in
git-svn-id: svn://10.0.0.236/trunk@73948 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:24:55 +00:00
dmose%mozilla.org
1d9f7feffd some tests of the LDAP code, currently just for the datasource
git-svn-id: svn://10.0.0.236/trunk@73947 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:24:45 +00:00
dmose%mozilla.org
3a9a1aa9d3 initial code for an LDAP datasource; not yet working or complete. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73946 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:22:17 +00:00
dmose%mozilla.org
3a26f91c9e updated the TODO list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73943 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:17:59 +00:00
dmose%mozilla.org
c4f7d926f5 adjust some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73942 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 21:17:04 +00:00
miodrag%netscape.com
bc8ed0c9db Updates for LDAPJDK 4.12
git-svn-id: svn://10.0.0.236/trunk@73923 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 18:41:40 +00:00
dmose%mozilla.org
73deb5f9dc various updates. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73922 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 17:50:32 +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
cls%seawood.org
91d683a067 Removed obsolete REQUIRES variable from every Makefile.in/makefile.win
git-svn-id: svn://10.0.0.236/trunk@73583 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-30 08:08:04 +00:00
miodrag%netscape.com
95b10ba929 Updates for LDAPJDK 4.11
git-svn-id: svn://10.0.0.236/trunk@73551 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 22:31:17 +00:00
Peter.VanderBeken%pandora.be
6e3a97a4bd Fixing access paths. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@73466 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 22:55:26 +00:00
dmose%mozilla.org
68f5f9d545 Added an item about thread death. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73457 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 21:42:15 +00:00
dmose%mozilla.org
41245246c9 Added and updated a few more issues. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@73432 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:56:08 +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
cc89543233 Updated documentation. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@73421 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-28 19:02:27 +00:00
mcs%netscape.com
6d63f2fe67 First Checked In.
git-svn-id: svn://10.0.0.236/trunk@73085 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 19:42:37 +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
dmose%mozilla.org
7d0df230ae 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)
git-svn-id: svn://10.0.0.236/trunk@72632 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 05:12:32 +00:00
dmose%mozilla.org
de51b96975 forgot this critical file for the nsILDAPURL interface checkin earlier. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72615 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 03:59:52 +00:00
dmose%mozilla.org
e467c5ca10 scaffolding & some initial work on an nsILDAPURL interface and an nsLDAPURL component that implements it. (a=r=not built)
git-svn-id: svn://10.0.0.236/trunk@72550 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:43:33 +00:00
dmose%mozilla.org
c0860f37ca changed non-portable int type to PRInt32. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72549 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:40:29 +00:00
dmose%mozilla.org
2ada2e1670 clarified comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72548 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:36:09 +00:00
dmose%mozilla.org
9fc87bbe32 removed NS_ENSURE_ARG macros, as NULL pointers are valid for either argument. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72547 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 21:34:30 +00:00
dmose%mozilla.org
adb6a7750f canonicalized method names to proper XPIDL interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72479 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 03:15:23 +00:00
dmose%mozilla.org
444572d5d5 changed nsILDAPOperation::Result() to use PRIntervalTime rather than PRTime for the timeout value. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72403 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 19:16:59 +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
30a76fc5b2 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)
git-svn-id: svn://10.0.0.236/trunk@72341 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 02:35:41 +00:00
mcs%netscape.com
7b93ae9b59 removed old project and .exp files.
git-svn-id: svn://10.0.0.236/trunk@72319 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 20:31:13 +00:00
dmose%mozilla.org
bbfdcdf5bb canonicalize more method names to proper interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72017 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 01:42:08 +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
2b31236b6d remove unused and misnamed nsILDAPURI.idl; add nsILDAPMessageListener.idl; transform nsILDAPMessage methods to correct interCaps style. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72012 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-12 00:03:04 +00:00
dmose%mozilla.org
e5d0a5cef4 cache the nsILDAPConnection for when we need to call methods (eg GetLdErrno) on it. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72011 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:56:39 +00:00
dmose%mozilla.org
2e42e5f0e8 removed misnamed and unused nsLDAPURI.cpp. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@72010 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:53:01 +00:00
dmose%mozilla.org
b0dfec66c1 explicitly document assumption about the connection attribute; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72009 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:50:30 +00:00
dmose%mozilla.org
6b1d22f92b added a thread-related TODO item; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@72008 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-11 23:47:05 +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
943ce48ddb add a couple of comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@71597 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-06 07:43:21 +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
298cb2efed backing out simple to std URx usage for the moment
git-svn-id: svn://10.0.0.236/trunk@71117 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 00:14:08 +00:00
dmose%mozilla.org
c1d7e451a0 updated several build-related items
git-svn-id: svn://10.0.0.236/trunk@71099 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:12:25 +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
b97e905f4a using nsStandardURL instead nsSimpleURL
git-svn-id: svn://10.0.0.236/trunk@71097 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 22:01:16 +00:00
dmose%mozilla.org
370deb96a0 moved some PR_fprintfs inside of #ifdef DEBUG
git-svn-id: svn://10.0.0.236/trunk@71096 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-30 21:59:54 +00:00
dmose%mozilla.org
6e186b23bc More updates.
git-svn-id: svn://10.0.0.236/trunk@70464 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 20:40:49 +00:00
dmose%mozilla.org
c12a69113a Updated to reflect the new async reality.
git-svn-id: svn://10.0.0.236/trunk@70439 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:51:27 +00:00
dmose%mozilla.org
4604e0ffd8 More minor updates & reorg.
git-svn-id: svn://10.0.0.236/trunk@70438 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:50:50 +00:00
dmose%mozilla.org
bf65d4d2c9 Lots of updates; many related to today's checkin of async code.
git-svn-id: svn://10.0.0.236/trunk@70437 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 08:48:07 +00:00