Граф коммитов

13341 Коммитов

Автор SHA1 Сообщение Дата
Trevor Saunders 1a013270b5 bug 1105074 - make more stuff final r=froydnj 2014-11-25 13:56:07 -05:00
James Willcox 90ad2ed955 Bug 1085742 - Bail out of XPCOM init early if we're already initialized r=bsmedberg
--HG--
extra : rebase_source : 6029756f6c910d1d201f067379ad2c2838b73b8d
2014-11-26 15:19:57 -06:00
Gregory Szorc a98df2b053 Backout 69f755d4f257 (bug 1103825) for test failures
xpcom/tests/unit/test_nsIProcess.js and
xpcom/tests/unit/test_nsIProcess_stress.js were failing with this commit
applied. Backout out.

CLOSED TREE

--HG--
extra : amend_source : 79cda414c263d97e77309da6ec6d58718b91d199
2014-11-25 19:18:08 -08:00
David Major ff75043656 Bug 1103830: Support 0x40 prefix byte (plain REX). r=m_kato
--HG--
extra : rebase_source : affded50f428e9295b2eda4b311ebd0c2677a138
2014-11-26 15:41:21 +13:00
Gregory Szorc cff551e7b7 Bug 1103825 - Use misc tier in xpcom/tests; r=mshal
--HG--
extra : rebase_source : 248423ffcf75acd406510dd350ccf4653a3c34b4
extra : histedit_source : 416af91a62eff97ca53596423d4124bf013293b4
2014-11-23 16:36:58 -08:00
Jim Chen f6e8fa1fed Bug 1091758 - Report full paths for most chrome scripts; r=snorp 2014-11-25 15:35:21 -08:00
Wes Kocher dcd7b41c02 Merge m-c to inbound a=merge 2014-11-24 17:09:11 -08:00
Wes Kocher bd182684f1 Backed out changeset b3f742c00ba1 (bug 1103152) 2014-11-24 17:04:30 -08:00
Wes Kocher 9bd1792b15 Backed out changeset b4b619628d1d (bug 1103368) for b2g build bustage 2014-11-24 17:03:44 -08:00
Wes Kocher 1d5fb56d35 Merge inbound to m-c a=merge 2014-11-24 16:55:25 -08:00
Ryan VanderMeulen fb8d05cd59 Backed out changesets 9beb53e53951, 4420bb4e5e7c, de1da65301a8, and cd9c2aaf1343 (bug 970307) for causing frequent B2G debug mochitest-11 crashes. 2014-11-24 17:18:27 -05:00
Carsten "Tomcat" Book 2492fdb8a7 Merge mozilla-central to b2g-inbound 2014-11-24 14:18:59 +01:00
Patrick Wang (Chih-Kai Wang) 19f6d563c5 Bug 970307: fix non-unified build bustage. r=me 2014-11-24 16:36:35 +08:00
Patrick Wang (Chih-Kai Wang) c0da861aa4 Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-11-24 15:21:52 +08:00
Jason Orendorff 986d9b9587 Bug 1103368, part 5 - Make Class::getProperty and setProperty nullable instead of needing stub functions. Never store stub functions in JSPropertyDescriptors. r=bhackett.
--HG--
extra : rebase_source : 4fffe30636fdc5f0c708bc50f98c974c67cd4459
2014-11-22 12:23:39 -06:00
Jason Orendorff 195aa9ff10 Bug 1103152 - Remove JS_DeletePropertyStub, JS_EnumerateStub, JS_ResolveStub, and JS_ConvertStub. Make five mandatory JSClass hooks optional (nullable). r=bhackett.
--HG--
extra : rebase_source : 40b75b926ae59d91c80374fc5b25d2a459ecb717
2014-11-21 15:14:58 -06:00
Shelly Lin 2be44806ed Bug 1100259 - Add TaskTracer labels in EventDispatcher and console.log of message with special prefix. r=sinker. 2014-11-20 10:57:27 +08:00
Nicholas Nethercote 5fad01bb19 Bug 1094552 (part 3) - DMD: rename |Block| as |LiveBlock|. r=mccr8.
This is to give better contrast with |DeadBlock|, which will be added in the
next patch.

--HG--
extra : rebase_source : cbc767fcc5667cfed108ca7c4ebf1d7e82aa185e
2014-11-18 18:57:20 -08:00
Paul Szabo bb28658a19 Bug 918140 - mis-interprets disk "hard quota" (blocks vs bytes confusion). r=benjamin 2014-11-23 22:20:38 +02:00
Jacek Caban 416d586a14 Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Jed Davis 2fdd7150c1 Bug 1101170 - Move sandbox status info into a separate module. r=kang r=glandium
This changes the interface so that the code which determines the flags
can live in one place, but checking the flags doesn't need to call into
another library.

