576 Commits

Author SHA1 Message Date
jwalden%mit.edu
fbed0daa48 Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). Patch by Nelson Bolyard <nelson@bolyard.me>, r=jwalden, a=ss
git-svn-id: svn://10.0.0.236/trunk@257860 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-30 00:07:29 +00:00
jwalden%mit.edu
f5e98d0588 Backing out bug 332173 changes until I can figure out the orange
git-svn-id: svn://10.0.0.236/trunk@257855 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-29 21:50:21 +00:00
jwalden%mit.edu
15334bed7b Bug 332173 - Problems with regexp parsing of '~' in nsIZipReader.findEntries (and other nsWildCard uses). Patch by Nelson Bolyard <nelson@bolyard.me>, r=jwalden, a=ss
git-svn-id: svn://10.0.0.236/trunk@257851 18797224-902f-48f8-a5cc-f745e15eee43
2009-07-29 21:12:47 +00:00
dcamp%mozilla.com
3983d7f317 Bug 481342 - Fix some unpacking logic. r+sr=bz, a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256563 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 21:53:51 +00:00
dcamp%mozilla.com
77390ae934 Bug 474536. Expose the underlying channel's content-disposition on jar: channels (missed a chunk in previous commit). p=jduell, r+sr=bzbarsky, b1.9.1=jst, a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256546 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 06:54:05 +00:00
dcamp%mozilla.com
c336bb9a28 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. p=jduell, r+sr=bzbarsky, b1.9.1=jst, a1.9.0.8=dveditz
git-svn-id: svn://10.0.0.236/trunk@256545 18797224-902f-48f8-a5cc-f745e15eee43
2009-03-17 06:19:07 +00:00
dtownsend%oxymoronical.com
8d79e5b8e1 Bug 453545: InstallTrigger broken when doing multiple signed XPI installs.
r=biesi, a1.9.0.5=dveditz


git-svn-id: svn://10.0.0.236/trunk@255076 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-17 19:53:36 +00:00
bzbarsky%mit.edu
627b5e5c2a Bug 462806. Don't initialize PSM when dealing with a jar unless the jar is actually signed. r=dveditz, sr=vlad, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@255068 18797224-902f-48f8-a5cc-f745e15eee43
2008-11-17 15:59:29 +00:00
dveditz%cruzio.com
3dd2d1cc12 bug 453254 fix null-deref crash. patch by Alex Vincent, r/sr=cbiesinger, a=dveditz
git-svn-id: svn://10.0.0.236/trunk@254690 18797224-902f-48f8-a5cc-f745e15eee43
2008-10-21 00:11:36 +00:00
gavin%gavinsharp.com
5489caa152 Fix spelling mistake from bug 433248's patch (comment failure string)
git-svn-id: svn://10.0.0.236/trunk@252735 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 07:11:18 +00:00
gavin%gavinsharp.com
bb0442be6c Bug 433248: nsIZipWriter crashes FF3 on access to nsIZipWriter.file, patch by Dave Townsend <dtownsend@mozilla.com>, r=jst, a=beltzner
git-svn-id: svn://10.0.0.236/trunk@252725 18797224-902f-48f8-a5cc-f745e15eee43
2008-07-01 06:03:11 +00:00
dtownsend%oxymoronical.com
69e6ef61c4 Testcase for bug 425768
git-svn-id: svn://10.0.0.236/trunk@248831 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-29 21:11:05 +00:00
dtownsend%oxymoronical.com
7666270f18 Bug 425768: Zipwriter corrupts zip files that previously contained extra
fields. r=bsmedberg, a=beltzner


