Tom Tromey
f6321565d2
Bug 1060419 - convert mozglue/linker to use the mfbt-provided printf format defines, r=froydnj
...
MozReview-Commit-ID: LW6eDUxWXrp
--HG--
extra : rebase_source : 1d06ec765b30201f6cfc427006fa56384a61b38b
2016-12-14 14:22:49 -07:00
Nathan Froyd
15516055f2
Bug 1251881 - use UniquePtr instead of ScopedDeletePtr in mozglue/linker/; r=glandium
...
There are two instances:
- MappableSeekableZStream::Create uses ScopedDeletePtr, which is
actually a little odd, since MappableSeekableZStream, as a Mappable,
is refcounted, and it's unusual to use two different kinds of smart
pointers for a single class. I think the more natural thing would be
for MappableSeekableZStream::Create to return an already_AddRefed, but
that change spirals out of the realm of "simple refactoring" quickly.
- SzipCompress::run uses ScopedDeletePtr along with some dubious use of
raw pointers. I changed things out for UniquePtr and also tidied the
memory management a bit, which I think makes things a little clearer.
2016-02-26 13:50:59 -05:00
Mike Hommey
20a9c9e220
Bug 1235945 - Fix assertion error in some cases when running szip when debug flags are enabled for host tools. r=froydnj
2016-01-05 20:03:43 +09:00
Jeff Walden
8c69dfae30
Bug 953296 - Convert trivial ScopedDelete{Ptr,Array} uses to UniquePtr in mozglue/linker/. (More remain, but they're less trivial to change.) r=glandium
...
--HG--
extra : rebase_source : 7af7ff2daa70ff3aedaac91d3898bcd90a402162
2013-12-30 13:34:54 -06:00
Mike Hommey
f358f3711f
Bug 1024248 - Properly tag linker error/warnings in logcat. r=nfroyd
2014-06-13 08:45:58 +09:00
Birunthan Mohanathas
c01f63b478
Bug 784739 - Switch from NULL to nullptr in mozglue/linker/; r=ehsan
2013-11-11 14:15:46 -05:00
Mike Hommey
fd44bdf519
Bug 891266 - Allow to enable faulty.lib debug log at runtime. r=nfroyd
2013-07-10 14:12:35 +09:00
Mike Hommey
071998d656
Bug 886730 - Move a szip.cpp MOZ_ASSERT to a safer place. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
fc82c0f523
Bug 886730 - Add and use a MemoryRange class and helper functions for page alignment in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
b340449c73
Bug 886726 - Fix warnings in szip.cpp. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
c7c836946d
Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
6e05e224dc
Bug 848385 - Avoid recompressing a szip, and (de)compress in-place (but still with a temporary file). r=nfroyd,khuey
2013-04-11 09:37:44 +02:00
Mike Hommey
dfe01093ca
Bug 848770 - Choose the best compression settings automagically for seekable zstreams (szip). r=nfroyd
2013-03-13 15:28:57 +01:00
Mike Hommey
1b682a5cda
Bug 848773 - Add x86 BCJ filter for szip. r=nfroyd,r=ted
2013-03-08 09:32:56 +01:00
Mike Hommey
bc0758344b
Bug 848270 - Various fixups for Android builds on OSX after bug 847479. r=nfroyd
2013-03-06 17:01:56 +01:00
Mike Hommey
8e132042ea
Bug 847479 - Add a dictionary to improve compression rate. r=nfroyd
2013-03-06 07:30:07 +01:00
Mike Hommey
392c3b9d27
Bug 847479 - Add smart filters borrowed from xz-utils to improve SeekableZStream compression rate. r=nfroyd
2013-03-06 07:29:59 +01:00
Mike Hommey
f4e950ccd0
Bug 847479 - Allow to specify a chunk size on szip command line. r=nfroyd
2013-03-06 07:29:51 +01:00
Mike Hommey
813034fd1f
Bug 847479 - Use raw zlib streams when compressing with szip. r=nfroyd
...
And keep compatibility to decompress old streams.
2013-03-06 07:29:41 +01:00
Mike Hommey
db783e83fd
Bug 847479 - Sanity check that szip's compressed output can properly be decompressed. r=nfroyd
2013-03-06 07:29:33 +01:00
Mike Hommey
2768b09d27
Bug 847479 - Add a command line argument to szip to decompress an existing seekable stream. r=nfroyd
2013-03-06 07:29:22 +01:00
Mike Hommey
3506308140
Bug 847479 - Add a helper class for a buffer mapped from a file. r=nfroyd
2013-03-06 07:29:13 +01:00
Andrew Quartey
df797e7733
Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium
2012-07-30 14:17:53 -04:00
Mike Hommey
86098226ec
Bug 729596 - Use ftruncate in szip instead of posix_fallocate. r=taras
2012-02-22 19:42:56 +01:00
Mike Hommey
ee92560165
Bug 686805 part 3 - Tool to generate seekable compressed streams. r=tglek
2012-02-22 08:12:15 +01:00