Mike Hommey
|
8fd06cf41b
|
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
|
2013-11-27 22:55:07 +09:00 |
|
Mike Hommey
|
b32a4ed166
|
Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
|
2013-11-28 14:24:05 +09:00 |
|
Mike Hommey
|
682364d535
|
Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal
|
2013-11-28 13:08:16 +09:00 |
|
Catalin Iacob
|
fe5d12c0e2
|
Bug 940218 - Build memory/ in unified mode; r=ehsan
|
2013-11-25 12:09:59 +01:00 |
|
Ehsan Akhgari
|
e58130769b
|
Backed out changeset c3d41ab0a2df (bug 940218) for causing bug 941616
--HG--
extra : rebase_source : c0d9b2840ddb6a6b88b86cfc3e3a6810ac9e37e2
|
2013-11-21 14:28:52 -05:00 |
|
Chris Peterson
|
4be77ac908
|
Bug 940218 - Build memory/jemalloc and friends in unified mode. r=glandium
|
2013-11-17 01:16:36 -08:00 |
|
Mike Hommey
|
b2e90f6233
|
Bug 914245 - Move FORCE_SHARED_LIB to moz.build. r=mshal
|
2013-11-19 11:47:45 +09:00 |
|
Mike Hommey
|
e80e877ab7
|
Bug 939044 - Remove most definitions of MODULE. r=mshal
|
2013-11-19 11:47:39 +09:00 |
|
Daniel Holbert
|
4908bbab5e
|
Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg
|
2013-10-31 19:39:03 -07:00 |
|
Ted Mielczarek
|
673fd74516
|
Bug 930674 - convert VISIBILITY_FLAGS in Makefile.in to NO_VISIBILITY_FLAGS in moz.build. r=mshal
|
2013-10-24 15:06:19 -04:00 |
|
Cykesiopka
|
d733533b8f
|
Bug 914270 - Part 2: Manual moves. r=joey
|
2013-10-24 18:52:00 +01:00 |
|
Mike Hommey
|
b000a846c2
|
Bug 929905 - Consolidate sources in moz.build. r=gps
|
2013-10-25 08:23:05 +09:00 |
|
Mike Hommey
|
f8bc7fa754
|
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
|
2013-09-05 09:01:46 +09:00 |
|
Ehsan Akhgari
|
2824b29025
|
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 |
|
Daniel Holbert
|
5c2c464bdd
|
Bug 581478: undef strdup before (re)defining it in mozalloc_macro_wrappers.h. r=glandium
|
2013-07-25 18:14:41 -07:00 |
|
Mike Shal
|
1c7eb2843f
|
Bug 889787 - Define XP_LINUX globally; r=ted
|
2013-07-16 17:10:10 -04:00 |
|
Brian O'Keefe
|
11bcc1cd9e
|
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 |
|
Mike Shal
|
5169c0a913
|
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 |
|
Bill McCloskey
|
52b75b6ca8
|
Bug 863116 - MOZ_ALWAYS_INLINE should not inline in debug builds (r=Waldo)
|
2013-04-19 10:55:34 -07:00 |
|
Mike Shal
|
df7deac25b
|
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
|
2013-04-16 15:24:43 -04:00 |
|
Kyle Machulis
|
72a717a860
|
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
|
2013-04-01 11:36:59 -07:00 |
|
Kyle Machulis
|
43628a7867
|
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
|
334c0800cf
|
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
|
7ecea60097
|
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
|
2013-03-19 11:47:00 -07:00 |
|
Daniel Holbert
|
513bfe54a9
|
Bug 851981: Make loop iterator in mozalloc_handle_oom a size_t instead of an int, to fix build warning for signed/unsigned comparison. r=bsmedberg
|
2013-03-18 10:58:31 -07:00 |
|
Adam Roach [:abr]
|
39b30d5cd5
|
Bug 846368 - Add number of bytes requested to OOM last-gasp r=bsmedberg
|
2013-02-28 13:43:51 -06:00 |
|
Gregory Szorc
|
282edab58a
|
Bug 784841 - Part 18c: Convert /memory, /mfbt, /mozglue; r=ted f=Ms2ger
|
2013-02-25 12:47:17 -08:00 |
|
Rafael Ávila de Espíndola
|
a8f5bd4bfb
|
Bug 839338 - ASan alloc/dealloc mismatch in _M_create_nodes/_M_destroy_nodes. r=waldo.
|
2013-02-12 08:30:16 -05:00 |
|
Daniel Holbert
|
2d3b564a8f
|
Bug 829327: Mark mozalloc_abort() as MOZ_NORETURN (except on ARM, where we're pretty sure it breaks crash stacks). r=cjones
|
2013-01-11 09:29:02 -08:00 |
|
Chris Jones
|
36428f7dd6
|
Bug 824224: Make mozalloc_abort() not MOZ_NORETURN and log errors to logcat. r=glandium
|
2013-01-04 13:28:37 -08:00 |
|
Trevor Saunders
|
801c9b79ba
|
bug 822717 - remove checks for old gcc r=glandium
|
2012-12-18 13:22:28 -05:00 |
|
Jacek Szpot
|
abf9c51413
|
Bug 800106: Replace more NS_ALWAYS_INLINEs with MOZ_ALWAYS_INLINE; r=ehsan
|
2012-10-13 17:52:10 +02:00 |
|
Jan Beich
|
b905e6a742
|
Bug 788955 - Check for malloc_usable_size() and malloc_np.h via autoconf. r=glandium
|
2012-10-17 16:39:15 +02:00 |
|
Ehsan Akhgari
|
ee902c51f9
|
Backout changeset 0f0797cdb55a (bug 800106) because of Kraken regressions on Windows XP
|
2012-10-15 14:19:55 -04:00 |
|
Jacek Szpot
|
06b915eb2e
|
Bug 800106: replace NS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE; r=ehsan
|
2012-10-13 17:52:10 +02:00 |
|
Mike Hommey
|
70d7c821af
|
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
|
2012-08-04 20:26:44 +02:00 |
|
Jan Beich
|
a0d130c9ab
|
Bug 778056 - malloc_usable_size is also available in libc on FreeBSD, so use it in mozalloc.cpp. r=jlebar
|
2012-07-27 14:14:39 -04:00 |
|
Jacek Caban
|
c4079db44b
|
Bug 761859 - Missing MOZALLOC_EXPORT causes link failure on mingw r=ted
|
2012-06-11 09:51:06 +02:00 |
|
Jeff Walden
|
e00457555c
|
Bug 761859 - Make mozalloc_abort use MOZ_CRASH to crash. r=ted
|
2012-06-05 16:49:30 -07:00 |
|
Gervase Markham
|
82ff7027aa
|
Bug 716478 - update licence to MPL 2.
|
2012-05-21 12:12:37 +01:00 |
|
Benjamin Smedberg
|
433fd36140
|
Bug 737164 prerequisite - move mozilla::fallible_t to its own header so that everyone can reference it reasonable, r=cjones
--HG--
extra : rebase_source : 1f0e042f6d639b960c85f7813346e82afcf27861
|
2012-05-08 12:30:37 -04:00 |
|
Gian-Carlo Pascutto
|
12e5d134c7
|
Bug 743715 - Cannot build Fennec without jemalloc. r=glandium
|
2012-04-11 14:12:34 +02:00 |
|
Mike Hommey
|
609e12c771
|
Bug 738176 - Completely disable jemalloc when it's supposed to be disabled on OSX, and cleanup exposed APIs. r=jlebar,r=khuey
|
2012-04-05 09:20:53 +02:00 |
|
Jonathan Kew
|
0226614b64
|
bug 723472 - don't trigger an OOM abort on a zero-size allocation. r=cjones
|
2012-02-02 14:34:22 +00:00 |
|
Nicholas Nethercote
|
7559a70a04
|
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
|
2012-01-25 00:52:51 -08:00 |
|
Benjamin Smedberg
|
587594165b
|
Bug 716638 - Annotate the size of a failed allocation due to OOM and submit it with the crash report, r=ted
--HG--
extra : rebase_source : 5b7d10cb2e117deabb89b75ec3f3b1a221b3c80b
|
2012-01-24 11:08:51 -05:00 |
|
Mike Hommey
|
beeba9e288
|
Bug 697301 - Avoid the compiler making optimizations to mozalloc_abort that end up corrupting stack traces. r=cjones
|
2012-01-13 07:24:17 +01:00 |
|
Ms2ger
|
488d00a8b6
|
Bug 717441 - Backout bug 715093 / changeset d5f3e38021fd for Fennec crashes.
|
2012-01-12 21:35:48 +01:00 |
|
Ms2ger
|
83e99e1202
|
Bug 715093 - Get rid of MOZALLOC_INLINE in favour of MOZ_ALWAYS_INLINE; r=glandium
|
2012-01-11 09:22:16 +01:00 |
|
Jeff Walden
|
9098fa4182
|
Bug 711775 - Implement MOZ_NORETURN to encapsulate this-function-doesn't-return semantics. r=cjones
--HG--
extra : rebase_source : d56f3ef47e11c42b5fe6a442e13fd6202208914f
|
2011-12-17 16:45:29 -05:00 |
|