797 Commits

Author SHA1 Message Date
richm%stanfordalumni.org
6a376bba04 bump version to 6.0.4
git-svn-id: svn://10.0.0.236/trunk@228391 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 19:22:32 +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
dd758b072f initial import of docbook contribution from Sun
git-svn-id: svn://10.0.0.236/trunk@228382 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-20 14:26:52 +00:00
ulf%loop.to
0ffda1fe3f Fix to fix for bug 360035
Fix Description:
The patch was originally written for SDK 5.17.  In recent SDKs we should
use ber_tag_t or ber_len_t in place of unsigned longs.


git-svn-id: svn://10.0.0.236/trunk@228342 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 21:00:26 +00:00
ulf%loop.to
8f4546bb0d Bug: 360035
Description: server response controls lost in referral chase
Fix Description:
1) Add a nsldapi_find_controls() which skips through a ber to find a control
tag, and then calls on nsldapi_get_controls() to extract them.
2) During referral chase, stash the controls received at the end of the chase
in the request structure.
3) When the referral chase is over and we manufacture a response, add the
stashed response controls.


git-svn-id: svn://10.0.0.236/trunk@228331 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 18:32:17 +00:00
gerv%gerv.net
d3a223f8be Bug 368747 - relicense PerLDAP under the tri-license.
git-svn-id: svn://10.0.0.236/trunk@228312 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-19 11:27:06 +00:00
bugzilla%standard8.demon.co.uk
435f56d246 Fix Bug 124553 and Bug 297549 - Changes to various LDAP parameters in Address Book window not reflected by Quick search until restart. r=Neil,sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@228246 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-18 18:17:59 +00:00
nkinder%redhat.com
2555608e24 Resolves: 378218
Summary: Re-implemented a bugfix in the FIRSTKEY subroutine.  This fix was re-implmented to allow us to relicense PerLDAP.  The re-implementation work was done by nhosoi%redhat.com.


git-svn-id: svn://10.0.0.236/trunk@228007 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-13 22:48:07 +00:00
richm%stanfordalumni.org
1763a59b15 Resolves: bug 256515
Description: OpenBSD: ld libldap50.a error
Fix Description: Use the c compiler (gcc) to link.  Always use the -fPIC -shared flags for linking, no matter what the chip arch is.


git-svn-id: svn://10.0.0.236/trunk@227723 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-08 22:33:01 +00:00
nkinder%redhat.com
eaa5681d8e Resolves: 383307
Summary: Make usage of SASL thread-safe.


git-svn-id: svn://10.0.0.236/trunk@227710 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-08 17:57:11 +00:00
nkinder%redhat.com
3e2fd41acd Resolves: 382817
Summary: Fixed a memory leak of the SASL I/O socket arg when closing a connection.


git-svn-id: svn://10.0.0.236/trunk@227490 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-04 21:50:01 +00:00
bugzilla%standard8.demon.co.uk
9960b92c9a Bug 382500 Remove obsolete resources (contents.rdf) in directory/xpcom/base (now that SM is an xul app). r/sr=Neil
git-svn-id: svn://10.0.0.236/trunk@227403 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-02 08:08:08 +00:00
nkinder%redhat.com
94be4969d9 Resolves: 380920
Summary: Bumped up version number to 4.18 in addition to fixing the clean build targets.


git-svn-id: svn://10.0.0.236/trunk@226547 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 21:42:44 +00:00
nkinder%redhat.com
7aa6718020 Resolves: 380215
Summary:  Fixed javadoc comments that were causing warnings at build time.


git-svn-id: svn://10.0.0.236/trunk@226263 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 17:35:41 +00:00
bugzilla%standard8.demon.co.uk
d4481bf799 Part of Bug 359716 - fix cross compilation for mac and re-enable the cygwin wrapper so that SeaMonkey and Thunderbird client builds work. r=mcs
git-svn-id: svn://10.0.0.236/trunk@224467 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 21:05:33 +00:00
bugzilla%standard8.demon.co.uk
be16a98de5 Bug 376782 Move ldap.properties to suite's locale directory. r=dmose/KaiRo,sr=Neil
git-svn-id: svn://10.0.0.236/trunk@224442 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-12 14:49:08 +00:00
bugzilla%standard8.demon.co.uk
e3a2e10e02 Undo previous change for fixing windows bustage now we're not building the c-sdk head until I get it approved properly
git-svn-id: svn://10.0.0.236/trunk@224095 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-03 19:17:33 +00:00
bugzilla%standard8.demon.co.uk
d06449b633 Attempt to fix windows bustage when building latest c-sdk with mozilla apps as a result of bug 359716.
git-svn-id: svn://10.0.0.236/trunk@222646 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 17:56:08 +00:00
gerv%gerv.net
e54511e0c1 Bug 285347 - relicense Java LDAP SDK.
git-svn-id: svn://10.0.0.236/trunk@222586 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-29 14:01:32 +00:00
anton.bobrov%sun.com
b06ea1e3fd [Bug 372858] ldap tools build without svrcore is broken.
git-svn-id: svn://10.0.0.236/trunk@222318 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-24 13:34:51 +00:00
nkinder%redhat.com
d7e2ce7cff Resolves: 372440
Author: sparkins@redhat.com
Summary: Re-implemented bug-fix to add a new constructor for the JSSESocketFactory class that allows an explicit socket factory to be passed in.  This bug-fix was reimplemented in order to re-license the LDAP JDK under the standard Mozilla tri-license.


