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

817 Коммитов

Автор SHA1 Сообщение Дата
benjamin%smedbergs.us 185c761605 Freeze nsIArray (requires separating nsIMutableArray into another .idl file); also removes NS_NewArray and moves do_QueryElementAt into the glue, r=darin 2006-04-12 15:43:32 +00:00
richm%stanfordalumni.org 3e04746b1b Fix for bug 333406
I had made a change to make 64 bit builds the default on those platforms that
support 64 bit binaries.  However, the expected behavior for other mozilla
components is that you have to explicitly use --enable-64bit to make a 64
bit binary, and default to 32 bit binaries.  So, I made mozldap work like the
other components.
2006-04-11 21:12:58 +00:00
jag%tty.nl 535fd3ad4a Attempt to fix btek and -Ports bustage 2006-03-15 06:17:19 +00:00
bryner%brianryner.com 41e6c02b2f Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
richm%stanfordalumni.org fea1eebb01 bug 327864
LDAP C-SDK support for Mac cross builds
Add a new configure option --with-macos-sdk=dir
2006-02-22 18:59:31 +00:00
richm%stanfordalumni.org 3bcf4f26e7 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. 2006-02-16 23:08:22 +00:00
richm%stanfordalumni.org 835adfc463 use = for sh string tests, not == 2006-02-15 00:33:08 +00:00
richm%stanfordalumni.org 72c0b5bc3f use SVRCORE_LIBS instead of SVRCORE_LIB_PATH 2006-02-14 21:51:42 +00:00
richm%stanfordalumni.org a705f22c0e Use SVRCORE_LIBS not SVRCORE_LIB_PATH 2006-02-14 21:49:10 +00:00
richm%stanfordalumni.org 6ec0954907 spec file for redhat and fedora core - based on the spec file for perl-ldap 2006-02-13 18:41:34 +00:00
richm%stanfordalumni.org 100c150a17 bug 292793
Allow build on Mac OSX
1) There is no RPATH on Darwin, so undefine the RPATH macros before linking
2) Have to use g++ to link
3) The iconv functions are in libiconv
2006-02-10 23:14:00 +00:00
richm%stanfordalumni.org 6af1ffbe3e bug 325625
This fix allows the trunk ldap c sdk build to be used to build the mozilla client.  I was able to use this to build the mozilla 1_8 branch of thunderbird on Fedora Core 4.  Addressbook and typedown addressing work fine.
The gist of the fix is to completely ignore svrcore if not specified, and to imply --with-nspr if --with-mozilla is specified.  If not specified, the client build uses $(DIST)/include/nspr and $(DIST)/lib for the locations of the NSPR files.
2006-02-10 23:08:16 +00:00
richm%stanfordalumni.org b6944c6a11 Whoops - only use name.lib if OS_ARCH is WINNT 2006-02-04 01:32:39 +00:00
richm%stanfordalumni.org d007966ad2 bug 301035 and bug 325518
Enable autoconf build on Windows with cygwin and free MSVC compiler + SDK
1) Don't set the -lsvrcore in SVRCORE_LIBS in configure - instead, do it the
way we do the NSPR and NSS libs, in build.mk
2) For the component LINK macros, use name.lib instead of -lname on Windows
3) The new free MSVC compiler does not have lib.exe - add an autoconf test for
the lib program and use link /lib if missing
4) If using MSVC (which expects DOS style absolute paths) and cygwin (which
uses unix style abs. paths), use cygpath -m on all user supplied paths to make
sure they are in the correct format for cl and link.  It's better to do this
during configure rather than depend on cygwin_wrapper which is much, much
slower.
5) Don't link with the odbc libs (Why did we ever need these!?!??!?)
6) The free MSVC doesn't include afxwin.h, so use the other header files
instead
7) Add libutil to the Windows build, including getting rid of the old Makefile
and adding a new Makefile.in for the autoconf build (the Makefile.client
remains)
8) getopt.c doesn't need lber.h

