659 Commits

Author SHA1 Message Date
dmose%mozilla.org
e643bb9796 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
git-svn-id: svn://10.0.0.236/trunk@176617 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-26 15:27:18 +00:00
dmose%mozilla.org
8aa46e8522 Additional testing infrastructure and cleanup; not part of the build.
git-svn-id: svn://10.0.0.236/trunk@176169 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-16 18:05:02 +00:00
dmose%mozilla.org
8400db15af Add some LDAP testing infrastructure. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@176158 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-15 22:16:00 +00:00
dmose%mozilla.org
82bf27c953 Allow for compilation with MS Visual Studio 2005 (bug 249782) patch=sdwalker@myrealbox.com, r=dmose@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@174589 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 21:29:42 +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
cls%seawood.org
fcbaf06a5c 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


git-svn-id: svn://10.0.0.236/trunk@173917 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 15:30:48 +00:00
cls%seawood.org
448f178000 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


git-svn-id: svn://10.0.0.236/trunk@173906 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 14:28:35 +00:00
cls%seawood.org
6903c9bf4c Allow --enable-debug to accept compiler flags like --enable-optimize
Bug #284767 r=bsmedberg a=shaver


git-svn-id: svn://10.0.0.236/trunk@173897 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 13:54:02 +00:00
bsmedberg%covad.net
9512e8f354 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
git-svn-id: svn://10.0.0.236/trunk@173628 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-20 12:58:57 +00:00
dmose%mozilla.org
6ebf12f1b5 Make LDAP attributes used by the addressbook customizable via preferences (bug 119291). r=bienvenu@nventure.com, sr+a=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@173284 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-11 04:16:54 +00:00
richm%stanfordalumni.org
f98185ba08 bump default version to 516
git-svn-id: svn://10.0.0.236/trunk@173262 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 20:16:32 +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
richm%stanfordalumni.org
09d1d3026a 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
git-svn-id: svn://10.0.0.236/trunk@173258 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 20:08:43 +00:00
richm%stanfordalumni.org
3c85d17b6a fix for 293042: enable Solaris builds with gcc and enable 64 bit builds as well
git-svn-id: svn://10.0.0.236/trunk@173257 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 20:08:39 +00:00
richm%stanfordalumni.org
bce72ec4c9 fix for 293042: For gcc builds, need to use g++ to link
git-svn-id: svn://10.0.0.236/trunk@173256 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-10 20:07:34 +00:00
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