git-svn-id: svn://10.0.0.236/trunk@222152 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 18:52:57 +00:00
nkinder%redhat.com
f34b96b20a Resolves: 372194, 62700
Author: sparkins@redhat.com
Summary: Re-implemented two bug fixes in the LDIFWriter class in order to allow us to relicense the LDAP JDK under the standard Mozilla tri-license.  The first bug had to do with the printEntryStart() method of the LDIFWriter class does not handling non-printable DN's properly.  The second bug had to do with only the first value of a multi-valued attribute being written out in LDIF format.


git-svn-id: svn://10.0.0.236/trunk@222151 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-21 18:21:16 +00:00
nkinder%redhat.com
34dc3ac6f2 Resolves: 372194, 62700
Author: sparkins@redhat.com
Summary: Re-implemented two bug fixes in the LDIFWriter class in order to allow us to relicense the LDAP JDK under the standard Mozilla tri-license.  The first bug had to do with the printEntryStart() method of the LDIFWriter class does not handling non-printable DN's properly.  The second bug had to do with only the first value of a multi-valued attribute being written out in LDIF format.


git-svn-id: svn://10.0.0.236/trunk@222047 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 23:06:02 +00:00
nkinder%redhat.com
760e9b4b94 Resolves: 372440
Author: sparkins@redhat.com
Summary: Re-implemented bug-fix to add a new constructor for the JSSESocketFactory class that allows an explicit socket factory to be passed in.  This bug-fix was reimplemented in order to re-license the LDAP JDK under the standard Mozilla tri-license.


git-svn-id: svn://10.0.0.236/trunk@222046 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 22:59:53 +00:00
bugzilla%standard8.demon.co.uk
e0bf6ba8ca Bug 374508 Log if we can't translate an ldap error and fix some warnings in nsLDAPOperation.cpp. r/sr=bienvenu
git-svn-id: svn://10.0.0.236/trunk@222039 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-19 19:50:05 +00:00
richm%stanfordalumni.org
3a0887d645 bump version to 6.0.3
git-svn-id: svn://10.0.0.236/trunk@221848 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-13 23:40:35 +00:00
bugzilla%standard8.demon.co.uk
e8a2b5393f Bug 124897 Implement editing of a directory in the LDAP XPCOM SDK. Original patch by peterv, updated and revised by me. r=bienvenu,sr=mscott
git-svn-id: svn://10.0.0.236/trunk@221612 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-09 16:33:49 +00:00
nhosoi%redhat.com
9a10c97450 Bug 372411: command line interface fails: NSLDIF32V6.0 could not be found
Description: nsldif32.tdf is the template file; nsldif32.def is a derived file in the autotool build.  It needs to be in CVS not to break the old style build.


git-svn-id: svn://10.0.0.236/trunk@221486 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 22:17:11 +00:00
anton.bobrov%sun.com
9f11d665a8 [Bug 371361] autoconf build is broken on AIX
git-svn-id: svn://10.0.0.236/trunk@220873 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 17:05:00 +00:00
anton.bobrov%sun.com
7a3d6bccad new package.mk to make tarballs for binary dist, ftp or otherwise.
git-svn-id: svn://10.0.0.236/trunk@220811 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-23 12:56:40 +00:00
bugzilla%standard8.demon.co.uk
3425a112cc Bug 359716 Fix OS/2 builds ahead of upgrading SeaMonkey and Thunderbird to the latest c-sdk. r=mcs.
git-svn-id: svn://10.0.0.236/trunk@220340 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-15 21:25:00 +00:00
gerv%gerv.net
e26a4bb710 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@220124 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-14 16:58:55 +00:00
anton.bobrov%sun.com
d930f3fb30 Bug 367289: rev 1 of the patch
git-svn-id: svn://10.0.0.236/trunk@219040 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-27 08:49:53 +00:00
richm%stanfordalumni.org
338520afad Resolves: bug 228704
Description: Windows: libldap and the LDAP tools should support SASL/Digest
Fix Description: The biggest change was to hack sasl.m4 to make AC_CHECK_LIB work on Windows.  I
had to override LIBS to be able to pass in /link /LIBPATH:c:/path/to/sasl
libsasl.lib, libsasl2.lib, and sasl32.lib.
Another big change was to implement getlogin() on Windows, required by
ldaptool-sasl.c.  The implementation is pretty simple.
There were several places in the Makefiles that assumed Windows meant no
support for SASL, so I just changed them, and added some support for SASL_LIBS
in some places where it was missing.