Also removes the no-op wrappers for Set*Sandbox when disabled at build
time; nothing used them, one of them was unusable due to having the wrong
type, and all they really accomplish is allowing sloppiness with ifdefs
(which could hide actual mistakes).
2014-11-24 15:22:13 -08:00
Karl Tomlinson 312be48f81 bug 976927 support nsAutoTArray::operator=(const nsTArray&) r=froydnj
--HG--
extra : rebase_source : 9835cd5b05427611d5e490eee88602b2578dc0b8
2014-11-19 12:40:28 +13:00
Julian Seward 89afba7ee7 Bug 1100911 - For MacOS builds running on Valgrind, make ThreadStackHelper::GetStack be a no-op. r=nchen.
--HG--
extra : rebase_source : b78df813b0fb211043836f4b8692caf277a2b28f
2014-11-20 20:50:26 +01:00
Jacek Caban a6c311c29d Bug 1100997 - Fixed FileUtilsWin.h compilation on mingw. r=cpearce 2014-11-20 10:52:26 +01:00
Carsten "Tomcat" Book b742ef4f34 Backed out changeset 73c4111cab17 (bug 1083361) for bustage 2014-11-20 09:51:03 +01:00
David Rajchenbach-Teller b71d04be6e Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz 2014-11-19 14:31:06 +01:00
Nathan Froyd 970fc0e8a3 Bug 1099251 - make ChaosMode's behavior modifications more finely-grained selectable; r=roc 2014-11-14 13:12:51 -05:00
Tom Tromey 312667013f Bug 1097731 - emit using declarations for infallible convenience methods. r=nfroyd 2014-11-12 08:11:00 +01:00
Mason Chang de0e409177 bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Francois Marier 162f0e0a1c Bug 529697 - (CSP 1.1) Implement form-action directive [2/4], r=smaug
Check CSP when submitting HTML forms.
2014-11-18 01:13:00 +01:00
Mike Hommey 6820af77b4 Bug 1087245 part 3 - Avoid memory allocation when initializating Poison IO File Handle list so that LogAlloc doesn't deadlock at initialization. r=nfroyd 2014-11-18 19:21:26 +09:00
Mike Hommey 3cbc3cf69f Bug 1087245 part 1 - Allow replace-malloc libraries to register debug file handles to poison IO interposer. r=nfroyd 2014-11-18 19:21:06 +09:00
Mike Hommey 7def0f9cd3 Bug 1097507 - Make libxul independent of libdmd when DMD is enabled. r=njn
This also effectively changes how DMD is enabled from requiring both
replace-malloc initialization and the DMD environment variable to
requiring only the former. The DMD environment variable can still be
used to specify options, but not to disable entirely.

This however doesn't touch all the parts that do enable DMD by setting
the DMD environment variable to 1, so the code to handle this value
is kept.
2014-11-18 19:21:06 +09:00
Shih-Chiang Chien d88351efcf Bug 1094531 - make nsNodeInfoManager skippable. r=smaug. 2014-11-17 13:04:00 +01:00
Brian Birtles 862f1e6d3b Bug 1073336 part 3a - Allow TimeStamp == and != operators to work with null timestamps; r=froydnj 2014-11-17 13:45:56 +09:00
Ryan VanderMeulen 87e1d173f4 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang 89dd1bd2d2 Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Chris Pearce f3af16c459 Bug 1088488 - Add GMPLoader interface to encapsulate loading GMPs, pass that to XRE_InitChildProcess. r=jesup,r=bsmedberg,r=glandium 2014-11-14 21:26:24 +13:00
Nathan Froyd e0f61bdabc Bug 1095541 - part 3 - remove nsCOMPtr.h #include from nsRefPtr.h; r=bsmedberg 2014-11-07 11:18:19 -05:00
Nathan Froyd 7873eb0325 Bug 1095541 - part 2 - move already_AddRefed to its own header file; r=bsmedberg 2014-11-07 11:17:41 -05:00
Nathan Froyd e9b66eb44d Bug 1095541 - part 1 - move nsRefPtr nsCOMPtr_helper overloads out-of-line; r=bsmedberg
Doing this means that instantiations of nsRefPtr<T> won't require
nsCOMPtr_helper::operator() to be defined.  Only actual uses of the
overloads will require the definition.
2014-11-07 11:16:54 -05:00
Nathan Froyd e07aa30b4b Bug 1097861 - make CycleCollectionNoteChild more easily forward-declarable; r=mccr8
Forward declaring functions with default arguments is difficult.  If you try to say:

