464 Commits

Author SHA1 Message Date
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
dbaron%dbaron.org
855a1b80fa 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@136019 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:35:09 +00:00
dbaron%dbaron.org
e071c7ff2a 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@136017 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 22:05:52 +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
dougt%netscape.com
58e59e6fcb fixing the mac
git-svn-id: svn://10.0.0.236/trunk@135383 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 03:07:28 +00:00
dougt%netscape.com
e6df6a479e expose the number of signed items a jar. r=mstoltz, sr=dveditz, b=179579
git-svn-id: svn://10.0.0.236/trunk@135265 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 22:24:12 +00:00
seawood%netscape.com
afb973633f Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner


git-svn-id: svn://10.0.0.236/trunk@135219 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-13 02:36:06 +00:00
dveditz%netscape.com
efb761db7c Useful documentation of the PKZIP archive format that we've relied on. Should have checked this in years ago.
git-svn-id: svn://10.0.0.236/trunk@132981 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-05 02:14:10 +00:00
dveditz%netscape.com
bc174c9e1c bug 157646 corrupt zip archive filesize can lead to heap overrun r=mstoltz, sr=daring, a=roc (plus tab removals)
git-svn-id: svn://10.0.0.236/trunk@132765 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 06:27:20 +00:00
dveditz%netscape.com
691db65f10 bug 164695 prevent heap overrun if jar manifest file has size -1 (corrupt/malicious archive). Also fixes unrelated potential memory leak. r=mstoltz, sr=darin, a=roc
git-svn-id: svn://10.0.0.236/trunk@132764 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-31 06:23:52 +00:00
darin%netscape.com
292afed664 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@129541 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-13 19:32:45 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
timeless%mac.com
800cde8566 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@128704 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 14:51:05 +00:00