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

701 Коммитов

Автор SHA1 Сообщение Дата
Peter Annema 94935dfe87 Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Clean up memory usage.
 - Turn the helper functions into template functions.
 - Make both copies be exactly the same.
2009-05-13 20:22:54 -07:00
Peter Annema 8ae104db6e Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Sync up filepicker's nsWildCard to fixes made to libjar's version.
2009-05-13 20:22:53 -07:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Neil Rashbrook 70d1cf5f21 Bug 487018 Switch to nsCString and fix other allocator mismatches r=timeless sr=dveditz 2009-04-07 10:24:58 +01:00
Ted Mielczarek 1771ccc676 bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
--HG--
rename : toolkit/components/downloads/test/downloads.empty.sqlite => browser/components/privatebrowsing/test/unit/downloads.empty.sqlite
rename : dom/src/json/test/fail1.json => dom/src/json/test/unit/fail1.json
rename : dom/src/json/test/fail10.json => dom/src/json/test/unit/fail10.json
rename : dom/src/json/test/fail11.json => dom/src/json/test/unit/fail11.json
rename : dom/src/json/test/fail12.json => dom/src/json/test/unit/fail12.json
rename : dom/src/json/test/fail13.json => dom/src/json/test/unit/fail13.json
rename : dom/src/json/test/fail14.json => dom/src/json/test/unit/fail14.json
rename : dom/src/json/test/fail15.json => dom/src/json/test/unit/fail15.json
rename : dom/src/json/test/fail16.json => dom/src/json/test/unit/fail16.json
rename : dom/src/json/test/fail17.json => dom/src/json/test/unit/fail17.json
rename : dom/src/json/test/fail18.json => dom/src/json/test/unit/fail18.json
rename : dom/src/json/test/fail19.json => dom/src/json/test/unit/fail19.json
rename : dom/src/json/test/fail2.json => dom/src/json/test/unit/fail2.json
rename : dom/src/json/test/fail20.json => dom/src/json/test/unit/fail20.json
rename : dom/src/json/test/fail21.json => dom/src/json/test/unit/fail21.json
rename : dom/src/json/test/fail22.json => dom/src/json/test/unit/fail22.json
rename : dom/src/json/test/fail23.json => dom/src/json/test/unit/fail23.json
rename : dom/src/json/test/fail24.json => dom/src/json/test/unit/fail24.json
rename : dom/src/json/test/fail25.json => dom/src/json/test/unit/fail25.json
rename : dom/src/json/test/fail26.json => dom/src/json/test/unit/fail26.json
rename : dom/src/json/test/fail27.json => dom/src/json/test/unit/fail27.json
rename : dom/src/json/test/fail28.json => dom/src/json/test/unit/fail28.json
rename : dom/src/json/test/fail29.json => dom/src/json/test/unit/fail29.json
rename : dom/src/json/test/fail3.json => dom/src/json/test/unit/fail3.json
rename : dom/src/json/test/fail30.json => dom/src/json/test/unit/fail30.json
rename : dom/src/json/test/fail31.json => dom/src/json/test/unit/fail31.json
rename : dom/src/json/test/fail32.json => dom/src/json/test/unit/fail32.json
rename : dom/src/json/test/fail33.json => dom/src/json/test/unit/fail33.json
rename : dom/src/json/test/fail34.json => dom/src/json/test/unit/fail34.json
rename : dom/src/json/test/fail4.json => dom/src/json/test/unit/fail4.json
rename : dom/src/json/test/fail5.json => dom/src/json/test/unit/fail5.json
rename : dom/src/json/test/fail6.json => dom/src/json/test/unit/fail6.json
rename : dom/src/json/test/fail7.json => dom/src/json/test/unit/fail7.json
rename : dom/src/json/test/fail8.json => dom/src/json/test/unit/fail8.json
rename : dom/src/json/test/fail9.json => dom/src/json/test/unit/fail9.json
rename : dom/src/json/test/json2.js => dom/src/json/test/unit/json2.js
rename : dom/src/json/test/pass1.json => dom/src/json/test/unit/pass1.json
rename : dom/src/json/test/pass3.json => dom/src/json/test/unit/pass3.json
rename : testing/xpcshell/example/location_load.js => testing/xpcshell/example/unit/location_load.js
rename : toolkit/components/commandlines/test/unit/unix/test_bug410156.js => toolkit/components/commandlines/test/unit_unix/test_bug410156.js
rename : toolkit/components/commandlines/test/unit/win/test_bug410156.js => toolkit/components/commandlines/test/unit_win/test_bug410156.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug257155/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug257155/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_e_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_e_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_f_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_f_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug299716_g_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug299716_g_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug324121_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug324121_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug335238_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug335238_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_10/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_10/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_11/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_11/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_12/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_12/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_13/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_13/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug378216_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug378216_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug394300_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug394300_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_a_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_a_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_b_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_b_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_c_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_c_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug396129_d_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug396129_d_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug397778/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug397778/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug425657/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug425657/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_1/README => toolkit/mozapps/extensions/test/addons/test_bug428341_1/README
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug428341_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug428341_9/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug436207/install.js => toolkit/mozapps/extensions/test/addons/test_bug436207/install.js
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_1/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_1/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_2/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_2/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_3/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_3/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_4/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_4/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_5/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_5/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_6/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_6/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_7/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_7/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_8/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_8/install.rdf
rename : toolkit/mozapps/extensions/test/unit/addons/test_bug463819_9/install.rdf => toolkit/mozapps/extensions/test/addons/test_bug463819_9/install.rdf
2009-03-21 11:20:00 -04:00
Paolo Amadini 2d68162e98 Bug 467740: Crash [@ nsZipWriter::ReadFile] calling nsIZipWriter.open without PR_TRUNCATE on an existing malformed zip file. r=dtownsend 2009-03-18 14:19:59 +00:00
Dave Camp 39401f5525 Bug 481342 - Fix some unpacking logic. r+sr=bz
--HG--
rename : docshell/test/bug369814.zip => docshell/test/bug369814.jar
2009-03-10 14:58:00 -07:00
timeless 53c762b512 Bug 462728 crash when using alert from docloaderservice onStateChange listener [@ nsJARChannel::OnStartRequest]
r=biesi
2009-03-05 13:27:48 +01:00
timeless@mozdev.org 79316faf5b Bug 400322 "ASSERTION: nsStandardURL not thread-safe" (nsJARInputThunk marked as threadsafe uses nsJARURI in a non threadsafe manner), r+sr=biesi 2009-03-01 17:06:55 -08:00
Jason Duell c1e1fbbaf5 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
L. David Baron 3aba362292 Backed out changeset 4bd7dd7645c2 (Bug 474536) 2009-02-19 12:37:53 -08:00
Jason Duell aaf78a83e2 Bug 474536. Expose the underlying channel's content-disposition on jar: channels. r+sr=bzbarsky 2009-02-19 15:25:18 -05:00
Martijn Wargers c0fae0530d Bug 458158 - Crash [@ nsJAR::Open] when passing null argument to open method of zip-reader, r+sr=cbiesinger and r=jwalden+bmo 2009-01-22 16:12:00 +01:00
Fred Jendrzejewski 424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Doug Turner 33c0adf025 Bug 461848 - libjar wince cleanup r+sr=dveditz 2008-12-03 08:41:12 -05:00
Boris Zbarsky 984229a6b0 Bug 462806. Don't init PSM to deal with random JARs. Save that for signed JARs. r=dveditz, sr=vlad, a=beltzner 2008-11-18 14:11:35 -05:00
Dave Townsend 5d7883fa45 Bug 453545: InstallTrigger Broken when doing multiple signed XPI installs. r=biesi, a1.9.1b2=beltzner 2008-11-13 15:38:16 +00:00
Phil Ringnalda 538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Dave Townsend b4ba0cd7bb Bug 446464: File permissions are not preserved when zipping with zipwriter. r=biesi 2008-10-31 20:10:46 +00:00
Ian f2cd72a0db Bug 251475. Make sure channels don't return null for the originalURI. Initial work by Daniel Kraft <domob@daniel-kraft.net> and Brandon Ferguson <bnferguson@gmail.com>. r+sr=bzbarsky. 2008-10-15 16:05:23 -04:00
Arpad Borsos c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Mike Hommey 75b421dbea Bug 368428 - "XUL FastLoad cache corruption when application running while upgrading" [r=biesi] 2008-10-01 00:25:29 -05:00
Ted Mielczarek ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Alex Vincent 775fea6713 Bug 453254 - nsZipReaderCache::GetZip doesn't null-check the zipFile argument. r+sr=biesi 2008-09-06 17:06:47 +02:00
Dave Townsend fc728e3444 Bug 446708: ZipWriter incorrectly passes 0 data to onDataAvailable. r=biesi 2008-08-12 10:44:51 +01:00
Gavin Sharp 4dc6d586f8 Fix spelling mistake from bug 433248's patch (comment failure string) 2008-07-01 03:12:46 -04:00
Doug Turner ext:(%22) 0d9545724c Removing Minimo references. b=405705, r=ted 2008-06-16 13:57:42 -07:00
Dave Townsend 98e7b2dbe3 Bug 433248: nsIZipWriter crashes FF3 on access to nsIZipWriter.file. r=jst 2008-06-03 11:42:16 +01:00
dtownsend@oxymoronical.com b5e2e9822f Testcase for bug 425768 2008-03-29 14:11:05 -07:00
dtownsend@oxymoronical.com e84ca2950a Bug 425768: Zipwriter corrupts zip files that previously contained extra fields. r=bsmedberg, a=beltzner 2008-03-29 14:10:22 -07:00
jwalden@mit.edu a97929d3e5 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 2008-03-20 15:58:41 -07:00
dveditz@cruzio.com 8922632b9a bug 422118 crash reading malformed zip archives. r=biesi, sr=bzbarsky, a=schrep 2008-03-19 12:28:38 -07:00
dtownsend@oxymoronical.com 403a9e34b9 Switch tests to fixed time to avoid DST issue from bug 402434 2008-03-09 04:19:45 -07:00
dtownsend@oxymoronical.com 90c0cce377 Bug 419769: nsIZipWriter crashes with a 0 length file and COMPRESSION_BEST. r=biesi 2008-03-06 03:01:08 -08:00
jag@tty.nl dd268604cd Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
reed@reedloden.com 62d2af2b83 Bug 412818 - "cvs remove nsJARDirectoryInputStream.h" [p=alfredkayser@gmail.com (Alfred Kayser) r+sr=biesi a1.9=damons] 2008-01-28 23:49:01 -08:00
dcamp@mozilla.com 7c0613d757 Bug 407303: only check JAR loads for unsafe content types if the underlying load completed successfully. r+sr=bz, blocking1.9=schrep 2007-12-13 14:34:13 -08:00
dcamp@mozilla.com 1b9adf5c62 Bug 369814: don't open jar: content unless served from a safe mime type. r=bz, sr=dveditz, ui-r=beltzner 2007-11-26 21:32:23 -08:00
dcamp@mozilla.com 7e43d69c0b Bug 403331: update JAR channel URIs after a redirect. r=bz, r=jwalden (mochitest changes), sr=dveditz 2007-11-26 20:35:00 -08:00
dtownsend@oxymoronical.com 8e5c604bbe Bug 399727: Deflate stream converter produces raw deflate data rather than zlib compressed data. r=biesi a=schrep 2007-11-21 14:05:11 -08:00
sdwilsh@shawnwilsher.com 0de0974e41 Bug 402434 - Libjar unittests failing (due to DST?). Backout of extra logging... 2007-11-04 07:41:02 -08:00
sdwilsh@shawnwilsher.com 48b2ee3b3a Bug 402434 - Libjar unittests failing (due to DST?). This just adds some logging to the test so we can try to figure it out... 2007-11-04 07:05:50 -08:00
mozilla@weilbacher.org 851c3357d5 Bug 396861: Need short libname for zipwriter on OS/2, r=ted.mielczarek, a=bzbarsky 2007-09-21 03:04:37 -07:00
dtownsend@oxymoronical.com 5a4266c345 Follow-up to bug 379633: Scriptable zipwriter component. r+a=bsmedberg 2007-09-17 08:33:04 -07:00
rflint@ryanflint.com 048860cdba Disable zipwriter tests 2007-09-17 00:13:56 -07:00
rflint@ryanflint.com eb75358be4 Disable failing zipwriter tests 2007-09-16 22:30:58 -07:00
dtownsend@oxymoronical.com ea740b6146 Bug 379633: Scriptable zipwriter component. r=bsmedberg, sr=cbiesinger, a=bzbarsky 2007-09-16 16:48:03 -07:00
jwalden@mit.edu 6d7584839a 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. 2007-07-08 00:08:04 -07:00
asqueella@gmail.com 09fbbcf3c3 Bug 379841 - nsIZipReader's last modified time ignores secondsp=Dave Townsend (Mossop) <mossop.bugzilla@blueprintit.co.uk>r=biesi, sr=bsmedberg 2007-05-13 05:27:49 -07:00
asqueella@gmail.com c4f7115a55 test for bug 278262 - JAR URIs should resolve relative URIs in the base sectionp=Ryan Jones <sciguyryan@gmail.com>r=sayrer 2007-04-27 09:15:18 -07:00
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
asqueella%gmail.com 278563015b unit test (xpcshell) for bug 336691 (nsZipArchive::Test shouldn't try to ExtractFile on directories)
by Ryan Jones <sciguyryan@gmail.com>
r=biesi
2007-03-07 20:19:09 +00:00
asqueella%gmail.com 787a33b3e8 add the forgotten jar file required for the unit test, still bug 370103 2007-03-01 08:21:32 +00:00
asqueella%gmail.com 49c5b50d75 Bug 370103 - Crash [@ nsJARChannel::OnStartRequest] when passing null listener to AsyncOpen
p=Wladimir Palant <trev@gtchat.de>
r=darin, sr=biesi
2007-03-01 07:06:07 +00:00
jwalden%mit.edu 45bb59aa84 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 2007-02-03 01:46:09 +00:00
jwalden%mit.edu c0fc6a93d5 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). 2007-01-31 07:22:12 +00:00
jwalden%mit.edu 7eeed473b4 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 2007-01-31 03:25:46 +00:00
roc+%cs.cmu.edu 28afba256d Bug 368153. Allow jar: URLs to return the query part in the document.location.search property. r+sr=darin 2007-01-30 01:15:02 +00:00
dbaron%dbaron.org 34b9845adc Don't close the same file descriptors twice. b=367817 r+sr=darin 2007-01-25 23:05:22 +00:00
bzbarsky%mit.edu 36003c446d Filter out entries for files in subdirectories even at the root. Bug 367459,
patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
2007-01-22 01:47:50 +00:00
bzbarsky%mit.edu 0a3a624149 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
2006-11-10 23:49:08 +00:00
darin%meer.net 8312ec86cd fixes bug 210564 "[nsJARInputStream::Init] leaks file descriptors" patch by sciguyryan+bugzilla@gmail.com, r=alfredkayser, sr=darin 2006-10-19 20:56:48 +00:00
gavin%gavinsharp.com c877f957f2 Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-10-10 13:24:57 +00:00
dbaron%dbaron.org ebd48793a2 Bustage fix for 333129 more in module style. 2006-09-24 17:33:10 +00:00
gavin%gavinsharp.com 9cd66c5f4d back out bug 337561 2006-09-24 16:23:31 +00:00
gavin%gavinsharp.com 72bffd2719 Temporary hack to fix bustage from bug 333129 2006-09-24 15:53:37 +00:00
gavin%gavinsharp.com 7bd1f78e76 Bug 333129: libjar: Only create synthetic entries when really needed, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=biesi 2006-09-24 15:22:36 +00:00
gavin%gavinsharp.com 461618d03d Bug 337561: Merge nsJARDirectoryInputStream into nsJARInputStream, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=darin 2006-09-24 15:13:57 +00:00
davel%mozilla.com 61022a561a b=333423 crash in nsIZipReader
r=asqueella, sr=darin
add test case for previous crashing bug
(check-in for allmakefiles.sh to follow)
2006-09-14 17:15:28 +00:00
cbiesinger%web.de 14481eabf4 bug 337763 fix memory leak in ZIP_OpenArchive
patch by Ehsan Akhgari <ehsan.akhgari@gmail.com> r=waldo sr=biesi
2006-09-05 23:04:49 +00:00
jwalden%mit.edu 833f88d123 Bug 26496 - Jar protocol fails silently on file-not-found. r=darin, sr=bz 2006-08-11 18:36:32 +00:00
gavin%gavinsharp.com 9b7e8c9253 Bug 318692: remove nsZlibAllocator.h since it's no longer used, r+sr=brendan 2006-06-24 16:07:48 +00:00
darin%meer.net f7f2df7f87 fixes bug 327275 "nsJARURI::Clone has wrong return value on OOM" patch by chpe, r=biesi, sr=darin 2006-06-24 01:04:56 +00:00
mark%moxienet.com 3cbd47d6ea 342577 nsZipArchive::SeekToItem can fail due to thread race. Work around by separating nsZipItem's headerOffset and dataOffset. r=darin sr=darin 2006-06-23 23:20:16 +00:00
cbiesinger%web.de 51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
ajschult%verizon.net a029c04ad9 Bug 336691: nsZipArchive::Test shouldn't try to ExtractFile on directories. r+sr=darin 2006-05-06 04:19:27 +00:00
darin%meer.net 799d6fc8c1 fixes bug 336593 "Firefox crashes when it starts [@ PL_FinishArenaPool]" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin 2006-05-05 20:44:52 +00:00
darin%meer.net 4a94571cee fixes bug 214672 "Further optimization and correctness improvements of libjar: streamlining nsJarInputStream" patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=jwalden, sr=darin 2006-05-02 19:33:09 +00:00
bzbarsky%mit.edu 722b5218b2 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
2006-05-02 18:54:19 +00:00
mozilla.mano%sent.com 48a9c0cd15 Bug 269813 - return failure when trying to open a zipreader twice. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz. 2006-04-15 14:02:12 +00:00
mozilla.mano%sent.com ca31c9047a Bug 269813 - document the fact that getZip returns an open zipreader. patch by Nickolay Ponomarev <asqueella@gmail.com>, r=darin, sr=bz. 2006-04-15 13:59:31 +00:00
dbaron%dbaron.org 04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00
jwalden%mit.edu ac773c0354 Bug 309296 - RFE: directory listing for jar:. r=darin, sr=bzbarsky 2006-03-29 22:10:37 +00:00
bryner%brianryner.com 4cd1e2b280 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. 2006-03-15 04:59:42 +00:00
mkaply%us.ibm.com 0384e67b13 #3011064
r=mkaply, sr=mkaply (OS/2 only)
Patch from Andy Willis - add _declspec(dllexport/dllimport) for OS/2
2006-03-08 19:29:25 +00:00
benjamin%smedbergs.us 4e5473cf67 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento 2006-03-02 15:15:03 +00:00
darin%meer.net eb3847a802 fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
gerv%gerv.net 9998966b02 Bug 320174: correct malformed licence headers. Patch by Jeff Walden <jwalden@mit.edu>, r=gerv. 2005-12-15 13:48:48 +00:00
timeless%mozdev.org db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
darin%meer.net e33d64b3dc 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 2005-11-23 20:35:37 +00:00
bsmedberg%covad.net 78f6d0683d 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 2005-11-11 14:36:26 +00:00
cbiesinger%web.de eefeee2c91 bug 315188 make libjar use symlinks on BeOS too
patch by tqh <thesuckiestemail@yahoo.se> r=fyysik sr=darin
2005-11-05 23:23:01 +00:00
bsmedberg%covad.net db584fa139 Bug 207521 - deprecate --enable|disable-shared, since --enable-static gives us all the information we need, r=cls 2005-10-17 14:57:32 +00:00
timeless%mozdev.org 3be5fc7179 Bug 210305 crash [@ nsJARChannel::nsJARChannel] NS_ADDREF(gJarHandler) because gJarHandler is 0
r=darin sr=darin
2005-09-16 07:09:35 +00:00
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