Commit Graph

11861 Commits

Author SHA1 Message Date
Wes Kocher
27d09036f4 Merge inbound to m-c 2013-11-05 17:50:18 -08:00
Wes Kocher
e612f4f8f3 Merge fxteam to m-c 2013-11-05 17:38:24 -08:00
Kyle Huey
3f7123a621 Bug 933099: Banish <windows.h> from nsGlobalWindow.cpp. r=bz 2013-11-05 22:16:25 +08:00
Benoit Jacob
00ed7105bd Bug 934568 - Make cycle collector OOM assertions fatal in debug builds. r=mccr8 2013-10-27 07:51:31 -04:00
Brian R. Bondy
73b11d1135 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
3f65220584 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
04bddc47a6 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
41edf8980c 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
8bacbf99f6 Bug 931062 - Unit test TestPLDHash.cpp fails on Android; r=njn 2013-11-04 09:28:34 -05:00
Nicholas Nethercote
3d05765fa7 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
4eb837e562 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
e65ff7f65b 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
608a3720cc Bug 933124 - Fix -Wformat warning in nsObjcExceptions.h. r=dougt 2013-10-29 21:04:41 -07:00
Mike Hommey
3da504d65e Bug 933135 - Treat SIMPLE_PROGRAMS more like PROGRAM. r=mshal 2013-11-02 08:43:55 +09:00
Mike Hommey
c7783e3cc2 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
3d83aa7a6f 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
6f3166cf28 Backed out changeset 38a50c61c285 (bug 931062) for compilation failures on a CLOSED TREE 2013-11-01 14:23:37 +00:00
Nicholas Nethercote
c1ea418fa3 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
651ef27bea 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
5abd447f7b 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
4908bbab5e 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
f97143587d 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
5da5c4cd53 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
e1f9084a2a 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
84fe98b48f Bug 870406 part n - Move more CSRCS to moz.build. r=mshal 2013-11-01 10:30:45 +09:00
Mike Hommey
2222c56692 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
a81746a966 Bug 906754 - Ensure that TimeStamp's static fields are initialized only once. r=froydnj 2013-10-28 20:50:09 +01:00
Phil Ringnalda
8af27b4af0 Merge m-c to m-i 2013-10-28 17:14:46 -07:00
Christian Holler
3ec0835789 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
1fcd935dd9 Merging in version bump NO BUG 2013-10-28 13:37:48 -07:00
Gregory Szorc
9bd5fc0064 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
3b80765894 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
780e2a2c5f Back out f872d288480b:9b86b4e60b29 (bug 929513) for failing to build on Windows
CLOSED TREE
2013-10-27 15:38:40 -07:00
David Zbarsky
94ea6c0df6 Bug 929513 Part 11: Convert ImageLayer's mScaleToSize to use LayerIntSize r=nical 2013-10-27 17:53:29 -04:00
Phil Ringnalda
d8c4bcf7c8 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
22587fba6b 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
c8665d036e Backed out changeset 82d5d92a3eac (bug 915555) for build failures on a CLOSED TREE 2013-10-25 17:59:24 +01:00
Jeff Walden
1b2f17e9ac 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
019abea10a 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
d2f6b7333c Bug 914270 - Part 1: Simple/Automated moves. r=joey 2013-10-24 18:51:00 +01:00
Jonas Finnemann Jensen
ef343c0f14 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
2a4e473ae4 Merge Mozilla-Inbound to Mozilla-Central 2013-10-25 10:12:00 +02:00
Karl Tomlinson
45ed7d80bd back out 242bb2279283 from bug 928222 on suspicion of causing bugs 930495 930479 930428 2013-10-25 17:40:39 +13:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Mike Hommey
3fa7456cd6 Bug 913268 - Make CPP_SOURCES a StrictOrderingOnAppendList. r=mshal 2013-10-24 08:00:23 +09:00
Andrew McCreight
96267f1e9a Bug 928647 - Remove CycleCollectedRuntime::mObjectToUnlink. r=smaug 2013-10-19 08:59:10 -07:00
Karl Tomlinson
4fdafba88d 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
52b6e813b1 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
698c365f13 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