576 Commits

Author SHA1 Message Date
cbiesinger%web.de
ecda9c5f0c Bug 248044 move jar protocol handler into libjar. these are the changes to the
moved files
r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@162316 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 18:32:13 +00:00
dbaron%dbaron.org
59e7e34558 Fix issues with extraction of file permissions, especially in standalone. b=231083, 235781 r+sr=dveditz a=asa
git-svn-id: svn://10.0.0.236/trunk@160840 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-17 00:12:04 +00:00
ben%bengoodger.com
b97d1d64e2 246687 - Firefox gets stuck at Finishing Extension Installation dialog if a newer version of an extension with a smaller xpi is installed over the top of it. Fixes a bug in nsJAR.cpp to truncate files extracted over existing files. Patch by pike, r=dveditz@cruzio.com, sr=ben@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@158715 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-03 09:10: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
bzbarsky%mit.edu
fecee10929 Fix nsJARURI::Equals so anchor scrolling creates history entries in files
loaded from a jar.  Bug 244137, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@156669 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-20 23:29:52 +00:00
bzbarsky%mit.edu
d64df39493 Make sure to grab the security info from the underlying channel so that the
lock icon goes into the locked state properly for remote jars over https.  Bug
240496, r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@155285 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-21 14:58:45 +00:00
gerv%gerv.net
586f796c2a Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155091 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 22:01:16 +00:00
bzbarsky%mit.edu
a78fae2915 Make sure to copy over the "common name" (actually "pretty name") of the cert
when cloning it.  Bug 240628, r=caillon, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@154975 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-16 15:10:42 +00:00
cbiesinger%web.de
39f2b721ec Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin


git-svn-id: svn://10.0.0.236/trunk@154941 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-15 20:56:37 +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
bmlk%gmx.de
1a1cc3d8ec build warning fix, bug 229456, r/sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@150747 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-27 08:44:10 +00:00
timeless%mozdev.org
2632c24097 Bug 225986 DRefTool analysis for libjar files
r=roc sr=roc


git-svn-id: svn://10.0.0.236/trunk@149450 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-17 20:44:14 +00:00
bzbarsky%mit.edu
ce1db15495 Make nsJARURI implement nsIURL. Bug 224797, r=andreas.otte@debitel.net,
sr=darin


git-svn-id: svn://10.0.0.236/trunk@149406 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-16 21:43:43 +00:00
darin%meer.net
3a5b2a6dbb fix uninitialized variable warning, bug 204503, patch by alfredkayser@nl.ibm.com, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@149213 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-12 20:09:05 +00:00
caillon%returnzero.com
c1914505cb Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst


git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
1c1b36fe79 Make GetPath() work on jar: URIs, incidentally making it possible to use such
as src uris for frames again.  Bug 220776, r=timeless, sr=darin


git-svn-id: svn://10.0.0.236/trunk@147541 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-03 22:15:24 +00:00
timeless%mozdev.org
44e82de4fb Bug 220060 Crash using nsJar w/ null mZipFile
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@147209 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-24 01:48:09 +00:00
darin%meer.net
35b18657e8 fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner
git-svn-id: svn://10.0.0.236/trunk@146957 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 16:12:59 +00:00
mkaply%us.ibm.com
cc0b9d43af Bug #203344
r=darin, sr=alecf
Code from Alfred Kayser - optimization in nsJarChannel


git-svn-id: svn://10.0.0.236/trunk@146774 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-11 16:45:50 +00:00
bryner%brianryner.com
109d623425 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146624 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 23:12:15 +00:00
bryner%brianryner.com
a4342aad58 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@146622 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:56:05 +00:00
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
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
mkaply%us.ibm.com
a5b954970e rs=leaf
Remove XP_OS2_VACPP from the tree


git-svn-id: svn://10.0.0.236/trunk@145080 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 20:16:02 +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
mkaply%us.ibm.com
36249b362e #201226
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive


git-svn-id: svn://10.0.0.236/trunk@144892 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-15 22:18:04 +00:00
jaggernaut%netscape.com
a31a015bfa Small optimization, no need to pass in a scheme string there. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@144612 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-09 01:35:35 +00:00
timeless%mozdev.org
80eabd2184 Bug 210539 mFd is not initialized in nsJAR [@ PR_Close]
r=alecf sr=alecf


