643 Commits

Author SHA1 Message Date
richm%stanfordalumni.org
5822174eaf Fix for bug 290482 - add the -l directive to fix the broken linker command
git-svn-id: svn://10.0.0.236/trunk@172699 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-25 20:03:49 +00:00
richm%stanfordalumni.org
391eab0f59 Fix for bug 288397 - just remove definition of MAXHOSTNAMELEN since it is not used anywhere
git-svn-id: svn://10.0.0.236/trunk@172698 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-25 20:03:40 +00:00
darin%meer.net
3c8d5a66a9 landing missing changes for bug 287648
git-svn-id: svn://10.0.0.236/trunk@171766 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-06 01:52:44 +00:00
dmose%mozilla.org
bd42032802 Partial fix for LDAP blocking UI on multiple outstanding requests (bug 257732), patch=vladimir@pobox.com, r=mcs@pearlcrescent.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@171602 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:22:57 +00:00
dmose%mozilla.org
d35fb02a45 Address sr comments for style & error-handling in bug 242789. Patch from bienvenu@nventure.com, r=sspitzer, sr=dmose
git-svn-id: svn://10.0.0.236/trunk@171597 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 21:01:15 +00:00
bsmedberg%covad.net
c891331f56 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171570 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-04 17:21:39 +00:00
cbiesinger%web.de
30848c34f2 Bug 288011 eliminate nsISSLSocketProvider
r=darin sr=bz


git-svn-id: svn://10.0.0.236/trunk@171533 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-03 17:22:58 +00:00
richm%stanfordalumni.org
4ad846b91f add support for Red Hat Enterprise Linux 4 - kernel 2.6
git-svn-id: svn://10.0.0.236/trunk@170673 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-15 01:57:53 +00:00
richm%stanfordalumni.org
627ddbe221 Use DEFS instead of CFLAGS for the argpin and pkcs11 defs
git-svn-id: svn://10.0.0.236/trunk@170519 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 16:07:53 +00:00
richm%stanfordalumni.org
36be8f6935 Use NSPR 4.4.1, NSS 3.9.3, SVRCORE 4.0
git-svn-id: svn://10.0.0.236/trunk@170518 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 16:07:44 +00:00
richm%stanfordalumni.org
f16f7c835e Change DEFAULT_VENDOR_VERSION to 515 (5.15)
git-svn-id: svn://10.0.0.236/trunk@170517 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 16:07:38 +00:00
richm%stanfordalumni.org
0c7d37a773 HAVE_SVRCORE is now an external option since it has been open sourced in mozilla/security/svrcore
git-svn-id: svn://10.0.0.236/trunk@170516 18797224-902f-48f8-a5cc-f745e15eee43
2005-03-10 16:07:34 +00:00
richm%stanfordalumni.org
7702aca80b 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.


git-svn-id: svn://10.0.0.236/trunk@169120 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-11 20:02:47 +00:00
darin%meer.net
5bb8f98045 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
git-svn-id: svn://10.0.0.236/trunk@166776 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-16 02:46:12 +00:00
rlk%trfenv.com
d6dd3ac250 bug 271143 - Java SDK doesn't compile on Java 1.5. r=mcs@pearlcrescent.com, r=erhyuan@pacbell.net
git-svn-id: svn://10.0.0.236/trunk@165925 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-30 01:45:19 +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
7d734689e8 Additional fix for 141754 - Enhancement: Should support startTls:
Remove extra semicolon which causes an error on some non-gcc compilers.


git-svn-id: svn://10.0.0.236/trunk@162072 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-10 13:03:03 +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
3b1008e4ea 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.


git-svn-id: svn://10.0.0.236/trunk@161996 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-09 18:23:39 +00:00
darin%meer.net
8f80ca4f6b landing non-nspr portion of patch for bug 239358 "DNS: Reverse lookups are
degrading performance" r=lorenzo sr=bryner


git-svn-id: svn://10.0.0.236/trunk@161600 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 19:55:58 +00:00
mcs%pearlcrescent.com
e71faa26f0 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.


git-svn-id: svn://10.0.0.236/trunk@161387 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-27 13:24:29 +00:00
cls%seawood.org
ad1967bd38 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


git-svn-id: svn://10.0.0.236/trunk@161004 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 16:27:08 +00:00
mcs%pearlcrescent.com
84a0bb7649 Fix bug # 255186 - 64 bit: VLV response control not parsed correctly.
git-svn-id: svn://10.0.0.236/trunk@160664 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-11 13:30:32 +00:00
mcs%pearlcrescent.com
7219677cd4 Additional fix for bug #246694 - 64-bit build: incorrect handling of
password policy response.


