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

733 Коммитов

Автор SHA1 Сообщение Дата
mcs%netscape.com 89b551cbdf Fix 198972 - LDAP tools do not build on AIX.
Link with iconv library on AIX.
2003-03-24 19:49:11 +00:00
dmose%mozilla.org 877fb1ee13 Don't use strcmp() just to check for a zero-length string (bug 58221). Patch by timeless@myrealbox.com, r=dmose@mozilla.org 2003-03-22 03:19:05 +00:00
mcs%netscape.com 64c117c784 Fix 189089 - port nspr w32 now.c fix to directory.
See bug # 188396 - NSPR should not use ftime on windows.
	This fixes a potential Year 2038 issue.
2003-03-21 16:41:42 +00:00
mcs%netscape.com f8e295fb12 Fix 183385 - eliminate references to NSS key/cert/module files.
The LDAP tools code no longer has any knowledge of the NSS
	file names; the certpath2keypath() function has been deleted
	and we now simply use the certdbpath as keydbpath when it is
	provided (it makes no difference in the end). But note that
	because we need to maintain backwards compatibility, the
	libssldap code used by the ldapssl_.*_init() functions still
	knows the default name of the NSS module file (secmod.db),
	and the code also relies on the fact that the suffix for the
	key and cert files is ".db" and that the first letter in the
	main part of the name is either 'c' or 'k'.
Also fixed a bug that caused the module file name specified on
	the LDAP tools command line (-m name) to be ignored.
The ldapsearch and ldapcmp tools now exit with LDAP_NO_MEMORY
	if an LDIF fragment can't be constructed.
Also fixed some issues reported by lint:
	Return values that were ignored.
	Make more functions and global variables static.
	Add /*ARGSUSED*/ and similar lint-friendly comments.
