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

502 Коммитов

Автор SHA1 Сообщение Дата
bzbarsky%mit.edu e7c026b0f0 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 3f190c27b3 Fix bug # 177775 - libprldap: NSPR error is sometimes lost. 2002-11-15 21:03:19 +00:00
mcs%netscape.com 54f6f0ba6a Fix bug # 177778 - ldap_set_option( NULL, ... ) resets ldap_debug to zero. 2002-11-15 21:01:43 +00:00
mcs%netscape.com 9674e14a0d 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 0d16f36c0c Fix bug # 163534 - remove Netscape Confidential and Proprietary marker
from errormap.c.
2002-11-15 20:18:50 +00:00
mcs%netscape.com 528fd9ba96 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 61b529e662 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 e29270dddf 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 c1aa011ff3 Fix bug # 169975 - LDAP memory cache accesses response
list w/o locking mutex.
2002-11-01 19:57:09 +00:00
mcs%netscape.com cbdc43aebe 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 150568bb2e 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 b25d2a38f7 update localeVersion for 1.2b, a=asa 2002-10-16 17:51:38 +00:00
dbaron%fas.harvard.edu 29c30c5f3e 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 9456212b6b 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 70941124cb update localeVersion to 1.2a, a=asa 2002-09-07 01:01:49 +00:00
dmose%netscape.com a03600716f Fix --enable-ldap-experimental build bustage 2002-09-04 04:03:23 +00:00
rjc%netscape.com ba0e03e53e 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 cb32b91b45 Resolve symbols at link time for OpenBSD.
Bug #145136 r=dmose
2002-09-03 22:43:00 +00:00
andreas.otte%debitel.net 932f63b026 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 bb5c3af0de 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 9190a3d74e 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 47eef2251f 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 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 7e4a982fe8 Misc build cleanup v1:
Cleanup win32 configure output.
Bug #161461 r=bryner
2002-08-08 21:45:20 +00:00
leaf%mozilla.org 8860985e79 bug 154840, r=cls, sr=brendan, a=jesup update localeVersion strings 2002-07-17 23:51:49 +00:00
timeless%mac.com e4b13fa8c6 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 b72da6267b 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 b35396ed67 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 13748da31b 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 398333b8db Fix bug # 152852 - referrals: port 0 used by default instead of port 389. 2002-06-21 20:14:02 +00:00
dmose%netscape.com 1ff8c12305 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 de374bfca2 NetBSD build-system fix (bug 135027); r=seawood@netscape.com 2002-06-13 22:02:08 +00:00
djani%netscape.com 7a1d5f31c9 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 6e6bf977e5 updating locale version string for impending release, bug 149802 2002-06-07 07:45:38 +00:00
dmose%netscape.com d066d1f28f 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 4ec7e2797f 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 a425bf15f8 Sync config.guess & config.sub with official GNU copies.
Bug #140869 r=bryner
2002-05-17 23:44:58 +00:00
timeless%mac.com c277979aa4 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 c683a217ab 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 3484a20c21 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 c404feaee2 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 075fdb1600 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 4d27a6fdb3 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 36ff5780f1 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 2be2dd01f3 Updates for LDAPJDK 4.16 2002-04-27 23:41:15 +00:00
dmose%netscape.com 900c658328 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 1331e7b994 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 c0ec608df6 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 db803b63ab 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 9e26e1d4d8 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