template<typename T>
inline void
CycleCollectionNoteChild(nsCycleCollectionTraversalCallback& aCallback,
                         T* aChild, const char* aName, uint32_t aFlags);

and then later have:

template<typename T>
inline void
CycleCollectionNoteChild(nsCycleCollectionTraversalCallback& aCallback,
                         T* aChild, const char* aName, uint32_t aFlags = 0);
{
  ...
}

the compiler complains that default arguments cannot be added to a
function template that has already been declared.  If you attempt to
mollify the compiler by declaring instead:

template<typename T>
inline void
CycleCollectionNoteChild(nsCycleCollectionTraversalCallback& aCallback,
                         T* aChild, const char* aName, uint32_t aFlags = 0);

the compiler then complains about redefining the default argument (!)
when an actual definition is found.

To circumvent this, manually implement "default" arguments by providing
a three-argument form of CycleCollectionNoteChild, which simply forwards
to the four-argument version.
2014-11-12 15:22:32 -05:00
Mike Hommey 486629b635 Bug 1097506 - Pass a JSONWriteFunc to dmd::AnalyzeReports instead of a JSONWriter. r=njn
The interesting feature JSONWriteFunc has, contrary to JSONWriter, is that it
only has virtual methods, which makes it a better candidate to be passed
around between libraries not linked against each other.

This will allow to make dmd and libxul independent from each other.
2014-11-13 09:24:28 +09:00
Aaron Klotz 91000480d2 Bug 1090389: Ensure that IOInterposer normalizes to long file names on Windows; r=froydnj 2014-11-12 14:01:45 -07:00
David Major e8c22c1b15 No bug - add a comment to clarify the code. DONTBUILD
--HG--
extra : rebase_source : 3d38a9aa2fde585951ffaadaecf76422cf0dcab5
2014-11-13 08:57:09 +13:00
David Major 5b3f9cf5f2 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : a9f4ae9e6f05e5ade56b741fa2f110974c5f08ac
2014-11-12 21:13:44 +13:00
David Major eb013f5d4d Backed out changeset 8a4595cc5ec4 for Linux build failure on a CLOESD TREE
just kidding it's a CLOSED TREE

--HG--
extra : rebase_source : 163a9bff0ad836095057d5911b792c34517d14cc
2014-11-12 17:19:15 +13:00
David Major 71f98009f0 Bug 1097283: Fix count/byte mismatches in NS_ABORT_OOM calls. r=froydnj
--HG--
extra : rebase_source : b24e0b9d2e491ace3c045ee6b01e36b33c3ac21d
2014-11-12 15:42:53 +13:00
Nicholas Nethercote 6b3fdce6bc Bug 1096624 - Use a SegmentedArray in nsCycleCollector::CollectWhite. r=smaug.
This patch does the following.

- Moves the logic for computing the ideal capacity for a SegmentedArray out of
  SnowWhiteKiller into its own class, SegmentedArrayCapacity.

- Replaces the nsTArray in CollectWhite(), which can be very large and is
  complicit in ~1% of OOM crashes, with a SegmentedArray.

