522 Commits

Author SHA1 Message Date
gavin%gavinsharp.com
3b83a8371a Bug 318692: remove nsZlibAllocator.h since it's no longer used, r+sr=brendan
git-svn-id: svn://10.0.0.236/trunk@200809 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 16:07:48 +00:00
darin%meer.net
db7adf5768 fixes bug 327275 "nsJARURI::Clone has wrong return value on OOM" patch by chpe, r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@200777 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-24 01:04:56 +00:00
mark%moxienet.com
3c3039eafa 342577 nsZipArchive::SeekToItem can fail due to thread race. Work around by separating nsZipItem's headerOffset and dataOffset. r=darin sr=darin
git-svn-id: svn://10.0.0.236/trunk@200766 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 23:20:16 +00:00
cbiesinger%web.de
8d9f96359d bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@196108 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 17:53:51 +00:00
ajschult%verizon.net
76343a87d7 Bug 336691: nsZipArchive::Test shouldn't try to ExtractFile on directories. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@196096 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-06 04:19:27 +00:00
darin%meer.net
3966a05c25 fixes bug 336593 "Firefox crashes when it starts [@ PL_FinishArenaPool]" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin
git-svn-id: svn://10.0.0.236/trunk@196046 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 20:44:52 +00:00
darin%meer.net
78b4d016b3 fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin
git-svn-id: svn://10.0.0.236/trunk@195829 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 19:33:09 +00:00
bzbarsky%mit.edu
c4f7acfe09 Add an interface for nested URIs (like jar:, view-source:, etc) to implement
and use it in various places.  Create null principals if asked for a codebase
principal for a codebase that doesn't have an inherent security context (eg
data: or javascript:).  Bug 334407, r=biesi,dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@195823 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-02 18:54:19 +00:00
mozilla.mano%sent.com
5bc5424042 Bug 269813 - return failure when trying to open a zipreader twice. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@194463 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 14:02:12 +00:00
mozilla.mano%sent.com
655a88ea21 Bug 269813 - document the fact that getZip returns an open zipreader. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@194462 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 13:59:31 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
jwalden%mit.edu
9c66ec0e1d Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193219 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-29 22:10:37 +00:00
bryner%brianryner.com
7ec5e10667 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin.
git-svn-id: svn://10.0.0.236/trunk@192401 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com
4bd74e9b89 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2


git-svn-id: svn://10.0.0.236/trunk@191994 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 19:29:25 +00:00
benjamin%smedbergs.us
7871a138c8 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@191574 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 15:15:03 +00:00
darin%meer.net
c0e834f3c6 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@186805 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-02 02:30:32 +00:00
gerv%gerv.net
ae8a258b12 Bug 320174: correct malformed licence headers. Patch by Jeff Walden <jwalden@mit.edu>, r=gerv.
git-svn-id: svn://10.0.0.236/trunk@186106 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-15 13:48:48 +00:00
timeless%mozdev.org
f9bdb44b34 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185269 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 08:16:51 +00:00
darin%meer.net
7a9b183603 fixes bug 289851 "jar: protocol does not handle file names with embedded spaces" patch by Simo Melenius (simo.melenius@citec.fi), r=biesi, sr=darin
git-svn-id: svn://10.0.0.236/trunk@185213 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-23 20:35:37 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
cbiesinger%web.de
fd32ae606a bug 315188 make libjar use symlinks on BeOS too
patch by tqh <thesuckiestemail@yahoo.se> r=fyysik sr=darin


git-svn-id: svn://10.0.0.236/trunk@184199 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 23:23:01 +00:00
bsmedberg%covad.net
4a67c9ab45 Bug 207521 - deprecate --enable|disable-shared, since --enable-static gives us all the information we need, r=cls
git-svn-id: svn://10.0.0.236/trunk@182373 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-17 14:57:32 +00:00
timeless%mozdev.org
2a7bebac19 Bug 210305 crash [@ nsJARChannel::nsJARChannel] NS_ADDREF(gJarHandler) because gJarHandler is 0
r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180356 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 07:09:35 +00:00
dbaron%dbaron.org
f5fb8ddaff Make nsIChannel implementations follow the rules that prevent them from leaking due to cycles with their notification callbacks. b=303043 r=biesi sr=darin
git-svn-id: svn://10.0.0.236/trunk@177663 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-12 22:53:22 +00:00
dougt%meer.net
54f4b5b76f * 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


