Commit Graph

55 Commits

Author SHA1 Message Date
Nicholas Nethercote
710ee1bbc4 Bug 715770 (part 2) - Don't use nsRecyclingAllocator in libjar. r=taras.
--HG--
extra : rebase_source : 92f39e2d1d62d500e0cdf728b3c95070143015e1
2012-01-11 15:20:56 -08:00
Mike Hommey
e4e153d92b Bug 695843 part 5 - Add a FileLocation class to either store a pair (zip, path) or a file, and do some operations on these. r=bsmedberg,mwu 2011-12-08 11:03:36 +01:00
Mike Hommey
b28c6a9643 Bug 695843 part 4 - Allow nsZipCursor to always use the given buffer. r=tglek 2011-12-08 11:03:36 +01:00
Mike Hommey
49c918dccd Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu 2011-12-08 11:03:36 +01:00
Nicholas Nethercote
ec7275aedd Bug 696690 - Memory reporter for the startup cache. r=tglek. 2011-10-24 17:50:47 -07:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Michael Wu
af37ca7802 Bug 672447 - Remove zip crc32 probe, r=taras 2011-07-20 00:35:44 -07:00
Taras Glek
50f827a6a6 Bug 666307 - update zip telemetry r=mwu 2011-06-22 10:24:17 -07:00
Michael Wu
699861a0c8 Bug 661305 - Use telemetry to record crc32 matches/mismatches, r=taras 2011-06-02 13:59:04 -07:00
Michael Wu
7d32be454b Bug 658093 - BuildFileList can potentially try to read a signature beyond the end of the zip file, r=taras 2011-05-22 09:38:02 -07:00
Mitchell Field
2e8a7d546f Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras 2011-02-20 06:10:24 +11:00
timeless@mozdev.org
8227fcea17 Bug 577915 mark DEBUG only variables as ifdef DEBUG in libjar; r=dveditz a=jst 2010-07-11 15:49:52 +03:00
Ehsan Akhgari
c07c875d05 Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
timeless@mozdev.org
c6fb533d28 Bug 577915 mark DEBUG only variables as ifdef DEBUG in libjar; r=dveditz a=jst
--HG--
extra : rebase_source : feb129da3b95e7f89487058b050088a74f7ee21b
2010-07-11 15:49:52 +03:00
Taras Glek
94cfa6f633 Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN 2010-11-11 12:13:57 -08:00
Taras Glek
d614df95fd Bug 598416: add try/catch in places in nsZipReader.cpp that access mmaped memory directly r=bsmedberg a=blocking2.0-betaN 2010-11-11 12:13:48 -08:00
Michael Wu
ab382b96b8 Bug 597702 - Make zip opening path more robust, r=taras a=blocking2.0 2010-09-20 12:58:40 -07:00
Taras Glek
69a8116f85 Bug 589368 - Locale repacking support for jar reordering; r=ted a=blocking-betaN+ 2010-09-10 12:30:07 -04:00
Michael Wu
2590a598c0 Bug 533038 - 2. Generalize nsZipArchive and nsZipHandle to read from different sources, r=taras a=blocking-beta6 2010-09-08 20:37:34 -07:00
bhsieh@mozilla.com
fba716bbcd bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Taras Glek
cbf7b8bcd4 Bug 559961 - Reorder jar files as part of PGO, r=bsmedberg a=blocking2.0
--HG--
extra : rebase_source : d8a75545714a131291c74dd79c966150544ff9d1
2010-08-18 10:34:07 -07:00
Michael Wu
49ab4956d1 Bug 566686 - Provide a decompression API in nsZipArchive, patch mostly by taras, r=alfredkayser 2010-06-04 14:10:23 -07:00
Michael Wu
20ac54dcaf Backout bug 566686 due to orange 2010-06-02 17:05:49 -07:00
Michael Wu
e78b06a46d fix ExtractFile bustage from bug 566686 7b3a040d638d
--HG--
extra : rebase_source : b02e4359f0004510ef68fb37bea950286dbbb924
2010-06-02 16:14:30 -07:00
Michael Wu
ec14bb00fe Bug 566686 - Provide a decompression API in nsZipArchive, patch mostly by taras, r=alfredkayser
--HG--
extra : rebase_source : 0e45fb4b4a78fbd4337ef7f95ee338b58f50e29f
2010-06-02 14:46:48 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Taras Glek
5d45eb36a4 Bug 541828 - Do not crash on small invalid jar files r=alfredkayser
--HG--
extra : rebase_source : c8dd6d99b4e86d60e85e08eab4100df74c629ad4
2010-03-26 10:19:53 -07:00
Daniel Holbert
345647b7b2 Bug 541828 followup: Convert "sizeof" result to signed integer, to fix signed-vs-unsigned build warning in nsZipArchive. r=tglek 2010-01-28 01:52:35 -08:00
Alfred Kayser
b1dfdbc219 Bug 541828: crash in BuildFileList (r=tglek) 2010-01-25 10:21:49 +01:00
Taras Glek
e255b8b9e3 Bug 537165: Don't hold on to OS file handles in JARs r=ak 2010-01-23 11:40:21 -05:00
Michal Novotny
a107124c97 Bug 525741 - two JAR tests fail if modification date of their files is on day daylight saving time starts or ends and after time change. r=dtownsend,tglek 2009-12-16 00:01:08 +01:00
Taras Glek
55534754ff Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser] 2009-12-03 01:25:39 -06:00
Taras Glek
7ff862491b Bug 525755 - crash [@ nsZipArchive::BuildFileList] using jar: with the file protocol without a '/' for the root of the filesystem. r=alfredkayser 2009-11-07 16:19:20 +01:00
Alfred Kayser
94b107fca0 [Bug 523065] libjar: use malloc instead of calloc for zlib. r=tglek 2009-10-21 11:58:49 +02:00
Alfred Kayser
6e5b28c83d Bug 511754 - make nsZipItems point at ZipCentral references to mmapped jar area r=tglek 2009-10-17 17:54:54 +02:00
Alfred Kayser
783a52e434 Bug 521227 - Remove the no longer needed zliballoc chunk optimizations. r=tglek
--HG--
extra : rebase_source : b128aefcb82852afa9c1641009e3f8fed146a70b
2009-10-09 14:30:45 +02:00
Alfred Kayser
24bde5cdae Bug 510874 - Replace ZIP error codes with the NS_ERROR_ codes 2009-10-08 16:24:22 +02:00
Alfred Kayser
5760afb9fe Bug 510844 - Remove memcpy()s for compressed jar reading. r=taras 2009-10-04 19:20:45 +02:00
Marco Bonardo
00515c1a06 Backed out changeset 3cab7a0c2c3d due to mochitest timeout. 2009-09-03 14:15:19 +02:00
Alfred Kayser
411a24dcdd Bug 510844 - "Remove memcpy()s for compressed jar reading" [r=tglek] 2009-09-01 14:47:00 -05:00
Reed Loden
6b6906468c Backing out 510844 to fix unittest failure on CLOSED TREE. 2009-09-01 16:20:47 -05:00
Alfred Kayser
f37c1ed9ed Bug 510844 - "Remove memcpy()s for compressed jar reading" [r=tglek] 2009-09-01 14:47:00 -05:00
Alfred Kayser
4187941b35 Bug 510247 - Simplify the BuildFileList scanner logic to prevent underruns on JAR files. r=tglek 2009-08-25 00:12:02 +02:00
Taras Glek
8528e9cde6 Bug 504864: mmap io for JARs r=bsmedberg 2009-08-12 13:50:12 -07:00
Serge Gautherie
5a9051ddd5 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
ed2f94b3a5 Bug 504864 - mmap io for JARs; r=benjamin 2009-08-08 12:07:39 +02:00
Taras Glek
fa1e936130 bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-23 11:40:29 -07:00
Makoto Kato
0f02eb9d9d Bug 500122 - cannot build libjar on Symbian. r=cbiesinger 2009-06-26 14:43:15 +09:00
Neil Rashbrook
8f638a751b Bug 487018 Switch to nsCString and fix other allocator mismatches r=timeless sr=dveditz 2009-04-07 10:24:58 +01:00