I verified that these changes also build on Win2k with MSVC 6 SP 3.  I also changed the copyright in the new Makefile.in as suggested by Mark Smith.
2006-02-03 19:28:32 +00:00
richm%stanfordalumni.org dd4682e73a bug 324529
When the malloc fails in the 'v' or 'V' ber_scanf case, we need to break out of the loop and return with an LBER_DEFAULT code.  Also, in the realloc case, we need to save a copy of the old pointer and use either ber_svecfree ('v' case) or ber_bvecfree ('V' case) to clean up the memory.

bug 324525
If the malloc is done to allocate the *bv, but then an lber error is
encountered while doing the ber_skip_tag (due to a bad or malicious client),
the bv->bv_val is set to a random value.  If you then try to use ber_bvfree to
free the bv, it may call free on this uninitialized value, and badness ensues.
I think the proper fix is for ber_get_stringal to set (*bv)->bv_val to NULL and
(*bv)->bv_len to 0 just after the malloc.
2006-02-03 15:55:46 +00:00
richm%stanfordalumni.org 3c45c5ca52 bug 310521
also part of 301035 and 325518

Use $(srcdir) as the location for the .ex file
2006-02-03 15:36:14 +00:00
richm%stanfordalumni.org cbf147e4be fix nss version checking - add svrcore to pkg-config file - fix the way libraries and their symlinks are installed 2006-02-02 17:08:07 +00:00
richm%stanfordalumni.org 928b952409 Even though using --with-system-svrcore, still need to add -lsvrcore to
SVRCORE_LIBS even though we don't need to add the -L/path
2006-01-31 22:52:18 +00:00
richm%stanfordalumni.org a89ef6b382 Change --system-svrcore to --with-system-svrcore 2006-01-31 22:43:15 +00:00
richm%stanfordalumni.org d6a9f5bfb4 Use --system-svrcore with configure to force the build to use svrcore from /usr/include and /usr/lib 2006-01-31 22:08:06 +00:00
richm%stanfordalumni.org d5ba4e2d30 svrcore is installed in /usr/lib and /usr/include, so if the user specifies --system-svrcore
to configure, we can just assume we don't have to do any work to figure out the additional
paths to add to the include and lib paths.
2006-01-31 22:04:14 +00:00
richm%stanfordalumni.org 9ca6e8930c svrcore is installed in /usr/lib and /usr/include, so if the user specifies --system-svrcore
to configure, we can just assume we don't have to do any work to figure out the additional
paths to add to the include and lib paths.
2006-01-31 21:58:13 +00:00
richm%stanfordalumni.org 7ba86f9b3a bug 208655 - just needed to set the two_hosts argument for ldaptool_process_args in ldapcmp.c to pickup both hosts and ports 2006-01-18 23:19:42 +00:00
richm%stanfordalumni.org a47977f13f bug 184968 - only perform terminal manipulation if stdin is a terminal 2006-01-18 23:11:48 +00:00
richm%stanfordalumni.org 66fa3fd912 bug 322576
1) +DSblended can be omitted entirely - it's the default on IA, and ignored on
PA
2) +DD64 is supported on both IA and PA for B.11.23
3) The $ORIGIN linker flag should be added to any B.11.11 or later linker - the
patch to the linker to support this on B.11.11 is pretty old and should be
applied by any customer wanting a supported HP-UX system.  If for some reason
they don't have the patch, the presence of $ORIGIN just causes a couple of
extra path lookups that fail - no big deal.
2006-01-18 19:38:33 +00:00
richm%stanfordalumni.org 971400d4f8 Bug 323307
There were only a few places that needed to be changed.  I needed to change the
order of c++ and cc detection around in configure - it seems that if you do the
cross compilation stuff first, it messes up the "regular" case, which is the
more important one.  In order for the GNU_CC tests to work, you must define
CC=gcc and CXX=g++ on the configure command line.  If building 64 bit, you must
also specify CFLAGS=-m64 and CXXFLAGS=-m64.  I also removed the extra arguments
for static library building as they were not only not necessary but they were
also making the build abort.
2006-01-18 03:46:52 +00:00
richm%stanfordalumni.org 0b500db9b0 bug 323374
Mem and resource leaks in ldapsinit.c
1) I'm pretty sure the reference to socket should be fd instead.  I don't know
why it compiled with socket in there . . . note to self: read compiler warnings
. . .
2) The cert returned by SSL_PeerCertificate is "dup"ed, so we need to call
CERT_DestroyCertificate to release it otherwise we'll leak references.
3) The hostname returned by SSL_RevealURL is strduped and must be freed.
Reviewed by Mark and Pete (Thanks!)
2006-01-17 14:53:57 +00:00
richm%stanfordalumni.org 7d8320ff17 bug 323188: Link order is important when building executables
It also seems to be important in certain cases when using g++
to build shared libraries.
I was having weird errors building the CLUs on linux x86_64.  These turned out to be due to the incorrect ordering of objects on the link line.

