218 Commits

Author SHA1 Message Date
leif%netscape.com
5b35bccf7a Bug 77672, fix nsLDAPConnection leaking objects and threads. Patch=leif,
r=dmose, sr=darin, a=chofmann.


git-svn-id: svn://10.0.0.236/trunk@97691 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 21:44:18 +00:00
waterson%netscape.com
18986ada3f Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs.
git-svn-id: svn://10.0.0.236/trunk@97613 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 20:21:49 +00:00
leif%netscape.com
12afe29bd3 Bug 71247, provide scriptable UTF8 encoders in nsILDAPService. r=dmose,
sr=mscott, a=asa@mozilla.org, patch=leif@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@97541 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 03:35:55 +00:00
dbaron%fas.harvard.edu
c203792c3d To improve performance, change string iterator postfix ++ to prefix ++ when used as a statement. b=78032 r=peterv, scc, harishd, dmose sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@97460 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:38:45 +00:00
cls%seawood.org
437819627f Remove workaround for WS6 bug in-lieu of vendor patch listed at http://www.mozilla.org/unix/solaris-build.html .
Thanks to Rich Burridge <rich.burridge@Sun.COM> for the patch.
Bug #73834 r=dmose sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@97207 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 06:19:24 +00:00
dmose%netscape.com
c953445c90 Parameterize LDAP autocomplete searchfilter via hidden pref (bug 77386); also improves default searchfilter (85315). r=leif@netscape.com,srilatha@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@97205 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 05:04:32 +00:00
leif%netscape.com
b9be7fbfe5 Bug 74498: Add attribute support to SearchExt(), making it possible to limit
the search results to a set of attributes. r=dmose, sr=mscott, a=asa.
Patch by leif@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@97129 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 05:48:03 +00:00
leif%netscape.com
4fc4ebb545 Fix for bug 70611, support attributes in LDAP URLs. patch=leif@netscape.com,
r=dmose, sr=mscott, a=blizzard.


git-svn-id: svn://10.0.0.236/trunk@97100 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 23:42:38 +00:00
dougt%netscape.com
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +00:00
dougt%netscape.com
1d2be05759 Fixes bug
git-svn-id: svn://10.0.0.236/trunk@96469 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:02:56 +00:00
scc%mozilla.org
9dafc29f8a fixing bustage
git-svn-id: svn://10.0.0.236/trunk@95792 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-23 04:19:39 +00:00
leif%netscape.com
0f7cb4d033 Changed LDAP XPCOM SDK to use "wstring" instead of "string", bug 71247.
r=dmose@netscape.com
sr=mscott@netscape.com


git-svn-id: svn://10.0.0.236/trunk@95234 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-17 06:26:35 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
dmose%netscape.com
b6cf57be1e Initial implementation and supporting changes for nsLDAPService (bug 70422). Patch from Leif Hedstrom <leif@netscape.com>, r=dmose@netscape.com, sr=brendan@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@94015 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 02:30:50 +00:00
dmose%netscape.com
d60cc597a3 minor LDAP XPCOM SDK changes to support nsLDAPAutoCompleteSession, which will be checked in shortly (bug 70933). r=leif@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@93673 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:04:28 +00:00
colin%theblakes.com
d74e9d61e7 Move ldap40 and lber40 after MOZ_COMPONENT_LIBS so that they have
a -L in effect. b=76482. r=cld. a=roc+moz.


