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

164 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari aac8d81bcb Bug 942486 - Move PL_ARENA_CONST_ALIGN_MASK out of nsZipArchive.h; r=mwu
--HG--
extra : rebase_source : 92410d30a1f8ae6d9df4fb6e6b278dc6307460a0
2013-11-25 15:44:25 -05:00
Birunthan Mohanathas 9722682a5a Bug 784739 - Switch from NULL to nullptr in modules/; r=ehsan
--HG--
extra : rebase_source : d82c3e2e18986d3b9ffc454ff84caf3634a6bbe7
2013-10-23 16:36:26 -04:00
Joshua Cranmer 47440ef749 Bug 884061 - Part 3p: Use NS_DECL_THREADSAFE_ISUPPORTS in modules/, r=taras,bsmedberg
--HG--
extra : rebase_source : e7b1a1d25ae9e602cae50f11d718dd1a94db782d
2013-07-18 21:23:44 -05:00
Mike Hommey d01870f66f Bug 892401 - Remove NEW_H. r=ted 2013-07-12 09:16:41 +09:00
Aaron Klotz 5a7f6774ca Bug 810151: readahead for ordered jar files r=taras 2013-03-21 10:28:13 +01:00
Matt Brubeck b7dca43e54 Back out 7f6c38239328 (bug 810151) on suspicion of causing Windows xpcshell failures on a CLOSED TREE 2013-03-06 18:51:12 -08:00
Aaron Klotz 15755dd9f0 Bug 810151: readahead for ordered jar files r=taras
--HG--
extra : rebase_source : dd7984ff2dd7a57e77b8c5c74ab82ad5d033a772
2013-03-06 11:58:29 -07:00
Mike Hommey 026abf6d83 Bug 840094 - Change how nsZipArchive logging works. r=taras,r=gps
Now log in a single file given by the MOZ_JAR_LOG_FILE environment variable.
Log entries contain the URI of the Zip archive, followed by the path in the
archive.
* * *
Bug 840094 - Fixup for debug builds failure because of nsZipArchive::CloseArchive being called several times
2013-02-19 11:02:12 +01:00
Jason Duell db0016735c Bug 832162 - fix jar BuildSynthetics r=taras 2013-01-24 17:47:05 -08:00
Isaac Aggrey 481e7dfb0b Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Ehsan Akhgari 8cc30b88b2 Bug 792502 - Kill the FunctionTimer code; r=vlad 2012-09-19 16:59:38 -04:00
Ehsan Akhgari e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Geoff Lankow 5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
David Rajchenbach-Teller 6f228de18f Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-12 12:21:24 +02:00
Richard Newman f8c8184e2b Backout 0e03eb171e08 (Bug 743574 - Deprecate DOMException.code). a=bustage 2012-04-11 15:33:37 -07:00
David Rajchenbach-Teller b219309fc2 Bug 728171 - Use Scoped.h throughout the code. r=cjones 2012-04-11 18:59:10 +02:00
Nathan Froyd 5afd06737a Bug 711297 - add comment reading to nsZipArchive; r=taras 2012-02-22 13:45:09 -05:00
Nicholas Nethercote 5c2594c72d 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 511d9f638c 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 b83b7a72c9 Bug 695843 part 4 - Allow nsZipCursor to always use the given buffer. r=tglek 2011-12-08 11:03:36 +01:00
Mike Hommey cd155f464b Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu 2011-12-08 11:03:36 +01:00
Nicholas Nethercote 0ee9052aba Bug 696690 - Memory reporter for the startup cache. r=tglek. 2011-10-24 17:50:47 -07:00
Ehsan Akhgari 92064e6d3f 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 d2b70213ac 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 6683dc2e18 Bug 672447 - Remove zip crc32 probe, r=taras 2011-07-20 00:35:44 -07:00
Taras Glek 277e1d39a6 Bug 666307 - update zip telemetry r=mwu 2011-06-22 10:24:17 -07:00
Michael Wu 4b7425cb08 Bug 661305 - Use telemetry to record crc32 matches/mismatches, r=taras 2011-06-02 13:59:04 -07:00
Michael Wu 71e8152319 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 a6788f0842 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 b775fcf91f 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 2312c4c0f3 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 4d36834811 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 23936101cc 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 82ac2d11bf 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 085d6c30f4 Bug 597702 - Make zip opening path more robust, r=taras a=blocking2.0 2010-09-20 12:58:40 -07:00
Taras Glek e94c56b75d Bug 589368 - Locale repacking support for jar reordering; r=ted a=blocking-betaN+ 2010-09-10 12:30:07 -04:00
Michael Wu 530165f48e 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 df2049724f bug 520309, startupcache core r=dwitte sr=bsmedberg a=bsmedberg 2010-08-12 12:37:44 -07:00
Taras Glek b811791acb 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 b4853dd653 Bug 566686 - Provide a decompression API in nsZipArchive, patch mostly by taras, r=alfredkayser 2010-06-04 14:10:23 -07:00
Michael Wu e8c3c10cee Backout bug 566686 due to orange 2010-06-02 17:05:49 -07:00
Michael Wu 503298f44f fix ExtractFile bustage from bug 566686 7b3a040d638d
--HG--
extra : rebase_source : b02e4359f0004510ef68fb37bea950286dbbb924
2010-06-02 16:14:30 -07:00
Michael Wu 6ebb934425 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 db9d404619 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Taras Glek bca924d424 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 b1acf1628b 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 ac87a1c83f Bug 541828: crash in BuildFileList (r=tglek) 2010-01-25 10:21:49 +01:00