770 Commits

Author SHA1 Message Date
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
neil%parkwaycc.co.uk
6593e9b14e Bug 211695 Fix bugs in nsCertTree.cpp r=varga sr=alecf moa=kaie a=asa
git-svn-id: svn://10.0.0.236/trunk@145909 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-12 11:20:50 +00:00
brendan%mozilla.org
95220b5330 Add shared DHashTableOps for [const] char *key use-cases, clean up dhash API abusages (214839, r=dougt, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@145624 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 20:09:21 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com
f34216bf2d Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144992 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com
95a2235bee Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@144804 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-13 22:29:00 +00:00
kaie%netscape.com
3ece8d7a91 b=195574 SSL extremely flaky if Ask for Master Password is 'Every time'
r=darin sr=brendan


git-svn-id: svn://10.0.0.236/trunk@144562 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 14:41:02 +00:00
jst%netscape.com
ecae24eff4 Fixing bug 209884. Writing an inline helper to safely get an nsIScriptContext from a JSContext and making direct callers of JS_GetContextPrivate() use the helper. r=caillon@aillon.org, sr=peterv@netscape.com
git-svn-id: svn://10.0.0.236/trunk@144108 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-24 21:43:01 +00:00
brendan%mozilla.org
836c4046f7 Don't include private and unnecessary js header files.
git-svn-id: svn://10.0.0.236/trunk@143956 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:13:59 +00:00
neil%parkwaycc.co.uk
e8b502898f Bug 209661 remove unnecessary NS_LITERAL_CSTRING( with ).get() r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@143856 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-18 14:31:45 +00:00
kaie%netscape.com
2298c9f29f b=209168 Mozilla Mail S/Mime instructs NSS to import the wrong certs
r=relyea sr=kin


git-svn-id: svn://10.0.0.236/trunk@143643 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-12 20:03:40 +00:00
timeless%mozdev.org
89a5ebea79 Bug 204067 Creating "@mozilla.org/nsCMSEncoder;1" and then deleting it crashes because m_ecx isn't initialized
patch by rginda r=kaie sr=kin


git-svn-id: svn://10.0.0.236/trunk@142838 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:55:15 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
dougt%meer.net
25935ec13a Fixing memory leak. Multiple object creations clobber static allocations. b=206480, r=kaie,sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142711 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-21 21:36:46 +00:00
dougt%meer.net
dc338ac8c4 Fixing Makefiles to support DEPENDENT_LIBS. r=kai, a=blizzard, b=205444
git-svn-id: svn://10.0.0.236/trunk@142376 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-13 18:28:40 +00:00
kaie%netscape.com
55d5ec4d6e b=193170 PSM must disallow using NSS database with wrong profile
r=ccarlen sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@142199 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-08 13:39:35 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
kaie%netscape.com
5489a4ac54 b=50823 S/Mime: Support certificates with multiple listed email addresses
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140692 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 12:57:51 +00:00
darin%netscape.com
876d073b24 landing final patch for NTLM authentication based on WIN32 SSPI API, b=159015 r=kaie sr=dbaron a=asa
git-svn-id: svn://10.0.0.236/trunk@140395 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 19:31:53 +00:00
timeless%mozdev.org
b620d07d81 Bug 198483 Uninitalized m_dcx causes shutdown crash [@ NSS_CMSDecoder_Cancel]
r=kaie sr=darin


git-svn-id: svn://10.0.0.236/trunk@140203 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:30:56 +00:00
timeless%mozdev.org
9181be2f78 Bug 196352 JS_GetContextPrivate isn't used correctly
r=javi sr=heikki


git-svn-id: svn://10.0.0.236/trunk@140201 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:30:22 +00:00
darin%netscape.com
0a46c9020d final patch for bug 198270 "Trunk crash resulting from minimo branch landing" patch=dougt r=kaie sr=darin
git-svn-id: svn://10.0.0.236/trunk@140198 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 02:17:05 +00:00
dougt%netscape.com
fed2927b2c Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@139480 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 01:04:32 +00:00
wtc%netscape.com
2e8471d585 Bug 118832: with the removal of the crmfi.h inclusion, CRMFEncryptedKey
becomes an incomplete type, and aCC on HP-UX does not allow using
static_cast to cast a pointer to an incomplete type to void *.  Use
implicit conversion of a data pointer to void * instead. r=kaie. sr=dbaron.


git-svn-id: svn://10.0.0.236/trunk@139022 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 15:04:46 +00:00
mkaply%us.ibm.com
53a1ebe92b OS/2 bustage - PR_CALLBACK
git-svn-id: svn://10.0.0.236/trunk@138039 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 19:09:43 +00:00
wtc%netscape.com
e9f14945d3 Bug 118832: do not include NSS private header files. "genname.h" is simply
not needed.  "crmfi.h" can be avoided by using the public function
CRMF_EncodeCertReqMessages.  r=kaie. sr=bryner. a=asa for mozilla 1.3.
Modified Files: Makefile.in nsCrypto.cpp nsNSSIOLayer.cpp


git-svn-id: svn://10.0.0.236/trunk@138034 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 14:56:10 +00:00
kaie%netscape.com
1e253ffb01 b=173369 Migrating NSS databases from the "CFM" build to the "mach-o" build
r=javi sr=peterv a=asa


git-svn-id: svn://10.0.0.236/trunk@138009 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-20 00:19:45 +00:00
wtc%netscape.com
438bdcb562 Bug 190960: added the DHE ciphersuites back because the underlying NSS bug
(bug 188856) that broke them has been fixed. r=kaie. sr=bryner. a=asa for
mozilla1.3.
Modified Files:
	netwerk/base/public/security-prefs.js
	security/manager/pki/resources/content/ssl3tlsciphers2.xul
	security/manager/pki/resources/locale/en-US/pref-ssl.dtd
	security/manager/ssl/src/nsNSSComponent.cpp


git-svn-id: svn://10.0.0.236/trunk@137982 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-19 15:08:50 +00:00
kaie%netscape.com
d7ba6ae565 b=191301 Crash if I cancel "Choose token" dialog on Cert import
r=javi sr=darin a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137345 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-04 01:37:23 +00:00
kaie%netscape.com
05c88cd5fb b=189974 Profile Switching fails after JavaScript based cert import
PSM portion of fix
r=javi sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@137221 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 22:33:49 +00:00
kaie%netscape.com
faaade74cb b=190640 Remove the DHE ciphersuites until they work
r=javi sr=bryner a=asa


git-svn-id: svn://10.0.0.236/trunk@137026 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 15:06:29 +00:00
kaie%netscape.com
639dd24dd0 b=190394 "website certified by an unknown authority" - nssckbi not found breaks PKI trust
r=dougt sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@137004 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-27 23:53:02 +00:00
kaie%netscape.com
a6730a669f b=188363 Bad error messages when server uses an invalid cert (-8054)
r=nelsonb sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@136789 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 03:41:35 +00:00
seawood%netscape.com
ecb6d6ed80 I always forget to change both the declaration & the definition.
Thanks to bird@anduin.net for the patch.
Fixing OS/2 bustage.


git-svn-id: svn://10.0.0.236/trunk@136620 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 06:43:19 +00:00
seawood%netscape.com
e546507ab5 Callback functions must be defined as such.
Fixing OS/2 bustage.


git-svn-id: svn://10.0.0.236/trunk@136618 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:43:13 +00:00
kaie%netscape.com
f94f02d55a b=189205 Implement early shutdown of NSS resources
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@136592 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 14:03:00 +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
dbaron%dbaron.org
186eca206d 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@136023 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:45:23 +00:00
kaie%netscape.com
0c1d5a1bc2 b=184940 Enable additional SSL ciphers, add configuration UI
r=javi sr=jaggernaut


git-svn-id: svn://10.0.0.236/trunk@135917 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-07 00:58:24 +00:00
kaie%netscape.com
7e6de39a8e b=177260 Fix known leaks in PSM, track blocking PSM UI, track open SSL sockets
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@135905 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-06 22:23:49 +00:00
seawood%netscape.com
f8f86e7f05 Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt


git-svn-id: svn://10.0.0.236/trunk@135661 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-28 01:15:07 +00:00
kaie%netscape.com
eada7e261c Temporary fix for bug 182803.
While this masks the reported crashes, this is nothing more than a workaround patch.
As long as this patch is in place, any attempt to do profile switching at run time will fail.
We need real fixes for bug 181230 and 177260.
r=javi sr=darin


git-svn-id: svn://10.0.0.236/trunk@135460 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-18 12:50:35 +00:00
dougt%netscape.com
d0c13e95b3 Allow caller to obtain cert. r=mstoltz, javi. sr=dveditz, b=179016
git-svn-id: svn://10.0.0.236/trunk@135266 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:26:43 +00:00
kaie%netscape.com
c95c71be0b b=115294 Support S/Mime signing only configuration / relax certificate configuration requirements
r=javi sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@134572 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-28 18:31:03 +00:00
timeless%mozdev.org
99731b5e88 Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
cbiesinger%web.de
2bde51296f patch by abecevello@sympatico.ca r=rangansen,me sr=roc+moz
fix some spelling errors


git-svn-id: svn://10.0.0.236/trunk@133982 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 20:44:32 +00:00
kaie%netscape.com
5715a6d3b9 b=168450 Cleanup some PSM code and add JavaDoc documentation to all freeze candidates
r=javi sr=alecf


git-svn-id: svn://10.0.0.236/trunk@133794 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 00:50:02 +00:00
kaie%netscape.com
499d158fb3 b=166655 ERROR -12227 / Extend the list of TLS intolerance error codes
r=javi sr=jag a=blizzard


git-svn-id: svn://10.0.0.236/trunk@133012 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 14:49:52 +00:00
kaie%netscape.com
0f7fe3731d b=101847 keygen does not work if Master Pwd is set to "Everytime it is needed"
r=javi sr=jag a=asa


git-svn-id: svn://10.0.0.236/trunk@132236 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-18 13:49:58 +00:00
kaie%netscape.com
0a87137472 b=163605 Use of blocking I/O for SSL in PSM stalls network activity
r=javi sr=darin a=asa


git-svn-id: svn://10.0.0.236/trunk@132095 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-16 22:20:42 +00:00