--HG--
extra : rebase_source : 732743311a08fcc3dfe43a1b308846b93d30e6ed
2014-11-11 16:02:34 -08:00
Nathan Froyd 03dbe73deb Bug 1097271 - remove unused ptr variable from nsClassHashtable::RemoveAndForget; r=mccr8 2014-11-11 16:47:29 -05:00
Andrew McCreight 86f277bb36 Bug 1093278 - Null check in nsPurpleBuffer::VisitEntries. r=smaug 2014-11-03 16:50:00 -05:00
Seth Fowler a09ff42fbc Bug 1091921 - Don't disable operator delete for Monitor and Mutex Auto helpers. r=froydnj
--HG--
extra : rebase_source : 9754a3daab2b3452201ed9575a4cc00b6b8d6231
2014-11-10 13:37:52 -08:00
Nathan Froyd c767cf0846 Bug 1095633 - part 2 - remove HAVE_CPP_TROUBLE_COMPARING_TO_ZERO bits from the build system; r=mshal 2014-11-07 14:08:13 -05:00
Nathan Froyd 7c3afbd946 Bug 1095633 - part 1 - remove uses of HAVE_CPP_TROUBLE_COMPARING_TO_ZERO from headers; r=bz 2014-11-07 14:44:12 -05:00
David Major d44bdf4b27 Bug 1096155: Report the correct OOM size when the caller doesn't specify a length. r=froydnj
--HG--
extra : rebase_source : 437d3acc69b0940cf388039a318eda7d9d27e082
2014-11-11 10:31:13 +13:00
Emanuel Hoogeveen fbc3e91445 Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8 2014-11-06 10:14:00 +01:00
Emanuel Hoogeveen b7672edb91 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=billm r=mccr8 2014-10-22 14:13:00 +02:00
Nicholas Nethercote c881cf722e Bug 1094564 - Used SegmentedArray in SnowWhiteKiller. r=smaug.
This patch generalizes SegmentedArray a little, and then uses it instead of
nsTArray in SnowWhiteKiller. This avoids some large (sometimes 1 MiB or more)
allocations which were usually mostly unused.
2014-11-09 14:57:09 -08:00
Nathan Froyd e9ec6ebc1b Bug 1095117 - forward-declare cycle collection things in nsRefPtr.h; r=mccr8 2014-11-07 09:13:18 -05:00
Mats Palmgren e7f3e5289f Bug 415491, part 2 - Implement a char16_t version of NS_EscapeURL. r=bzbarsky 2014-11-08 02:42:04 +00:00
Carsten "Tomcat" Book 20c938e8d7 Merge mozilla-central to mozilla-inbound 2014-11-07 15:34:32 +01:00
Carsten "Tomcat" Book ba5a7941af Backed out changeset ebdebc9251be (bug 1084651) 2014-11-07 15:30:49 +01:00
Carsten "Tomcat" Book d87e8af66c Backed out changeset 77959236fb15 (bug 1084651) 2014-11-07 15:30:16 +01:00
Emanuel Hoogeveen 0d92fda72d Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8 2014-11-06 10:14:00 +01:00
Emanuel Hoogeveen 2efb3493a7 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8 2014-10-22 14:13:00 +02:00
Jacob Bramley d7eea06a91 Bug 1050258 - ARM hard-float XPCOM: correct argument passing. r=dougc 2014-11-07 19:44:08 +11:00
Jed Davis 59573e5f85 Bug 1077057 - Expose Linux sandboxing information to JS via nsSystemInfo. r=kang r=froydnj
This adds "hasSeccompBPF" for seccomp-bpf support; other "has" keys
will be added in the future (e.g., user namespaces).

This also adds "canSandboxContent" and "canSandboxMedia", which are
absent if the corresponding type of sandboxing isn't enabled at build
type (or is disabled with environment variables), and otherwise present
as a boolean indicating whether that type of sandboxing is supported.
Currently this is always the same as hasSeccompBPF, but that could change
in the future.

Some changes have been made to the "mozilla/Sandbox.h" interface to
support this; the idea is that the MOZ_DISABLE_*_SANDBOX environment
variables should be equivalent to disabling MOZ_*_SANDBOX at build time.
2014-11-06 13:11:00 +01:00
Carsten "Tomcat" Book 13de0f42c9 Backed out 7 changesets (bug 1084651) for ASAN Bustage on a CLOSED TREE
Backed out changeset dd2b3e78b425 (bug 1084651)
Backed out changeset 2711fbd91819 (bug 1084651)
Backed out changeset 59a163addd79 (bug 1084651)
Backed out changeset d36f6dbbf925 (bug 1084651)
Backed out changeset 78102b62a4a0 (bug 1084651)
Backed out changeset 06387a2343a0 (bug 1084651)
Backed out changeset 2f8e7c39573e (bug 1084651)
2014-11-05 15:20:25 +01:00
Emanuel Hoogeveen dd0cdda357 Bug 1084651 - Part 5: Simplify Cycle Collector logic now that SliceBudget makes more sense. r=mccr8 2014-10-21 11:54:00 +02:00
Emanuel Hoogeveen f6218097c0 Bug 1084651 - Part 2: Clean up SliceBudget and require explicitly choosing between TimeBudget and WorkBudget. r=wmccloskey r=mccr8 2014-10-22 14:13:00 +02:00
Gina Yeh d33f31e6be Bug 1089514, Patch 1: Some traced tasks/runnables have record of dispatch, but no records of execution, r=thinker.
---
 tools/profiler/TracedTaskCommon.cpp |   19 +++++--------------
 tools/profiler/TracedTaskCommon.h   |   12 ++++++++----
 xpcom/threads/TimerThread.cpp       |    2 ++
 xpcom/threads/nsTimerImpl.cpp       |    3 +++
 xpcom/threads/nsTimerImpl.h         |    2 +-
 5 files changed, 19 insertions(+), 19 deletions(-)