git-svn-id: svn://10.0.0.236/trunk@144126 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-25 01:13:36 +00:00
darin%netscape.com
19189351df fixes bug 209560 "Secure JS doesn't work from https JARs" r=dougt sr=alecf
git-svn-id: svn://10.0.0.236/trunk@144073 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 22:58:28 +00:00
bzbarsky%mit.edu
fe3f1277a3 Make setting contentType or contentCharset act as hints if done before channel
open; use this in the CSSLoader to hint that we want text/css data.  Bug
120789, r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@144065 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-23 21:00:46 +00:00
seawood%netscape.com
04d820b459 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143552 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-11 00:15:38 +00:00
seawood%netscape.com
9e4caeaa92 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143522 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 20:12:33 +00:00
bryner%netscape.com
98e4b9e148 Enable building a library of Gecko components that can be linked against directly and then registered using the static component loader (bug 207407). This enables us to do full prebinding on Mac OS X. Also, don't force libjar to be standalone if not building an installer. r=ccarlen, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@143481 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-09 22:25:25 +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
seawood%netscape.com
3b350b75cd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin


git-svn-id: svn://10.0.0.236/trunk@141408 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-18 20:14:17 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
timeless%mozdev.org
273eed5e17 Fixing case
r=bryner sr=jag


git-svn-id: svn://10.0.0.236/trunk@140343 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-26 07:21:30 +00:00
mkaply%us.ibm.com
ca7c70ef00 #188249
r=seawood, sr=bz
OS/2 GCC work


git-svn-id: svn://10.0.0.236/trunk@140120 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-23 23:56:15 +00:00
alecf%netscape.com
60f040f6f4 fix bug 198133 - leaks in libjar
- stop initializing zlib when we're not decompressing
- make sure to call inflateEnd even if we don't get Z_STREAM_END
r=timeless, sr=bz


git-svn-id: svn://10.0.0.236/trunk@139797 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-19 22:17:40 +00:00
andreas.otte%debitel.net
7a2900ad0c fix bug 113032 [jar: anchors within pages drop the HTML file name] fix resolving relative jar urls, fix anchor handling in jar urls, r=darin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139530 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 20:00:20 +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
alecf%netscape.com
f5cd7d93da fix for bug 189528 - do on-demand decompression of items in a .jar file
instead of allocating all the data into one big buffer, keep a small input buffer around and decompress directly into a client's read buffer..
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@139458 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 18:59:51 +00:00
dveditz%netscape.com
ab31a8158e reading from corrupt zip archives leaks memory (bug 190996) r=ssu, sr=heikki,a=asa
git-svn-id: svn://10.0.0.236/trunk@137217 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:53:39 +00:00
darin%netscape.com
979608deea fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron


git-svn-id: svn://10.0.0.236/trunk@137175 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 02:00:45 +00:00
seawood%netscape.com
5e5146a122 Whitespace change to trigger rebuild of libs that depend upon zlib.
git-svn-id: svn://10.0.0.236/trunk@137127 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-30 05:53:29 +00:00
darin%netscape.com
f033d09f91 final patch for bug 190326 "crash in nsJARChannel.cpp when launching calendar"
r=dougt sr=alecf a=asa


git-svn-id: svn://10.0.0.236/trunk@137071 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-29 06:47:55 +00:00
darin%netscape.com
2dec453174 fixes one of the crashes reported in bug 190326 "crash in nsJARChannel.cpp
when launching calendar" r=dougt sr=bzbarsky a=asa


git-svn-id: svn://10.0.0.236/trunk@137035 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-28 19:13:52 +00:00
darin%netscape.com
49e469a2a3 fix leak (thanks dbaron!)
git-svn-id: svn://10.0.0.236/trunk@136576 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 03:50:41 +00:00
darin%netscape.com
2b1d90b6ed modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa
git-svn-id: svn://10.0.0.236/trunk@136572 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 02:15:14 +00:00