The LINK_EXE macro already has everything needed - it is not necessary to
supply extra libs in the form of the LDTOOLS_LIBS.  Just specify them in the
correct order in EXTRA_LIBS.  You don't need to set EXTRA_LIBS for every
platform - on *nix platforms, they are all the same, so just define them in a
common place in the correct order.  Use PLATFORMLIBS to specify platform
dependent libs.

The one tricky thing is that LINK_EXE expects OBJS to have all of the objects.
This works if you only build one executable per makefile, but this makefile
builds several, so you need to get the executable specific .obj file in the
link line as well.  I suppose I could have used target specific variable
assignment to OBJS, but that seemed messy to me, so I just added a $(filter ..)
to the LINK_EXE command which will add all of the .obj files specified in the
executable link target dependency list to the link line.  The filter is to
filter out libraries and other dependencies, which are usually specified
elsewhere.  This seems to work on linux x86_64 and HP IPF 64 just fine.
2006-01-13 15:35:45 +00:00
richm%stanfordalumni.org 7e78507517 use NSS_LIBS instead of NSS_LIB_PATH for the --with-nss case 2006-01-12 18:23:00 +00:00
richm%stanfordalumni.org 0650731a8f 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.
2006-01-11 20:20:13 +00:00
bugzilla%standard8.demon.co.uk 7723360ac8 Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose 2006-01-11 18:51:12 +00:00
bugzilla%standard8.demon.co.uk 96aff8feb4 Bug 92650 directory/xpcom/public/nsLDAP.h should go away. r/sr=dmose 2006-01-11 17:45:47 +00:00
richm%stanfordalumni.org e1f517fe9f remove old, crufty HP-UX code for IPF port 2006-01-10 03:58:39 +00:00
richm%stanfordalumni.org f26f68f5ee use +Olit=all instead of +0lit=all - that is capital-o instead of zero 2006-01-10 02:25:53 +00:00
richm%stanfordalumni.org 69c609a4c7 used endif instead of fi - doh 2006-01-10 02:05:15 +00:00
richm%stanfordalumni.org c398b82631 updated configure for HP-UX IPF 2006-01-09 23:23:15 +00:00
richm%stanfordalumni.org 5953e5d327 Forgot to add an endif 2006-01-09 22:17:17 +00:00
richm%stanfordalumni.org 66969e5074 fixes for bug 322576 - patches for building on HP-UX IPF 2006-01-09 20:08:59 +00:00
bugzilla%standard8.demon.co.uk 72d983f644 Bug 136773 Enable ldap logging on optimized builds. r/sr=dmose 2006-01-09 17:19:57 +00:00
timeless%mozdev.org 7b09668c76 Bug 320498 Fix NewChannel impls to handle null in argument
r=darin sr=darin
2005-12-18 01:50:50 +00:00
gerv%gerv.net 5956d34127 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
cls%seawood.org 8391ba440b First pass at cleaning up ldap's configure.in.
Bug #318149 r=dmose
2005-12-01 03:18:40 +00:00
cls%seawood.org 7675b5564c Fix solaris MDCPUCFG_H settings.
Bug #317599 r=dmose,wtc
2005-11-29 21:22:00 +00:00
cls%seawood.org 4d9eb0274d Explicitly disable pthread support for win32, os2 & beos.
Bug #316919 r=dmose
2005-11-23 06:04:12 +00:00
timeless%mozdev.org 9ef60db03e Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bugzilla%standard8.demon.co.uk 384b370204 Remove long redundant comment about needing to supply a binddn (ex bug 75990) r/sr=dmose over irc. 2005-10-31 19:42:21 +00:00
cls%seawood.org 8fa45dbbb4 Sync config.guess & config.sub with official GNU CVS copies.
Bug #312352 r=bsmedberg
2005-10-14 19:22:06 +00:00
richm%stanfordalumni.org 2548bfaf91 Bug: 309518
Description: Replace ORO Regexp with java 1.4 Pattern/Matcher
Fix Description: I removed any and all references to oro from build.properties and build.xml.  For the code replacement, the conversion was pretty straightforward.  I had to slightly modify the regular expressions but for the most part they just work the same as the oro ones.  ORO uses a PatternInput to hold the state of the iteration over the string to match, but the Matcher class does that implicitly.  For the most part, it didn't matter because the code didn't really use the state, it would just always reset the PatternInput to the beginning of the string, so I just used the String instead.  There was one place where I needed to keep track of state, so I used the Matcher object instead of a Perl5Pattern + PatternInput.  Thanks to nkinder@redhat.com for the review.
2005-09-23 15:05:55 +00:00
dmose%mozilla.org f3c5885743 Fix LDAP control / BerElement encoding error (bug 308511); r+sr=bienvenu 2005-09-14 17:10:17 +00:00
dmose%mozilla.org bf674cd88a Allow the caller to specify the port to the LDAP testing harness. Not part of the build. 2005-09-13 02:22:38 +00:00
dmose%mozilla.org dc15856400 Updated LDAP test harness to do stuff on the main thread and fix various bugs. Not part of the build. 2005-09-08 18:12:31 +00:00
dbaron%dbaron.org 4f125b95bb Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
wr%rosenauer.org d268570368 Bug 297131 follow-up build fix for --enable-ldap-experimental, s+sr=dmose, NPOTB 2005-07-28 05:08:38 +00:00
dmose%mozilla.org d24e58c614 Add basic support for LDAP controls to the LDAP XPCOM SDK, LDAP autocomplete code, and LDAP addressbook (bug 297131). r=bienvenu, sr=roc, a=bsmedberg 2005-07-26 15:27:18 +00:00
dmose%mozilla.org 52b5cab950 Additional testing infrastructure and cleanup; not part of the build. 2005-07-16 18:05:02 +00:00
dmose%mozilla.org 5f2a7ea88e Add some LDAP testing infrastructure. Not part of the build. 2005-07-15 22:16:00 +00:00
dmose%mozilla.org 57656307a6 Allow for compilation with MS Visual Studio 2005 (bug 249782) patch=sdwalker@myrealbox.com, r=dmose@mozilla.org 2005-06-14 21:29:42 +00:00
cls%seawood.org fc284d6ae7 Fix --with-system-nspr
Bug #288637 r=dmose a=caillon
2005-06-02 17:40:05 +00:00
cls%seawood.org 532a095a95 Path translation fixes for msys.
Thanks to Howard Chu <hyc@symas.com> for the patches.
Bug #294122 r=cls a=shaver
2005-06-02 04:21:17 +00:00
cls%seawood.org aae5e30473 Add support for msys uname & cleanup OS_ARCH checks.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls sr=wtc a=shaver
2005-06-01 15:30:48 +00:00
cls%seawood.org 90fcdb00a0 Use dashes instead of backslashes for program options to avoid msys shell expansion.
Thanks to Howard Chu <hyc@symas.com> for the patch.
Bug #294122 r=cls a=shaver
2005-06-01 14:28:35 +00:00
cls%seawood.org ddc5452e4e Allow --enable-debug to accept compiler flags like --enable-optimize
Bug #284767 r=bsmedberg a=shaver
2005-06-01 13:54:02 +00:00
bsmedberg%covad.net 824219d781 Bug 281988 - Chrome registry supports for the xpcnativewrappers=yes flag. Chrome packaging fixup to apply the xpcnativewrappers=yes flag to our application chrome packages for ffox/tbird. This also stops the repackaging of thunderbird chrome. r=mscott+bz a=drivers 2005-05-20 12:58:57 +00:00
dmose%mozilla.org bdb3491460 Make LDAP attributes used by the addressbook customizable via preferences (bug 119291). r=bienvenu@nventure.com, sr+a=shaver@mozilla.org 2005-05-11 04:16:54 +00:00
richm%stanfordalumni.org 8e96d167a5 bump default version to 516 2005-05-10 20:16:32 +00:00
richm%stanfordalumni.org f5403bd2a4 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 2005-05-10 20:08:48 +00:00
richm%stanfordalumni.org 0f7e925e79 fix for 293199: do not automatically set the secure mode (to use port 636) if the user requested the startTLS operation - in this case, we want to use the regular (389) port and negotiate SSL on that connection 2005-05-10 20:08:43 +00:00
richm%stanfordalumni.org 1e00faa2b2 fix for 293042: enable Solaris builds with gcc and enable 64 bit builds as well 2005-05-10 20:08:39 +00:00
richm%stanfordalumni.org 866bde189f fix for 293042: For gcc builds, need to use g++ to link 2005-05-10 20:07:34 +00:00
richm%stanfordalumni.org f3af8166a0 Fix for bug 290482 - add the -l directive to fix the broken linker command 2005-04-25 20:03:49 +00:00
richm%stanfordalumni.org fde909e0d1 Fix for bug 288397 - just remove definition of MAXHOSTNAMELEN since it is not used anywhere 2005-04-25 20:03:40 +00:00
darin%meer.net 2c9176f459 landing missing changes for bug 287648 2005-04-06 01:52:44 +00:00
dmose%mozilla.org d97645cd33 Partial fix for LDAP blocking UI on multiple outstanding requests (bug 257732), patch=vladimir@pobox.com, r=mcs@pearlcrescent.com, sr=shaver@mozilla.org 2005-04-04 21:22:57 +00:00
dmose%mozilla.org 39ff38a288 Address sr comments for style & error-handling in bug 242789. Patch from bienvenu@nventure.com, r=sspitzer, sr=dmose 2005-04-04 21:01:15 +00:00
bsmedberg%covad.net 085fdd3fbb Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-04 17:21:39 +00:00
cbiesinger%web.de 7e9f04346f Bug 288011 eliminate nsISSLSocketProvider
r=darin sr=bz
2005-04-03 17:22:58 +00:00
richm%stanfordalumni.org 6135545a16 add support for Red Hat Enterprise Linux 4 - kernel 2.6 2005-03-15 01:57:53 +00:00
richm%stanfordalumni.org c594f166bd Use DEFS instead of CFLAGS for the argpin and pkcs11 defs 2005-03-10 16:07:53 +00:00
richm%stanfordalumni.org 84730cb1c2 Use NSPR 4.4.1, NSS 3.9.3, SVRCORE 4.0 2005-03-10 16:07:44 +00:00
richm%stanfordalumni.org e662d723e5 Change DEFAULT_VENDOR_VERSION to 515 (5.15) 2005-03-10 16:07:38 +00:00
richm%stanfordalumni.org 60ea84187e HAVE_SVRCORE is now an external option since it has been open sourced in mozilla/security/svrcore 2005-03-10 16:07:34 +00:00
richm%stanfordalumni.org ca8dac8b85 Fix bug 281140 - patch submitted by ulf@loop.to
The getpass() function on HP-UX only allows 8 characters.
Since there is not (yet?) a better function, this fix
allows up to 256 character passwords using the raw
tty interfaces for no echo.
2005-02-11 20:02:47 +00:00
darin%meer.net cc7d38e28d landing backend changes for bug 134105 "SOCKS5: DNS lookups should occur on proxy, not client side." (remote dns pref disabled by default) patch by malsmith@cs.rmit.edu.au, r=biesi, sr=darin 2004-12-16 02:46:12 +00:00
rlk%trfenv.com af39eec4b0 bug 271143 - Java SDK doesn't compile on Java 1.5. r=mcs@pearlcrescent.com, r=erhyuan@pacbell.net 2004-11-30 01:45:19 +00:00
mcs%pearlcrescent.com 5fe47233c2 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().
2004-10-15 13:10:04 +00:00
mcs%pearlcrescent.com efb382c9df Additional fix for 141754 - Enhancement: Should support startTls:
Remove extra semicolon which causes an error on some non-gcc compilers.
2004-09-10 13:03:03 +00:00
mcs%pearlcrescent.com 7752583403 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.
2004-09-09 18:50:05 +00:00
mcs%pearlcrescent.com 06b18dd1b8 Fix bug # 242143 - ldap_extended_operation(3) sends requestValue
when not requested.
  Now if a NULL struct berval * is passed for the extended op data,
  no value is sent.
