Eugen Sawin
5196420c32
Bug 1283629 - [1.1] Check for cached library file availability before reusing it. r=glandium
2016-11-15 15:19:25 +01:00
Eugen Sawin
c1ad292ceb
Bug 1294736 - [3.2] Detect and decode XZ streams when extracting files. r=glandium,snorp
2016-10-18 20:53:33 +02:00
Eugen Sawin
1b8ab7ef74
Bug 1302516 - [1.2] Add mutex locking to ZipCollection zip vector access. r=glandium
2016-09-14 12:47:06 +02:00
Eugen Sawin
91a9a08ed7
Bug 1294731 - [4.3] Don't unlink cached extracted files on shutdown. r=glandium
2016-08-25 12:51:44 +02:00
Eugen Sawin
6dfe56fd0a
Bug 1294731 - [2.8] Validate cached libraries based on checksums. r=glandium
2016-08-25 12:51:44 +02: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
3188e8d7ab
Bug 1059797 - Pre-allocate zlib inflate buffers in faulty.lib. r=froydnj
...
Original patch from James Willcox <snorp@snorp.net>
2014-10-28 16:45:17 +09:00
Jeff Walden
ec20cc707d
Bug 1037100 - Remove all use of ScopedDeleteArray from mozglue/. r=glandium
...
--HG--
extra : rebase_source : dbc49be874fd57130f33584892589c180c7d1128
2014-07-21 18:14:11 -04: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
Mike Hommey
2d9ef44f86
Bug 959254 - Make MappableSeekableZStream::ensure mprotect error message more useful for debugging failures. r=nfroyd
2014-01-15 16:21:45 +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
Nathan Froyd
0dd69ef1ca
Bug 920558 - map anonymous pages differently on ARM and x86; r=glandium
2013-09-26 11:17:05 -04:00
Nathan Froyd
eb112dbe95
Bug 916923 - work around crash reporter issues with adjacent memory mappings on x86 android; r=glandium,f=gbrown
2013-09-23 15:02:28 -04:00
Mike Hommey
92fbf52fbf
Bug 897723 - Allow faulty.lib's on-demand decompression to be reentrant. r=nfroyd
2013-07-26 12:57:53 +09:00
Mike Hommey
abaa52c443
Bug 882608 - Fix various issues in faulty.lib with incomplete pages and MOZ_LINKER_ONDEMAND=0. r=nfroyd
2013-07-23 07:26:07 +09:00
Justin Lebar
051c5b560a
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07: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
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
1cb6364a2e
Bug 802240 - Expose an API to mmap the underlying file for a library loaded by faulty.lib. r=nfroyd
2013-04-12 10:23:12 +02:00
Mike Hommey
d55975357b
Bug 847479 - Add buffer length information when initializing a SeekableZStream. r=nfroyd
2013-03-06 07:29:05 +01:00
Mike Hommey
ccee4c2c0e
Bug 830326 - Get rid of warnings in the custom linker code. r=nfroyd
2013-01-15 10:12:56 +01:00
Mike Hommey
90d38c2837
Bug 828894 - Fix possible off-by-one-page in custom linker. r=nfroyd
...
--HG--
extra : rebase_source : 7bdafcec8108b001bf2b817bd2c4b293a0dbee2e
2013-01-11 12:24:31 +01:00
Mike Hommey
5d94d28846
Bug 828301 - Free zlib internal buffers when we're done uncompressing in the custom linker. r=nfroyd
2013-01-10 08:39:07 +01:00
Mike Hommey
aed740d0a0
Bug 826263 - Fix ~_MappableBuffer in the linker on Android. r=nfroyd
2013-01-03 16:46:09 +01:00
Andrew Quartey
df797e7733
Bug 735615 - Remove AutoClean from mozglue/linkers/Utils.h r=glandium
2012-07-30 14:17:53 -04:00
Tor Lillqvist
c30de3580b
Bug 731961 - Include cstdio from Mappable.cpp for sprintf. r=glandium
2012-02-07 11:35:00 +02:00
Mike Hommey
ca520fa83e
Bug 727960 - When extracting libraries, reuse cached library if it is newer than the apk. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
8c5b3643ce
Bug 686805 part 6 - Add functions to display stats about seekable compressed streams. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
942b661343
Bug 686805 part 4 - Make the linker load libraries with on-demand decompression when they are seekable compressed streams. r=tglek,r=sewardj
2012-02-22 08:12:15 +01:00
Mike Hommey
524ce82972
Bug 686805 part 1 - Make Mappable::munmap, Mappable1stPagePtr::munmap and MappedPtr::munmap private. r=tglek
2012-02-22 08:12:15 +01:00
Mike Hommey
00ba5188c0
Bug 725230 - Enable and fix assertions in linker code. r=tglek
2012-02-13 15:49:45 +01:00
Mike Hommey
78f3656b4b
Backout 8eef38643ceb (bug 717540) and 78941a969e20 (bug 725230) because of windows debug bustage
2012-02-13 16:35:13 +01:00
Mike Hommey
7fb8e3198a
Bug 725230 - Enable and fix assertions in linker code. r=tglek
2012-02-13 15:49:45 +01:00
Mike Hommey
30eed017b6
Bug 683127 part 9 - Allow to temporarily extract Elf files from a Zip archive for e.g. valgrind. r=tglek
2012-01-20 09:48:50 +01:00
Mike Hommey
4b71ba5dc0
Bug 683127 part 8 - Allow to load Elf files from a Zip archive. r=tglek,r=sewardj
2012-01-20 09:48:44 +01:00