2014-11-04 17:42:03 +08:00
Jacek Caban 1fb284960f Bug 1092130 - Fixed build errors found by mingw after bug 1076698 landed (-Werror=missing-braces errors). r=cpearce 2014-11-03 10:28:52 +01:00
Steven Michaud 3c5c8c63c4 Bug 1091801 - fix inline assembly constraints; r=froydnj, a=Tomcat 2014-10-29 08:47:18 -04:00
Carsten "Tomcat" Book 312a3e591d Merge mozilla-central to mozilla-inbound 2014-10-30 15:13:45 +01:00
Carsten "Tomcat" Book a758e037c4 merge mozilla-inbound to mozilla-central a=merge 2014-10-30 14:45:37 +01:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey 0cd72b4901 Bug 1077148 part 3 - Do not link PrimitiveTest, SimpleTypeLib, TestAUSHelper, TestAUSReadStrings and screentopng against mozglue on Linux. r=gps
There is no reason these should be linked to mozglue on Linux only. This
makes the intent clearer for the related changes in part 4.
2014-10-30 13:06:04 +09:00
Nicholas Nethercote e9387c4b71 Bug 1048044 - Use exponential growth when growing an nsTArray. r=froydnj.
--HG--
extra : rebase_source : 7587eb25686f5273b9b77a8b38c6cc40ce5fc25b
2014-10-29 20:34:33 -07:00
Steven Michaud 0e5350ab35 Bug 997908 - crash in ReleaseSliceNow(unsigned int, void*) accessing memory at 0x5a5a5a5a5a5a5a5a, test patch. r=nfroyd 2014-10-29 21:50:29 -05:00
Mason Chang 97ebd4c29a Bug 1083530. Part 1 Create mozilla::TimeStamp constructor with system time param. r=roc 2014-10-29 13:36:51 -07:00
Nicholas Nethercote d27a8c365b Bug 1089446 - Remove xpcom/tools/analyze-xpcom-log.pl, which is ancient and unused. r=froydnj.
--HG--
extra : rebase_source : da65608c548dbbc4a336c75799ea713a5cdf01d3
2014-10-28 15:04:03 -07:00
Anuj Agarwal d8d543d7b2 Bug 907327 - Added ErrorNames.h and ErrorNames.cpp. r=nfroyd 2014-10-20 13:09:00 +02:00
Carsten "Tomcat" Book 0c3d2acf16 Backed out changeset 3333c226a1d8 (bug 792989) for wrong commit number 2014-10-30 14:39:15 +01:00
Anuj Agarwal 78f9e5301b Bug 792989 - Added ErrorNames.h and ErrorNames.cpp. r=nfroyd 2014-10-20 13:09:00 +02:00
Paolo Amadini e1e4b620e8 Bug 1013625 - Process Promise resolution runnables outside of main event queue. r=bz,khuey 2014-10-28 12:08:19 +00:00
Panos Astithas 785bd0838e Bug 1086936 part 2 - Add a flag to nsIAppStartup::quit that restarts the browser without using the same profile and use it for the Aurora UI switch. r=bsmedberg 2014-10-27 21:46:56 +02:00
Landry Breuil d436a73cbd Bug 971897: Use xpct{stubs,invoke}_x86_64 from linux/unix on OpenBSD/amd64 for consistency r=bsmedberg
This fixes the download panel issue, and brings us revs 727721e5d8ac,
844b142d8111 and 236989b3a807 as a bonus. Remove the unmaintained
OpenBSD/amd64 specific versions.
2014-10-26 17:13:19 +01:00
Andrew McCreight 526df61329 Bug 1087799, part 3 - Do not include any JS things in the list of white nodes. r=smaug
Root() does not actually root JS things, so if some other class's Unlink() method ends
up calling the GC, whiteNodes will end up containing dead pointers. (This is safe right
now because the Unlink and Unroot methods do not do anything to JS things.) It is less
error prone to simply never store those pointers.