git-svn-id: svn://10.0.0.236/trunk@218853 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-24 20:53:02 +00:00
anton.bobrov%sun.com
273855b39c oneliner: use COMPONENT_FTP_SERVER var instead of redundant ftp-rel name.
git-svn-id: svn://10.0.0.236/trunk@218801 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 10:40:07 +00:00
anton.bobrov%sun.com
97cf77a912 Removal of suncsdk module as requested by Gervase Markham <gerv@mozilla.org>
git-svn-id: svn://10.0.0.236/trunk@218540 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 20:58:54 +00:00
richm%stanfordalumni.org
501325e04b Resolves: bug 366335
Description: Make libldif public - windows specific fixes
Fix Description: Windows needed a nsldif32.tdf file in order to generate
the nsldif32.def file using the libldif.ex file (committed in the previous
commit).
Also, it has been a while since the .def files were generated.  The libX.ex
files have had quite a few changes, and we needed to regenerate all of the
.def files.
Finally, this will be version 6.0.2 of the mozilla ldap c sdk.


git-svn-id: svn://10.0.0.236/trunk@218392 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-15 21:21:50 +00:00
richm%stanfordalumni.org
4d238ec77d Resolves: bug 366335
Description: Make libldif public - fix Solaris build
Fix Description: libldif
   needs to specify the exports.  I added a libldif.ex and fixed
   libldif/Makefile.in to correctly generate and use the exports listed in the
   file.


git-svn-id: svn://10.0.0.236/trunk@218377 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-15 03:38:38 +00:00
anton.bobrov%sun.com
f196e0bdb8 Bug 364812 merging Sun and Mozilla ldap tools
git-svn-id: svn://10.0.0.236/trunk@218121 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 15:54:50 +00:00
anton.bobrov%sun.com
6c5bc836d2 Bug 362619 merging Sun and Mozilla libldap: merging common srcs.
git-svn-id: svn://10.0.0.236/trunk@218112 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 12:52:33 +00:00
richm%stanfordalumni.org
a403a63bac Bump rev to 2
- Remove buildroot = "/" checking
- Remove buildroot removal from %%build section


git-svn-id: svn://10.0.0.236/trunk@218083 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 21:32:25 +00:00
richm%stanfordalumni.org
3ef8d02b46 Resolves: bug 366335
Description: Make libldif public
Fix Description: Copy/paste the makefile code to build the shared library in addition to the static library from libldap/Makefile.in.  The build will now build both libldif60.so and libldif60.a, and package/distribute both of them.  I changed include/Makefile.in to export ldif.h with the other public header files, and changed ldif.h to add a blurb explaining that these interfaces were formerly private and use with caution.
Since this is a non trivial change, I bumped the version number to 6.0.1.


git-svn-id: svn://10.0.0.236/trunk@218063 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-09 18:43:03 +00:00
richm%stanfordalumni.org
474babe745 svrcore was still using the -e test which is broken with test on traditional unix bourne shell systems
git-svn-id: svn://10.0.0.236/trunk@217129 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-18 17:01:07 +00:00
mozilla%weilbacher.org
c6bdce8b5b Bug 351246 (Part 4). Recreated configure was still missing
git-svn-id: svn://10.0.0.236/trunk@217025 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-15 19:00:57 +00:00
mozilla%weilbacher.org
d9604b2cd3 [OS/2] Bug 351246: Load Mozilla into Highmem on OS/2. Part 4, changes to LDAP build config (LDAP trunk version). r=mkaply, r=mcs
git-svn-id: svn://10.0.0.236/trunk@216963 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-13 22:12:16 +00:00
gerv%gerv.net
a54c420f30 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@216839 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-11 09:45:41 +00:00
anton.bobrov%sun.com
f10c871ff7 fix previous commit
git-svn-id: svn://10.0.0.236/trunk@216353 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-03 02:43:16 +00:00
anton.bobrov%sun.com
968e6d4f82 Bug 357668: merging Sun and Mozilla libldap: bring new srcs unique to Sun branch
git-svn-id: svn://10.0.0.236/trunk@215197 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-13 13:52:52 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
richm%stanfordalumni.org
6d79209ce9 fix sasl include path lookup - look in withval/include/sasl first
git-svn-id: svn://10.0.0.236/trunk@213499 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-11 16:02:30 +00:00