309 Commits

Author SHA1 Message Date
miodrag%netscape.com
bea66d7d16 Updtates for LDAPJDK 4.13
git-svn-id: svn://10.0.0.236/trunk@83786 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-18 14:02:20 +00:00
miodrag%netscape.com
58aff15585 Make file compile under JDK1.3
git-svn-id: svn://10.0.0.236/trunk@83409 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-08 17:17:49 +00:00
dmose%mozilla.org
5ac5d798ac test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81767 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:54:02 +00:00
dmose%mozilla.org
bc8b6f89ca test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81766 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:50:42 +00:00
dmose%mozilla.org
c6b003435c get rid of outdated comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81465 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:51:46 +00:00
dmose%mozilla.org
3d31c414a3 NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81318 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:14:10 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00
leif%netscape.com
42bc8d3f40 Merged in changes from v1.4.1.
git-svn-id: svn://10.0.0.236/trunk@80458 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 19:47:47 +00:00
leif%netscape.com
72abe78b41 *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@80456 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 18:51:45 +00:00
leif%netscape.com
d1824b1e6f Removed.
git-svn-id: svn://10.0.0.236/trunk@80398 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-05 01:08:34 +00:00
dmose%mozilla.org
ce5d2f7d24 TestLDAP.cpp has bitrotted into uselessness. cvs removing. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80242 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 02:23:33 +00:00
dmose%mozilla.org
d2711a2b7d nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80237 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 01:53:23 +00:00
dmose%mozilla.org
664e265d7d 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)
git-svn-id: svn://10.0.0.236/trunk@80232 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-03 00:52:03 +00:00
dmose%mozilla.org
ccfb778c6d fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80171 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:35:35 +00:00
dmose%mozilla.org
22a433d6b6 update so that datasource tests work with jar packaging. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 22:30:12 +00:00
dmose%mozilla.org
907f68d3ba Reorganized significantly. Triaged so that there are only 4 items left to do (the first four) before attempting an initial prerelease (0.x).
git-svn-id: svn://10.0.0.236/trunk@80159 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 20:09:38 +00:00
dmose%mozilla.org
12782ecfb6 * 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)


git-svn-id: svn://10.0.0.236/trunk@80127 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:20:31 +00:00
dmose%mozilla.org
ea180437e2 * pipeWrite() prototype changed from |char *| to |const char *|
* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80126 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:14:53 +00:00
dmose%mozilla.org
8a7b889861 Migrate from progids to contractids. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80125 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:11:34 +00:00
dmose%mozilla.org
ce1848e9c5 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)
git-svn-id: svn://10.0.0.236/trunk@80124 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:10:40 +00:00
dmose%mozilla.org
6053db6b6e Tweak some comments. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80123 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:09:27 +00:00
dmose%mozilla.org
d81043d9d2 include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80122 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:08:17 +00:00
dmose%mozilla.org
3f6a882c55 * 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)


git-svn-id: svn://10.0.0.236/trunk@80121 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:06:53 +00:00
dmose%mozilla.org
853bcfa2ec * migrate from progids to contractids
a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:04:24 +00:00
dmose%mozilla.org
daee20badf * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)


git-svn-id: svn://10.0.0.236/trunk@80119 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 01:01:10 +00:00
dmose%mozilla.org
e000572e96 * 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)


git-svn-id: svn://10.0.0.236/trunk@80118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:58:38 +00:00
dmose%mozilla.org
afe7807e71 * 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


git-svn-id: svn://10.0.0.236/trunk@80117 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:53:29 +00:00
dmose%mozilla.org
76477e7be7 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)
git-svn-id: svn://10.0.0.236/trunk@80116 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:48:26 +00:00
dmose%mozilla.org
310311aadf Infrastructure for internal use by the LDAP code. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@80114 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:45:52 +00:00
dmose%mozilla.org
2891cdb510 Significant updates to the todo list. a=r=(not built).
git-svn-id: svn://10.0.0.236/trunk@80113 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-29 00:43:22 +00:00
disttsc%bart.nl
eae12a24b7 Removing bookmarks.xul per dmose's suggestion ("that was really just me messing around"). bug=53297, r=dmose, a=(not in build).
git-svn-id: svn://10.0.0.236/trunk@79759 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-21 13:27:25 +00:00
rayw%netscape.com
c4734d3001 fix to mal-formed contract id introduced in mega-check-in:x
git-svn-id: svn://10.0.0.236/trunk@79048 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 04:18:07 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
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