Kirk Steuber
a5ac9bebd2
Bug 1260836 - Add functionality to allow CRX files to be handled as ZIP files. r=spohl
...
MozReview-Commit-ID: 9JeSC6L4x6Z
2016-04-06 18:28:24 -07:00
Cameron McCormack
fa1a36783a
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Wes Kocher
12532a74a8
Backed out changeset 4efb6cc4fd5d (bug 1225004) for build bustage CLOSED TREE
...
--HG--
extra : commitid : 4eYsywoFekg
2015-11-16 14:51:17 -08:00
Cameron McCormack
6087c6d62a
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Nigel Babu
ef1ce5e989
Backed out changeset 6d47b0590988 (bug 1225004) for ASAN build bustage on a CLOSED TREE
...
--HG--
extra : amend_source : e082a4a17e47eac5922bcec3059999fae6798cb1
2015-11-16 14:46:58 +05:30
Cameron McCormack
fa99a8cc59
Bug 1225004 - Record reason for NS_ERROR_FILE_CORRUPTED in nsLayoutStylesheetCache::LoadSheet in crash reports. r=roc
2015-11-16 19:18:45 +11:00
Nathan Froyd
ac15b0955e
Bug 1222575 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in modules/libjar/; r=aklotz
2015-11-03 16:36:32 -05:00
Andrea Marchesini
51d11d89ea
Bug 1214782, r=ehsan
...
--HG--
extra : rebase_source : f1dec852aa864b681b4417467992c7431f9103bf
2015-10-20 13:32:47 +02:00
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Aaron Klotz
f6dde272fb
Bug 1211262: Ensure that STORED entries in ZIP are considered corrupt if compressed and uncompressed sizes differ; r=mwu
...
--HG--
extra : amend_source : d37546a886106b1858d28c2e4c28021970462850
2015-10-13 12:20:25 -06:00
Wes Kocher
1c47713120
Backed out changeset 6d7a8e19086c (bug 1211262) for wError build bustage CLOSED TREE
2015-10-13 13:59:15 -07:00
Aaron Klotz
b1d9d9136d
Bug 1211262: Ensure that STORED entries in ZIP are considered corrupt if compressed and uncompressed sizes differ; r=mwu
...
--HG--
extra : rebase_source : 515c582e158620057f0eab4d46d462cec5eb4cc3
2015-10-13 12:20:25 -06:00
Shian-Yow Wu
e696b31466
Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu
2015-07-30 16:05:57 +08:00
Andrea Marchesini
db3118ecfe
Bug 1167888
- better string length check in nsZipArchive::BuildFileList, r=smaug
2015-06-04 15:04:10 +01:00
Andrea Marchesini
504218c6aa
Bug 1166900 - better string length check in nsZipArchive::GetDataOffset, r=dveditz
2015-06-04 15:04:10 +01:00
Eric Rahm
4879ae86f4
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Jed Davis
c6383f1944
Bug 1034143: Step 2b: Add the ability to read jar files from arbitrary memory. r=honzab r=jduell
2015-03-10 17:00:01 -07:00
Mike Hommey
a35dbaeebf
Bug 1126593 - Add a global fallible instance, so that using fallible works directly, everywhere. r=njn
...
--HG--
rename : memory/mozalloc/fallible.h => memory/fallible/fallible.h
2015-02-02 09:56:13 +09:00
Shian-Yow Wu
ce46456625
Bug 988816 - Allow to keep file descriptor in JAR cache. r=aklotz, jduell
2014-07-18 10:46:24 +08:00
Birunthan Mohanathas
59b969f7f4
Bug 869836 - Part 8: Use `Append('c')` instead of `Append("c")`. r=ehsan
2014-05-22 06:48:52 +03:00
Shian-Yow Wu
29e21bb5f7
Bug 945152 - Part 3-1: New libjar APIs. r=aklotz
2014-05-16 13:34:43 +08:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Ehsan Akhgari
d91d200572
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Peiyong Lin
1299d0771c
Bug 943505 - Use fallible allocation in nsZipItemPtr_base::nsZipItemPtr_base. r=bsmedberg
2013-12-11 14:14:03 -05:00
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