git-svn-id: svn://10.0.0.236/trunk@248830 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-29 21:10:22 +00:00
jwalden%mit.edu
3391ee0995 Bug 405570 - Replace redirects in test for bug 403331 with a test-specific redirection page, now that the HTTP server supports server-side scripts -- the less test harness infrastructure we have, the easier it is to understand and support. r=me as a trivial change, a=testonlychange
git-svn-id: svn://10.0.0.236/trunk@248326 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-20 22:58:42 +00:00
dveditz%cruzio.com
1e85f9ad8d bug 422118 crash reading malformed zip archives. r=biesi, sr=bzbarsky, a=schrep
git-svn-id: svn://10.0.0.236/trunk@248177 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-19 19:28:38 +00:00
dtownsend%oxymoronical.com
70e350075d Switch tests to fixed time to avoid DST issue from bug 402434
git-svn-id: svn://10.0.0.236/trunk@247429 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-09 11:19:45 +00:00
dtownsend%oxymoronical.com
b8899204f9 Bug 419769: nsIZipWriter crashes with a 0 length file and COMPRESSION_BEST.
r=biesi


git-svn-id: svn://10.0.0.236/trunk@247185 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-06 11:01:09 +00:00
jag%tty.nl
66730e483a Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep
git-svn-id: svn://10.0.0.236/trunk@245954 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-19 07:36:52 +00:00
reed%reedloden.com
6d6f5e7d6b Bug 412818 - "cvs remove nsJARDirectoryInputStream.h" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=biesi a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@244321 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-29 07:49:01 +00:00
dcamp%mozilla.com
2fd5bcfca2 Bug 407303: only check JAR loads for unsafe content types if the underlying load completed successfully. r+sr=bz, blocking1.9=schrep
git-svn-id: svn://10.0.0.236/trunk@241179 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-13 22:34:14 +00:00
dcamp%mozilla.com
43ee461b3e Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner
git-svn-id: svn://10.0.0.236/trunk@239965 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 05:32:26 +00:00
dcamp%mozilla.com
6584a3f403 Bug 403331: update JAR channel URIs after a redirect. r=bz, r=jwalden (mochitest changes), sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@239963 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-27 04:35:01 +00:00
dtownsend%oxymoronical.com
829ee69268 Bug 399727: Deflate stream converter produces raw deflate data rather than
zlib compressed data. r=biesi a=schrep


git-svn-id: svn://10.0.0.236/trunk@239803 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 22:05:11 +00:00
sdwilsh%shawnwilsher.com
f6f283ebe9 Bug 402434 - Libjar unittests failing (due to DST?). Backout of extra logging...
git-svn-id: svn://10.0.0.236/trunk@238514 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-04 15:41:02 +00:00
sdwilsh%shawnwilsher.com
dc9e9fe1e7 Bug 402434 - Libjar unittests failing (due to DST?). This just adds some logging to the test so we can try to figure it out...
git-svn-id: svn://10.0.0.236/trunk@238513 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-04 15:05:50 +00:00
mozilla%weilbacher.org
f5086c2faa Bug 396861: Need short libname for zipwriter on OS/2, r=ted.mielczarek, a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236435 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 10:04:37 +00:00
dtownsend%oxymoronical.com
d5b504c285 Follow-up to bug 379633: Scriptable zipwriter component. r+a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@236100 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 15:33:05 +00:00
rflint%ryanflint.com
f9bb76f84a Disable zipwriter tests
git-svn-id: svn://10.0.0.236/trunk@236090 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 07:13:57 +00:00
rflint%ryanflint.com
c5b3401712 Disable failing zipwriter tests
git-svn-id: svn://10.0.0.236/trunk@236085 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 05:30:58 +00:00
dtownsend%oxymoronical.com
b60c59dc05 Bug 379633: Scriptable zipwriter component. r=bsmedberg, sr=cbiesinger,
a=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@236071 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-16 23:48:08 +00:00
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +00:00
asqueella%gmail.com
95387b649f Bug 379841 - nsIZipReader's last modified time ignores seconds
p=Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>
r=biesi, sr=bsmedberg


git-svn-id: svn://10.0.0.236/trunk@226343 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 12:27:51 +00:00
asqueella%gmail.com
1eb77dc3c9 test for bug 278262 - JAR URIs should resolve relative URIs in the base section
p=Ryan Jones <sciguyryan@gmail.com>
r=sayrer


