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

759 Коммитов

Автор SHA1 Сообщение Дата
cls%seawood.org ca0a3c2b4e Add support for cross-compiling to i386-mingw32
Bug #222013 r=dmose
2004-03-15 07:38:54 +00:00
cls%seawood.org dc056d91c1 Fixing whatever got missed between the missed bug 141834 checkin & bug 134113 checkin. 2004-03-15 07:15:51 +00:00
cls%seawood.org 2c8a03de7f OpenVMS build changes. b=180291. r=mcs. sr=brendan 2004-03-15 06:51:00 +00:00
cls%seawood.org afc5defcdd #215581
r=mark smith
OS/2 changes for GCC 3.2.2
2004-03-15 06:35:14 +00:00
cls%seawood.org 4f4c771863 198462 patch by rich cannings cannings@math.ucalgary.ca r=mcs sr=dmose a=mkaply Get LDAP to build on OpenBSD 2004-03-15 06:28:55 +00:00
cls%seawood.org ac3f635750 Whitespace change to represent checkin for bug 158920.
Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner
2004-03-15 06:27:56 +00:00
cls%seawood.org 086348436b #188247
r=mcs, sr=dmose
OS/2 GCC work for LDAP
2004-03-15 06:25:32 +00:00
cls%seawood.org 9332242261 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2004-03-15 06:17:21 +00:00
cls%seawood.org 1499c49527 Gratuitous whitespace change to represent checkin for bug 53764. 2004-03-15 06:13:51 +00:00
cls%seawood.org 40aaba9057 Update openbsd support for openbsd >= 3.4
Thanks to Peter Str��mberg <wilfried@spamcop.net> for pulling these patches out of openbsd's ports tree.
Bug #236599 r+sr=dmose
2004-03-10 07:46:38 +00:00
etsai%netscape.com 4ffb62d146 Performance enhancement for big group entry, 231623 2004-03-03 15:09:59 +00:00
bienvenu%nventure.com af45581edf fix ldap connections not closing properly by breaking cycle, r=dmose, sr=mscott 206018 2004-02-25 23:30:30 +00:00
etsai%netscape.com 7e2b47b550 fix for Schema retrieval crashes, bug 232298 2004-02-25 23:11:43 +00:00
etsai%netscape.com e67f33a674 Move to version 4.18, preparing for next release. 2004-02-25 23:08:51 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bienvenu%nventure.com 804df37bb7 fix build bustage in nsLDAPChannel for port platforms that define MOZ_LDAP_XPCOM_EXPERIMENTAL, not part of default build, 198168 2004-02-15 16:58:01 +00:00
bienvenu%nventure.com 6ab5689440 support ldap v3, patch by dmose, r/sr=sspitzer 198168 2004-02-14 02:10:45 +00:00
kairo%kairo.at 3d12a17e05 bug 232011 - Use the XUL preprocessor for build-time inserting of localeVersion strings, this removes contents*.rdf.in files and resurrects the contents*.rdf files, using preprocessor.pl via the jar.mn definitions 2004-02-04 14:24:38 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
mcs%netscape.com 2a3ae3c29e Bug fix: root CA shared lib was being copied when it should not have been. 2003-12-19 22:29:47 +00:00
mcs%netscape.com f00fcdf46d Clean up a few things in the acceptance test:
Copying of NSS root cert shared lib. does not happen by default.
	-S option has been removed.
	-s option added to disable SSL related tests from the cmd line.
