70 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
timeless%mozdev.org
403260a8fd Bug 299101 remove useless references to nsVoidArray
xpfe
r=neil sr=neil a=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@175314 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-29 18:12:06 +00:00
bsmedberg%covad.net
e46ca42267 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin
git-svn-id: svn://10.0.0.236/trunk@171646 18797224-902f-48f8-a5cc-f745e15eee43
2005-04-05 14:50:16 +00:00
gerv%gerv.net
8419e1650f Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155030 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 16:52:41 +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
scott%scott-macgregor.org
90c32f6380 Bug #232453 --> ldap quick search and advanced search does not honor search filters
when applied to the ldap directory properties dialog.

r=dmose
sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@152072 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-30 04:34:16 +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
scott%scott-macgregor.org
229565f663 Bug #227206 --> add support for autocompleting a set of comma delimted names in mail compose.
Part of the work to support names from excel spreadsheets directly into the mail compose envelope and have them
get autocompleted.

sr=bienvenu


git-svn-id: svn://10.0.0.236/trunk@150950 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-06 22:04:31 +00:00
dbaron%dbaron.org
6ed727cbe8 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136028 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:19:20 +00:00
peterv%netscape.com
80930addc5 Fix for bug 86000 (convert LDAP XPCOM SDK to use AUTF8String). r=dmose, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@129251 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 11:22:41 +00:00
rjc%netscape.com
68d677c3a3 Fix bug # 164175: XPCom LDAP API extensions. OnLDAPInit() now passes relevant connection, and LDAP operations/connections accept closures. r=dmose sr=darin
git-svn-id: svn://10.0.0.236/trunk@128789 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 01:28:36 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
dougt%netscape.com
ecdd8ab65f Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125444 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-18 05:09:10 +00:00
dmose%netscape.com
a70407e6e2 If authentication fails during LDAP autocomplete, bring up a new password dialog rather than showing an obscure error message (bug 150723); r=ducarroz@netscape.com, sr=hewitt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123665 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 01:50:04 +00:00
dmose%netscape.com
9ef8e7e0a0 Fix incorrect array length calculation + add temporary variable to work around egcs compiler bug which was causing bogus text to appear in the LDAP auth dialog on linux (bug 148897); r=bryner@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123660 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 01:07:32 +00:00
dmose%netscape.com
05080f2575 First match not pre selected when multiple matches are present in directory (bug 102693); r=ducarroz@netscape.com, sr=mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123278 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 01:21:23 +00:00
dmose%netscape.com
e22bbce0e2 support for binary attribute values in LDAP XPCOM SDK (bug 119380). r=peterv@netscape.com, sr=sspitzer@netscape.com/mscott@netscape.com
git-svn-id: svn://10.0.0.236/trunk@123276 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 00:38:18 +00:00
dmose%netscape.com
ed5f6fb8ab Fix nmake build bustage by adding into to the REQUIRES list
git-svn-id: svn://10.0.0.236/trunk@122530 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 05:12:00 +00:00
dmose%netscape.com
4c0089d9ec Support LDAP authentication for autocomplete and addressbook (bug 135778); r=sspitzer@netscape.com, srilatha@netscape.com; sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122529 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 04:05:48 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
dmose%netscape.com
40882ab4e1 LDAP over SSL (bug 107411). UI changes thanks to srilatha@netscape.com nsLDAPSecurityGlue.cpp: r=mcs@netscape.com; Mac S/MIME build changes: r=javi@netscape.com; Mac Project changes: r=rdayal; all other files: r=bhuvan@netscape.com; entire patch: sr=sspitzer@netscape.com
git-svn-id: svn://10.0.0.236/trunk@118585 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 04:21:13 +00:00
dmose%netscape.com
c385b78720 Fix LDAP XPCOM SDK race condition which could cause LDAP entries to get dropped, or binds to fail entirely (bug 131447). The old code asked ldap_result() for all new messages received, including ones for operations that it did not yet know how to handle. That code has been changed to enumerate the pending operations, and ask for results of each of the pending operations that it knows about, and no others. r=sspitzer@netscape.com, dmose@netscape.com; sr=bienvenu@netscape.com; a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@117457 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 02:51:27 +00:00
dbaron%fas.harvard.edu
ca60c05636 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117338 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:23:50 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
dougt%netscape.com
62a8215278 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
dmose%netscape.com
45da1e6ab8 Fix LDAP autocomplete regression with CJK names by adding a separate pref for minimum length of CJK names to search with a different default (bug 101086). r=shanjian@netscape.com, sr=blizzard@mozilla.org, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@104633 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 02:59:32 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
dmose%netscape.com
edcb1dfc22 Fix error message display of incorrectly set search filters (bug 79935). r=leif@netscape.com, sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103429 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 05:26:32 +00:00
dmose%netscape.com
faa784e099 Add support to the autocomplete widget, interfaces, and LDAP autocomplete session for returning "failure items" which allow the user to select an error entry and have it fire an arbitrary command, rather than actually filling in the text of the item. Part of bug 79935. r=hewitt@netscape.com, sr=bievenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103291 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 07:55:59 +00:00
jaggernaut%netscape.com
8a87c13848 One module per line for REQUIRES. r=/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103116 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
8b71ae9c91 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@103093 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 13:41:47 +00:00
leif%netscape.com
fb1a4be4c0 Fix for bug 82412: Preresolve DNS before calling into LDAP C-SDk. SR=bienvenu@netscape.com, r=dmose@netscape.com, patch=leif@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@103035 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:35:03 +00:00
alecf%netscape.com
e28607491e Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!)
git-svn-id: svn://10.0.0.236/trunk@102999 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 19:06:35 +00:00
alecf%netscape.com
f3d9c9c141 Add REQUIRES to many modules for win32 support, bug 98372 r=cls
git-svn-id: svn://10.0.0.236/trunk@102825 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-12 20:32:40 +00:00
dmose%netscape.com
956ad82821 Fix RFC 822 quoting for LDAP autocompleted display names (bug 89198). Fix works by creating a new "formatter" interface and implementing an addressbook-specific version of it which uses the mailnews quoting code to fix it up. Also provides infrastructure for setting the LDAP autocomplete dropdown comment field, and fixes some error-handling issues in the compose window code for setting up LDAP autocompletion. r=leif@netscape.com (backend changes), srilatha@netscape.com (compose window changes); sr=bienvenu@netscape.com
git-svn-id: svn://10.0.0.236/trunk@101353 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 22:32:28 +00:00
dmose%netscape.com
b1430520e2 Change LDAP autocomplete default minStringLength to only autocomplete against strings >= 2 chars long to avoid a possible hang on NT as well as unindexed searches (bug 84566; r=leif@netscape.com, sr=darin@netscape.com) and default searchFilterTemplate to catch people whose cn contains their middle name or initial (bug 90535; r=leif@netscape.com, rs=darin@netscape.com). This second patch also fixes a bug where filter templates sometimes ignored the last token of the entered string
git-svn-id: svn://10.0.0.236/trunk@99879 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:15:30 +00:00
dbaron%fas.harvard.edu
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
dmose%netscape.com
6a0206820a Fix LDAP autocomplete session to work properly with servers with search filters that are not parenthesized (bug 86144). r=leif@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@98099 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-28 00:02:37 +00:00
dmose%netscape.com
2813aab9cc Partial fix for bug 82169 (switching LDAP autocomplete directory requires restart to take effect). r=hewitt, rs=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@97558 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-20 05:54:23 +00:00
dmose%netscape.com
4a230f52b7 speed up LDAP autocomplete by using the new param to SearchExt() to only ask for necessary attrs (bug 74098) r=ducarroz, sr=dougt, a=asa
git-svn-id: svn://10.0.0.236/trunk@97453 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 22:30:15 +00:00
cls%seawood.org
88aedd461b Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +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
alecf%netscape.com
6268e49698 oops, forgot this file from my previous checkin
git-svn-id: svn://10.0.0.236/trunk@97009 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-13 00:05:25 +00:00