2003-03-21 16:00:34 +00:00
mcs%netscape.com 10660ce443 Fix 183798 - crash if charset conversion fails. 2003-03-20 15:46:41 +00:00
mcs%netscape.com b59b4af405 Fix 195441 - command line tools: :< in LDIF fails to import file
contents correctly.
Also removed a useless call to feof().
2003-03-20 14:56:59 +00:00
bzbarsky%mit.edu 5a829e126a Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose
2003-03-19 04:35:08 +00:00
seawood%netscape.com 1f7a06c631 Add mingw support.
Bug #134113 r=mcs sr=dmose
2003-03-07 21:12:09 +00:00
timeless%mozdev.org ba584ba7ca Bug 152700 compiler warnings caused by 119380 checkin
patch by dmose r=timeless sr=bryner
2003-02-28 03:18:58 +00:00
kairo%kairo.at 11348f5311 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
seawood%netscape.com 181a903b7a Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
timeless%mozdev.org 52ec9ebb8b Bug 191717 `PRUint8 * array' might be used uninitialized in this function
r=dmose sr=alecf
2003-02-23 04:41:12 +00:00
asa%mozilla.org 229ffaaa81 checkin for dmose. fix bustage for --enable-ldap-extensions bug 189691 r+sr=dmose a=asa 2003-01-24 09:57:29 +00:00
dbaron%dbaron.org 0b5c7134c9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
kairo%kairo.at a7555a91fe change all localeVersion strings, as well as brand.dtd/region.dtd to 1.3b; bug 185698, r=tao, sr=blizzard 2003-01-03 19:57:47 +00:00
miodrag%netscape.com b3d4063232 Incorporated fix to printEntryStart() by Jeff.Gay@gfnews.net 2003-01-02 22:04:46 +00:00
seawood%netscape.com 37a3044f84 Hardcode the use of Sun's ld & ranlib since they are the only ones supported.
Bug #181382 r=dmose
2002-12-17 21:44:49 +00:00
djani%netscape.com 5a49c52a9f Bug 179133: Now we support cert and key DBs with prefixes in the names also, just like ldapssl_pkcs_init() does. Now all of the code calls NSS_Initialize() instead of NSS_Init(). 2002-12-04 19:10:17 +00:00
mcs%netscape.com 2b6abef319 Fix bug # 177756 - eliminate dependency on libNLS.
If HAVE_LIBNLS is not defined, OS functions (iconv and Win32
	native APIs) are used for character set conversion of command
	line arguments.
Fix bug # 177766 - LDAP tools should reject second -h argument.
	A second -p argument is also rejected.
Fix bug # 159139 - HP/UX: LDAP command line tools do no charset conversion.
	Removed special case makefile rules for convutf8.cpp on HP/UX.
2002-12-04 17:21:55 +00:00
mcs%netscape.com ddd73f9e96 Fix bug # 177771 - libssldap: keyfile password should be optional.
If a NULL keypasswd value is passed to ldapssl_enable_clientauth()
		then it is assumed that the application has already unlocked
		the key DB or has installed its own GetPassword callback.
	Also improved some error reporting.
2002-12-04 17:11:20 +00:00
miodrag%netscape.com 20758874cb Removed unnecessary code, updated javadoc 2002-12-04 01:35:57 +00:00
miodrag%netscape.com 47fb41a946 Removed two trailing ^M 2002-12-04 01:04:19 +00:00
miodrag%netscape.com 6a3a08d1aa Removed in sdk 4.17 2002-12-03 01:19:09 +00:00
miodrag%netscape.com 3370335071 Minor corrections 2002-12-03 00:43:13 +00:00
miodrag%netscape.com 0f036b7cd3 Added JAVA_VERSION variable, .CHECK_VARS target, better support for different java versions 2002-12-03 00:42:35 +00:00
miodrag%netscape.com aa729f7d11 Updtates for LDAPJDK 4.17 2002-12-03 00:38:20 +00:00
miodrag%netscape.com 939b8670f9 A minor change for javadoc 2002-12-03 00:36:21 +00:00
miodrag%netscape.com 6574f1b55d Added jss32_stub.jar 2002-12-03 00:33:56 +00:00
miodrag%netscape.com 8b37634003 A fix for jdk1.4 javadoc 2002-12-03 00:26:50 +00:00
seawood%netscape.com dfc7752e80 Fix egrep syntax. 2002-11-23 09:59:07 +00:00
seawood%netscape.com f1fe7bd2d7 Properly detect OS_ARCH when building on Win32 ME.
Bug #180822 r=dmose,wtc
2002-11-23 06:06:12 +00:00
bzbarsky%mit.edu 18b2f96e55 kill off some nsISupportsArray and fix a potential leak. Bug 177400,
r=dmose, sr=alecf
2002-11-16 02:35:20 +00:00
mcs%netscape.com 2c34ca101f Fix bug # 177775 - libprldap: NSPR error is sometimes lost. 2002-11-15 21:03:19 +00:00
mcs%netscape.com e36dfed96b Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero. 2002-11-15 21:01:43 +00:00
mcs%netscape.com 0f8e5bbf33 Use a name shorter than 32 chars. for the C LDAP API Internet Draft. 2002-11-15 20:58:29 +00:00
mcs%netscape.com 69fef69120 Fix bug # 163534 - remove Netscape Confidential and Proprietary marker
from errormap.c.
2002-11-15 20:18:50 +00:00
mcs%netscape.com ba53c14282 Fix bug # 38012 - 64bit issues within CRC-32 code.
Define 32-bit integral types in portable.h (nsldapi_int_32 and
	nsldapi_uint_32) and use them in the memcache crc32_convert()
	function.
2002-11-15 20:15:53 +00:00
mcs%netscape.com 305a31fde8 Fix bug # 179951 - libprldap "cross thread" memory leak.
The prldap_tsd_destroy() function (which is called when a
	thread exits) was not freeing the information contained within
	the PRLDAP_ErrorInfo structure. Added prldap_free_errorinfo()
	and a way to determine if that thread-private data looks like
	error information (the plei_magic field). At the moment, only
	one kind of thread-private data is stored anyway (the error
	information).

	The prldap_allocate_map() function, which is called when a new
	LDAP session is created, was blindly setting the thread-private
	error information pointer to NULL. But if a different thread
	created or used an LDAP session than called ldap_unbind(), old
	error information may have been left in memory. Now the error
	info. pointer is reset and reused, which was the original goal.
2002-11-14 23:07:27 +00:00
mcs%netscape.com bc21c3b807 Fix bug # 175727 - strict aliasing bugs in LDAP C SDK.
Avoid casts like (void**)&pRes; use temporary local variables
	instead.
2002-11-02 02:29:37 +00:00
mcs%netscape.com 5886fbab26 Fix bug # 169975 - LDAP memory cache accesses response
list w/o locking mutex.
2002-11-01 19:57:09 +00:00
mcs%netscape.com b037291669 Fix bug # 166189 - Segmentation fault on invalid filter string.
Check that a sequence of set has been created before using
	it inside ber_put_seqorset().
2002-11-01 15:23:29 +00:00
kairo%kairo.at 0978ac7de5 Bug 175853, Update localeVersion strings for 1.2 final - and do it correctly, r=jbetak, sr=bzbarsky, a=blizzard 2002-10-30 12:41:38 +00:00
leaf%mozilla.org aeba91a83f update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
dbaron%fas.harvard.edu 630ee775dd Porting fixes for gcc trunk (to become 3.3): Eliminate C-only option from CXXFLAGS. Don't use pasting for things that are still separate tokens. Don't pass objects of non-POD type through |...|. Don't include strstream.h, which isn't used anymore anyway. b=170250 r=bbaetz sr=alecf 2002-09-30 14:18:27 +00:00
peterv%netscape.com 4422be93b3 Fix for bug 86000 (convert LDAP XPCOM SDK to use AUTF8String). r=dmose, sr=alecf. 2002-09-11 11:22:41 +00:00
leaf%mozilla.org b1bdbfd3cd update localeVersion to 1.2a, a=asa 2002-09-07 01:01:49 +00:00
dmose%netscape.com e9386fdf8b Fix --enable-ldap-experimental build bustage 2002-09-04 04:03:23 +00:00
rjc%netscape.com 800d8a6b3b Fix bug # 164175: XPCom LDAP API extensions. OnLDAPInit() now passes relevant connection, and LDAP operations/connections accept closures. r=dmose sr=darin 2002-09-04 01:28:36 +00:00
seawood%netscape.com 1393684038 Resolve symbols at link time for OpenBSD.
Bug #145136 r=dmose
2002-09-03 22:43:00 +00:00
andreas.otte%debitel.net 219e0622f7 fix bug 166085 [Assertion constructing about: URIs
[@nsAboutProtocolHandler:122]] This is a regression fix from the fix
for bug 163225. The assertions never made sense and now they are
exposed. r=bzbarsky, sr=darin
2002-09-02 22:04:03 +00:00
dmose%netscape.com d37ca98e2c Make --enable-optimize --enable-debug builds easier to debug on linux (bug 157241), r=seawood@netscpae.com, mcs@netscape.com 2002-08-22 22:52:44 +00:00
kaie%netscape.com c430cd9340 Patch from bug 87902 to fix SSL/TLS logic.
- make TLS intolerant server detection over proxies work
  (this bug 87902)
- on connection failure, only retry without TLS when it is really
  likely to help (bug 149910)
- remove obsolete workarounds in SSL i/o layer
  (see removed comments in patch)
- avoid to confuse programmers reading code,
  by renaming TLSStepUp (which means something else)
  to the correct term STARTTLS (what the code is actually doing).
  (As suggested by nelsonb)
- If an invalid or expired etc. server certificate is presented,
  a warning is shown. If the user decides to cancel,
  network activity should stop immediately.
  (we currently warn multiple times) (bug 87209)

r=javi/darin/ducarroz/dmose sr=alecf
2002-08-14 23:43:28 +00:00
seawood%netscape.com af0b601241 Fix build problem caused by having spaces in the username.
Bug #137059 r=dmose r=mcs
2002-08-10 10:37:25 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com e1dc00fc59 Misc build cleanup v1:
Cleanup win32 configure output.
Bug #161461 r=bryner
2002-08-08 21:45:20 +00:00
leaf%mozilla.org dd33dbb91f bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings 2002-07-17 23:51:49 +00:00
timeless%mac.com d8bb1c8159 Bug 140630 LDAP should be in capital letters
patch by neil@parkwaycc.co.uk r=dmose sr=bienvenu a=asa
2002-07-17 13:19:16 +00:00
dmose%netscape.com d82433fe5e Fix OSF/1 build bustage (bug 144280). Patch from shanmu@netscape.com; r=dmose@netscape.com, sr=bienvenu@netscape.com, a=roc+moz@cs.cmu.edu 2002-07-12 19:29:52 +00:00
mcs%netscape.com 301341edf1 Do not try to package LDAP command line tools if they were
not built (that is, if BUILDCLU != 1).
2002-06-28 20:43:47 +00:00
mcs%netscape.com d5d7f839ee Fix bug # 153250 - need a way to set SSL options when using libssldap.
Added two new libssldap public functions: ldapssl_set_option() and
		ldapssl_get_option().
	Also fixed a bug in ldapsinit:do_ldapssl_connect() that sometimes
		caused PR_Close() to be called twice on an SSL file descriptor
		if an error occurred (once in do_ldapssl_connect() itself and
		once in the libprldap close function that is called from
		do_ldapssl_connect()).
	Also updated the NSPR and NSS "error code to string" mapping
		tables that are used by ldapssl_err2string().
	Also fixed a bug in common.c:ldaptool_print_lderror (LDAP command
		line tools) where we did not check for SSL errors when the
		error code was "can't connect."  We were only checking on
		"server down" errors.
2002-06-27 19:26:38 +00:00
mcs%netscape.com 409d643ab7 Fix bug # 152852 - referrals: port 0 used by default instead of port 389. 2002-06-21 20:14:02 +00:00
dmose%netscape.com 5a30b4c9b4 support for binary attribute values in LDAP XPCOM SDK (bug 119380). r=peterv@netscape.com, sr=sspitzer@netscape.com/mscott@netscape.com 2002-06-14 00:38:18 +00:00
dmose%netscape.com 64210eb246 NetBSD build-system fix (bug 135027); r=seawood@netscape.com 2002-06-13 22:02:08 +00:00
djani%netscape.com 2a0a0aa506 Bug 143300: Support for files with >2GB size. Now, we compile with _LARGEFILE64_SOURCE tag and we use fopen/fopen64 accordingly. 2002-06-07 20:09:11 +00:00
leaf%mozilla.org 0034658953 updating locale version string for impending release, bug 149802 2002-06-07 07:45:38 +00:00
dmose%netscape.com 36ff2b5741 Support LDAP authentication for autocomplete and addressbook (bug 135778); r=sspitzer@netscape.com, srilatha@netscape.com; sr=bienvenu@netscape.com 2002-06-03 04:05:48 +00:00
seawood%netscape.com 7f7824249e Workaround the fact that OpenBSD doesn't have certain error defines.
Bug #145136 r=dmose
2002-05-17 23:49:56 +00:00
seawood%netscape.com cedbcebcf6 Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner
2002-05-17 23:44:58 +00:00
timeless%mac.com 6aa4f95e64 fixing directory bustage (nsCRT string)
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp: In method `nsresult nsLDAPChannel::OnLDAPBind(nsILDAPMessage *)':
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:796: syntax error before `::'
/home/timeless/mozilla/directory/xpcom/base/src/nsLDAPChannel.cpp:798: confused by earlier errors, bailing out
gmake[4]: *** [nsLDAPChannel.o] Error 1
gmake[4]: Leaving directory `/home/timeless/mozilla/obj-xlib-i386-unknown-freebsd4.4/directory/xpcom/base/src'

