32 Commits

Author SHA1 Message Date
mozilla%weilbacher.org
ef5216578a [OS/2] Bug 458112: get rid of VisualAge in LDAP C SDK, p=wuno@lsvw, r=me/mcs/richm
git-svn-id: svn://10.0.0.236/trunk@255636 18797224-902f-48f8-a5cc-f745e15eee43
2008-12-24 09:39:56 +00:00
bugzilla%standard8.plus.com
35c76a5546 Follow up to Bug 385091 - fix build problems on msys compilers/MozillaBuild. p=Neil,r=Rich Megginson
git-svn-id: svn://10.0.0.236/trunk@254163 18797224-902f-48f8-a5cc-f745e15eee43
2008-09-11 14:38:35 +00:00
richm%stanfordalumni.org
f3d3c9eaac Resolves: bug 386091
Description: Windows SDK package needed
Fix Description: 1) Update the packaging Makefile (package.mk) for Windows and SASL.
2) Add support for manifests in VC 8.0.  There is a new command line tool
called mt.exe that is used to generate manifest files and to compile them into
the executables.  This allows ldapsearch.exe to be able to find the right
msvcr80.dll at runtime.  This was copied from NSS at Nelson's suggestion.
3) Added support for being able to do a configure and make in a different
directory.  I find it very useful to be able to create a "build" directory and
run configure like this:
cd ~/build
/path/to/mozilla/directory/c-sdk/configure ... args ...
make
Then I can just completely blow away the build directory if I need to.  I know
this is what make clean/make clobber are supposed to do, but keeping the binary
and source directories separate like this also facilitates creating source
tarballs from the working directory for use in building rpms/packages.
There were a few changes required to cygwin_wrapper and the makefiles to
support building in this manner.


git-svn-id: svn://10.0.0.236/trunk@228387 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 17:57:12 +00:00
richm%stanfordalumni.org
5490d18a0f Bug: 339298
Description: Merge sun libprldap changes on to trunk
Fix Description: Pretty much the same as the fixes made for bugs 352519 352673 on the sun_merge_branch_20060523, this just merges those changes on to the trunk.  One additional change is the removal of an unused variable.


git-svn-id: svn://10.0.0.236/trunk@213108 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-04 14:37:27 +00:00
richm%stanfordalumni.org
0cc7de0f1b Bug: 339298
Description: Merge sun_merge_branch_20060523 changes into trunk.
Fix Description: I had to change re_encode_request to use the new ber types.  Other than that, these merges are basically the sasl, ipv6, and ber types code already committed to the sun merge branch.


git-svn-id: svn://10.0.0.236/trunk@213085 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 20:43:42 +00:00
richm%stanfordalumni.org
8112151948 On HP-UX, we should not link against the libraries we depend on at runtime because it puts explicit version dependencies into the shared library we are creating. This makes it impossible to upgrade to a new version of nspr or nss.
git-svn-id: svn://10.0.0.236/trunk@190307 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-16 23:08:22 +00:00
richm%stanfordalumni.org
fb8e280f32 bug 310521
also part of 301035 and 325518

Use $(srcdir) as the location for the .ex file


git-svn-id: svn://10.0.0.236/trunk@188850 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 15:36:14 +00:00
richm%stanfordalumni.org
7c7a7c10ca Bug 322618 - Enable RPM build
Reviewed by Mark, Dan, Chris (Thanks!)
The newly added README.rpm explains how to build an RPM.
Running ./configure will print the list of flags and what they do.


git-svn-id: svn://10.0.0.236/trunk@187352 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 20:20:13 +00:00
richm%stanfordalumni.org
508a7b3b9c fixes for bug 322576 - patches for building on HP-UX IPF
git-svn-id: svn://10.0.0.236/trunk@187185 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 20:08:59 +00:00
cls%seawood.org
26cc3129ca Fix --with-system-nspr
Bug #288637 r=dmose a=caillon


git-svn-id: svn://10.0.0.236/trunk@174067 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 17:40:05 +00:00
cls%seawood.org
da2cda38ed Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver


git-svn-id: svn://10.0.0.236/trunk@174037 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-02 04:21:17 +00:00
richm%stanfordalumni.org
ae660cedf5 fix for 291993: find the NSPR libraries in the correct location in the dist build tree and make prldap have a run time dependency on them
git-svn-id: svn://10.0.0.236/trunk@173259 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 20:08:48 +00:00
mcs%pearlcrescent.com
a09aa3ead9 Fix bug # 263557 - Sending a request fails on Windows when the
ber size is larger than 64MB.
  Break up large messages into <= 8MB sized chunks inside prldap_write().