git-svn-id: svn://10.0.0.236/trunk@225165 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 16:15:18 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
asqueella%gmail.com
8d8802301b unit test (xpcshell) for bug 336691 (nsZipArchive::Test shouldn't try to ExtractFile on directories)
by Ryan Jones <sciguyryan@gmail.com>
r=biesi


git-svn-id: svn://10.0.0.236/trunk@221464 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-07 20:19:09 +00:00
asqueella%gmail.com
215995fd50 add the forgotten jar file required for the unit test, still bug 370103
git-svn-id: svn://10.0.0.236/trunk@221143 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 08:21:32 +00:00
asqueella%gmail.com
20b1f2a9a4 Bug 370103 - Crash [@ nsJARChannel::OnStartRequest] when passing null listener to AsyncOpen
p=Wladimir Palant <trev@gtchat.de>
r=darin, sr=biesi


git-svn-id: svn://10.0.0.236/trunk@221138 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-01 07:06:07 +00:00
jwalden%mit.edu
6d7428a45a Bug 368942 - Add a do_get_file(path) function to xpcshell-simple, remove do_get_topsrcdir() as unnecessary. Also fix bug 368944 (invalid use of nsILocalFile API in test-harness) at the same time. r=sayrer
git-svn-id: svn://10.0.0.236/trunk@219443 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-03 01:46:09 +00:00
jwalden%mit.edu
8b7aba480c Final try at bug 351968 -- make relative topsrcdirs work, fixing the last build errors. Because xpcshell tests are fragile, this commit intentionally breaks a test so that I can verify correctness; I'll remove the break when I verify the fix works correctly (via broken test error messages).
git-svn-id: svn://10.0.0.236/trunk@219238 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 07:22:12 +00:00
jwalden%mit.edu
83d07a5ce5 Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@219219 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-31 03:25:46 +00:00
roc+%cs.cmu.edu
6d0b53f654 Bug 368153. Allow jar: URLs to return the query part in the document.location.search property. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@219154 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 01:15:02 +00:00
dbaron%dbaron.org
d9dd451d51 Don't close the same file descriptors twice. b=367817 r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@218927 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-25 23:05:22 +00:00
bzbarsky%mit.edu
07c77ee36e Filter out entries for files in subdirectories even at the root. Bug 367459,
patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@218736 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-22 01:47:50 +00:00
bzbarsky%mit.edu
3f520eaa49 Make it possible for protocol handlers to configure how CheckLoadURI should
treat them via their protocol flags.  Remove the protocol list we used before.
Bug 120373, r=dveditz, sr=darin


git-svn-id: svn://10.0.0.236/trunk@215130 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 23:49:08 +00:00
darin%meer.net
7e7cc46ff7 fixes bug 210564 "[nsJARInputStream::Init] leaks file descriptors" patch by sciguyryan+bugzilla@gmail.com, r=alfredkayser, sr=darin
git-svn-id: svn://10.0.0.236/trunk@213872 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 20:56:48 +00:00
gavin%gavinsharp.com
963502e25f Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@213409 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 13:24:57 +00:00
dbaron%dbaron.org
246c67a2e7 Bustage fix for 333129 more in module style.
git-svn-id: svn://10.0.0.236/trunk@212251 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 17:33:10 +00:00
gavin%gavinsharp.com
1c83a624fe back out bug 337561
git-svn-id: svn://10.0.0.236/trunk@212248 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 16:23:31 +00:00
gavin%gavinsharp.com
92ccebf6dc Temporary hack to fix bustage from bug 333129
git-svn-id: svn://10.0.0.236/trunk@212247 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 15:53:37 +00:00
gavin%gavinsharp.com
8ae5dd2994 Bug 333129: libjar: Only create synthetic entries when really needed, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=biesi
git-svn-id: svn://10.0.0.236/trunk@212243 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 15:22:36 +00:00