Commit Graph

4215 Commits

Author SHA1 Message Date
Wes Kocher
3442c94bfd Merge inbound to m-c 2013-11-05 17:50:18 -08:00
Wes Kocher
071445529d Merge fxteam to m-c 2013-11-05 17:38:24 -08:00
Kyle Huey
50ee3b3331 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Benoit Jacob
5812051b69 Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8 2013-10-27 07:51:31 -04:00
Brian R. Bondy
a9b9ac44c1 Bug 924894 - Split prefs files up for Metro and Desktop when running in the same profile. r=jimm 2013-11-05 13:20:39 -05:00
Mike Hommey
ff32f10568 Bug 934337 - Get rid of custom rules fiddling with SHARED_LIBRARY. r=mshal
While here, remove other custom rules in the same Makefiles.
2013-11-05 13:28:26 +09:00
James Kitchener
5b0db92cbb Bug 328755 - Assigning a zero-length string should not alloc a buffer. r=bsmedberg 2013-11-04 14:22:37 -05:00
Jonas Finnemann Jensen
601c303bbe Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer. r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-11-05 07:45:20 -05:00
Dan Minor
f9aa32126e Bug 931062 - Unit test TestPLDHash.cpp fails on Android; r=njn 2013-11-04 09:28:34 -05:00
Nicholas Nethercote
7005c68a5b Bug 933605 (part 2) - Don't declare all vars at the top of functions in pldhash.cpp. r=jorendorff.
--HG--
extra : rebase_source : 53da17b46bd986ceefbc66f23e43d2f5b7290fad
2013-10-31 22:33:29 -07:00
Nicholas Nethercote
14b48dc0f4 Bug 933605 (part 1) - Remove DEBUG_XXXbrendan-only code. r=jorendorff.
--HG--
extra : rebase_source : 8ebc751e246cf133f899a8563e75f9bff77d9eda
2013-10-31 22:30:45 -07:00
Nicholas Nethercote
8240e2f282 Bug 933074 - Allow a pldhash to be reasonably overloaded if it cannot be grown further. r=jorendorff.
--HG--
extra : rebase_source : 0760f78d5332b4791899c1db649493eeca10b978
2013-10-30 18:22:31 -07:00
Chris Peterson
4d8b1b8633 Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt 2013-10-29 21:04:41 -07:00
Mike Hommey
ff4fa14954 Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Mike Hommey
718ee10d1e Bug 932618 - Use NO_PROFILE_GUIDED_OPTIMIZE to disable PGO for individual files. r=gps 2013-11-02 08:42:53 +09:00
Aaron Klotz
8ddbfac9e4 Bug 827416: Adds profileHDDModel and profileHDDRevision to nsSystemInfo; r=bbondy
--HG--
extra : rebase_source : b0d012c1f2767b0002e3daa87294eb675cf8e29b
2013-11-01 16:54:25 -06:00
Ed Morley
8b64bfe0b1 Backed out changeset 38a50c61c285 (bug 931062) for compilation failures on a CLOSED TREE 2013-11-01 14:23:37 +00:00
Nicholas Nethercote
3ff451117b Bug 931062 - Skip one test in TestPLDHash.cpp on Android because it tends to OOM; r=njn 2013-10-28 12:30:07 -07:00
ISHIKAWA, Chiaki
2d417d2685 Bug 931720 - Return low-level error correctly from nsLocalFile::CopyToNative(). r=bsmedberg
Fix copytonative to return better meaningful error (from errno) when PR_Write()/PR_Read() failed (e.g., failed to write to full file system, etc.)
2013-10-31 23:04:11 -04:00
Cykesiopka
beb2b7bb20 Bug 887832 - moz.build: Fix other remaining OS_TEST==arm references in the tree. r=gps 2013-10-31 22:48:45 -04:00
Daniel Holbert
bd6e7083c6 Bug 926275: Remove mozalloc_macro_wrappers.h and mozalloc_undef_macro_wrappers.h. r=bsmedberg 2013-10-31 19:39:03 -07:00
Nicholas Nethercote
d4be988ff0 Bug 930851 (part 3) - Use |data| instead of |closure| for some callback environment arguments. r=mccr8.
--HG--
extra : rebase_source : a96709da6d9a880a03e2e79149ba0e3558b4a355
2013-10-24 21:39:16 -07:00
Nicholas Nethercote
4a605a305c Bug 930851 (part 1) - Make child process naming consistent in both memory reporting paths. r=khuey.
--HG--
extra : rebase_source : 6c212dd1ddc701af8297a6de373c8650b18a1b56
2013-10-24 20:47:48 -07:00
Nicholas Nethercote
9726ac23f3 Bug 815467 - Store pldhash's recursionLevel in a better place, so that debug and non-debug pldhashes take up the same amount of memory. r=dbaron.
--HG--
extra : rebase_source : c3c928f6706be4ef55620f05320050991a657a6c
2013-10-30 15:10:06 -07:00
Mike Hommey
7688ee6823 Bug 870406 part n - Move more CSRCS to moz.build. r=mshal 2013-11-01 10:30:45 +09:00
Mike Hommey
6dcd33ed08 Bug 932178 - Move ASFILES to moz.build in xpcom/reflect/xptcall/src/md/unix. r=gps
This also cleans up assembler-with-cpp flags, by renaming .s files to .S,
which are preprocessed without requiring additional flags. Also clean up
the generated assembly torture.