git-svn-id: svn://10.0.0.236/trunk@163820 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 13:10:04 +00:00
mcs%pearlcrescent.com
b8044053ec Fix bug # 141754 - Enhancement: Should support startTLS.
LDAP command line tools now accept 2 new options:
    -ZZ  (issue a startTLS request)
    -ZZZ (like -ZZ but require a successful response).
 API extensions:
  ldap_ssl.h: LDAP_EXOP_START_TLS macro (OID of start TLS extended op.).
  libssldap:  Added ldap_start_tls_s() function.
  libprldap:  Added prldap_is_installed() and prldap_import_connection().
  libldap:    Added new LDAP_X_OPT_SOCKETARG option for ldap_get_option()
                and ldap_set_option() (get/set the socketarg associated
                with the main LDAP TCP connection).
  liblber:    Added new LBER_SOCKBUF_OPT_SOCK_ARG option for
                 ber_sockbuf_set_option() and ber_sockbuf_get_option()
                 (get/set the socketarg associated with a Sockbuf).
Also, some refactoring was done in libssldap to simplify the code.


git-svn-id: svn://10.0.0.236/trunk@161997 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 18:50:05 +00:00
mcs%pearlcrescent.com
a673c5670f Commit to the trunk the fix for bug # 223987 - Fix LDAP library
makefile to play nice with "make -jN" builds with MSVC.


git-svn-id: svn://10.0.0.236/trunk@156853 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 14:25:07 +00:00
mcs%pearlcrescent.com
6b1abbdd28 Fix bug # 184219 - get cvs version of Ldap C-SDK and make of ldap c sdk failed.
Updated NSPR and NSS component revision numbers.
   Handle for part release numbers on Linux, e.g., 2.4.20-6
   Use correct paths for NSPR headers and libraries.
   Remove obsolete LDAP Makefiles (generated by configure these days).
   Fix command line tools link error on Linux: link with -lstdc++


git-svn-id: svn://10.0.0.236/trunk@156843 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-24 13:03:16 +00:00
cls%seawood.org
5dffc599b7 OpenVMS build changes. b=180291. r=mcs. sr=brendan
git-svn-id: svn://10.0.0.236/trunk@153974 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:51:00 +00:00
cls%seawood.org
58aea62dac #188247
r=mcs, sr=dmose
OS/2 GCC work for LDAP


git-svn-id: svn://10.0.0.236/trunk@153970 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:25:32 +00:00
mcs%netscape.com
17a1191dbb Additional fix for bug # 205419 - Relicense LDAP C SDK (directory/c-sdk).
Replace NPL/GPL/LGPL licenses with MPL/GPL/LGPL.


git-svn-id: svn://10.0.0.236/trunk@147988 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-15 17:26:10 +00:00
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
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
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
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
mcs%netscape.com
6e31d32214 Fix bug # 177775 - libprldap: NSPR error is sometimes lost.
git-svn-id: svn://10.0.0.236/trunk@133925 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 21:03:19 +00:00
mcs%netscape.com
777286fdd1 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.


git-svn-id: svn://10.0.0.236/trunk@133859 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 23:07:27 +00:00
dmose%netscape.com
6ef6e0913f NetBSD build-system fix (bug 135027); r=seawood@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123253 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 22:02:08 +00:00
seawood%netscape.com
0a83abb080 Workaround the fact that OpenBSD doesn't have certain error defines.
Bug #145136 r=dmose


git-svn-id: svn://10.0.0.236/trunk@121800 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 23:51:37 +00:00
dmose%netscape.com
f1bd22715a 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.
git-svn-id: svn://10.0.0.236/trunk@120281 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 03:40:22 +00:00
dmose%netscape.com
df786edb35 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
git-svn-id: svn://10.0.0.236/trunk@119786 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 23:53:23 +00:00
mcs%netscape.com
3189937825 Improve comments.
git-svn-id: svn://10.0.0.236/trunk@119284 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 19:01:19 +00:00
mcs%netscape.com
b4b052bbff 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.


git-svn-id: svn://10.0.0.236/trunk@119250 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-17 21:53:50 +00:00
dmose%netscape.com
4680f8f4d7 LDAP C SDK v5.0 merge from ldapcsdk_branch_50 (at ldapcsdk_branch_50-20020326-pre-trunk-merge-tag).
git-svn-id: svn://10.0.0.236/trunk@117510 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 21:54:41 +00:00