Remove the acceptance test README (moved to the web site).
2003-12-19 19:43:47 +00:00
mcs%netscape.com 7dfbbd9fd3 Add placeholder README for the acceptance test. 2003-12-19 16:14:52 +00:00
mcs%netscape.com 1a678d2782 Add Windows demangle and winkill utilities. 2003-12-04 16:05:12 +00:00
dbaron%dbaron.org d5582721b7 Separate locale version from Mozilla version so we do not have to bump locale version for every release. b=226377 r=kairo, bsmedberg sr=ben a=asa 2003-12-02 23:22:11 +00:00
mcs%netscape.com 5d39d924ae Add assorted tools used by some of the mozilla/directory (LDAP) developers. 2003-11-25 15:08:17 +00:00
peter%propagandism.org f9f591a28f Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
bienvenu%nventure.com 725056250a ignore ldap hosts after the first host (i.e., space delimited host lists) until we can make multiple hosts work r=mscott, sr=dmose,a=asa 223603 2003-10-25 15:34:39 +00:00
mcs%netscape.com b7719ef988 Additional fix for 221694 - ber_get_next_buffer_ext() fails when
length or tag is split across buffers.
Improve backwards compatibility by setting *Bytes_Scanned to zero
when errors occur; use errno to report specific errors.
2003-10-23 19:35:02 +00:00
mcs%netscape.com bbdae685e4 Additional "bulletproofing" for bug # 221694 - ber_get_next_buffer_ext()
fails when length or tag is split across buffers.
2003-10-21 19:12:55 +00:00
kairo%kairo.at 7b21e2d4eb bug 154927 - automate localeVersion updates based on milestone.txt - we'll now create all those files during compile time from .in files, r=leaf, sr=bz 2003-10-18 17:54:07 +00:00
mcs%netscape.com cdd10143f2 Additional fix for bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace NPL/GPL/LGPL licenses with MPL/GPL/LGPL.
2003-10-15 17:26:10 +00:00
mcs%netscape.com 42ae2323af Fix bug # 221694 - ber_get_next_buffer_ext() fails when length or tag
is split across buffers.
2003-10-15 14:32:10 +00:00
mcs%netscape.com 3cc7522593 Improve the PRLDAP_OPT_IO_MAX_TIMEOUT related comment. 2003-10-15 13:19:01 +00:00
simford.dong%sun.com e37f09edc5 Bugzilla Bug 168226 XPCOM Wrapper does not support ldap port numbers greater than 32k, r=Pete Zha, sr=Henry Jia
fixed by wind.li@sun.com
checked in by Simford.Dong@Sun.COM
2003-10-15 02:23:26 +00:00
mcs%netscape.com ffa0613f0b Fix bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace existing licenses with a triple license (NPL/GPL/LGPL or
    MPL/GPL/LGPL).
  Add licenses to files that had no license.
  Remove two unused files.
2003-10-10 15:03:52 +00:00
seawood%netscape.com d81dda218a Bug 217502 - Use sane libpath in LDAP libraries.
r=MarkCSmithWork@aol.com, a=asa@mozilla.org
2003-10-07 22:01:12 +00:00
mcs%netscape.com 2aa4fa531d Fix bug # 140182 - async I/O improvements.
A queue of pending outbound requests is kept. UnBind requests are NOT
   queued however.
  Abandon requests are not sent if a request is not outstanding.
  Cleaned up the code in result.c to avoid use of magic return values
	such as -1 and -2.  Also removed some dead code and dead files.
ltest (test.c) now supports SSL and async I/O options.
2003-10-01 17:19:11 +00:00
mcs%netscape.com ad34599811 Fix bug # 206777 - obsolete entries in
mozilla/directory/c-sdk/ldap/build/.cvsignore
2003-10-01 15:02:23 +00:00
mcs%netscape.com b686184875 Fix bug # 206776 - remove obsolete files under
mozilla/directory/c-sdk/ldap/libraries/msdos/winsock
2003-10-01 14:58:35 +00:00
bryner%brianryner.com 17abf49e80 updating my email address 2003-09-29 05:35:34 +00:00
mcs%netscape.com 9d16ef6800 Put back the contributed change that we previously did not
have permission to relicense; we now have permission.
2003-09-25 20:01:54 +00:00
mcs%netscape.com 56af49dcc1 NPL 1.1/GPL 2.0/LGPL 2.1 triple license. 2003-09-25 16:38:52 +00:00
mcs%netscape.com c10139c9e4 Back out contributed change that we do not have permission to relicense. 2003-09-25 15:48:59 +00:00
seawood%netscape.com 47bee53cec When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc
2003-09-15 03:48:56 +00:00
darin%meer.net f4a8778d0b landing patch for bug 205726 "DNS rewrite" r=dougt sr=bryner 2003-09-11 20:32:33 +00:00
bryner%brianryner.com 2fcdb4e2d5 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 21:50:21 +00:00
mcs%netscape.com 20ff0afa50 Follow up fix for 200528 - ldap/include/portable.h is confused
about Solaris: older Linux versions do not have in_addr_t, so
don't assume they do.
2003-08-27 21:02:31 +00:00
mcs%netscape.com 3a866a9f2e Fix 200528 - ldap/include/portable.h is confused about Solaris.
Avoid using sunos5 (not defined).
    Removed definitions of these macros that are not used anwhere:
		HAVE_GETPWNAM_R, HAVE_GETGRNAM_R, SIG_FN, WAIT_FLAGS.
