Commit Graph

13171 Commits

Author SHA1 Message Date
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