276 Commits

Author SHA1 Message Date
dmose%mozilla.org
b4dcf51e1d Patch from <peter.vanderbeken@pandora.be> to keep LDAP building with the latest string changes. r=dmose@mozilla.org, a=(not built).
git-svn-id: svn://10.0.0.236/trunk@78216 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 01:25:19 +00:00
dmose%mozilla.org
df695cec12 remove items relating to cleanup constructors, destructors, and initializers. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77039 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:41:05 +00:00
dmose%mozilla.org
85df13c59b cleanup constructors, destructors, and initializers. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77038 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:40:32 +00:00
dmose%mozilla.org
2fcf1fab6e updated doxygen comments on interfaces to better match reality. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@77037 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:39:40 +00:00
dmose%mozilla.org
99c70f7402 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)
git-svn-id: svn://10.0.0.236/trunk@76980 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:54:12 +00:00
dmose%mozilla.org
b36370d6bf check pointer arg before dereferencing. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76978 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:40:00 +00:00
dmose%mozilla.org
acb5ac9d6f remove some useless debugging cruft; implement more callbacks using closures. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76976 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:38:19 +00:00
dmose%mozilla.org
f825220ca4 Reorganized and updated TODO list. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@76975 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 21:36:49 +00:00
dmose%mozilla.org
3e43018b26 fixed to track changes to nsIInputStream and nsIPipe. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76894 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 22:26:44 +00:00
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
2d67cccf73 refine to assign to the prototype rather than the created objects, and add debugging stuff to help shaver. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@76350 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-15 20:58:17 +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
rayw%netscape.com
b02b43d396 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.


git-svn-id: svn://10.0.0.236/trunk@76014 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 20:12:08 +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
b56488f5ec use lexical closure of JS functions to bind data to a function for use as a callback. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75753 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 02:56:44 +00:00
waterson%netscape.com
1cc3c3da2d Bug 46053. Add [begin|end]UpdateBatch() to nsIRDFObserver; case-normalize the resot of the nsIRDFObserver methods; update implemetors, users. r=bienvenu,rjc,dmose,slamm
git-svn-id: svn://10.0.0.236/trunk@75742 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 00:22:36 +00:00
dmose%mozilla.org
c38e672a63 one item completed; several important items moved up to the top of the list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75652 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-05 08:46:57 +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
beef116e47 All currently known ChoadWarrior warnings in the LDAP code have been fixed. Another item removed from the TODO list. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75566 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 23:57:58 +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
5bd2a72847 added one item, dropped one item, completed one item. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@75542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-03 22:48:08 +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
78d808b468 Building on windows now works, using ENABLE LDAP. Removed from the list.
git-svn-id: svn://10.0.0.236/trunk@75096 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 22:57:12 +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
cd24ad0abe added a few issues that came up while revamping the callback model
git-svn-id: svn://10.0.0.236/trunk@74123 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:08:11 +00:00
dmose%mozilla.org
5b8b7f50cf a per-connection nsILDAPMessageListener is no longer necessary. removed. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@74122 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-12 23:06:37 +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
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