628 Commits

Author SHA1 Message Date
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
bienvenu%nventure.com
1aa9a5f271 fix ldap connections not closing properly by breaking cycle, r=dmose, sr=mscott 206018
git-svn-id: svn://10.0.0.236/trunk@153249 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:30:30 +00:00
etsai%netscape.com
e69bb19115 fix for Schema retrieval crashes, bug 232298
git-svn-id: svn://10.0.0.236/trunk@153245 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:11:43 +00:00
etsai%netscape.com
e7c0879e21 Move to version 4.18, preparing for next release.
git-svn-id: svn://10.0.0.236/trunk@153244 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-25 23:08:51 +00:00
darin%meer.net
55688e6410 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt
git-svn-id: svn://10.0.0.236/trunk@152905 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-19 02:44:03 +00:00
bienvenu%nventure.com
e03d038f58 fix build bustage in nsLDAPChannel for port platforms that define MOZ_LDAP_XPCOM_EXPERIMENTAL, not part of default build, 198168
git-svn-id: svn://10.0.0.236/trunk@152792 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-15 16:58:01 +00:00
bienvenu%nventure.com
0c53d7eca8 support ldap v3, patch by dmose, r/sr=sspitzer 198168
git-svn-id: svn://10.0.0.236/trunk@152772 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-14 02:10:45 +00:00
kairo%kairo.at
9eeba6dafc 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
git-svn-id: svn://10.0.0.236/trunk@152289 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-04 14:24:38 +00:00
jst%mozilla.jstenback.com
6629ad58f7 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@152045 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-29 22:04:45 +00:00
bsmedberg%covad.net
7e08b118b7 Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150973 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
9706f93476 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet.
git-svn-id: svn://10.0.0.236/trunk@150961 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-07 01:22:31 +00:00
mcs%netscape.com
13f9c6562e Bug fix: root CA shared lib was being copied when it should not have been.
git-svn-id: svn://10.0.0.236/trunk@150545 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 22:29:47 +00:00
mcs%netscape.com
da1800bfae 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).


git-svn-id: svn://10.0.0.236/trunk@150525 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 19:43:47 +00:00
mcs%netscape.com
e7d3880741 Add placeholder README for the acceptance test.
git-svn-id: svn://10.0.0.236/trunk@150504 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-19 16:14:52 +00:00
mcs%netscape.com
d3c2db579d Add Windows demangle and winkill utilities.
git-svn-id: svn://10.0.0.236/trunk@150033 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-04 16:05:12 +00:00
dbaron%dbaron.org
0c3c71426a 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
git-svn-id: svn://10.0.0.236/trunk@149944 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-02 23:22:11 +00:00