2003-08-27 14:10:02 +00:00
mcs%netscape.com 8b1fe279b4 Fix 200361 - LDAP tools should accept -i UTF-8 and -i utf8 on all platforms.
Also, on Windows the -i option was previously ignored; now the following
  values are accepted: windows-1252, ANSI, utf-8, utf8 (2 charsets in total).
2003-08-27 13:35:21 +00:00
cls%seawood.org 1b51ba858c Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
kairo%kairo.at 5cbc82d1b5 bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa 2003-08-11 11:31:24 +00:00
seawood%netscape.com f0b5c087f6 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-11 00:15:38 +00:00
seawood%netscape.com b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
miodrag%netscape.com 15bc8b9915 Added ant support 2003-06-10 01:00:05 +00:00
kairo%kairo.at 0b93c73eee bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard 2003-06-04 11:11:19 +00:00
dwitte%stanford.edu 270d3909ca bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
varga%netscape.com 717feaab4a Landing bookmarks changes.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa

The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
2003-05-23 12:03:40 +00:00
seawood%netscape.com 371df59242 Change mksnt* checks to mks*
Bug #202598 r=wtc
2003-04-19 01:47:57 +00:00
seawood%netscape.com a3cf299860 Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls
2003-04-18 19:27:09 +00:00
seawood%netscape.com 33b5cab746 Sync config.guess & config.sub with official GNU copies.
Bug #199343
2003-04-18 19:20:22 +00:00
seawood%netscape.com 0086cfc314 Fix x86 checks so that they work for xeon processors
Bug #199343 r=wtc
2003-04-18 19:18:12 +00:00
kairo%kairo.at b6009f1e51 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard 2003-04-17 18:43:57 +00:00
mcs%netscape.com 45186e0c0f Partial fix for 148272 - flawfinder warnings in directory.
Fix most critical warnings in the core LDAP library code:
    AIX has snprintf() so we now #define HAVE_SNPRINTF there.
    Use snprintf() instead of sprintf() in ldap_perror().
    Use snprintf() instead of sprintf() in ldap_init_getfilter_buf()
     and improve error reporting for bad regular expressions.
2003-04-01 21:04:23 +00:00
djani%netscape.com 1961022e76 Bug 198218: added usage for -g 2003-04-01 18:12:49 +00:00
mcs%netscape.com 142c4d2d3e Fix 190539 - Speed optimizations for OS/2.
Changes merged from ldapcsdk_50_client_branch.
2003-04-01 18:11:26 +00:00
mcs%netscape.com 18a4d8c423 Fix 199353 - ldapsearch contains recurring memory leaks.
Free the entry controls (ectrls) array inside print_entry().
2003-04-01 17:55:45 +00:00
mcs%netscape.com db2b44014d Fix bug # 200007 - add option to flush ldapsearch output after each entry.
The new option is:
    -r flush output after each entry is printed (useful with -C)
2003-04-01 17:04:41 +00:00
mcs%netscape.com 908b4bf2b6 Fix bug # 174912 - Sporadically missing entries during referral.
Don't treat a request as complete if its LDAP result message
  has not yet been received. Previously, nested referrals and
  references could cause requests to be prematurely terminated.
2003-04-01 15:17:11 +00:00
djani%netscape.com c0796c36da Bug 198218: Now, the ldap clients send the password policy request control by default at the 'bind' level. To suppress it, use -g option. Also, the clients can parse the password policy response control. 2003-04-01 01:37:54 +00:00
mcs%netscape.com e0825a3cd6 Fix 175900 - read overrun in ldap resolve code.
Note: this fixes code we do not compile right now.
2003-03-24 21:12:03 +00:00
mcs%netscape.com 1ccb573c31 Follow up fix for 126462 - Occurences of uninitialized variables being
used before being set (in directory/c-sdk).
	Fix debug build.
