Commit Graph

538 Commits

Author SHA1 Message Date
darin%meer.net
f103a62f64 fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky 2004-11-15 20:16:52 +00:00
darin%meer.net
189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
cls%seawood.org
1c8ffcc665 Use standalone zlib headers when building standalone jar
Bug #264407 r=ben.bucksch
2004-10-15 00:44:06 +00:00
cbiesinger%web.de
6bc15ffa56 fixing indentation after last checkin 2004-09-14 18:55:28 +00:00
cbiesinger%web.de
1d61416f70 Bug 248044 move jar protocol handler into libjar. these are the changes to the
existing files
r=bsmedberg sr=darin
2004-09-14 18:40:26 +00:00
cbiesinger%web.de
e5c214010e Bug 248044 move jar protocol handler into libjar. these are the changes to the
moved files
r=bsmedberg sr=darin
2004-09-14 18:32:13 +00:00
dbaron%dbaron.org
b31f4063fe Fix issues with extraction of file permissions, especially in standalone. b=231083, 235781 r+sr=dveditz a=asa 2004-08-17 00:12:04 +00:00
ben%bengoodger.com
f297e8a3b0 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 2004-07-03 09:10:13 +00:00
roc+%cs.cmu.edu
0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
bzbarsky%mit.edu
de3d1593d2 Fix nsJARURI::Equals so anchor scrolling creates history entries in files
loaded from a jar.  Bug 244137, r+sr=darin
2004-05-20 23:29:52 +00:00
bzbarsky%mit.edu
f4cdda904d 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
2004-04-21 14:58:45 +00:00
gerv%gerv.net
8b8dde7d95 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bzbarsky%mit.edu
1731f9c04c Make sure to copy over the "common name" (actually "pretty name") of the cert
when cloning it.  Bug 240628, r=caillon, sr=darin.
2004-04-16 15:10:42 +00:00
cbiesinger%web.de
14177dedcb Bug 235502 nsIMIMEService, nsIMIMEInfo should use nsACString/nsAString instead of string/wstring
r=bzbarsky sr=darin
2004-04-15 20:56:37 +00:00
bsmedberg%covad.net
d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net
274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
bmlk%gmx.de
8c0cb1276d build warning fix, bug 229456, r/sr=bzbarsky 2003-12-27 08:44:10 +00:00
timeless%mozdev.org
ea7558fbed Bug 225986 DRefTool analysis for libjar files
r=roc sr=roc
2003-11-17 20:44:14 +00:00
bzbarsky%mit.edu
a8938a3267 Make nsJARURI implement nsIURL. Bug 224797, r=andreas.otte@debitel.net,
sr=darin
2003-11-16 21:43:43 +00:00
darin%meer.net
e4ebafaa4b fix uninitialized variable warning, bug 204503, patch by alfredkayser@nl.ibm.com, r+sr=darin 2003-11-12 20:09:05 +00:00
caillon%returnzero.com
66caced69a Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu
5dcb44523e 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
2003-10-03 22:15:24 +00:00
timeless%mozdev.org
f38f773af0 Bug 220060 Crash using nsJar w/ null mZipFile
r=darin sr=darin
2003-09-24 01:48:09 +00:00
darin%meer.net
452afe9434 fixes bug 216854 "necko should not have a compile-time dependency on exthandler" r=dougt sr=bryner 2003-09-16 16:12:59 +00:00
mkaply%us.ibm.com
d24ef33a8a Bug #203344
r=darin, sr=alecf
Code from Alfred Kayser - optimization in nsJarChannel
2003-09-11 16:45:50 +00:00
bryner%brianryner.com
63fa99c65e Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
bryner%brianryner.com
5cd0bcdb7a Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:56:05 +00:00
caillon%returnzero.com
f8e8aed8a7 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
91b7c60bee 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)
2003-07-24 05:15:20 +00:00
mkaply%us.ibm.com
5a3f694338 rs=leaf
Remove XP_OS2_VACPP from the tree
2003-07-22 20:16:02 +00:00
jaggernaut%netscape.com
83c571e877 Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
mkaply%us.ibm.com
a360819fa4 #201226
r/sr=alecf
Patch from Alfred Keyser - optimize time stuff in nsZipArchive
2003-07-15 22:18:04 +00:00
jaggernaut%netscape.com
a20d08d6fa Small optimization, no need to pass in a scheme string there. r+sr=darin 2003-07-09 01:35:35 +00:00
timeless%mozdev.org
dfb0daa2d2 Bug 210539 mFd is not initialized in nsJAR [@ PR_Close]
r=alecf sr=alecf
2003-06-25 01:13:36 +00:00
darin%netscape.com
0692f0b9d0 fixes bug 209560 "Secure JS doesn't work from https JARs" r=dougt sr=alecf 2003-06-23 22:58:28 +00:00
bzbarsky%mit.edu
f75f9017d9 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
2003-06-23 21:00:46 +00:00
seawood%netscape.com
f0b5c087f6 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-11 00:15:38 +00:00
seawood%netscape.com
b28ce0a530 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
bryner%netscape.com
e952d5249e 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. 2003-06-09 22:25:25 +00:00
dwitte%stanford.edu
270d3909ca 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.
2003-05-23 21:34:47 +00:00
seawood%netscape.com
f7bf89f618 Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
seawood%netscape.com
80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
timeless%mozdev.org
65c63fb817 Fixing case
r=bryner sr=jag
2003-03-26 07:21:30 +00:00
mkaply%us.ibm.com
7250cc41ca #188249
r=seawood, sr=bz
OS/2 GCC work
2003-03-23 23:56:15 +00:00
alecf%netscape.com
643683d393 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
2003-03-19 22:17:40 +00:00
andreas.otte%debitel.net
1bf6cb18fb 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 2003-03-15 20:00:20 +00:00
dougt%netscape.com
0d2808c511 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.
2003-03-15 01:04:32 +00:00
alecf%netscape.com
0527238c0a 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
2003-03-14 18:59:51 +00:00
dveditz%netscape.com
fb101585e7 reading from corrupt zip archives leaks memory (bug 190996) r=ssu, sr=heikki,a=asa 2003-01-31 21:53:39 +00:00
darin%netscape.com
99e45ceed4 fixes bug 191227 "file uploads hang (especially w/ slower connections or
slower servers)" r=dougt sr=bz a=dbaron
2003-01-31 02:00:45 +00:00
seawood%netscape.com
5c6983cb86 Whitespace change to trigger rebuild of libs that depend upon zlib. 2003-01-30 05:53:29 +00:00
darin%netscape.com
8632233c45 final patch for bug 190326 "crash in nsJARChannel.cpp when launching calendar"
r=dougt sr=alecf a=asa
2003-01-29 06:47:55 +00:00
darin%netscape.com
0992b66980 fixes one of the crashes reported in bug 190326 "crash in nsJARChannel.cpp
when launching calendar" r=dougt sr=bzbarsky a=asa
2003-01-28 19:13:52 +00:00
darin%netscape.com
d682f264b4 fix leak (thanks dbaron!) 2003-01-18 03:50:41 +00:00
darin%netscape.com
685a7af468 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org
954ad5f9d9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
dbaron%dbaron.org
acdd4e46c0 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:05:52 +00:00
seawood%netscape.com
d5efcdfb6d Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
dougt%netscape.com
dc8c3ac66d fixing the mac 2002-12-17 03:07:28 +00:00
dougt%netscape.com
32696f9ba0 expose the number of signed items a jar. r=mstoltz, sr=dveditz, b=179579 2002-12-13 22:24:12 +00:00
seawood%netscape.com
58004c4a48 Add SRCS_IN_OBJDIR variable to workaround requirement introduced by bug 141834 that srcfiles must be in the srcdir.
Bug #171753 r=bryner
2002-12-13 02:36:06 +00:00
dveditz%netscape.com
656e9b9fa6 Useful documentation of the PKZIP archive format that we've relied on. Should have checked this in years ago. 2002-11-05 02:14:10 +00:00
dveditz%netscape.com
8546c64322 bug 157646 corrupt zip archive filesize can lead to heap overrun r=mstoltz, sr=daring, a=roc (plus tab removals) 2002-10-31 06:27:20 +00:00
dveditz%netscape.com
e37635e2c0 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 2002-10-31 06:23:52 +00:00
darin%netscape.com
d47b2f5e65 fixes bug 166792 "move nsIIOService::GetURLSpecFromFile, etc. to
nsIFileProtocolHandler" r=dougt sr=alecf
2002-09-13 19:32:45 +00:00
dougt%netscape.com
68faeb5241 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
timeless%mac.com
43e442ad09 Bug 156633 replace PR_CurrentThread with PR_GetCurrentThread
patch by riceman+bmo@mail.rit.edu r=morse,dougt,dveditz,timeless sr=dveditz
2002-09-03 14:51:05 +00:00
bryner%netscape.com
b938c34343 Ignore copied sources. 2002-08-26 09:05:19 +00:00
mkaply%us.ibm.com
d7f253803e #163550
r=cls
Add support for USE_STATIC_LIBS on OS/2
2002-08-20 22:21:21 +00:00
bryner%netscape.com
025fb3a058 Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
darin%netscape.com
d86e3064ab second attempt at landing fix for bug 157131 "nsIIOService mods in preparation for freezing" r=dougt sr=alecf 2002-08-15 18:38:46 +00:00
seawood%netscape.com
322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
leaf%mozilla.org
fdcde43318 backout darin's checkin from around noon yesterday to remove the regression
in 161921
2002-08-09 23:46:19 +00:00
darin%netscape.com
45e59826d8 changes to nsIIOService in preparation for freezing, b=157131
r=dougt sr=alecf
2002-08-08 19:08:59 +00:00
mstoltz%netscape.com
12d316ab6a Bug 145031 - initialize CurItemMF to null to avoid uninitialized variable warning on tbox.
patch by Aleksey Nogin, r=mstoltz, sr=dveditz.
2002-08-06 00:51:46 +00:00
bzbarsky%mit.edu
903e648a7e Fix NS_WildCardMatch to actually pay attention to the case_insensitive
arg.  Bug 146187, r=sicking, sr=shaver
2002-07-04 09:33:52 +00:00
seawood%netscape.com
6de5b59159 Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs
2002-06-17 17:09:57 +00:00
seawood%netscape.com
e116353653 Add --disable-installer configure option for embedding purposes.
Bug #145343 r=mcafee
2002-05-31 00:39:07 +00:00
dougt%netscape.com
c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
timeless%mac.com
bb336a87d5 Bug 87965 Can't expand chrome/*.jar files on ARM
fixing warnings caught by ayn2@cornell.edu
patch by jeroen.dobbelaere@acunia.com
r=timeless sr=jst
2002-05-12 17:29:30 +00:00
timeless%mac.com
c7cf2499db Bug 87965 Can't expand chrome/*.jar files on ARM
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan
2002-05-03 14:50:46 +00:00
darin%netscape.com
e554d83626 fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf
2002-04-27 05:33:09 +00:00
alecf%netscape.com
bbd09f87e7 fix nmake builds 2002-04-04 23:51:11 +00:00
alecf%netscape.com
57813780a2 fix for bug 107289 sr=jband r=dougt a=asa
remove libjar dependency from xpcom
step 3: make libjar implement the new interface
2002-04-04 22:28:17 +00:00
darin%netscape.com
edab6546f5 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 23:33:19 +00:00
darin%netscape.com
171c8b28ee backing out changes (for bug 116365) to fix btek page-loader crash. 2002-03-26 08:47:10 +00:00
darin%netscape.com
f2d3a0287d fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa
2002-03-26 06:54:07 +00:00
darin%netscape.com
ffca728302 fixes bug 132497 "prevent crash @nsJARChannel::GetContentLength"
r=dougt, sr=rpotts, a=asa
2002-03-21 23:24:53 +00:00
darin%netscape.com
9fbd1028d6 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
timeless%mac.com
dec943eb10 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
dougt%netscape.com
e0bea0a99f Fixes part of the Txul regression. b=130524 r=dp@netscape.com sr=darin@netscape.com, a=asa@mozilla.org 2002-03-16 00:43:44 +00:00
dougt%netscape.com
299b47cf06 Fixes 127918. Mime Service was being accessed from a non-ui thread. This causes all kinds of problems. Found that content type is not needed while opening most stream io's. Removes content type result from nsIStreamIO::Open(). Added atrribute content type nsIStreamIO. Fixes callers. r=gordon@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org. 2002-03-13 00:34:54 +00:00
darin%netscape.com
281c86ec58 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa
2002-03-12 00:59:06 +00:00
dp%netscape.com
06b3ded6e8 making linux and mac compilers happy. 2002-03-11 21:09:12 +00:00
dp%netscape.com
8efa396bdc bug 116187 Using Arenas to cut down on small memory allocs happening
for the maintaining the zip manifest. r=dveditz/blythe, sr=alecf, a=shaver/asa
2002-03-11 20:18:35 +00:00
darin%netscape.com
f1a6738b6c fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
cathleen%netscape.com
a6a1655268 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan 2002-02-19 16:01:45 +00:00
bzbarsky%mit.edu
97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
228f6acb38 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00