git-svn-id: svn://10.0.0.236/trunk@160599 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 12:36:08 +00:00
mcs%pearlcrescent.com
c0fe3f7219 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.


git-svn-id: svn://10.0.0.236/trunk@158950 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-09 18:09:39 +00:00
cbiesinger%web.de
d511ca850c removing extra semicolon to fix gcc 3.4 bustage, bug 249839
git-svn-id: svn://10.0.0.236/trunk@158768 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-05 22:34:13 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
mcs%pearlcrescent.com
7673a7235e 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.


git-svn-id: svn://10.0.0.236/trunk@157961 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-16 13:18:48 +00:00
bienvenu%nventure.com
a89bc0af92 fix for ldap operation ref-counting problem introduced in fix for 242789, r=dmose, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@157592 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-08 17:25:50 +00:00
bienvenu%nventure.com
73c92166c7 fix for 242789 fallback from v3 to v2 for ldap, r/sr=sspitzer, for baking on the trunk, with moa from dmose
git-svn-id: svn://10.0.0.236/trunk@157066 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 17:47:17 +00:00
bienvenu%nventure.com
38d1368cea fix 239729, crash in nsLDAPConnection::RemovePendingOperation, usually when you backspace during ldap autocomplete in compose window r=dmose, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@157049 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-28 14:59:08 +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
77d7fed96e 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


git-svn-id: svn://10.0.0.236/trunk@156658 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 20:21:33 +00:00
timeless%mozdev.org
d5f9c7bdbe Bug 243621 Standardize QueryInterface without throw
r=neil sr=darin


git-svn-id: svn://10.0.0.236/trunk@156489 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-17 23:38:25 +00:00
kyle.yuan%sun.com
4b2e8a5dc3 Bug 242990 Crash when LDAP query results content none UTF8 characters
r+sr=dmose, patch by wind.li@sun.com


git-svn-id: svn://10.0.0.236/trunk@156354 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-13 07:21:12 +00:00
cls%seawood.org
cec069bfe1 Allow ldap to accept multiple --{enable,disable}-{debug,optimize} args.
Bug #54828 r=dmose


git-svn-id: svn://10.0.0.236/trunk@155555 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-26 22:54:01 +00:00
gerv%gerv.net
8b69962ee3 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155500 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-25 21:07:34 +00:00
jst%mozilla.jstenback.com
fd0ce912f6 Fixing bug 227497. Cleaning up some string usage in nsLDAPChannel. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@154767 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 03:53:38 +00:00
cls%seawood.org
bface3367e Add support for cross-compiling to i386-mingw32
Bug #222013 r=dmose


git-svn-id: svn://10.0.0.236/trunk@153976 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 07:38:54 +00:00
cls%seawood.org
61b6015bde Fixing whatever got missed between the missed bug 141834 checkin & bug 134113 checkin.
git-svn-id: svn://10.0.0.236/trunk@153975 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 07:15:51 +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
9e735e6c77 #215581
r=mark smith
OS/2 changes for GCC 3.2.2


git-svn-id: svn://10.0.0.236/trunk@153973 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:35:14 +00:00
cls%seawood.org
f4f9ad28dc 198462 patch by rich cannings cannings@math.ucalgary.ca r=mcs sr=dmose a=mkaply Get LDAP to build on OpenBSD
git-svn-id: svn://10.0.0.236/trunk@153972 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:28:55 +00:00
cls%seawood.org
6ebabeded5 Whitespace change to represent checkin for bug 158920.
Use 'mount -' to get cygdrive mountpoint rather than assuming /cygdrive.
Bug #158920 r=bryner


git-svn-id: svn://10.0.0.236/trunk@153971 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:27:56 +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
cls%seawood.org
b0d06930a7 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


git-svn-id: svn://10.0.0.236/trunk@153969 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:17:21 +00:00
cls%seawood.org
e6112a42c4 Gratuitous whitespace change to represent checkin for bug 53764.
git-svn-id: svn://10.0.0.236/trunk@153968 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-15 06:13:51 +00:00
cls%seawood.org
b592b64e77 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


git-svn-id: svn://10.0.0.236/trunk@153831 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 07:46:38 +00:00
etsai%netscape.com
8f1f422020 Performance enhancement for big group entry, 231623
git-svn-id: svn://10.0.0.236/trunk@153479 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 15:09:59 +00:00