2004-09-09 18:23:39 +00:00
darin%meer.net 43c3948f99 landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are
degrading performance" r=lorenzo sr=bryner
2004-09-01 19:55:58 +00:00
mcs%pearlcrescent.com ff40976c0d Commit fix for bug #244231 from ldapcsdk_50_client_branch:
Add support for generating PDB-format debug symbols with MSVC,
  by setting MOZ_DEBUG_SYMBOLS=1 in the environment. This is to
  be used in place of MOZ_PROFILE. r=wtc, dmose.
2004-08-27 13:24:29 +00:00
cls%seawood.org c1012ce8c7 Update comments and use enhanced cygwin-wrapper script for nspr & ldap.
Thanks to Brian Bober <netdragon@gmail.com> for the patch.
Bug #245918 r=cls
2004-08-19 16:27:08 +00:00
mcs%pearlcrescent.com 3846649157 Fix bug # 255186 - 64 bit: VLV response control not parsed correctly. 2004-08-11 13:30:32 +00:00
mcs%pearlcrescent.com 98c87eb0dc Additional fix for bug #246694 - 64-bit build: incorrect handling of
password policy response.
2004-08-10 12:36:08 +00:00
mcs%pearlcrescent.com e2fb5e97ad Fix bug # 245794 - LDAP C SDK non-autoconf build problems
Add Makefile.client under mozilla/directory/c-sdk/config and call it
    from mozilla/directory/Makefile (this "new" Makefile.client is
    the same as the old mozilla/directory/c-sdk/Makefile that was
    recently cvs removed).
  Simplify the logic in mozilla/directory/build.mk and make sure the
    command line tools are linked with the C++ compiler on all platforms
    where necessary.
  Recognize HP/UX 11.11 (treated the same as 11.00).
  Replace an incorrect dependency on Makefile with a dependency on
    Makefile.client inside the command line tools Makefile.client.