git-svn-id: svn://10.0.0.236/trunk@92722 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-19 09:57:17 +00:00
dmose%netscape.com
f096b30781 Replace duplicated CID with unique one (bug 75048). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@92046 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:40:19 +00:00
dmose%netscape.com
b02af4908d Fix getters and setters of various LDAP URL spec pieces to actually allow a spec to be built up from the individual pieces (bug 70420). Patch from Leif Hedstrom <leif@netscape.com>. r=dmose@netscape.com, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@92044 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:25:07 +00:00
dmose%netscape.com
22713bb18c Fixing --enable-ldap-experimental build bustage introduced by Necko API changes.
git-svn-id: svn://10.0.0.236/trunk@91948 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-11 04:34:58 +00:00
dmose%mozilla.org
e914f6b42b Workaround bug in Solaris WorkShop 6 Update 1 that crashes the compiler by ifdefing out the offending code on that compiler (bug 73834). r=rich.burridge@sun.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90699 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 23:17:44 +00:00
disttsc%bart.nl
ce927d9f65 Clean up REQUIRES lines. r=cls
git-svn-id: svn://10.0.0.236/trunk@90392 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-25 22:59:27 +00:00
dmose%netscape.com
089c45bae6 Initial interface and implementation of a class that represents the unique characteristics of an nsILDAPConnection (bug 70421). Patch from Leif Hedstrom <leif@netscape.com>. r=<dmose@netscape.com>, sr=<shaver@mozilla.org>.
git-svn-id: svn://10.0.0.236/trunk@90334 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-24 07:09:55 +00:00
peter.vanderbeken%pandora.be
c8fe6486de Clean up datasource. Return partial result list to allow progressive display. Don't onAssert for the attributes, let the user ask for them. Not part of the default build. r=dmose.
git-svn-id: svn://10.0.0.236/trunk@90118 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 15:02:24 +00:00
blakeross%telocity.com
f2d2a6e526 Fixing 70746: major xul syntax changes. If you use xul, this WILL affect you! Read n.p.m.xpfe for details on the changes and how you can fix your code. r=hewitt sr=hyatt, ben
git-svn-id: svn://10.0.0.236/trunk@90042 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-22 00:59:29 +00:00
dmose%netscape.com
51ce4e6b59 Fix for mac bustage from Zach.
git-svn-id: svn://10.0.0.236/trunk@89983 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 04:30:48 +00:00
dmose%netscape.com
b3d40180c2 Turn on basic LDAP infrastructure in the default mac build. No user-visible changes yet. Code being turned on: moa=dmose@netscape.com, sr=shaver@mozilla.org. Mac system build changes: r=peterv@netscape.com, sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@89958 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-21 01:45:24 +00:00
dmose%netscape.com
7caf9ab8dc Split up ldap build options into two sections: ldap and ldap_experimental, in preparation for turning on just the ldap module in the default builds. Also fixes LDAP C SDK bustage introduced by change to --enable-nspr-autoconf. Bug 70658. Patch from leif@netscape.com, r=dmose@netscape.com, sr=alecf@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@89619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-14 06:41:40 +00:00
bryner%uiuc.edu
2e443d3257 Fixing typo in valeski's checkin (build bustage in LDAP). sr=sspitzer.
git-svn-id: svn://10.0.0.236/trunk@89448 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 05:18:55 +00:00
valeski%netscape.com
65ad2bc732 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api
git-svn-id: svn://10.0.0.236/trunk@89422 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 02:02:05 +00:00
dmose%netscape.com
af8a05701f Fixes various sr= issues turned up in preparation for turning on LDAP in the default builds (bug 70658). Removes obsolete and private interface methods; fixes spacing, and lots of misc cleanups. moa=me, sr=shaver@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@89068 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 03:25:47 +00:00
disttsc%bart.nl
abd8de21e5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
dougt%netscape.com
175245e2de Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
dbaron%fas.harvard.edu
f7ad87049c Add REQUIRES line to fix --enable-ldap + MOZ_TRACK_MODULE_DEPS bustage.
git-svn-id: svn://10.0.0.236/trunk@87291 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-17 18:30:12 +00:00
Peter.VanderBeken%pandora.be
64fff9d17b Not part of the build. Correcting depth.
git-svn-id: svn://10.0.0.236/trunk@86918 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:16:28 +00:00
Peter.VanderBeken%pandora.be
e3134bfbb3 Not part of the build. Adding a QI.
git-svn-id: svn://10.0.0.236/trunk@86917 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-13 14:15:42 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
disttsc%bart.nl
2ebbb1e4f8 Fix bustage (at least on linux with GCC) in LDAP by adding missing NS_IMETHODIMP for nsLDAPChannel::AsyncOpen
git-svn-id: svn://10.0.0.236/trunk@86748 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 04:47:37 +00:00
dougt%netscape.com
7af79c83df Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
dmose%mozilla.org
a5f31096e5 backing out inadvertant checkin; not in default build
git-svn-id: svn://10.0.0.236/trunk@86450 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:32:44 +00:00
dmose%mozilla.org
b664e998e2 backing out inadvertant checkin; not in default build
git-svn-id: svn://10.0.0.236/trunk@86449 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:24:13 +00:00
dmose%mozilla.org
ee1f5d9512 fix bug 67357. link-time bustage in ldap module caused by earlier nsIURI::SchemeIs change. not in default build. r=gagan@netscape.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@86448 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-07 03:20:33 +00:00
Peter.VanderBeken%pandora.be
62c334a3f7 Not part of the build. Eliminate JS warning. Correct error in CID. Add debugging info.
git-svn-id: svn://10.0.0.236/trunk@86234 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 15:46:51 +00:00
Peter.VanderBeken%pandora.be
20b2c4bb0f Not part of the build. Basic scaffolding for the LDAP datasource.
git-svn-id: svn://10.0.0.236/trunk@86103 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 15:58:09 +00:00
Peter.VanderBeken%pandora.be
3db76d9e10 Keep LDAP xpcom component compiling after nsIChannel::AsyncWrite interface revision. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@85425 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-24 13:49:55 +00:00
dmose%mozilla.org
5ac5d798ac test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81767 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:54:02 +00:00
dmose%mozilla.org
bc8b6f89ca test commit; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81766 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-25 23:50:42 +00:00
dmose%mozilla.org
c6b003435c get rid of outdated comments; a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81465 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 20:51:46 +00:00
dmose%mozilla.org
3d31c414a3 NS_LITERAL_STRING definition on windows doesn't allow for concatenations inside the operator. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81318 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:14:10 +00:00
dmose%mozilla.org
ae17ba5bfc LDAP error-handling cleanup, part 1. a=r=(not built)
git-svn-id: svn://10.0.0.236/trunk@81316 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 23:07:38 +00:00