dmose%mozilla.org
|
7f3bc04522
|
fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76893 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-22 22:17:44 +00:00 |
|
dmose%mozilla.org
|
1c53b7c30e
|
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
git-svn-id: svn://10.0.0.236/trunk@76835 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-22 01:05:13 +00:00 |
|
dmose%mozilla.org
|
8d84ef21cf
|
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)
git-svn-id: svn://10.0.0.236/trunk@76319 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-14 23:16:03 +00:00 |
|
dmose%mozilla.org
|
d2fb313f29
|
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)
git-svn-id: svn://10.0.0.236/trunk@75947 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-10 02:13:21 +00:00 |
|
dmose%mozilla.org
|
f97b0d8e85
|
A number of lines were not properly bracketed by DEBUG conditionals, causing non-DEBUG builds to fail. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75859 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-09 04:43:33 +00:00 |
|
dmose%mozilla.org
|
358461d7b4
|
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)
git-svn-id: svn://10.0.0.236/trunk@75831 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-08 23:44:48 +00:00 |
|
dmose%mozilla.org
|
b29cf24bab
|
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).
git-svn-id: svn://10.0.0.236/trunk@75755 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-08 03:23:05 +00:00 |
|
dmose%mozilla.org
|
f50bc0021f
|
replace a few regular libc includes and function calls with their NSPR equivalents. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75651 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-05 08:45:11 +00:00 |
|
dmose%mozilla.org
|
d497056eea
|
add a comment; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75650 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-05 08:43:51 +00:00 |
|
dmose%mozilla.org
|
5976794f0d
|
get rid of unused static sNullTimeval. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75649 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-05 08:42:45 +00:00 |
|
dmose%mozilla.org
|
6cb3b03749
|
Removed trailing semicolons after NS_DECL stuff to keep ChoadWarrior from whining. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75565 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-03 23:55:12 +00:00 |
|
dmose%mozilla.org
|
910a966147
|
get rid of C-style casts. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75540 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-03 22:47:11 +00:00 |
|
dmose%mozilla.org
|
054fa6446d
|
add XXX cleanup reminder comment. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75539 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-03 22:46:42 +00:00 |
|
dmose%mozilla.org
|
2766e71f0f
|
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)
git-svn-id: svn://10.0.0.236/trunk@75538 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-03 22:45:43 +00:00 |
|
dmose%mozilla.org
|
985a0b5df5
|
add XXX comment to remind about future cleanup. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75537 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-08-03 22:43:43 +00:00 |
|
dmose%mozilla.org
|
9edfa0fbb1
|
ldap_set_option was being called incorrectly; fixed. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@75089 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-07-28 22:44:43 +00:00 |
|
dmose%mozilla.org
|
5809654b4d
|
get ldap build working on windows; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74844 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-07-26 22:51:19 +00:00 |
|
dmose%mozilla.org
|
e94b300a1a
|
reorder includes to avoid Windows-specific SetPort lossage. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74843 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-07-26 22:50:05 +00:00 |
|
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
|
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 |
|
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 |
|
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
|
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 |
|
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
|
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
|
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
|
adb3c7cdcb
|
channel now runs async on a worker thread
git-svn-id: svn://10.0.0.236/trunk@70429 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-05-18 02:37:42 +00:00 |
|
dmose%mozilla.org
|
03dd654c88
|
initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces
git-svn-id: svn://10.0.0.236/trunk@70409 18797224-902f-48f8-a5cc-f745e15eee43
|
2000-05-17 22:48:50 +00:00 |
|