Commit Graph

485 Commits

Author SHA1 Message Date
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
mcs%netscape.com
c934c25b5b 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
059277deca 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
dd4f8fc711 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
5b27a00955 Fix bug # 136910 - ldap build bustage on QNX. 2002-04-22 17:24:19 +00:00
mcs%netscape.com
b7bb14990f Fix bug # 138612 - should use gethostbyname_r() on Linux. 2002-04-22 16:57:50 +00:00
rdayal%netscape.com
cdee484e5f 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
6199eca3f0 Additional fix for bug # 81584 - strtok use and STRTOK on Linux. 2002-04-18 20:12:30 +00:00
mcs%netscape.com
fca377f28e Fix bug # 138248 - ldapsearch dumps core if -P and -K used together. 2002-04-18 19:30:12 +00:00
mcs%netscape.com
b841dbb77b Improve comments. 2002-04-18 19:01:19 +00:00
mcs%netscape.com
9ddd651ec7 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
8e6b1f2383 Add a comment near LDAP_NO_ATTRS and LDAP_ALL_USER_ATTRS. 2002-04-18 18:54:29 +00:00
mcs%netscape.com
a59f955956 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
e6561637f2 Revise SSL layer comment 2002-04-18 15:30:22 +00:00
mcs%netscape.com
f8627d4390 correct Solaris $ORIGIN comment 2002-04-18 15:27:49 +00:00
mcs%netscape.com
1e4082b71e 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
0e8c5a5561 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
1749da19f8 Remove dirver.c and Makefile.client references to it (no longer used). 2002-04-18 01:25:49 +00:00