Chris Peterson
|
f1ba5c2ff6
|
Bug 905221 - sizeof(nsEventQueue::Page) should be a power of two to avoid heap allocation slop. r=bsmedberg
|
2013-09-02 19:30:19 -07:00 |
|
Robert O'Callahan
|
8ca63f18ef
|
Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
|
2013-09-02 20:41:57 +12:00 |
|
Mike Hommey
|
05b3f24e0e
|
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
|
2013-09-05 09:01:46 +09:00 |
|
Gabriele Svelto
|
619cc7ccf1
|
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
|
2013-08-24 08:12:51 +02:00 |
|
Ms2ger
|
b5df99e7e3
|
Revert this CLOSED TREE to changeset 4d3e221584a0.
|
2013-08-24 13:31:48 +02:00 |
|
Gabriele Svelto
|
b6e8140bfc
|
Bug 907798 - Remove TimeStamp.h includes from source files that do not need it; r=ehsan
|
2013-08-24 08:12:51 +02:00 |
|
Nathan Froyd
|
dccf049cdc
|
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg,jlebar
|
2013-08-22 11:14:42 -04:00 |
|
Ben Turner
|
65e5c5c60d
|
Bug 900711, fix bustage on CLOSED TREE
|
2013-08-22 09:48:43 -07:00 |
|
Ben Turner
|
497aafa628
|
Bug 900711 - '~nsIThreadPool can run the event loop if shutdown has not been called'. r=ehsan.
|
2013-08-02 13:19:36 -07:00 |
|
Ms2ger
|
19f3e043e3
|
Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps
|
2013-08-22 08:56:01 +02:00 |
|
Ms2ger
|
4d0ead0110
|
Bug 883284 - Part f: Move LIBXUL_LIBRARY into moz.build (p-z); r=glandium
|
2013-08-22 08:56:01 +02:00 |
|
Ryan VanderMeulen
|
30c0fa1d8a
|
Backed out changeset d389df23ffc9 (bug 884281) for OSX crashes.
CLOSED TREE
|
2013-08-21 13:27:00 -04:00 |
|
Nathan Froyd
|
7e84fb44e4
|
Bug 907355 - fix warning about set-but-not-used variable in nsTimerImpl.cpp; r=ehsan
|
2013-08-20 15:22:27 -04:00 |
|
Nathan Froyd
|
9f2201c294
|
Bug 884281 - use mozilla::Atomic in xpcom/; r=bsmedberg
|
2013-08-20 11:21:31 -04:00 |
|
Kyle Huey
|
8ef412bec4
|
Bug 901630: Remove support for the cc thread. r=mccr8
|
2013-08-13 10:45:32 -07:00 |
|
Karl Tomlinson
|
d86fae77a1
|
b=900337 Document that nsIThreadPool::Shutdown() will run the event loop r=ehsan
--HG--
extra : transplant_source : %93%D8%96%C2%3A%60%7E%B9%96U%CC%C0%21e%A6%D2%BD%DD%E3-
|
2013-08-05 14:58:41 +12: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 |
|
Joshua Cranmer
|
bb26e8f816
|
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
|
2013-07-11 15:21:45 -05:00 |
|
Joshua Cranmer
|
0a16998703
|
Bug 884061 - Part 3y: Use NS_DECL_THREADSAFE_ISUPPORTS in xpcom/, r=bsmedberg
--HG--
extra : rebase_source : d54f6973e3ff859207115013e8361781769ffc76
|
2013-07-18 21:31:26 -05:00 |
|
Nicolas B. Pierron
|
a15779b07d
|
Bug 876029 - Add Missing MPL header. r=jlebar DONTBUILD
|
2013-07-15 15:25:07 -07:00 |
|
Benoit Girard
|
103cc87697
|
Bug 892861 - Remove useless -D flags 'IMPL_THEBES,_IMPL_NS_GFX,...'. r=glandium
|
2013-07-12 08:56:54 -04:00 |
|
Trevor Saunders
|
238525e2d8
|
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
|
2013-07-11 11:06:34 -04:00 |
|
Nicolas B. Pierron
|
6a756a0ea4
|
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
|
2013-07-09 13:47:15 -07:00 |
|
Ryan VanderMeulen
|
3e3b5b26c1
|
Backed out changeset 1c6223f7c74f (bug 876029) for Android armv6 mochitest-1/3 crahes.
|
2013-07-07 21:18:36 -04:00 |
|
Nicolas B. Pierron
|
9eacb3bb84
|
Bug 876029 - Make Gonk memory pressure by-pass the event queue. r=jlebar
|
2013-07-07 16:02:58 -07:00 |
|
Arnaud Sourioux
|
d0e4de4609
|
Bug 744115 - Disallow dispatching events after threads shut down. r=bsmedberg
|
2013-07-07 16:23:43 -04:00 |
|
Michal Novotny
|
c50a800403
|
Bug 886791 - Deadlock can occur if nsThreadPool::Dispatch() is called under lock, r=bsmedberg
|
2013-06-26 01:18:39 +02: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 |
|
Trevor Saunders
|
c4f3d9687f
|
bug 877850 - fix static constructors in xpcom/ r=jlebar
|
2013-05-30 17:20:02 -04:00 |
|
Aaron Klotz
|
363223655e
|
Bug 744836: Modify nsTimerEvent to hold its timer reference until the nsTimerEvent itself is destroyed. r=bsmedberg,ehsan
|
2013-05-30 10:19:18 -06:00 |
|
Julian Seward
|
38e97ed8fa
|
Bug 872496 - Allow early registration of stack tops, to improve native unwind quality. r=bgirard.
|
2013-05-28 14:03:38 +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 |
|
Chris Peterson
|
410b0e63cc
|
Bug 873960 - Avoid unnecessary idle thread notifications when changing thread limits. r=bsmedberg
|
2013-05-16 09:02:46 -07:00 |
|
Ted Mielczarek
|
47d7af59de
|
bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium
|
2013-05-16 09:33:26 -04:00 |
|
Maria Grazia Alastra
|
29ebfeceb8
|
Bug 331566 - Change idl interfaces to use @throws instead of @return NS_. r=bsmedberg
|
2013-05-16 08:26:55 -04:00 |
|
Vladan Djeric
|
1475f18b2f
|
Bug 867313: 'crash on hang' doesn't always trigger. r=ehsan
|
2013-04-30 18:39:16 -04:00 |
|
Ben Turner
|
4028ba0d10
|
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
|
2013-03-15 23:58:50 -07:00 |
|
Ben Turner
|
3bddc2523d
|
Backout bug 861287 for gcc build failures.
|
2013-04-25 08:30:28 -04:00 |
|
Ben Turner
|
76b1c708ac
|
Bug 861287 - 'Integrate IndexedDB into the gecko profiler'. r=khuey.
|
2013-03-15 23:58:50 -07:00 |
|
Aaron Klotz
|
34d3da3987
|
Bug 744836: Adds null checks for mEventTarget in nsTimerImpl. r=bsmedberg
|
2013-04-23 11:24:20 -06:00 |
|
David Rajchenbach-Teller
|
cc48ca0412
|
Bug 724368 - Expose the maximum number of threads. r=dougt
|
2013-04-19 07:54:18 -04:00 |
|
Mike Shal
|
24b4056720
|
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
|
2013-04-16 15:24:43 -04:00 |
|
Jason Duell
|
8bc89d2f03
|
Bug 792920 - clarify thread-safe use of nsITimer v2. r=bz DONTBUILD
|
2013-04-08 15:20:00 -07:00 |
|
Jason Duell
|
31a0a3cbe4
|
Bug 792920 - Update nsITimer.idl comments re: off main-thread use. r=mcmanus DONTBUILD
|
2013-04-04 11:36:07 -07:00 |
|
Chris Peterson
|
f0e70418f8
|
Bug 579517 - Remove some PRBools. r=ehsan
|
2013-04-04 10:28:18 -07:00 |
|
Ehsan Akhgari
|
aa3139644f
|
Bug 579517 follow-up: Remove NSPR types that crept in
|
2013-04-02 20:59:27 -04: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 |
|
Benjamin Smedberg
|
79410f2890
|
Bug 853998 - Add a common "SyncRunnable" class which dispatches events totally synchronously, avoiding event loop spinning or automatic promotion of this event to a nsThread, r=bsmedberg
|
2013-03-26 09:11:00 -07:00 |
|