Mike Hommey
2a211e7c14
Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps
2013-11-02 08:44:11 +09:00
Jim Chen
1e423346f9
Bug 930627 - Implement __gnu_Unwind_Find_exidx in custom linker on ARM. r=glandium
2013-10-31 11:40:32 -04:00
Cykesiopka
e0bcd6aebc
Bug 914270 - Part 1: Simple/Automated moves. r=joey
2013-10-24 18:51:00 +01:00
Mike Hommey
f1c0c07862
Bug 929905 - Consolidate sources in moz.build. r=gps
2013-10-25 08:23:05 +09:00
Nathan Froyd
1dc3f74f43
Bug 927428 - use __LP64__ instead of HAVE_64BIT_OS in the linker; r=glandium
2013-10-16 11:14:19 -04:00
Mike Hommey
1a05231395
Bug 886736 - Disable on-demand decompression when latency to get into segfault handlers is too high. r=nfroyd
2013-10-01 15:30:45 +09:00
Nathan Froyd
c1830568a3
Bug 920558 - map anonymous pages differently on ARM and x86; r=glandium
2013-09-26 11:17:05 -04:00
Nathan Froyd
f528845993
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
Joey Armstrong
77c5c856d3
bug 888009: move HOST_CPPSRCS to mozbuild (batch #2 ) r=mshal
2013-09-12 13:32:27 -04:00
Mike Hommey
c7e659f5ed
Bug 914374 - Fix buffer overflow in BCJ_X86_filter when the given buffer is too small. r=nfroyd
2013-09-11 08:15:39 +09:00
Seth Fowler
1d6372adb1
Bug 912299 - Make RefCounted's refcount field mutable. r=waldo
2013-09-06 13:32:55 -07:00
Mike Hommey
05b3f24e0e
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Mike Hommey
8285891791
Bug 907957 - Detect if a segfault signal handler is useless. If it is, disable on-demand decompression. r=nfroyd
2013-08-30 11:14:17 +09:00
Jim Chen
2f2aed2215
Bug 904646 - Skip NULLs when traversing envp/auxv pointers to let GDB work on Android 4.3; r=glandium
2013-08-14 12:54:33 -04:00
Ehsan Akhgari
085494b95d
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
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 "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Mike Hommey
cb347d0c4a
Bug 897723 - Allow faulty.lib's on-demand decompression to be reentrant. r=nfroyd
2013-07-26 12:57:53 +09:00
Mike Hommey
53e9be1b70
Bug 894829 - Avoid symbol resolution for relocations for the same symbol in faulty.lib. r=nfroyd
2013-07-23 07:26:08 +09:00
Mike Hommey
ba3a64dfdf
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
Mike Hommey
2e76adde74
Bug 891266 - Allow to enable faulty.lib debug log at runtime. r=nfroyd
2013-07-10 14:12:35 +09:00
Justin Lebar
cab87a0cce
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
d6a0cc46cf
Bug 886730 - Move a szip.cpp MOZ_ASSERT to a safer place. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
1ec2b29538
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
b367684f5a
Bug 886726 - Fix warnings in szip.cpp. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
583ac82250
Bug 886722 - Rename log/debug to LOG/DEBUG_LOG in faulty.lib. r=nfroyd
2013-06-27 09:35:49 +09:00
Mike Hommey
5e2afdfba7
Bug 885336 - Fix various issues with the dl_mmap interface. r=nfroyd
2013-06-27 09:35:48 +09:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Julian Seward
408b385c35
Bug 882903 - SPS breadkpad unwinder segfaults with on-demand decompression on. r=glandium.
2013-06-14 14:03:25 +02:00
Mike Hommey
5138bbb50a
Bug 874708 - Hook libc's sigaction to avoid system libraries replacing our segfault handler temporarily and restoring it wrongly. r=nfroyd
2013-06-09 09:23:03 +02:00
Mike Hommey
b667e52bc0
Bug 875824 - Allow to disable on-demand decompression at runtime. r=sewardj
2013-05-29 16:18:27 +02:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Mike Hommey
035ff0e9c7
Bug 865583 - Use thread-safe ref-counting in the linker. r=nfroyd
2013-05-18 09:53:18 +02:00
Mike Hommey
d292a5f228
Bug 864035 - Add an atomic RefCounted and WeakPtr implementation. r=Waldo
2013-05-18 09:52:53 +02:00
Mike Hommey
c630587d1d
Bug 861796 - Fix crash in LibHandle::~LibHandle. r=nfroyd
2013-04-15 18:36:13 +02:00
Mike Hommey
88e250d16b
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
Vicamo Yang
020c221ba5
Bug 859830: determine Android API level through android/api-leve.h instead. r=glandium
2013-04-12 13:39:42 +08:00
Mike Hommey
c4a1abb511
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
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Mike Hommey
1e3590b5c2
Bug 848770 - Choose the best compression settings automagically for seekable zstreams (szip). r=nfroyd
2013-03-13 15:28:57 +01:00
Mike Hommey
a4f77fcd18
Bug 848773 - Add x86 BCJ filter for szip. r=nfroyd,r=ted
2013-03-08 09:32:56 +01:00
Mike Hommey
6ad19b8d2c
Bug 842681 - Refactor the linker Zip code and allow to use an existing memory buffer as a Zip file. r=mwu
2013-03-08 09:24:46 +01:00
Mike Hommey
51a7a6e6e7
Bug 848270 - Various fixups for Android builds on OSX after bug 847479. r=nfroyd
2013-03-06 17:01:56 +01:00
Mike Hommey
c4bb2fdbe8
Bug 847479 - Add a dictionary to improve compression rate. r=nfroyd
2013-03-06 07:30:07 +01:00
Mike Hommey
7cf1e1c317
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
58aa71ea04
Bug 847479 - Allow to specify a chunk size on szip command line. r=nfroyd
2013-03-06 07:29:51 +01:00
Mike Hommey
7feaf66ade
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
2c7bda2472
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
5bb97af302
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