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

809 Коммитов

Автор SHA1 Сообщение Дата
Serge Gautherie 10269466ce Backed out "changeset: ff9eba3f8224" of
Bug 504864 - mmap io for JARs; r=benjamin
which does not compile on Windows
2009-08-08 12:40:50 +02:00
Taras Glek b71d0123c6 Bug 504864 - mmap io for JARs; r=benjamin 2009-08-08 12:07:39 +02:00
Navin Lal 1cad5f2db8 Bug 74803 - Should make global data const where possible; const changes for nsmodulecomponentinfo; r=dbaron 2009-07-25 03:27:08 +02:00
Taras Glek 4cbbbfb168 bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-23 11:40:29 -07:00
Taras Glek 8824dfa739 Bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-22 14:43:10 -07:00
Makoto Kato b9e3de1925 Bug 500122 - cannot build libjar on Symbian. r=cbiesinger 2009-06-26 14:43:15 +09:00
Dave Townsend af2f9c4f32 Bug 386153: Make nsIJAR scriptable. r+sr=bz 2009-05-18 10:26:19 +01:00
Peter Annema 8c8313039e Bug 487192: Move both copies of nsWildCard into xpcom. r/sr=bsmedberg
- Move nsWildCard.{h,cpp} into xpcom/io.

--HG--
rename : modules/libjar/nsWildCard.cpp => xpcom/io/nsWildCard.cpp
rename : modules/libjar/nsWildCard.h => xpcom/io/nsWildCard.h
2009-05-13 20:22:54 -07:00
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
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