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
gavin%gavinsharp.com
9d1e44bc27
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@212241 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 15:13:57 +00:00
davel%mozilla.com
2f1c3d4786
b=333423 crash in nsIZipReader
...
r=asqueella, sr=darin
add test case for previous crashing bug
(check-in for allmakefiles.sh to follow)
git-svn-id: svn://10.0.0.236/trunk@211700 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-14 17:15:28 +00:00
cbiesinger%web.de
79c83755e2
bug 337763 fix memory leak in ZIP_OpenArchive
...
patch by Ehsan Akhgari <ehsan.akhgari@gmail.com> r=waldo sr=biesi
git-svn-id: svn://10.0.0.236/trunk@209215 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-05 23:04:49 +00:00
jwalden%mit.edu
6a5928f06a
Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@207150 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-11 18:36:32 +00:00
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