2003-03-24 20:44:58 +00:00
mcs%netscape.com dc8c708120 Fix 144241 - possible C SDK leak or delayed free().
Note: unconfirmed fix; I do not have a test program for this bug.
2003-03-24 20:05:24 +00:00
mcs%netscape.com d723de9a69 Fix 126462 - Occurences of uninitialized variables being used
before being set (in directory/c-sdk).
2003-03-24 19:59:05 +00:00
mcs%netscape.com ad0d529f85 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 9c5c964adf 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 6d7b1c9e7f 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 5de84ec0c5 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 64c839cb94 Fix 183798 - crash if charset conversion fails. 2003-03-20 15:46:41 +00:00
mcs%netscape.com 67006da555 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 83e46b1a49 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 c745660cee Add mingw support.
Bug #134113 r=mcs sr=dmose
2003-03-07 21:12:09 +00:00
timeless%mozdev.org c31255d3cd 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 661116311f bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard 2003-02-27 00:05:44 +00:00
seawood%netscape.com 149fe1cec9 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen
2003-02-23 16:58:47 +00:00
timeless%mozdev.org b95d50a656 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 7bd1bd60b8 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 098bd15103 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 a6f4446e42 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 98a54aaa4a Incorporated fix to printEntryStart() by Jeff.Gay@gfnews.net 2003-01-02 22:04:46 +00:00
seawood%netscape.com bd1020e1c7 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 01abecd4cb 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 150e89eb05 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 3832b1fc62 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 2580cbbceb Removed unnecessary code, updated javadoc 2002-12-04 01:35:57 +00:00
miodrag%netscape.com cc3aeeaee9 Removed two trailing ^M 2002-12-04 01:04:19 +00:00
miodrag%netscape.com 8da96b15cc Removed in sdk 4.17 2002-12-03 01:19:09 +00:00
miodrag%netscape.com d886575f6f Minor corrections 2002-12-03 00:43:13 +00:00
miodrag%netscape.com bbf32a6c3f Added JAVA_VERSION variable, .CHECK_VARS target, better support for different java versions 2002-12-03 00:42:35 +00:00
miodrag%netscape.com 9c4d2b4f7f Updtates for LDAPJDK 4.17 2002-12-03 00:38:20 +00:00
miodrag%netscape.com 8c487a1778 A minor change for javadoc 2002-12-03 00:36:21 +00:00
miodrag%netscape.com 1b67449000 Added jss32_stub.jar 2002-12-03 00:33:56 +00:00
miodrag%netscape.com 73cc20fc79 A fix for jdk1.4 javadoc 2002-12-03 00:26:50 +00:00
seawood%netscape.com 1e654f2c3b Fix egrep syntax. 2002-11-23 09:59:07 +00:00
seawood%netscape.com 14c734c48d 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 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
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
mcs%netscape.com b60b98679c 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 e905f4d977 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 d0f4fa8803 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 043a2452ee 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 58b7a3ee36 OS/2 bustage - these should be extern C - r=dmose 2002-04-10 17:35:49 +00:00
mkaply%us.ibm.com a17f836922 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 49752a8d2d 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 d38a0937d9 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 918239a09e Fix windows build bustage 2002-03-27 07:34:50 +00:00
dmose%netscape.com 1cc4fac6b0 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 5e565e67aa 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 8fadc89c91 add .fast-update 2002-03-26 22:17:48 +00:00
dmose%netscape.com cf1fe2ecdf 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 f92b86316d 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 241f60a176 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 9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
seawood%netscape.com 9bdb6711d0 Remove now redudant REGCHROME calls.
Bug#129456 r=bryner a=asa
2002-03-14 07:11:30 +00:00
seawood%netscape.com abb8a23948 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 4198a0fc70 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 cec282695c 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 f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
dougt%netscape.com 3ec4bb9168 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 c7478fbb13 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 124339899e 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 d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dougt%netscape.com c50ca402ad 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 ff7ad62083 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