568 Commits

Author SHA1 Message Date
mcs%netscape.com
f9cbc32e48 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.


git-svn-id: svn://10.0.0.236/trunk@147837 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-10 15:03:52 +00:00
seawood%netscape.com
daa962a7e7 Bug 217502 - Use sane libpath in LDAP libraries.
r=MarkCSmithWork@aol.com, a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@147709 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-07 22:01:12 +00:00
mcs%netscape.com
2160645dd7 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.


git-svn-id: svn://10.0.0.236/trunk@147488 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 17:19:11 +00:00
mcs%netscape.com
8e93b3a3c0 Fix bug # 206777 - obsolete entries in
mozilla/directory/c-sdk/ldap/build/.cvsignore


git-svn-id: svn://10.0.0.236/trunk@147484 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 15:02:23 +00:00
mcs%netscape.com
d48985e87d Fix bug # 206776 - remove obsolete files under
mozilla/directory/c-sdk/ldap/libraries/msdos/winsock


git-svn-id: svn://10.0.0.236/trunk@147482 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-01 14:58:35 +00:00
bryner%brianryner.com
8af6bcdb92 updating my email address
git-svn-id: svn://10.0.0.236/trunk@147417 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-29 05:35:34 +00:00
mcs%netscape.com
6ee3ae4225 Put back the contributed change that we previously did not
have permission to relicense; we now have permission.


git-svn-id: svn://10.0.0.236/trunk@147306 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 20:01:54 +00:00
mcs%netscape.com
f99b59cb86 NPL 1.1/GPL 2.0/LGPL 2.1 triple license.
git-svn-id: svn://10.0.0.236/trunk@147298 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 16:38:52 +00:00
mcs%netscape.com
6abbf8ec81 Back out contributed change that we do not have permission to relicense.
git-svn-id: svn://10.0.0.236/trunk@147296 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-25 15:48:59 +00:00
seawood%netscape.com
a41d67cd3b When calling windres, use a temp file to work around resource issues.
Bug #213281 r=wtc


git-svn-id: svn://10.0.0.236/trunk@146890 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-15 03:48:56 +00:00
darin%meer.net
f95b2ef09c landing patch for bug 205726 "DNS rewrite" r=dougt sr=bryner
git-svn-id: svn://10.0.0.236/trunk@146796 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 20:32:33 +00:00
bryner%brianryner.com
978d05c917 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146614 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 21:50:21 +00:00
mcs%netscape.com
a51691cd0a 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.


git-svn-id: svn://10.0.0.236/trunk@146393 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 21:02:31 +00:00
mcs%netscape.com
567420ada3 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.


git-svn-id: svn://10.0.0.236/trunk@146384 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 14:10:02 +00:00
mcs%netscape.com
8fc0343c66 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).


git-svn-id: svn://10.0.0.236/trunk@146382 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-27 13:35:21 +00:00
cls%seawood.org
6352367a62 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.
git-svn-id: svn://10.0.0.236/trunk@146076 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-16 00:42:35 +00:00
kairo%kairo.at
ecab08be9b bug 214207 - update localeVersion for 1.5b - rs=blizzard, a=asa
git-svn-id: svn://10.0.0.236/trunk@145864 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-11 11:31:24 +00:00
seawood%netscape.com
04d820b459 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143552 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 00:15:38 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
miodrag%netscape.com
396b8885a5 Added ant support
git-svn-id: svn://10.0.0.236/trunk@143491 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 01:00:05 +00:00
kairo%kairo.at
a3d1679464 bug 207642 - update localeVersion for 1.5a - r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@143284 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-04 11:11:19 +00:00
dwitte%stanford.edu
dc7e857400 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.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
varga%netscape.com
c1c2acd6b5 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.


git-svn-id: svn://10.0.0.236/trunk@142814 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 12:03:40 +00:00
seawood%netscape.com
b06385def3 Change mksnt* checks to mks*
Bug #202598 r=wtc


git-svn-id: svn://10.0.0.236/trunk@141432 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 01:47:57 +00:00
seawood%netscape.com
dc1de8c614 Add -s to default optimization flags for os2gcc builds.
Thanks to Javier Pedemonte <pedemont@us.ibm.com> for the patch.
Bug #201555 r=cls


git-svn-id: svn://10.0.0.236/trunk@141406 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:27:09 +00:00
seawood%netscape.com
b3a5d11b25 Sync config.guess & config.sub with official GNU copies.
Bug #199343


git-svn-id: svn://10.0.0.236/trunk@141405 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:20:22 +00:00
seawood%netscape.com
41bc90a1b3 Fix x86 checks so that they work for xeon processors
Bug #199343 r=wtc


