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

325 Коммитов

Автор SHA1 Сообщение Дата
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
miodrag%netscape.com 3798b49d72 Just return the raw bytes rather than a string in getCredentials (391585) 2000-04-10 17:45:59 +00:00
miodrag%netscape.com d81d58cada 4.07 main dev tree synch up 2000-02-08 02:39:50 +00:00
leif%netscape.com c81ab876a3 First major cleanup, mostly finished. 2000-01-14 22:25:29 +00:00
leif%netscape.com 1f2a6163a4 *** empty log message *** 2000-01-12 06:27:00 +00:00
leif%netscape.com ad03158c1a *** empty log message *** 2000-01-12 06:15:45 +00:00
miodrag%netscape.com 276d1ca762 Updated ldapjdk 4.05 1999-11-12 06:34:14 +00:00
dmose%mozilla.org cca325f64a updating license boilerplate 1999-11-02 01:46:24 +00:00
dmose%mozilla.org 6d9aa97c7b updating license boilerplate in all files; checkin approved by leif@netscape.com 1999-10-27 21:02:24 +00:00
miodrag%netscape.com c70ee47bb7 Fixed a bad link 1999-09-28 19:58:15 +00:00
miodrag%netscape.com f7cc26e68a Changed JAVACLASSPATH 1999-09-15 20:27:10 +00:00
miodrag%netscape.com a070d4dca9 Version bumped to 4.04 for RTM 1999-09-15 20:09:35 +00:00
miodrag%netscape.com 47c496f8a5 4.0 RTM main dev tree synch up 1999-09-15 18:42:45 +00:00
miodrag%netscape.com 4b1816dced 4.0 RTM main dev tree synch up 1999-09-15 18:32:21 +00:00
miodrag%netscape.com ed4535ef97 4.0 RTM main dev tree synch up 1999-09-15 17:03:19 +00:00
miodrag%netscape.com a695f4e4b4 Removed manifest.mf dependency 1999-08-29 21:01:12 +00:00
miodrag%netscape.com 6ce40d4e24 Main dev tree synch up 1999-08-27 16:09:54 +00:00
miodrag%netscape.com 7af53d1c82 Synch up with the main dev tree 1999-08-27 15:58:58 +00:00
miodrag%netscape.com 6369dd1a38 Bumped version to 4.03 for Mozilla synch up 1999-08-27 15:49:53 +00:00
leif%netscape.com 7f74a541d7 *** empty log message *** 1999-08-24 22:31:51 +00:00
leif%netscape.com 689f6d1cbf Merged v1.3.x to trunk, for v1.4 release 1999-08-24 22:30:55 +00:00
miodrag%netscape.com 30e7eed2a6 Synch up with the main dev tree, sdk version = 4.02 1999-08-11 17:20:23 +00:00
chuckb%netscape.com c33e5d92b5 Merge from LDAPJavaSDK_40beta_19990802_BRANCH. Some files removed. Some added 1999-08-04 02:03:56 +00:00
miodrag%netscape.com 58fb1f6e3f Updates for JNDI LDAP service provider 1999-06-05 01:14:50 +00:00
miodrag%netscape.com b8e4bc8655 JNDI LDAP Service Provider 1999-06-05 01:05:59 +00:00
miodrag%netscape.com 5f14e72099 Java LDAP SDK 4.0 update 1999-06-05 00:53:02 +00:00
gbeasley%netscape.com e4117ac6fb ldap jdk 3.1 version updated 1999-04-08 20:46:32 +00:00
leif%netscape.com e3d0d00521 *** empty log message *** 1999-03-30 01:35:42 +00:00
leif%netscape.com 80defa04f2 - Bugfix for my() statements.
- Bugfix for modifyRDN()
- Bugfix for @vals in update().
1999-03-30 01:16:45 +00:00
leif%netscape.com 4af8739868 *** empty log message *** 1999-03-22 04:13:25 +00:00
leif%netscape.com 9364df10ca - Added support for add()'ing entries from a hash array.
- Preserve attribute orders.
- Bug fixes...
1999-03-22 04:12:41 +00:00
leif%netscape.com 17248c1ebb - Added new() method.
- Added DESTROY method, to solve memory leaks.
- Tons of changes for handling save/modified/delete states.
- Added the attrClean() method, which is used from Conn.pm
- Bug-fixes galore.
1999-03-22 04:04:56 +00:00
chuckb%netscape.com 1557daf996 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=3231 Thanks to lentz@process.com 1999-03-16 20:14:19 +00:00
chuckb%netscape.com ece79bcaf7 Merge from NSCP repository (prior to rsync) 1999-03-16 19:57:34 +00:00
leif%netscape.com 8daa0e16dd Merged v1.1 development branch to trunk, v1.1 released 1999-01-21 23:52:52 +00:00
chuckb%netscape.com c366d5e1d6 two bug fixes. 1998-12-02 10:56:43 +00:00
chuckb%netscape.com 532b9f2ba3 Parsers for controls returned by password policy 1998-12-01 11:16:37 +00:00
chuckb%netscape.com cd7f049aff removeValue does not work 1998-12-01 11:12:11 +00:00
chuckb%netscape.com 831a10d21d bug fix 1998-12-01 11:08:34 +00:00
chuckb%netscape.com 8f3ebdd17a Parsers for controls returned by password policy 1998-12-01 11:06:52 +00:00
chuckb%netscape.com c319e08cd3 Generic parser for a control containing only a string 1998-12-01 11:06:26 +00:00
chuckb%netscape.com 3c4c31a870 Merge from LDAPCSDK_19981015_BRANCH 1998-11-22 22:03:18 +00:00
chuckb%netscape.com 7c5d109bc7 added new files with 3.06 from internal cvs server 1998-10-19 06:24:19 +00:00
chuckb%netscape.com 587ed0958d Merged 3.06 changes from internal cvs server 1998-10-19 06:15:58 +00:00
chuckb%netscape.com 7972897eda added readme for 9.28 1998-09-29 05:33:50 +00:00
chuckb%netscape.com 8584101c6c Java LDAP SDK 3.5 update 1998-09-29 05:16:18 +00:00
chuckb%netscape.com 264a7aab20 Java SDK build instructions 1998-08-19 20:57:12 +00:00
leif%netscape.com 8ea4a0e7f4 *** empty log message *** 1998-08-18 22:35:57 +00:00
leif%netscape.com 16823a5a5f *** empty log message *** 1998-08-18 22:26:44 +00:00
leif%netscape.com 708350beb2 Added the setDefaultRebindProc() function back... 1998-08-18 22:26:30 +00:00
leif%netscape.com 8dc62fd3bc *** empty log message *** 1998-08-17 19:24:50 +00:00
leif%netscape.com 23bbd8ddb5 *** empty log message *** 1998-08-17 19:24:04 +00:00
leif%netscape.com dbe39548a7 *** empty log message *** 1998-08-17 19:21:33 +00:00
leif%netscape.com 66807acdf1 *** empty log message *** 1998-08-14 22:10:29 +00:00
leif%netscape.com 90214f1e18 *** empty log message *** 1998-08-14 22:03:08 +00:00
leif%netscape.com fa5f8d1457 *** empty log message *** 1998-08-14 21:45:39 +00:00
uid402 6a6206f740 Changed the install instructions in the README slightly. 1998-08-14 20:36:55 +00:00
uid402 42e565bbbd Perl script to install the Perl binaries without the Makefile. Platform
independent.
run: perl install-bin
1998-08-14 20:32:35 +00:00
leif%netscape.com 1cfacc3c6a Added instructions for using CVS. 1998-08-14 00:18:56 +00:00
leif b07161330f *** empty log message *** 1998-08-13 23:34:50 +00:00
leif 788149688a First version. 1998-08-13 23:34:45 +00:00
leif 9e42c7d6c5 Cleanup. 1998-08-13 23:34:09 +00:00
leif 225099bf16 Fixed the automated installs stuff... 1998-08-13 23:33:49 +00:00
leif 22daa71d47 *** empty log message *** 1998-08-13 22:41:10 +00:00
leif 1d840864ed *** empty log message *** 1998-08-13 22:40:53 +00:00
leif 9d65689b21 *** empty log message *** 1998-08-13 22:03:42 +00:00
leif 0446a265f4 *** empty log message *** 1998-08-13 21:32:50 +00:00
clayton fb75875e86 This version contains the ldap_set_default_rebind function. 1998-08-13 13:10:24 +00:00
leif 4020aaf47f *** empty log message *** 1998-08-13 12:05:09 +00:00
leif 148c18b0fe Fixed bug with ldap_modify(). 1998-08-13 12:02:27 +00:00
leif 8640e91469 Tons of smaller changes... 1998-08-13 11:02:56 +00:00
leif cfa7c37c3a This actually works now... 1998-08-13 11:02:40 +00:00
leif 85626f6057 Updated docs, minor changes... 1998-08-13 11:02:28 +00:00
leif 8e606f27ef *** empty log message *** 1998-08-13 11:02:16 +00:00
leif c29c69695b Lots of minor changes... 1998-08-13 11:02:11 +00:00
leif fcca9a1b2f *** empty log message *** 1998-08-13 09:56:03 +00:00
leif 15567d41c8 *** empty log message *** 1998-08-13 09:35:23 +00:00
leif e30dc9a68b *** empty log message *** 1998-08-13 09:28:05 +00:00
leif 85160bbee9 *** empty log message *** 1998-08-13 09:15:00 +00:00
clayton 1c55aaf8d0 Removed a few stale files
Updated the MANIFEST to reflect these removals
Made a few minor changes to the top bits of test_api
1998-08-13 04:40:02 +00:00
clayton 43db33bc18 Release Notes 1998-08-13 04:34:42 +00:00
clayton ae36fc1653 Fixed the documentation a bit. Still needs lots of work. 1998-08-13 04:11:20 +00:00
leif eb02bf2f05 *** empty log message *** 1998-08-12 20:56:38 +00:00
chuckb%netscape.com 0b865f92d5 Mac project 1998-08-12 10:54:12 +00:00
chuckb%netscape.com ee1178cd52 Manifest file 1998-08-12 10:52:51 +00:00
chuckb%netscape.com 7b391966a5 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge 1998-08-12 10:44:46 +00:00
chuckb%netscape.com cce6818b05 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge 1998-08-12 10:35:35 +00:00
clayton 9ff3585a96 Added a first draft of POD documentation for the API commands. I wrote a
script to generate most of it and am going back to fix the pieces that
couldn't be automatically generated.  I've gotten through ldap_compare
so far and will be done with all API docs by Tuesday night.
1998-08-10 21:56:09 +00:00
leif f3fb22c106 - Lots of modifications, minor changes etc.
- Updated all documentation.
- Added a few new functions.
1998-08-09 01:16:55 +00:00
leif daff017216 *** empty log message *** 1998-08-04 03:50:56 +00:00
clayton 81a0d52032 Fixed relatively stupid error on my part in the avref2berptrptr function.
This broke binary modifies.  Tested fix on Solaris and NT.  Works fine
without leaking memory or dumping core on both platforms.
1998-08-04 02:28:12 +00:00
leif 89092c5d23 *** empty log message *** 1998-08-03 19:25:03 +00:00
leif ba6b6491fb Now handles no extra arguments, and also weird arguments like \@foo. 1998-08-03 19:23:01 +00:00
leif 024e4ba306 *** empty log message *** 1998-08-03 08:12:21 +00:00
leif 6ceb063e20 *** empty log message *** 1998-08-03 07:54:08 +00:00
leif 1b21600ba6 First version, mainly ported to the new API. Also merged in some code from
LdapUtils.pm so that this file is more self sustained.
1998-08-03 07:53:31 +00:00
leif 3d18ff4978 Fixed the modifyRDN function. 1998-08-03 07:50:54 +00:00
leif 7ade74b52d Removed the DESTROY method. 1998-08-03 06:58:21 +00:00
leif 1e8343bd8c * Added getLD() function.
* Fixed the getErrorCode() function, and added support for (optionally)
retrieving the match and extra error strings.

* Fixed reference bug in the add() method.
1998-08-03 06:58:01 +00:00
leif 95a82cb592 Fixed the ldap_get_lderrno() function so that it now supports:
ldap_get_lderrno($ld, undef, undef);
ldap_get_lderrno($ld, \$match, undef);
ldap_get_lderrno($ld, undef, \$msg);
ldap_get_lderrno($ld, \$match, \$msg);


I think this should work ok, but a code review is probably a good idea.
1998-08-03 06:53:23 +00:00
leif 9a03b53fcc *** empty log message *** 1998-08-03 04:26:32 +00:00