--HG--
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcinvoke_asm_ppc_linux.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_mips64.S
rename : xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.s => xpcom/reflect/xptcall/src/md/unix/xptcstubs_asm_ppc_linux.S
2013-10-30 07:46:17 +09:00
Gabriele Svelto
d48fd3d8ac Bug 906754 - Ensure that TimeStamp's static fields are initialized only once. r=froydnj 2013-10-28 20:50:09 +01:00
Phil Ringnalda
428c2fc5bc Merge m-c to m-i 2013-10-28 17:14:46 -07:00
Christian Holler
b88ba8dbad Bug 829617 - Make access to gTimestamp in HangMonitor atomic. r=froydnj
--HG--
extra : rebase_source : d40c8aee4dec4da601d451e29eb84c679ec60e9c
2013-10-29 00:29:00 +01:00
Lukas Blakk
b28a096524 Merging in version bump NO BUG 2013-10-28 13:37:48 -07:00
Gregory Szorc
9ada834d56 Bug 927837 - Don't manage generated files in configure; r=glandium
--HG--
extra : rebase_source : b502ce209de6a0ae10e130644e424687e4fae85e
2013-10-23 14:43:32 -07:00
Nicholas Nethercote
ba1e9bce90 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Phil Ringnalda
a1f80ad10b Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
fd4a9f4426 Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical 2013-10-27 17:53:29 -04:00
Phil Ringnalda
8dc12a3b90 Back out 338760b1955c (bug 902922) for discovering that we have a cycle collecter OOM 100% of the time in Win7 mochitest-2 shutdown 2013-10-27 09:38:35 -07:00
Benoit Jacob
6fb52730bd Bug 902922 - OOM assertions in the cycle collector should be fatal in debug builds - r=mccr8 2013-10-27 07:51:31 -04:00
Ed Morley
61f4aaac0a Backed out changeset 82d5d92a3eac (bug 915555) for build failures on a CLOSED TREE 2013-10-25 17:59:24 +01:00
Jeff Walden
a57c433700 Bug 915555 - Don't redundantly cast an unnamed expression to an rvalue reference, because 1) it's dumb, and 2) gcc 4.4 warns about casting an rvalue reference to an rvalue reference (which is harmless due to C++11's rvalue semantics). f=hub, r=trivial 2013-09-12 10:55:14 -07:00
Ed Morley
c147bacb01 Backed out changeset 2d6c5cbcc213 (bug 902587) for failures during linking on a CLOSED TREE
--HG--
rename : xpcom/build/PoisonIOInterposer.h => xpcom/build/mozPoisonWrite.h
rename : xpcom/build/PoisonIOInterposerBase.cpp => xpcom/build/mozPoisonWriteBase.cpp
rename : xpcom/build/PoisonIOInterposerMac.cpp => xpcom/build/mozPoisonWriteMac.cpp
rename : xpcom/build/PoisonIOInterposerWin.cpp => xpcom/build/mozPoisonWriteWin.cpp
2013-10-25 14:24:34 +01:00
Cykesiopka
a3710e5c11 Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Jonas Finnemann Jensen
375ca800b6 Bug 902587 - Part 2A: Refactor late-write-checks as client of IO Interposer r=BenWa
--HG--
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/LateWriteChecks.h
rename : xpcom/build/mozPoisonWrite.h => xpcom/build/PoisonIOInterposer.h
rename : xpcom/build/mozPoisonWriteBase.cpp => xpcom/build/PoisonIOInterposerBase.cpp
rename : xpcom/build/mozPoisonWriteMac.cpp => xpcom/build/PoisonIOInterposerMac.cpp
rename : xpcom/build/mozPoisonWriteWin.cpp => xpcom/build/PoisonIOInterposerWin.cpp
2013-10-24 17:02:00 +01:00
Carsten "Tomcat" Book
f3d4996b70 Merge Mozilla-Inbound to Mozilla-Central 2013-10-25 10:12:00 +02:00
Karl Tomlinson
727bf8ca64 back out 242bb2279283 from bug 928222 on suspicion of causing bugs 930495 930479 930428 2013-10-25 17:40:39 +13:00
Mike Hommey
1d566f7586 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
61124c1afc Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
e2ae65f67a Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Andrew McCreight
34325ec499 Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug 2013-10-19 08:59:10 -07:00
Karl Tomlinson
47186024e8 b=928222 remove nsThreadPool per-thread event queues r=bsmedberg
The way idle nsThreadPool threads wait with a timeout doesn't work well with
shutdown from nsThreadManager.

nsThreadPool doesn't need to use nsIThread for its threads.  The nsIThread
interface is not useful for threads running in an nsThreadPool.
The nsIEventTarget on the nsIThreadPool should be used for dispatching events,
not an interface on the individual threads, and the threads don't need an
nsEventQueue because they use the nsEventQueue on the nsThreadPool.

Shutdown of single event threads is easier than running nested event loops for
nsIThreads, avoiding the multilevel nested event loop situations when several
threads finish and are shutdown.  While the ThreadFunc is running, a nested
event loop is still used in Shutdown() in case some consumers might need it
and because that is the documented API.

This also simplifies thread creation, avoiding races that could mean there was
temporarily an extra thread or more.

--HG--
extra : transplant_source : %F7%14%16%12%EF%E9%84%19D%26%3C%FE%1F%EC%FF%A3%BAG%C4%F3
2013-10-24 09:31:15 +13:00
Karl Tomlinson
2364c5394f b=928222 move ReentrantMonitorAutoExit from VideoUtils.h to ReentrantMonitor.h r=bsmedberg
--HG--
extra : transplant_source : %13O%CF%90x%02%B8%B6%A3%EA%AD%03%99%9A7%1B%A0%21%C4%A3
2013-10-24 07:22:53 +13:00
Karl Tomlinson
7dbf5c98ba b=926522 remove unecessary shutdown code from ~nsThreadPool r=bsmedberg
While threads are processing their initial runnable, which is the nsThreadPool, it will not be
destroyed.  The threads remove themselves from mThreads before returning from Run().

This includes removal of changes from bug 900711.

--HG--
extra : transplant_source : %EF%E9%94L%E9d%F5%99b%09r%CB%024%86%88%BA%EFi%29
2013-10-24 07:21:37 +13:00