git-svn-id: svn://10.0.0.236/trunk@141404 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 19:18:12 +00:00
kairo%kairo.at
81cde04677 bug 202312 - localeVersion update for 1.4b, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@141326 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-17 18:43:57 +00:00
mcs%netscape.com
a59bfdd9cd 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.


git-svn-id: svn://10.0.0.236/trunk@140507 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 21:04:23 +00:00
djani%netscape.com
c973b5abcd Bug 198218: added usage for -g
git-svn-id: svn://10.0.0.236/trunk@140490 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 18:12:49 +00:00
mcs%netscape.com
675516603d Fix 190539 - Speed optimizations for OS/2.
Changes merged from ldapcsdk_50_client_branch.


git-svn-id: svn://10.0.0.236/trunk@140489 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 18:11:26 +00:00
mcs%netscape.com
4dc3895b74 Fix 199353 - ldapsearch contains recurring memory leaks.
Free the entry controls (ectrls) array inside print_entry().


git-svn-id: svn://10.0.0.236/trunk@140488 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 17:55:45 +00:00
mcs%netscape.com
620722c7a4 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)


git-svn-id: svn://10.0.0.236/trunk@140487 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 17:04:41 +00:00
mcs%netscape.com
042db5ce15 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.


git-svn-id: svn://10.0.0.236/trunk@140486 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 15:17:11 +00:00
djani%netscape.com
1aa0f973fb 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.
git-svn-id: svn://10.0.0.236/trunk@140473 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 01:37:54 +00:00
mcs%netscape.com
1cd7eb9a68 Fix 175900 - read overrun in ldap resolve code.
Note: this fixes code we do not compile right now.


git-svn-id: svn://10.0.0.236/trunk@140161 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 21:12:03 +00:00
mcs%netscape.com
74319d5e50 Follow up fix for 126462 - Occurences of uninitialized variables being
used before being set (in directory/c-sdk).
	Fix debug build.


git-svn-id: svn://10.0.0.236/trunk@140160 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:44:58 +00:00
mcs%netscape.com
e512518762 Fix 144241 - possible C SDK leak or delayed free().
Note: unconfirmed fix; I do not have a test program for this bug.


git-svn-id: svn://10.0.0.236/trunk@140158 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 20:05:24 +00:00
mcs%netscape.com
5076ab7942 Fix 126462 - Occurences of uninitialized variables being used
before being set (in directory/c-sdk).


git-svn-id: svn://10.0.0.236/trunk@140157 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 19:59:05 +00:00
mcs%netscape.com
952ba976ed Fix 198972 - LDAP tools do not build on AIX.
Link with iconv library on AIX.


git-svn-id: svn://10.0.0.236/trunk@140156 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 19:49:11 +00:00
dmose%mozilla.org
7f5981ae11 Don't use strcmp() just to check for a zero-length string (bug 58221). Patch by timeless@myrealbox.com, r=dmose@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@140031 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-22 03:19:05 +00:00
mcs%netscape.com
8d80f1fd4c 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.


git-svn-id: svn://10.0.0.236/trunk@139942 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 16:41:42 +00:00
mcs%netscape.com
b9b47058f3 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.


git-svn-id: svn://10.0.0.236/trunk@139935 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-21 16:00:34 +00:00
mcs%netscape.com
8b4978716e Fix 183798 - crash if charset conversion fails.
git-svn-id: svn://10.0.0.236/trunk@139852 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 15:46:41 +00:00
mcs%netscape.com
626bd1a0fd Fix 195441 - command line tools: :< in LDIF fails to import file
contents correctly.
Also removed a useless call to feof().


git-svn-id: svn://10.0.0.236/trunk@139841 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-20 14:56:59 +00:00
bzbarsky%mit.edu
cb5f836162 Fix some spelling errors in comments. Bug 106386, patch by Nicholas Bebout
<nb@ipnode.info>, r=doron, sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139745 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 04:35:08 +00:00
seawood%netscape.com
88a13bdac8 Add mingw support.
Bug #134113 r=mcs sr=dmose


git-svn-id: svn://10.0.0.236/trunk@139107 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:12:09 +00:00
timeless%mozdev.org
637f19c2b0 Bug 152700 compiler warnings caused by 119380 checkin
patch by dmose r=timeless sr=bryner


git-svn-id: svn://10.0.0.236/trunk@138678 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-28 03:18:58 +00:00
kairo%kairo.at
de1f7b5269 bug 194924 - localeVersion update for 1.4a, r=rchen, sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@138565 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-27 00:05:44 +00:00
seawood%netscape.com
9dfd61d929 Default to using absolute symlinks when building on Darwin.
Bug #193164 r=ccarlen


git-svn-id: svn://10.0.0.236/trunk@138298 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 16:58:47 +00:00