if (nsCRT::strlen(baseDn) == 0) {
2002-05-15 22:20:44 +00:00
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
dmose%netscape.com 73e8384596 Set maximum LDAP I/O timeout to 10 seconds (bug 143172). This significantly mitigates the pain of the connection hang bug (bug 79509). r=mcs@netscape.com, sr=sspitzer@netscape.com 2002-05-10 04:14:18 +00:00
mcs%netscape.com 59766e80bc Fix 142883 - need option to build with Forte/Workshop 6 compiler
on Solaris 5.6.
	Added support for SOLARIS_USE_FORTE6=1 gmake option.
2002-05-09 16:50:55 +00:00
dmose%netscape.com 5454e5493a Fix clean/clobber targets to properly remove shared and static libraries (bug 136651). Patch from Philip K. Warren <pkw@austin.ibm.com>; r=dmose@netscape.com; sr=sspitzer@netscape.com. 2002-04-30 03:40:22 +00:00
dmose%netscape.com b392e6707d Fix build hiccup in autoconf build (bug 137723); patch from Colin Blake <colin@theblakes.com>; r=mcs@netscape.com, dmose@netscape.com; sr=sspitzer@netscape.com 2002-04-30 03:22:17 +00:00
dmose%netscape.com a9ef00186b Fix memory leak in libssldap and an incorrect error return in libprldap (bug 137017). r=mcs@netscape.com 2002-04-30 01:23:58 +00:00
miodrag%netscape.com d66022cffd Updates for LDAPJDK 4.16 2002-04-27 23:41:15 +00:00
dmose%netscape.com 3d6f2617d1 Only set PERL if it has not already been set (bug 137318). r=seawood@netscape.com 2002-04-26 23:33:52 +00:00
dmose%netscape.com 3faab993b1 Make nsldapi_os_connect_with_to correctly check error return from poll (bug 140101). Patch from Rich Megginson <richm@netscape.com>. r=dmose@netscape.com 2002-04-26 01:32:59 +00:00
seawood%netscape.com ce9e9903a5 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
dmose%netscape.com f682fd6985 Reinstate real_install target so that it will be possible to have an install target for Mozilla that works as expected (bug 138442); patch from Chris Seawood <cls@seawood.org>, r=dmose@netscape.com, mcs@netscape.com 2002-04-24 23:53:23 +00:00
dmose%netscape.com cb7df409b1 Repair autoconf confusion due to the disappearance of dirver.c (bug 139917). Autoconf buildsystem changes only; r=seawood@netscape.com 2002-04-24 23:46:34 +00:00
mcs%netscape.com 51467f9cd2 Fix bug # 138545 - more flexibility needed for pre-built components
location. Introduced component specific RELEASE_TREE macros, e.g.,
NSPR_RELEASE_TREE.
2002-04-24 15:08:06 +00:00
mcs%netscape.com 9eb969cb4f Fix bug # 139535 - ldapsearch: filter patterns that contain %* cause crash.
Avoid calling sprintf() if there is no valid filter pattern.
Also eliminated a few Linux compiler warnings.
2002-04-24 00:30:20 +00:00
mcs%netscape.com 7b317e6ec5 Fix bug # 138627 - mktemp() warnings when building ldapsearch.exe.
Use _mktemp() on Windows.
Remove a couple of unused local variables.
2002-04-22 17:42:22 +00:00
mcs%netscape.com 98246da621 Fix bug # 136910 - ldap build bustage on QNX. 2002-04-22 17:24:19 +00:00
mcs%netscape.com c58d684bcf Fix bug # 138612 - should use gethostbyname_r() on Linux. 2002-04-22 16:57:50 +00:00
rdayal%netscape.com 1cb22dc232 fixes leaks when retrieving attribs and values for each LDAP search entry, bug # 134069
r=dmose, sr=sspitzer.
2002-04-19 02:08:57 +00:00
mcs%netscape.com 34134923f2 Additional fix for bug # 81584 - strtok use and STRTOK on Linux. 2002-04-18 20:12:30 +00:00
mcs%netscape.com b652801632 Fix bug # 138248 - ldapsearch dumps core if -P and -K used together. 2002-04-18 19:30:12 +00:00
mcs%netscape.com 38d951a131 Improve comments. 2002-04-18 19:01:19 +00:00
mcs%netscape.com 6792e16d29 Fix bug # 99068 - Can't compile on NetBSD.
Fix bug # 121276 - use sigthreadmask instead of sigprocmask (AIX).
Fix bug # 81584 - strtok use and STRTOK on Linux.
	The charray() code now uses strtok_r() if available.
	strtok_r() is now used everywhere on Linux if available.
2002-04-18 19:00:29 +00:00
mcs%netscape.com 26fdb2d3b8 Add a comment near LDAP_NO_ATTRS and LDAP_ALL_USER_ATTRS. 2002-04-18 18:54:29 +00:00
mcs%netscape.com d06e8ab1a8 Fix bug # 132040 - LDAP tools need a "no man in the middle" option.
New libssldap public function: ldapssl_set_strength().
	New command line tool option: -3 ("no third").
Fix bug # 134035 - LDAP command line tools don't report vendor mismatch.
Improved error checks and reporting for SSL errors in tools.
2002-04-18 18:53:19 +00:00
mcs%netscape.com e4fcc0dce1 Revise SSL layer comment 2002-04-18 15:30:22 +00:00
mcs%netscape.com 4ed5ef1df7 correct Solaris $ORIGIN comment 2002-04-18 15:27:49 +00:00
mcs%netscape.com b5ff0fbc7c Fix bug # 122905 - ldap_url_search_s does not honor first argument ?
ldap_url_search() now uses the port from the LDAP * if no hostport
	is included in the URL. This is a change in behavior, but the old
	behavior was wrong.
2002-04-18 01:48:24 +00:00
mcs%netscape.com 1de980f593 Correct some comments to refer to the CONNECT extended I/O callback
rather than the non-existent SOCKET callback.
2002-04-18 01:30:46 +00:00
mcs%netscape.com 957e097166 Remove dirver.c and Makefile.client references to it (no longer used). 2002-04-18 01:25:49 +00:00
mcs%netscape.com 67a3aebf1c Add -v flag to native Solaris cc (enables stricter semantic checks,
and certain lint-like checks on .c files).
2002-04-18 01:23:00 +00:00
mcs%netscape.com 43a05a3e2a Revised fix to properly handle connect timeouts smaller than
1000ms on Windows and other platforms that do not have poll().
Patch provided by mhein@sun.com.
2002-04-18 01:15:04 +00:00
mcs%netscape.com 34e9fbea17 Merge onto the trunk all changes made on
ldapcsdk_50_client_branch between ldapcsdk_50_client_base
and ldapcsdk_50_client_branch-20020417-pre-trunk-merge.
2002-04-17 21:53:50 +00:00
dbragg%netscape.com a768cb29b9 Regular milestone update of localeVersion values to 1.0.0. r=tao, sr=alecf, a=asa 2002-04-16 22:08:13 +00:00
mkaply%us.ibm.com e59bead619 OS/2 bustage - these should be extern C - r=dmose 2002-04-10 17:35:49 +00:00
mkaply%us.ibm.com c7feb11c93 These should be here but I don't think it will fix the Os/2 bustage 2002-04-10 12:54:13 +00:00
dmose%netscape.com b343883d4f LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com 2002-04-10 04:21:13 +00:00
hewitt%netscape.com 07d96867f1 bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
dmose%netscape.com 6248cca19e Fix windows build bustage 2002-03-27 07:34:50 +00:00
dmose%netscape.com 764134e448 MacOS build system changes to switch to LDAP C SDK version 5.0 (bug 124244). Patches from peterv@netscape.com, r=dmose@netscape.com; sr=smfr@netscape.com; a=asa@mozilla.org 2002-03-27 06:31:49 +00:00
dmose%netscape.com c5b9a24630 Build system and LDAP XPCOM SDK changes to switch to LDAP C SDK version 5; required for SSL-LDAP (bug 124244). r=sspitzer@netscape.com, seawood@netscape.com (build changes); sr=bienvenu@netscape.com; a=asa@mozilla.org 2002-03-27 06:31:38 +00:00
dmose%netscape.com 0b81df5f44 add .fast-update 2002-03-26 22:17:48 +00:00
dmose%netscape.com a46a581892 LDAP C SDK v5.0 merge from ldapcsdk_branch_50 (at ldapcsdk_branch_50-20020326-pre-trunk-merge-tag). 2002-03-26 21:54:41 +00:00
dmose%netscape.com 13dacd5d5d Fix LDAP XPCOM SDK race condition which could cause LDAP entries to get dropped, or binds to fail entirely (bug 131447). The old code asked ldap_result() for all new messages received, including ones for operations that it did not yet know how to handle. That code has been changed to enumerate the pending operations, and ask for results of each of the pending operations that it knows about, and no others. r=sspitzer@netscape.com, dmose@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org 2002-03-26 02:51:27 +00:00
dbaron%fas.harvard.edu ecaca063e4 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
darin%netscape.com 819ce1f98f b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
seawood%netscape.com 1e2fdc2421 Remove now redudant REGCHROME calls.
Bug#129456 r=bryner a=asa
2002-03-14 07:11:30 +00:00
seawood%netscape.com af0cf0ee2d Remove REGCHROME calls since we now auto-register chrome when jars are processed.
Bug #129456 r=bryner a=asa
2002-03-14 06:17:54 +00:00
rjc%netscape.com bd34059cd8 Fix bug # 124919: get LDAP searches in Addrbook working on Mac OS X. r=dmose sr=ben a=asa 2002-03-09 02:49:12 +00:00
peterv%netscape.com 21c63b4fb1 Fix LDAP experimental code bustage from darin's landing. Bug 124042. r=dmose. Not part of the default build. 2002-03-08 13:13:25 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dougt%netscape.com 5f1a4de910 Fixes 126881. LDAP DataSource Component fails to load because Components.interfaces.nsIComponenRegistrar is misspelled. r=stephend@netscape.com a=dbaron 2002-02-21 04:30:54 +00:00
dbragg%netscape.com 9fd02ba450 Updating the localeVersion to 0.9.9. Fixes bug 126240. r=tao, sr=dveditz 2002-02-20 03:18:10 +00:00
cathleen%netscape.com 93709bacaa eliminate nsCRT::strlen for char* strings (part 1), bug 124536 r=dp sr=brendan 2002-02-19 07:36:56 +00:00
sfraser%netscape.com d285f8f560 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com 894fdcfaaf 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com
2002-01-29 21:22:13 +00:00
varga%utcru.sk bbc83df106 Fixes for:
94653  - can't right align text in outliner cell
95730  - White block displays/artifacts in the highlight area after Move/Drag mail to folder.
112238 - [RFE] Outliner widget should support line-through
116855 - Modify outliner builder syntax to match outliner content model
118093 - Make -moz-image-region work in the outliner
118113 - Too little space between pref category tree and pref page
118154 - Category now has a column picker
118647 - Memory leak of 52 bytes from 1 block allocated in nsOutlinerBodyFrame::CheckVerticalOverflow
118660 - left arrow no longer moves to parent category
119751 - Branches are open by default and then closed after launch.

- outermost <outlinerchildren> has "-moz-box-flex: 1" by default
  and it actaully replaced <outlinerbody>
- all event handlers moved on <outliner>
- content builder, outliner builder and content view use <outliner> as root
  element
- nsIBoxObject has a new attribute "element"
- all CSS rules outlinerbody:foo replaced with outlinerchildren:foo
- drop feedback is now skinable

r=waterson for the changes in mozilla/content
r=sspitzer on the mailnews parts
r=blake on the bookmarks/history
r=bryner on the OutlinerBodyFrame and OutlinerContentView changes

sr=hyatt,hewitt
2002-01-16 03:01:28 +00:00
dbragg%netscape.com b3ce95e541 Updating localeVersion value to 0.9.8. Fixes bug 119567. r=tao@netscape.com, sr=dveditz@netscape.com 2002-01-15 23:11:03 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
jdunn%netscape.com 02f1ef38dd AIX's new compiler, xlC5.x, doesn't allow the use of "friend" to declare
a function prototype.  So we have to decare the function and then
declare it a friend.  When Default arguments are used, they need to
be specified in the function prototype and NOT in the friend declaration.
# 43311
r=dbaron@fas.harvard.edu
2002-01-10 14:16:05 +00:00
peterv%netscape.com 8766e076d5 Keeping up with outliner changes. r=dmose. Not part of the build. 2002-01-10 14:06:47 +00:00
mcafee%netscape.com 7cfaa34257 Ignore generated files 2001-12-29 03:37:13 +00:00
timeless%mac.com 711739d601 Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst
2001-12-23 23:23:41 +00:00
dougt%netscape.com 9a75bc4b8e nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org
2001-12-19 00:12:41 +00:00
varga%utcru.sk 76f554000a Fix for 113477. Group outlinercols. r=bryner sr=hyatt 2001-12-18 13:42:28 +00:00
dbragg%netscape.com 8b33e8cf0b Fix for bug 109951. Updating the version number of the language packs to 0.9.7.
r=tao, sr=dveditz, a=asa for drivers@mozilla.org
2001-12-14 00:18:54 +00:00
ccarlen%netscape.com 31d6aca7e7 Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:10:45 +00:00
ccarlen%netscape.com eec09f1b7d Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 21:02:40 +00:00
hewitt%netscape.com e5d37a18a7 96154 - Remove class=outlinercol-header outlinercol-inset-header from outliner, r=ben, sr=hyatt 2001-11-21 11:00:22 +00:00
seawood%netscape.com d8927fcc61 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
seawood%netscape.com 9850f387af Renaming 'install' build phase to 'libs'
Bug #56601 r=pavlov
2001-11-21 08:55:59 +00:00
timeless%mac.com dfa8594725 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
realpeterv%mac.com 3f0d2c3f24 Fix for bug 83360 (improve LDAP datasource usefulness with XUL templates). r=dmose. Not part of the build. 2001-11-16 14:46:13 +00:00
realpeterv%mac.com 4cd94f04f3 Fix for bug 83360 (improve LDAP datasource usefulness with XUL templates). r=dmose. Not part of the build. 2001-11-16 14:40:41 +00:00
rweltman%netscape.com 28a8f657de Use explicit imports 2001-11-12 01:32:07 +00:00
rweltman%netscape.com 25f6f90c58 Use real javax.security.sasl package instead of Sun preview 2001-11-12 01:31:41 +00:00
rweltman%netscape.com 9e4b0f0ae1 Added sasl.jar and jnet.jar to the build CLASSPATH 2001-11-12 01:29:33 +00:00
rweltman%netscape.com 644af1448e November 11, 2001 implementation of javax.security.sasl 2001-11-12 00:58:53 +00:00
rweltman%netscape.com faf16d7cba Call Vector.removeAllElements() instead of Vector.clear() to allow compilation and execution with JDK 1.1.x (Bugzilla bug 107830) 2001-11-09 19:57:54 +00:00
rweltman%netscape.com 3b3369befa Initial introduction to org.ietf.ldap 2001-11-09 01:54:26 +00:00
rweltman%netscape.com c69f6d09cf Initial checkin of org.ietf.ldap classes 2001-11-09 01:36:04 +00:00
rweltman%netscape.com 2575676e90 ant Makefile for ietfldap 2001-11-09 01:26:37 +00:00
tao%netscape.com 42541e842f 107375: localeVersion update: 0.9.4 -> 0.9.6 in the trunk.
(r=jbetak,sr=dveditz,a=asa), fix smime and ldap parts.
2001-11-08 21:50:50 +00:00
leif%netscape.com 6ce9a720cd Bug 103084 and Bug 103085: Memory leaks in LDAP code. r=mitesh, sr=bienvenu. 2001-10-23 01:19:12 +00:00
seawood%netscape.com 842a6875a5 Use LOCAL_INCLUDES to make sure that our ldap.h gets used before any system copy.
Bug #103281
2001-10-17 06:20:42 +00:00
leif%netscape.com 924e60b5db Bug 102227: Crash in LDAP autocomplete addressing, r=dmose,sr=bienvenu,patch=leif 2001-10-06 01:19:14 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
leif%netscape.com 1a68378854 Bug 91248: LDAP referrals hangs browser. r=dmose, sr=bienvenu, patch=leif. 2001-09-22 05:13:05 +00:00
cls%seawood.org 4d26faee5b Place LDAP headers into ldap subdir.
Bug #98924 r=dmose sr=alecf
2001-09-22 02:28:40 +00:00
dmose%netscape.com 2eb302f1a5 Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com 2001-09-21 05:26:32 +00:00
srilatha%netscape.com 316689bc6b Fix for bug # 100645. NextToken returns utf-8 string instead of ucs2.
r=dmose, sr=alecf
2001-09-21 02:24:19 +00:00
cls%seawood.org 47dbca272e Only use LDAP_CFLAGS where needed.
Bug #98924 r=dmose
2001-09-20 12:30:57 +00:00
dmose%netscape.com b65a30d13e Add internationalized error message support to the LDAP XPCOM SDK; part of bug 79935. r=jaggernaut@netscape.com, sr=bienvenu@netscape.com 2001-09-20 07:46:58 +00:00
jaggernaut%netscape.com e25262c61f One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com 3826eb9902 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
leif%netscape.com c2e9958440 Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com. 2001-09-17 23:35:03 +00:00
darin%netscape.com c95cf54bdc checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
alecf%netscape.com e5cc5abd22 Add REQUIRES to many modules for win32 support, bug 98372 r=cls 2001-09-12 20:32:40 +00:00
cls%seawood.org f87d1c4b56 Install LDAP headers into seperate ldap include dir.
Bug #98924 r=dmose
2001-09-10 05:17:41 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
leif%netscape.com 6af64c6c73 Bug 85452, 100% CPU usage in LDAP autocomplete. r=dmose, sr=mscott,
patch=leif.
2001-08-22 01:30:19 +00:00
andreas.otte%primus-online.de c6853783af bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
dmose%netscape.com c58f518755 Change LDAP autocomplete default minStringLength to only autocomplete against strings >= 2 chars long to avoid a possible hang on NT as well as unindexed searches (bug 84566; r=leif@netscape.com, sr=darin@netscape.com) and default searchFilterTemplate to catch people whose cn contains their middle name or initial (bug 90535; r=leif@netscape.com, rs=darin@netscape.com). This second patch also fixes a bug where filter templates sometimes ignored the last token of the entered string 2001-07-25 04:15:30 +00:00
leif%netscape.com a821a77707 Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.
2001-06-22 01:09:20 +00:00
leif%netscape.com 1dedb98d77 Backed out my checkin, sorry for that. 2001-06-21 21:56:57 +00:00
leif%netscape.com 5d505a7750 Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.
2001-06-21 21:44:18 +00:00
waterson%netscape.com 0877b1a573 Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
leif%netscape.com 6f0519335a Bug 71247, provide scriptable UTF8 encoders in nsILDAPService. r=dmose,
sr=mscott, a=asa@mozilla.org, patch=leif@netscape.com.
2001-06-20 03:35:55 +00:00
dbaron%fas.harvard.edu 09e99242d5 To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa 2001-06-19 22:38:45 +00:00
cls%seawood.org 7f31c4d4eb Remove workaround for WS6 bug in-lieu of vendor patch listed at http://www.mozilla.org/unix/solaris-build.html .
Thanks to Rich Burridge <rich.burridge@Sun.COM> for the patch.
Bug #73834 r=dmose sr=alecf a=asa
2001-06-15 06:19:24 +00:00
dmose%netscape.com 8472214a18 Parameterize LDAP autocomplete searchfilter via hidden pref (bug 77386); also improves default searchfilter (85315). r=leif@netscape.com,srilatha@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org 2001-06-15 05:04:32 +00:00
leif%netscape.com 7648bd6eb2 Bug 74498: Add attribute support to SearchExt(), making it possible to limit
the search results to a set of attributes. r=dmose, sr=mscott, a=asa.
Patch by leif@netscape.com.
2001-06-14 05:48:03 +00:00
leif%netscape.com b39b1ee7a7 Fix for bug 70611, support attributes in LDAP URLs. patch=leif@netscape.com,
r=dmose, sr=mscott, a=blizzard.
2001-06-13 23:42:38 +00:00
dougt%netscape.com 9174af6517 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
dougt%netscape.com 2ce9ab7d5e Fixes bug 2001-06-06 00:02:56 +00:00
scc%mozilla.org c9ef8044a2 fixing bustage 2001-05-23 04:19:39 +00:00
leif%netscape.com 6dc106b7ae Changed LDAP XPCOM SDK to use "wstring" instead of "string", bug 71247.
r=dmose@netscape.com
sr=mscott@netscape.com
2001-05-17 06:26:35 +00:00
kandrot%netscape.com d5bd552195 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
dmose%netscape.com 39361b75fa Initial implementation and supporting changes for nsLDAPService (bug 70422). Patch from Leif Hedstrom <leif@netscape.com>, r=dmose@netscape.com, sr=brendan@mozilla.org. 2001-05-05 02:30:50 +00:00
dmose%netscape.com 82e1565abf minor LDAP XPCOM SDK changes to support nsLDAPAutoCompleteSession, which will be checked in shortly (bug 70933). r=leif@netscape.com, sr=shaver@mozilla.org 2001-05-02 22:04:28 +00:00
colin%theblakes.com b7301ec7a8 Move ldap40 and lber40 after MOZ_COMPONENT_LIBS so that they have
a -L in effect. b=76482. r=cld. a=roc+moz.
2001-04-19 09:57:17 +00:00
dmose%netscape.com 4271f2af6e Replace duplicated CID with unique one (bug 75048). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org 2001-04-12 01:40:19 +00:00
dmose%netscape.com 978ded7b33 Fix getters and setters of various LDAP URL spec pieces to actually allow a spec to be built up from the individual pieces (bug 70420). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org 2001-04-12 01:25:07 +00:00
dmose%netscape.com 94ee1ddb0f Fixing --enable-ldap-experimental build bustage introduced by Necko API changes. 2001-04-11 04:34:58 +00:00
miodrag%netscape.com c7818dbf22 Allow explicit SSLSocketFactory, contribution by Kyle F. Downey, kdowney@amberarcher.com 2001-04-03 13:17:22 +00:00
miodrag%netscape.com f5696e4cf3 A minor update 2001-04-03 13:13:52 +00:00
miodrag%netscape.com ff23fa93d2 74378 fix in flushEntries(), contribution by Glenn McAllister, glenn@somanetworks.com 2001-04-03 13:12:03 +00:00
dmose%mozilla.org d7011234d0 Workaround bug in Solaris WorkShop 6 Update 1 that crashes the compiler by ifdefing out the offending code on that compiler (bug 73834). r=rich.burridge@sun.com, sr=sfraser@netscape.com 2001-03-28 23:17:44 +00:00
miodrag%netscape.com 911f809a5c Updtates for LDAPJDK 4.14 2001-03-28 15:45:58 +00:00
disttsc%bart.nl 6e48266508 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
dmose%netscape.com 3ff909bbd5 Initial interface and implementation of a class that represents the unique characteristics of an nsILDAPConnection (bug 70421). Patch from Leif Hedstrom <leif@netscape.com>. r=<dmose@netscape.com>, sr=<shaver@mozilla.org>. 2001-03-24 07:09:55 +00:00
peter.vanderbeken%pandora.be 91bc158c0f Clean up datasource. Return partial result list to allow progressive display. Don't onAssert for the attributes, let the user ask for them. Not part of the default build. r=dmose. 2001-03-22 15:02:24 +00:00
blakeross%telocity.com eaa6754a0a Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben 2001-03-22 00:59:29 +00:00
dmose%netscape.com 65a92daa9b Fix for mac bustage from Zach. 2001-03-21 04:30:48 +00:00
dmose%netscape.com 24c7dc20d9 Turn on basic LDAP infrastructure in the default mac build. No user-visible changes yet. Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org. Mac system build changes: r=peterv@netscape.com, sr=sfraser@netscape.com 2001-03-21 01:45:24 +00:00
dmose%netscape.com 42c00de566 Split up ldap build options into two sections: ldap and ldap_experimental, in preparation for turning on just the ldap module in the default builds. Also fixes LDAP C SDK bustage introduced by change to --enable-nspr-autoconf. Bug 70658. Patch from leif@netscape.com, r=dmose@netscape.com, sr=alecf@netscape.com. 2001-03-14 06:41:35 +00:00
bryner%uiuc.edu e8a4514009 Fixing typo in valeski's checkin (build bustage in LDAP). sr=sspitzer. 2001-03-13 05:18:55 +00:00
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dmose%netscape.com 2204f8059a Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org 2001-03-09 03:25:47 +00:00
disttsc%bart.nl aebc676048 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
disttsc%bart.nl 744785129a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com eab041f43f Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
dbaron%fas.harvard.edu cc6aa25233 Add REQUIRES line to fix --enable-ldap + MOZ_TRACK_MODULE_DEPS bustage. 2001-02-17 18:30:12 +00:00
Peter.VanderBeken%pandora.be 0e235ef180 Not part of the build. Correcting depth. 2001-02-13 14:16:28 +00:00
Peter.VanderBeken%pandora.be eb56c4d46d Not part of the build. Adding a QI. 2001-02-13 14:15:42 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
disttsc%bart.nl ac15734e15 Fix bustage (at least on linux with GCC) in LDAP by adding missing NS_IMETHODIMP for nsLDAPChannel::AsyncOpen 2001-02-10 04:47:37 +00:00
dougt%netscape.com 69415757ab Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
dmose%mozilla.org 63b09341a2 backing out inadvertant checkin; not in default build 2001-02-07 03:32:44 +00:00
dmose%mozilla.org 705a051a9f backing out inadvertant checkin; not in default build 2001-02-07 03:24:13 +00:00
dmose%mozilla.org f87b27e729 fix bug 67357. link-time bustage in ldap module caused by earlier nsIURI::SchemeIs change. not in default build. r=gagan@netscape.com, sr=scc@mozilla.org 2001-02-07 03:20:33 +00:00
Peter.VanderBeken%pandora.be 64c9aec804 Not part of the build. Eliminate JS warning. Correct error in CID. Add debugging info. 2001-02-05 15:46:51 +00:00
Peter.VanderBeken%pandora.be 78f14b0345 Not part of the build. Basic scaffolding for the LDAP datasource. 2001-02-02 15:58:09 +00:00
Peter.VanderBeken%pandora.be 2d5a74813b Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build. 2001-01-24 13:49:55 +00:00
miodrag%netscape.com ac3982e462 Updtates for LDAPJDK 4.13 2000-12-18 14:02:20 +00:00
miodrag%netscape.com 2b6b5e7122 Make file compile under JDK1.3 2000-12-08 17:17:49 +00:00
dmose%mozilla.org 7509d87f65 test commit; a=r=(not built) 2000-10-25 23:54:02 +00:00
dmose%mozilla.org a3dbc9bed2 test commit; a=r=(not built) 2000-10-25 23:50:42 +00:00
dmose%mozilla.org a011f6d93b get rid of outdated comments; a=r=(not built) 2000-10-19 20:51:46 +00:00
dmose%mozilla.org 0724b52649 NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built) 2000-10-17 23:14:10 +00:00
dmose%mozilla.org 6c9183a50c LDAP error-handling cleanup, part 1. a=r=(not built) 2000-10-17 23:07:38 +00:00
leif%netscape.com f16f2af6c3 Merged in changes from v1.4.1. 2000-10-05 19:47:47 +00:00
leif%netscape.com a27e446351 *** empty log message *** 2000-10-05 18:51:45 +00:00
leif%netscape.com 1583ace726 Removed. 2000-10-05 01:08:34 +00:00
dmose%mozilla.org 3b690fcec5 TestLDAP.cpp has bitrotted into uselessness. cvs removing. a=r=(not built) 2000-10-03 02:23:33 +00:00
dmose%mozilla.org 39c76b6fc8 nsLDAPMessage::GetValues() now is a good XPCOM citizen and creates a copy of the [out] array with the shared allocator. a=r=(not built) 2000-10-03 01:53:23 +00:00
dmose%mozilla.org dbbe3df0aa 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) 2000-10-03 00:52:03 +00:00
dmose%mozilla.org b1728bcc17 fix up a progid->contractid conversion that got missed; update a few comments. a=r=(not built) 2000-09-29 22:35:35 +00:00
dmose%mozilla.org 2974744755 update so that datasource tests work with jar packaging. a=r=(not built) 2000-09-29 22:30:12 +00:00
dmose%mozilla.org 0265ecf065 Reorganized significantly. Triaged so that there are only 4 items left to do (the first four) before attempting an initial prerelease (0.x). 2000-09-29 20:09:38 +00:00
dmose%mozilla.org fc222b3075 * 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)
2000-09-29 01:20:31 +00:00
dmose%mozilla.org b7947fd655 * pipeWrite() prototype changed from |char *| to |const char *|
* infrastructure for firing progress against an nsIProgressEventSink added