2004-07-09 18:09:39 +00:00
cbiesinger%web.de 4a79ca6a48 removing extra semicolon to fix gcc 3.4 bustage, bug 249839 2004-07-05 22:34:13 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
mcs%pearlcrescent.com f4f961dd1b Fix bug # 246694 - 64-bit build: incorrect handling of
password policy response.
   The 'i' format specifier to ber_scanf() requires a long arg, not int.
2004-06-16 13:18:48 +00:00
bienvenu%nventure.com 18fb43c4e9 fix for ldap operation ref-counting problem introduced in fix for 242789, r=dmose, sr=bzbarsky@mit.edu 2004-06-08 17:25:50 +00:00
bienvenu%nventure.com 20eb467ef6 fix for 242789 fallback from v3 to v2 for ldap, r/sr=sspitzer, for baking on the trunk, with moa from dmose 2004-05-28 17:47:17 +00:00
bienvenu%nventure.com 7a225dfb0a fix 239729, crash in nsLDAPConnection::RemovePendingOperation, usually when you backspace during ldap autocomplete in compose window r=dmose, sr=mscott 2004-05-28 14:59:08 +00:00
mcs%pearlcrescent.com e96f99997c Commit to the trunk the fix for bug # 223987 - Fix LDAP library
makefile to play nice with "make -jN" builds with MSVC.
2004-05-24 14:25:07 +00:00
mcs%pearlcrescent.com f9b8f9f339 Commit to the trunk - Fix bug # 212265 - files missing in .cvsignore.
r+sr=dmose.
2004-05-24 14:02:24 +00:00
mcs%pearlcrescent.com a162e9bcb1 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++
2004-05-24 13:03:16 +00:00
cls%seawood.org 3814afe365 Use the proper flags when building with --enable-debug --enable-optimize.
Thanks to Wan-Teh Chang <wchang0222@aol.com> for the patch.
Bug #243079 r=cls
2004-05-20 20:21:33 +00:00
timeless%mozdev.org 7b5970dc1f Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin
2004-05-17 23:38:25 +00:00
kyle.yuan%sun.com bbba00cf85 Bug 242990 Crash when LDAP query results content none UTF8 characters
r+sr=dmose, patch by wind.li@sun.com
2004-05-13 07:21:12 +00:00
cls%seawood.org 447f8d8f04 Allow ldap to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=dmose
2004-04-26 22:54:01 +00:00
gerv%gerv.net 2a491d3598 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-25 21:07:34 +00:00
jst%mozilla.jstenback.com d138dce9fb Fixing bug 227497. Cleaning up some string usage in nsLDAPChannel. r+sr=peterv@propagandism.org 2004-04-13 03:53:38 +00:00
cls%seawood.org 0114b6ff0c Add support for cross-compiling to i386-mingw32
Bug #222013 r=dmose
2004-03-15 07:38:54 +00:00
cls%seawood.org f800c09685 Fixing whatever got missed between the missed bug 141834 checkin & bug 134113 checkin. 2004-03-15 07:15:51 +00:00
cls%seawood.org 3a8ed5d895 OpenVMS build changes. b=180291. r=mcs. sr=brendan 2004-03-15 06:51:00 +00:00
cls%seawood.org 4141b45420 #215581
r=mark smith
OS/2 changes for GCC 3.2.2
2004-03-15 06:35:14 +00:00
cls%seawood.org 7f12986477 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 5dfbbc63d2 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 d433db0011 #188247
r=mcs, sr=dmose
OS/2 GCC work for LDAP
2004-03-15 06:25:32 +00:00
cls%seawood.org 3222fd3794 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 88572b8722 Gratuitous whitespace change to represent checkin for bug 53764. 2004-03-15 06:13:51 +00:00
cls%seawood.org a4e39fad01 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 a838b2185a Performance enhancement for big group entry, 231623 2004-03-03 15:09:59 +00:00
bienvenu%nventure.com d91edd908c 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 7a16b37b18 fix for Schema retrieval crashes, bug 232298 2004-02-25 23:11:43 +00:00
etsai%netscape.com d48f3eb7ef Move to version 4.18, preparing for next release. 2004-02-25 23:08:51 +00:00
darin%meer.net 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bienvenu%nventure.com bd5152ffc2 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 938a8d9ccd support ldap v3, patch by dmose, r/sr=sspitzer 198168 2004-02-14 02:10:45 +00:00
kairo%kairo.at 9ec4b6c21a 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 1804c4910c 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 1f4ab81acd 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 f0bfff2628 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 fdb189e064 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 057567a6cb 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 784efdf4a9 Add placeholder README for the acceptance test. 2003-12-19 16:14:52 +00:00
mcs%netscape.com 571551ce3f Add Windows demangle and winkill utilities. 2003-12-04 16:05:12 +00:00
dbaron%dbaron.org f35f2c3708 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 0f1a2be800 Add assorted tools used by some of the mozilla/directory (LDAP) developers. 2003-11-25 15:08:17 +00:00
peter%propagandism.org 816b00b6cc Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
bienvenu%nventure.com 87f9c532c4 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 cde580375a 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 538b87bab9 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 07e3c65080 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 405555e9c6 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 1335021487 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 bb9cdbd80b Improve the PRLDAP_OPT_IO_MAX_TIMEOUT related comment. 2003-10-15 13:19:01 +00:00
simford.dong%sun.com 9eac5eb215 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 6a2cb120bd 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 f89fef792f 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 71eee06b55 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 7841f2b3bf Fix bug # 206777 - obsolete entries in
mozilla/directory/c-sdk/ldap/build/.cvsignore
2003-10-01 15:02:23 +00:00
mcs%netscape.com ed2f75ee6d Fix bug # 206776 - remove obsolete files under
mozilla/directory/c-sdk/ldap/libraries/msdos/winsock
2003-10-01 14:58:35 +00:00