Граф коммитов

656 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org 7b6c6f51b5 Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin 2005-08-12 22:53:22 +00:00
dougt%meer.net e75e37664c * This moves most of the configuration options of minimo into configure.in.
* This makes minimo use the same toolkit that ff uses.

* This makes toolkit build on WINCE.  (makefile love only)

* This moves all default configuration options above where we enable
applications in configure.in

Build only changes.

r=bsmedberg
a=bsmedberg
2005-07-27 20:42:44 +00:00
bzbarsky%mit.edu 10d1c576d9 Expose the subject name for the cert and an nsISupports pointer to the cert on
nsIPrincipal that represents a certificate principal.  Change preference
storage to ensure matches in not only the fingerprint but also the subjectName
before applying privileges from preferences to a certificate principal.  Remove
possibility for creating certificate principals without a useful identifying
name and make sure that names don't get munged by being forced to ASCII.  Bug
240661, r=caillon, sr=dveditz, a=bsmedberg
2005-07-22 19:05:42 +00:00
db48x%yahoo.com f94abb84a3 bug 296522: nsJAR.cpp uses wrong allocator
patch by john <johnli1995@hotmail.com>, r=darin, a=asa
2005-06-14 10:29:45 +00:00
dougt%meer.net 4c7f9052d3 Add a scriptable hash function API. basically what this does is moves the hashing function out of the nsISignatureVerifier.idl and creates a new interface nsICryptoHash which is scriptable. Because of this change, we needed to fix up all of the call sites. r=darin, sr=dveditz, a=shaver 2005-06-01 16:06:53 +00:00
darin%meer.net 735db6d988 fixes bug 290982 "Disallow viewsource:javascript and jar:viewsource URLs" r=dveditz sr=jst a=dbaron 2005-05-12 15:20:43 +00:00
cbiesinger%web.de f25a0b7537 Bug 282275 remove NS_NOTREACHED in ReadSegments implementations
r+sr=darin
2005-02-18 18:39:53 +00:00
bryner%brianryner.com 67dba23ae4 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron. 2005-02-03 23:01:54 +00:00
bsmedberg%covad.net c8a269eb8f Bug 278262 - JAR URIs should resolve relative URIs in the base section r=biesi sr=darin 2005-01-23 23:03:39 +00:00
timeless%mozdev.org 6b1df2ec98 Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
cbiesinger%web.de 8ab6e0d7d1 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa
2005-01-09 20:43:35 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
dbaron%dbaron.org d0cf51c72d Make nsJARURI work usable in fastload. b=252703 r=darin sr=bzbarsky 2004-12-02 07:00:25 +00:00
dbaron%dbaron.org 9643fc6c04 Back out 252703 due to Txul / Ts regression. 2004-12-02 01:26:20 +00:00
dbaron%dbaron.org 21dccaeace Fix theme switching bugs related to insufficient change handling when entry points to themes are stylesheet links (processing instructions or XBL stylesheet elements) or xul:image src attributes by giving the chrome: protocol its own URL implementation that remembers the URL to which the chrome: URL was resolved and uses that resolved URL as part of equality testing. Fix various fastload issues arising from this change. b=252703 r=darin sr=bzbarsky 2004-12-01 22:39:17 +00:00
neil%parkwaycc.co.uk 35005e3b32 Bug 256504 Make jar cache flushable p=ted.mielczarek@gmail.com r=darin sr=roc 2004-11-27 17:25:25 +00:00
timeless%mozdev.org d01dd1aa4c Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner
2004-11-23 19:34:02 +00:00
dbaron%dbaron.org 15c5c32945 Remove unused file, after wasting most of a day debugging why my changes to it didn't do anything (252703). 2004-11-20 23:54:28 +00:00
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
sfraser%netscape.com d133d4956f Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson 2002-01-30 21:14:20 +00:00
dp%netscape.com 63fff83ae2 bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser 2002-01-24 07:00:07 +00:00
timeless%mac.com a3fc2febc6 Bug 117740 bad style in Cut calls in nsJARURI::SetSpec
r=redfive sr=jag
2002-01-16 07:31:45 +00:00
brade%netscape.com b122c940c3 remove unused statics kIOServiceCID and kJARUriCID saving 32 bytes (bug 117927; rs=darin) 2002-01-09 14:32:21 +00:00
brade%netscape.com 79d2de4033 remove unused static kZipReaderCID saving 16 bytes (bug 117927; rs=darin) 2002-01-09 14:31:27 +00:00
dp%netscape.com 511f55d7ee bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan 2002-01-04 05:46:48 +00:00
dp%netscape.com 75409d6e33 bug 116191 Making nsZipItem a member of nsJarInputStream rather than a
pointer. Saves a 16 byte allocation on per jar file read. r=darin, sr=dveditz
2001-12-21 05:57:39 +00:00
darin%netscape.com fa0b23c735 fixes bug 115222 "jar protocol handler should be cached in the io service"
r=dp, sr=mscott
2001-12-20 03:46:21 +00:00
seawood%netscape.com 45bfbf0658 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
darin%netscape.com 1d20c0ccdf fixes bug 115164 "nsJARURI::FormatSpec does more work than it needs to do"
r=dp, sr=jag
2001-12-15 20:34:07 +00:00
seawood%netscape.com c054e1681f Declaring callback functions appropriately.
Fixing OS/2 tinderbox bustage
2001-12-15 13:15:24 +00:00
dp%netscape.com 0b130323ce bug 113393 zlib allocator implementation. Eliminates about 1200+
allocations done by zlib by recycling previously allocated
memory. r=darin sr=dveditz
2001-12-15 06:31:49 +00:00
darin%netscape.com a2d32b8e4e fixes bug 115129 "stream loader optimizations" r=gagan, sr=brendan,dveditz 2001-12-14 22:54:56 +00:00
ccarlen%netscape.com f810f656cc Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser 2001-12-11 05:10:45 +00:00
ccarlen%netscape.com baca6ece31 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser. 2001-12-10 20:42:22 +00:00
blythe%netscape.com 0b6347d8c1 fix linux build bustage that I caused with recent checkin 2001-12-07 02:08:57 +00:00
seawood%netscape.com 5c26b736c2 Fixing typo & tindebrox bustage 2001-12-07 01:45:19 +00:00
blythe%netscape.com db9576d004 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf
2001-12-07 01:16:20 +00:00
darin%netscape.com 98a47ebb42 fixes bug 71005 "Memory leak in implementation of nsJARURI"
patch=badami@netscape.com
r=gordon@netscape.com
sr=darin@netscape.com
2001-12-06 01:20:33 +00:00
dp%netscape.com 37ff37c371 bug 112312 Removing 32k-1 allocs when reading jar files. Saves a bunch
of time (about 10% on win2k) on startup. r=cathleen,dveditz sr=darin
2001-12-01 00:50:13 +00:00
dougt%netscape.com d89fa6a2b9 fixed bug 112345. JAR Channel does not cache mime service. r=neeti@netscape.com, sr=darin@netscape.com 2001-11-29 22:29:00 +00:00
dp%netscape.com dcfa173ae4 backing out previous change. Causes installer to fail with crc
errors.
2001-11-29 14:51:50 +00:00
dp%netscape.com 25918871d6 bug 112312 removing 32k allocs from libjar. darin&dp r=dbaron, sr=darin 2001-11-28 03:23:16 +00:00
timeless%mac.com 51a4520c4a Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan
2001-11-26 08:05:05 +00:00
jband%netscape.com b6b7bfd723 trivial patch to avoid string assertions when entry is empty rs=jband 2001-11-22 23:32:49 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
pete%alphanumerica.com b52992027b b=107823, r=ccarlen, sr=brendan
--pete
2001-11-01 00:11:15 +00:00
dougt%netscape.com 20e863fb43 Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +00:00
dougt%netscape.com 8e3200f084 Freeze nsIMemory interface bug 99151 r=rpotts@netscape.com, sr=brendan@netscape.com 2001-10-26 00:09:22 +00:00
jaggernaut%netscape.com 45107c0d97 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-25 06:13:52 +00:00
jaggernaut%netscape.com 06f4e59853 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-24 23:47:43 +00:00
dougt%netscape.com 0a62d4e8d5 99163 - removing nsObserverService.h includes. Also fixing 106090, extra methods on nsObserverService. r=shaver@mozilla.org, sr=jband@netscape.com 2001-10-22 22:01:27 +00:00
dougt%netscape.com d18d7e2b17 nsIObserver and nsIObserverService API freeze. r=rpotts@netscape.com, alecf@netscape.com. bug 99163 2001-10-19 20:52:59 +00:00
seawood%netscape.com 453220b93d Remove use of additional dirs in VPATH as it causes problems in srcdir builds and the previous workarounds do not always work due to a bug in gcc's -MD.
Bug #105005 r=jag
2001-10-17 06:00:18 +00:00
seawood%netscape.com 8e45b78c13 For directories that use additional VPATHs, change OBJ_SUFFIX instead of duplicating build rules. Turn off compiler dependencies when changing OBJ_SUFFIX because at least gcc < 3.0 has problems generating the correct dependencies when the basename of the srcfile does not match the basename of the object file.
Bug #105005
2001-10-16 09:31:58 +00:00
dougt%netscape.com 4f3a44d63b API Freeze for nsIServiceManager r=shaver@mozilla.org, sr=rpotts@netscape.com bug 99147 2001-10-16 03:35:52 +00:00
jaggernaut%netscape.com ca6197295f 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 2001-09-29 08:28:41 +00:00
bryner%netscape.com 7a1b52ad6d removing depend:: clobber line... this was causing problems since export is now done before depend. r=cls. 2001-09-29 04:34:55 +00:00
gerv%gerv.net 4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
bryner%netscape.com b0951ad401 Fixing build bustage. r=brendan. 2001-09-21 00:44:22 +00:00
idk%eng.sun.com 9a5d8f446c fix for 57337 [libjar does not retrieve link information]
r  = dveditz@netscape.com
sr = brendan@mozilla.org
2001-09-20 23:33:23 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org 102170b2a0 bug #98089: ripped new license 2001-09-19 20:09:47 +00:00
darin%netscape.com f0b0eef672 fixes bug 99183 "JAR channel allocates and uses a monitor even though it is
accessed exclusively by the UI thread" r=dougt, sr=mscott
2001-09-18 23:07:57 +00:00
jaggernaut%netscape.com d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
darin%netscape.com 819e81b079 fixes bug 97528 "1200 urls created on startup about:blank" (take 2)
r=dp, sr=brendan
2001-09-14 21:19:41 +00:00
darin%netscape.com 5a2d9f0d2d checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
alecf%netscape.com 8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
darin%netscape.com 5c54de5f26 backing out patch for bug 97528 due to regression/smoketest-blocker bug 98838. 2001-09-10 00:42:50 +00:00
darin%netscape.com ca77403ab0 fixes bug 97528 "1200 urls created on startup about:blank"
r=dp, sr=dougt
2001-09-07 22:32:50 +00:00
dougt%netscape.com f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +00:00
valeski%netscape.com 93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
cls%seawood.org aac7aaa382 Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron
2001-08-30 01:14:45 +00:00
cls%seawood.org 94fe7404df Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron
2001-08-29 03:29:44 +00:00
brendan%mozilla.org 6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
blizzard%redhat.com b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
andreas.otte%primus-online.de 6917b5d061 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
dougt%netscape.com 429aaeeab6 Fixing comment. r=me, sr=nobody 2001-08-02 01:35:28 +00:00
brendan%mozilla.org dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
mcafee%netscape.com 85c115904e Changes to allow packaging of statically-linked build (87213). r=cathleen, sr=waterson, a=blizzard 2001-07-26 03:18:42 +00:00
jaggernaut%netscape.com e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com f020dcc1cd Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +00:00
cathleen%netscape.com 04a2d87fea fixed bug 87004, for win static build, changed libjar and xpinstall to be
dynamic, updated static packager list, added build_static.pl, fixed static
component loader to handle no static component cases, updated and added
.cvsignore for extra files generated by static build
2001-07-19 22:43:14 +00:00
leaf%mozilla.org cb976acc61 merging zlib 1.1.3 from 0.9.2 branch to trunk, a=chofmann, bug 86323 2001-06-30 23:38:09 +00:00
dbaron%fas.harvard.edu d5460d02ef Remove nsCStringKey-related bustage fixes from this morning that are no longer needed. r=jaggernaut sr=waterson b=88411 2001-06-29 23:16:52 +00:00
scc%mozilla.org dac7093de8 fixing Solaris bustage 2001-06-29 17:33:28 +00:00
waterson%netscape.com b74d6e1c8b Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
cls%seawood.org bf5fb48486 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
2001-06-18 22:10:38 +00:00
dougt%netscape.com e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
ddrinan%netscape.com fab41d17b3 PCKS7 implementation for signed JS. Bug# 82227 r=mstoltz@netscape.com,sr=blizzard@mozilla.org,a=blizzard@mozilla.org 2001-05-23 23:22:25 +00:00
cls%seawood.org 34b7986e37 Add --disable-auto-deps option which causes the build system to not automatically generate dependencies on the fly. Also, fixes VPATH problem with non gcc-MD separate build phase |make depend|.
Bug #66529 r=pavlov
2001-05-22 07:52:30 +00:00
mstoltz%netscape.com 9f572bcb9a bug 78650, moved some #ifdefs so that printfs never happen in optimized builds.
patch by cls@seawood.org, r=mstoltz@netscape.com, dveditz@netscape.com
2001-05-15 06:43:03 +00:00
kandrot%netscape.com afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
cls%seawood.org 00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
shaver%mozilla.org a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
hewitt%netscape.com a45fdbc40d 72717 - die Blue, die!, r=dveditz, sr=hyatt 2001-04-11 03:32:24 +00:00
darin%netscape.com 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00