a=r=(not built)
2000-09-29 01:14:53 +00:00
dmose%mozilla.org 6852bc27b1 Migrate from progids to contractids. a=r=(not built) 2000-09-29 01:11:34 +00:00
dmose%mozilla.org 12decc83d0 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) 2000-09-29 01:10:40 +00:00
dmose%mozilla.org 6025ff6ae3 Tweak some comments. a=r=(not built) 2000-09-29 01:09:27 +00:00
dmose%mozilla.org 1945a1a0cc include nsLDAPInternal.h instead of nsLDAP.h now. a=r=(not built) 2000-09-29 01:08:17 +00:00
dmose%mozilla.org 3a6e4c491f * 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)
2000-09-29 01:06:53 +00:00
dmose%mozilla.org fe2112236d * migrate from progids to contractids
a=r=(not built)
2000-09-29 01:04:24 +00:00
dmose%mozilla.org d3a800d819 * removed mPosition variable, since getAttributes() is now a single function
* prototypes for Iterate{Attributes,AttrErrHandler} added

* emacs mode line added

a=r=(not built)
2000-09-29 01:01:10 +00:00
dmose%mozilla.org efe7310f8c * 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)
2000-09-29 00:58:38 +00:00
dmose%mozilla.org 6201e1656a * 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
2000-09-29 00:53:29 +00:00
dmose%mozilla.org 23f43e5ad2 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) 2000-09-29 00:48:26 +00:00