git-svn-id: svn://10.0.0.236/trunk@176702 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-27 20:42:44 +00:00
bzbarsky%mit.edu
354647c8df 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


git-svn-id: svn://10.0.0.236/trunk@176458 18797224-902f-48f8-a5cc-f745e15eee43
2005-07-22 19:05:42 +00:00
db48x%yahoo.com
44f2a51000 bug 296522: nsJAR.cpp uses wrong allocator
patch by john <johnli1995@hotmail.com>, r=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@174559 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-14 10:29:45 +00:00
dougt%meer.net
c3e3eda0f8 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
git-svn-id: svn://10.0.0.236/trunk@173927 18797224-902f-48f8-a5cc-f745e15eee43
2005-06-01 16:06:53 +00:00
darin%meer.net
edb0a57a3f fixes bug 290982 "Disallow viewsource:javascript and jar:viewsource URLs" r=dveditz sr=jst a=dbaron
git-svn-id: svn://10.0.0.236/trunk@173326 18797224-902f-48f8-a5cc-f745e15eee43
2005-05-12 15:20:43 +00:00
cbiesinger%web.de
992b2af388 Bug 282275 remove NS_NOTREACHED in ReadSegments implementations
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@169407 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:39:53 +00:00
bryner%brianryner.com
9861051f37 Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@168768 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-03 23:01:54 +00:00
bsmedberg%covad.net
202f2efa47 Bug 278262 - JAR URIs should resolve relative URIs in the base section r=biesi sr=darin
git-svn-id: svn://10.0.0.236/trunk@168213 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-23 23:03:39 +00:00
timeless%mozdev.org
85a0e83ff8 Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
r=dbradley sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@167609 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-12 19:20:01 +00:00
cbiesinger%web.de
7a0cda61b9 bug 264599 make unfrozen necko interfaces use 64-bit integers.
r=darin sr=bz a=asa


git-svn-id: svn://10.0.0.236/trunk@167443 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-09 20:43:35 +00:00
bsmedberg%covad.net
4c08900f0e Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees.
git-svn-id: svn://10.0.0.236/trunk@166497 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-09 19:28:35 +00:00
dbaron%dbaron.org
30c184c51f Make nsJARURI work usable in fastload. b=252703 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@166139 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 07:00:25 +00:00
dbaron%dbaron.org
4bbdb86a7a Back out 252703 due to Txul / Ts regression.
git-svn-id: svn://10.0.0.236/trunk@166118 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-02 01:26:20 +00:00
dbaron%dbaron.org
4152e1ae96 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
git-svn-id: svn://10.0.0.236/trunk@166102 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-01 22:39:17 +00:00
neil%parkwaycc.co.uk
4a9d4511c7 Bug 256504 Make jar cache flushable p=ted.mielczarek@gmail.com r=darin sr=roc
git-svn-id: svn://10.0.0.236/trunk@165836 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-27 17:25:25 +00:00
timeless%mozdev.org
67c08f0b9e Bug 249782 Make Mozilla compile with Microsoft Visual Studio 2005
patch by sdwalker@myrealbox.com r=bryner


git-svn-id: svn://10.0.0.236/trunk@165657 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-23 19:34:02 +00:00
dbaron%dbaron.org
953550acde Remove unused file, after wasting most of a day debugging why my changes to it didn't do anything (252703).
git-svn-id: svn://10.0.0.236/trunk@165555 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-20 23:54:28 +00:00
darin%meer.net
e3117874fa fixes bug 261083 "Channels do not uniformly query their notification callbacks" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165373 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 20:16:52 +00:00
darin%meer.net
ed9e4d3d7a eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@164735 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-01 18:50:36 +00:00
cls%seawood.org
bf73f3fc99 Use standalone zlib headers when building standalone jar
Bug #264407 r=ben.bucksch


git-svn-id: svn://10.0.0.236/trunk@163800 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-15 00:44:06 +00:00
cbiesinger%web.de
4ce60b9ad2 fixing indentation after last checkin
git-svn-id: svn://10.0.0.236/trunk@162320 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 18:55:28 +00:00
cbiesinger%web.de
4ea2b57c69 Bug 248044 move jar protocol handler into libjar. these are the changes to the
existing files
r=bsmedberg sr=darin


git-svn-id: svn://10.0.0.236/trunk@162318 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 18:40:26 +00:00
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