Also, add some asserts to enforce that we never call any of the white-object methods
for JS things.
2014-10-24 15:06:56 -07:00
Andrew McCreight 04f4e49d61 Bug 1087799, part 2 - Rename count to numWhiteNodes in nsCycleCollector::CollectWhite(). r=smaug 2014-10-24 15:06:56 -07:00
Andrew McCreight 14343f4a96 Bug 1087799, part 1 - Loosen the invariant in nsCycleCollector::FinishAnyCurrentCollection(). r=smaug
If an Unlink() method ends up running JS, it can cause a GC, which will make us reenter the CC,
which will not do anything because we're already in a CC. Therefore, FinishAnyCurrentCollection()
won't finish the CC. This is safe because the CC only touches things it actually holds alive via
the Root() method.
2014-10-24 15:06:55 -07:00
Carsten "Tomcat" Book 0ec014c025 Merge mozilla-central to fx-team 2014-10-24 16:12:00 +02:00
Panos Astithas a770ad057a Bug 1024110 - Change Aurora's default profile behavior to use channel-specific profiles. r=bsmedberg f=gavin,markh 2014-09-23 21:49:03 +03:00
Aaron Klotz 6ed726f19a Bug 1087410: Ensure that ChromeHang annotations don't break in e10s; r=jimm 2014-10-22 12:39:27 -06:00
Nicholas Nethercote e3513fb564 Bug 1087128 - Remove some "Leaky" remnants. r=glandium.
--HG--
extra : rebase_source : b73df80267960f44edb768ff1e2f14ab8134d308
2014-10-21 19:13:05 -07:00
Aaron Klotz 74aaf2677f Bug 818307: Fix for bad StaticPtr.h include; r=bustage on a CLOSED TREE
--HG--
extra : rebase_source : 858b0fb3fd186bc0958cb10e739dd11a102f72d3
2014-10-21 12:18:27 -06:00
Aaron Klotz 8f1189a221 Bug 818307: Part 1 - Add annotation support to ChromeHangs; r=vladan 2014-10-21 11:48:08 -06:00
James Willcox 5bd2ac8ce1 Bug 1085662 - Don't crash if there is no deadlock detector when destroying BlockingResourceBase r=froydnj 2014-10-21 10:16:31 -05:00
Stephen Pohl ee2a1a8d27 Bug 1082777: Support running of xpcshell on OSX with relative path invocation on Terminal. r=smichaud 2014-10-21 09:43:02 -04:00
Andrew McCreight cc506c4751 Bug 727965 - Trigger CC_WAITING GCs based on number of freed JS objects and zones. r=smaug 2014-10-20 10:07:52 -07:00
Benjamin Bouvier a68d2993a2 Bug 997973: Call typed array and arraybuffer constructors with new in the tree; r=bz 2014-10-24 11:26:20 +02:00
Mike Hommey c6e3b7bbab Bug 1084161 - Use PLDHashTableOps to allocate PLDHashTables. r=nfroyd 2014-10-24 13:08:02 +09:00
Carsten "Tomcat" Book 5cbd2e1c3c merge mozilla-inbound to mozilla-central a=merge 2014-10-16 16:07:06 +02:00
Dave Townsend 36116956c0 Bug 1079451: Don't log unnecessary warnings from chrome registration. r=bsmedberg 2014-10-15 15:02:42 -07:00
Ryan VanderMeulen aa28d3eb31 Merge inbound to m-c. a=merge
CLOSED TREE
2014-10-15 14:31:16 -04:00
Alessio Placitelli 29c539ca86 Bug 1038145 - Make use of the new infoURL item from the blocklist for plugins with an update. r=irving 2014-10-15 15:23:22 +02:00
Brian Marshall 1c5b3fd66a Bug 1079311 - Unlock mutex before logging error in RegisterContractIDLocked. r=bsmedberg 2014-10-08 16:08:28 -07:00
Andrew McCreight 68f162e5b0 Bug 1035454, part 2 - Paper over late shutdown failures on B2G and Windows in debug content processes by exiting XPCOM early. r=bsmedberg
On B2G, there are crashes very late in shutdown on content processes. On Windows XP,
there is an intermittent test failure. We work around both of these by calling exit(0)
during XPCOM shutdown prior to the points where these errors occur. This enables us to
land part 4, that stops us from crashing in content processes when the xpcom-shutdown
message is sent, and enables leak checking in content processes on Linux.
2014-10-15 20:04:32 -07:00
Ehsan Akhgari 6fdc089047 Bug 1082576 - Fix the XPCOM library loading error reporting code; r=froydnj
We build without UNICODE, so we end up calling the ANSI version
of the function, and then we would attempt to interpret the
resulting narrow char buffer as a wide char buffer.
2014-10-14 19:28:24 -04:00
Mark Banner 931b345c44 Bug 1081906 Fix unable to start Firefox due to 'Couldn't load XPCOM'. r=bsmedberg 2014-10-14 10:06:20 +01:00
Wes Kocher d947cf32a0 Merge m-c to inbound a=merge 2014-10-13 19:02:56 -07:00
ffxbld 1b7dabd831 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2014-10-13 13:39:31 -04:00
Mike Hommey abd71db07c Bug 1081000 - Build xpt tests without a dependency on xul, mozalloc and mozglue. r=bsmedberg 2014-10-14 07:14:13 +09:00
Tom Schuster bf9324688d Bug 1069694 - Remove OldDebugAPI from the browser. r=shu 2014-10-12 19:37:41 +02:00
Ryan VanderMeulen c460713e4d Backed out changesets fb6af789bc67 and 313123f12e95 (bug 818307) for non-unified bustage. 2014-10-10 16:24:54 -04:00
Stephen Pohl 0b58cd9573 Bug 1077282: Cleanup uses of GreD vs GreBinD, introcuded by v2 signature changes on OSX. Based on initial patch by rstrong. r=bsmedberg 2014-10-10 15:06:57 -04:00
Aaron Klotz ca4ee88bc5 Bug 818307: Part 1 - Add annotation support to ChromeHangs; r=vladan 2014-10-10 12:19:57 -06:00
Georg Fritzsche e65176ab6b Bug 1073536 - Allow checking if MOZILLA_OFFICIAL is set via nsIXULRuntime. r=ted 2014-10-10 17:21:17 +02:00
Jon Morton 1700296f02 Bug 979835: Port BoxObject and its subclasses to WebIDL. r=khuey sr=bz
--HG--
rename : layout/xul/nsIPopupBoxObject.idl => dom/webidl/PopupBoxObject.webidl
rename : layout/xul/tree/nsITreeBoxObject.idl => dom/webidl/TreeBoxObject.webidl
rename : layout/xul/nsBoxObject.cpp => layout/xul/BoxObject.cpp
rename : layout/xul/nsBoxObject.h => layout/xul/BoxObject.h
rename : layout/xul/nsListBoxObject.cpp => layout/xul/ListBoxObject.cpp
rename : layout/xul/nsMenuBoxObject.cpp => layout/xul/MenuBoxObject.cpp
rename : layout/xul/nsPopupBoxObject.cpp => layout/xul/PopupBoxObject.cpp
2014-10-14 13:15:21 -07:00
Steve Fink b640335cbc Bug 1061288 - Make it harder for ArrayBuffer data pointers to be held across invalidations. r=smaug,terrence,jdm,roc,khuey 2014-10-07 10:44:07 -07:00
Jean-Yves Avenard a5266321f5 Bug 1079655: Do not sanitize the path used to load XPCOM if the path couldn't
be retrieved successfully on OSX. r=spohl
2014-10-09 12:19:45 +11:00
Jean-Yves Avenard 9c90999dc8 Bug 1079655: Ensure that the path used to load XPCOM can be sanitized on OSX 10.10. r=spohl 2014-10-09 12:34:04 +11:00
Eric Rahm 7fffd05532 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan 2014-10-08 13:19:14 -07:00
Eric Rahm 8d715a7fe4 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan 2014-10-08 13:17:32 -07:00
Bill McCloskey 2ab547d3ab Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Carsten "Tomcat" Book 4985d0ee76 Backed out changeset e56bf4ea89fb (bug 1049879) for bustage in emulator debug builds on a CLOSED TREE 2014-10-08 08:03:57 +02:00
Bill McCloskey 281cb8db91 Bug 1049879 - Remove urgent and rpc message types and replace with message priorities (r=dvander,bent,ehsan) 2014-10-07 21:32:45 -07:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
Bill McCloskey 651d652761 Bug 930243 - Disable process type tests on Android on A CLOSED TREE 2014-10-07 13:35:34 -07:00
Bill McCloskey 008e00e231 Bug 930243 - Add a processType flag to chrome manifest directives (r=froydnj) 2014-10-07 11:46:24 -07:00
Stephen Pohl 982813d646 Bug 1078640: Sanitize path used to load XPCOM on OSX. r=smichaud 2014-10-07 09:33:09 -04:00
Wes Kocher 445e1466e9 Backed out 5 changesets (bug 806819) for WinXP test failures on a CLOSED TREE
Backed out changeset 009ae35b0c67 (bug 806819)
Backed out changeset 5a57f87f5061 (bug 806819)
Backed out changeset f06cd735b5b3 (bug 806819)
Backed out changeset e25a2a8d4af4 (bug 806819)
Backed out changeset 70a167982c3f (bug 806819)
2014-10-06 16:32:50 -07:00
Eric Rahm 53a247fb00 Bug 806819 - Part 4: Add files that were excluded from unified builds back in. r=ehsan
--HG--
extra : rebase_source : 49a3f57d94fc94702f1604175c4e206091b67197
2014-10-06 13:11:24 -07:00
Eric Rahm 80d2b8bba6 Bug 806819 - Part 3: Remove redundant FORCE_PR_LOG entries. r=ehsan
--HG--
extra : rebase_source : c96eea1c12ea8c19314393f0e8b4b57a4316a61d
2014-10-06 13:08:20 -07:00
Nicholas Nethercote 11f776f668 Bug 1044709 - Improve the comment describing the memory report file format. r=mccr8.
--HG--
extra : rebase_source : 41738a5a898c67f6dd4a41cbf0d877d85f3f4feb
2014-09-28 18:35:14 -07:00
Nicholas Nethercote 09a193e478 Bug 1044709 - DMD: emit JSON output and use Python for post-processing. r=mccr8.
--HG--
extra : rebase_source : ddc94d9be1ee0acc6dda30540defd5f40db0adcb
2014-09-02 20:34:58 -07:00
Nicholas Nethercote 94adb30f77 Bug 1062709 (part 2, attempt 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 626fd23a14ec90cfc9807c3d555169ec6463d19d
2014-09-01 22:56:05 -07:00
Nicholas Nethercote 2eb56008e2 Bug 1062709 (part 1, attempt 2) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 4f7060a9ae0bed180899651c50e8ea8857e72d63
2014-09-10 21:47:01 -07:00
Mike Hommey 8c10235da0 Bug 1077151 - Always use expandlibs descriptors when they exist. r=mshal
Currently, when there is both an expandlibs descriptor and an actual static
library, expandlibs picks the static library. This has the side effect that
if there are object files in the static library that aren't directly used,
they're dropped when linking, even when they export symbols that would be
exported in the final linked binary.

In most cases in the code base, files are not dropped that way. The most
notable counter-example is xpcomglue, where actually not dropping files
leads to link failure because of missing symbols those files reference
(yes, that would tend to say the glue is broken in some way).

On the opposite side, there is mozglue, which does have both a descriptor
and a static library (the latter being necessary for the SDK), and that
linking as a static library drops files that shouldn't be dropped (like
jemalloc). We're currently relying on -Wl,--whole-archive for those files
not to be dropped, but that won't really be possible without much hassle
in a world where mozglue dependencies live in moz.build land.

Switching expandlibs to use descriptors when they exist, even when there
is a static library (so, the opposite of the current behavior) allows to
drop -Wl,--whole-archive and prepare for a better future. However, as
mentioned, xpcomglue does still require to be linked through the static
library, so we need to make it a static library only.

To achieve that, we make NO_EXPAND_LIBS now actually mean no expandlibs
and use that to build the various different xpcomglues.
2014-10-04 10:33:00 +09:00
Stephen Pohl ca13b6a589 Bug 1077099: Add GreBinD to easily differentiate between Contents/Resources (GreD) and Contents/MacOS (GreBinD) on OSX. r=bsmedberg 2014-10-03 16:48:49 -04:00
Ed Morley 22bd17338b Merge mozilla-central and b2g-inbound 2014-10-03 15:20:08 +01:00
Ed Morley 2d0f9579b5 Backed out changeset a0b82c954206 (bug 1062709) for Windows mochitest 5 hangs 2014-10-03 15:06:16 +01:00
Ed Morley 9e223d8a19 Backed out changeset 7a1b7d7eba12 (bug 1062709) 2014-10-03 15:05:26 +01:00
Andrew Osmond 044342a2bc Bug 994912 - Add support for event-based notifications to media streams. r=roc, r=bz 2014-10-03 04:18:00 -04:00
Ryan VanderMeulen 69189df8b7 Merge b-i to m-c. a=merge 2014-10-02 12:51:02 -04:00
Nicholas Nethercote 5a257b83f9 Bug 1062709 (part 2) - Clean up stack printing and fixing. r=dbaron.
--HG--
extra : rebase_source : 18158d4474cb8826813a3866eba57b710e14db99
2014-09-01 22:56:05 -07:00
Nicholas Nethercote c9c64de53c Bug 1062709 (part 1) - Add a frame number argument to NS_WalkStackCallback. r=dbaron.
--HG--
extra : rebase_source : 0f9b2d6310433ed56f5552706fcf2a96571aee25
2014-09-10 21:47:01 -07:00
Brian Birtles cf167e36af Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz 2014-10-02 15:14:12 +09:00
Carsten "Tomcat" Book b37ac43e39 merge fx-team to mozilla-central a=merge 2014-09-30 15:10:47 +02:00
Stephen Pohl 579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Stephen Pohl 7959bd3a2b Mac v2 signing - Bug 1050944 - Get Firefox to launch and run on OSX with the new .app bundle structure, made necessary by Apple's v2 signatures. r=smichaud, r=ted, sr=bsmedberg 2014-09-29 11:51:04 -07:00