Commit Graph

146180 Commits

Author SHA1 Message Date
Gregory Szorc
02aca3b970 Bug 914394 - Handle WindowsError on non-Windows; r=ted 2013-09-10 09:03:43 -07:00
Andrew McCreight
4864cf7795 Bug 913881, part 6 - Measure weak map representations in the cycle collector graph. r=njn
Contrary to the comment here, I'm pretty sure this needs to be measured. mWeakMaps
is an array of little structs. Of course, in practice I doubt this amounts to anything.
2013-09-10 08:56:36 -07:00
Andrew McCreight
78ec0916e5 Bug 913881, part 5 - Assert for freeing snow white during cycle collector scanning. r=smaug
If you call FreeSnowWhite when scanning is true, then objects that get released won't be added to the purple buffer, and you can get leaks.
2013-09-10 08:56:36 -07:00
Andrew McCreight
bbb89961cd Bug 913881, part 4 - Change nsCycleCollector::ClearGraph to GCGraph::Clear. r=smaug
There's no reason I can see to have this in nsCC instead of GCGraph.
2013-09-10 08:56:36 -07:00
Andrew McCreight
7bfbfc66c2 Bug 913881, part 3 - Fix argument name for GCGraphBuilder::AddNode. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
bdf5847bcf Bug 913881, part 2 - Make a bunch of nsCycleCollector methods private. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
01ac3fd277 Bug 913881, part 1 - Remove unused method nsCycleCollector::Runtime. r=smaug 2013-09-10 08:56:35 -07:00
Andrew McCreight
c4d62e9716 Bug 913527, part 3 - Check for collection in progress in Collect. r=smaug
Moving this to the top level simplifies dealing with PrepareForCollection a bit.
2013-09-10 08:56:34 -07:00
Andrew McCreight
fd080f6291 Bug 913527, part 2 - Remove empty CC graph optimization. r=smaug
This looks like a dubious optimization to skip most of a CC when the graph
is empty, dating from the dawn of the CC, but I doubt it is ever triggered
nowadays.
2013-09-10 08:56:34 -07:00
Andrew McCreight
bd3a15bbd8 Bug 913527, part 1 - Get rid of FinishCollection. r=smaug
This can just be inlined now, with the cleanup parts moved into CleanupAfterCollection.
2013-09-10 08:56:34 -07:00
Brian Hackett
5f88510ab8 Bug 912152 - Improve mechanism for bailing out from Ion compilation of scripts with try-finally, r=jandem. 2013-09-10 08:42:52 -07:00
Brian Hackett
5f4c033b10 Bug 913558 - Improve GGC store buffer threadsafe assertions, r=terrence. 2013-09-10 08:41:14 -07:00
Andrew McCreight
a39b15f003 Bug 914260 - Add review requirement to the error message in test_interfaces. r=bz 2013-09-10 08:29:45 -07:00
Andrew McCreight
505b1bb607 Bug 911829 - Separate main thread and worker cycle collector telemetry. r=smaug 2013-09-10 08:29:45 -07:00
Andrew McCreight
3c613d26d4 Bug 911333 - Remove customTrace from bindings codegen. r=bz 2013-09-10 08:29:44 -07:00
Andrew McCreight
ea04eab2a4 Bug 909436 - Inline CycleCollectedJSRuntime::OnContext. r=bholley 2013-09-10 08:29:44 -07:00
Andrew McCreight
dbad6e68d0 Bug 912747 - Change nsCycleCollectionHoldDrop.h to mozilla/HoldDropJSObjects.h. r=khuey
--HG--
rename : xpcom/glue/nsCycleCollectionHoldDrop.h => xpcom/glue/HoldDropJSObjects.h
2013-09-10 08:29:43 -07:00
Christian Holler
dd29a2cde6 Bug 914174 - Fix nit in previous ASan patch. r=luke 2013-09-10 17:27:56 +02:00
Christian Holler
56db8793a1 Bug 914174 - Ensure JS standalone builds have the right ASan options. r=luke
--HG--
extra : rebase_source : d82eae20a4f1c18f5b12c5a4acd3e6733809221d
2013-09-10 17:00:07 +02:00
Benoit Girard
b73c4d22a4 Bug 914348 - Name SamplerThread on linux. r=jld
--HG--
extra : rebase_source : 343dec3b5d4b8eaa4a294c54ae1f74b9e0775401
2013-09-10 11:20:09 -04:00
Stephen Pohl
165a3138d0 Bug 817700 - Fix animSVGImage test. r=roc 2013-09-06 12:30:40 -04:00
Stephen Pohl
f6a47fb4e0 Bug 817700 - Fix test_toBlob canvas test. r=roc 2013-09-06 12:30:36 -04:00
Stephen Pohl
299783d672 Bug 817700 - Fix test_mozGetAsFile canvas test. r=roc 2013-09-06 12:30:30 -04:00
Stephen Pohl
1e6232e229 Bug 817700 - Make <canvas>.toBlob run asynchronously - canvas changes. r=roc 2013-09-06 12:30:21 -04:00
Stephen Pohl
9e1e5d1a4a Bug 817700 - Make <canvas>.toBlob run asynchronously. r=seth,roc 2013-09-06 12:30:17 -04:00
Bobby Holley
0d8272ce2d Bug 912322 - Stop making XBL methods available to the web. r=bz 2013-09-06 09:12:56 -07:00
Bobby Holley
0fcc3886ab Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
Bobby Holley
b874fd5622 Bug 912322 - Update semantics of IsChromeOrXBL to return true for remote XUL. r=bz
This brings us into alignment with nsContentUtils::IsCallerXBL(). We also take
the opportunity to clean up some comments and invariants that changed with the
removal of the XBL bit.
2013-09-06 09:12:56 -07:00
Bobby Holley
1203bc42f5 Bug 912322 - Sync pref from reftest-cmdline.js to bootstrap.js. r=jgriffin 2013-09-06 09:12:55 -07:00
Nicolas Silva
4f81e6d0f1 Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Ed Morley
93ac26880b Merge mozilla-central and inbound 2013-09-06 16:23:50 +01:00
Ed Morley
ea69a10fdf Merge latest green fx-team changeset and mozilla-central 2013-09-06 16:19:32 +01:00
Ed Morley
59d1c1d15b Merge latest green b2g-inbound changeset and mozilla-central 2013-09-06 16:17:55 +01:00
Jim Blandy
3ce8b0ca6a Bug 892114: Add support for Unix domain sockets to nsIServerSocket.idl and @mozilla.org/network/server-socket;1. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
445da12934 Bug 892114: Whitespace and spelling fixes encountered while working on Unix domain socket support. r=mayhemer 2013-09-06 08:06:23 -07:00
Jim Blandy
544b219f25 Bug 899757: Make nsServerSocket::InitWithAddress provide more detailed error results. r=mayhemer, r=ted
I looked through the NSPR socket creation functions that InitWithAddress
uses to see which errors they could return, and placed appropriate comments
in ErrorAccordingToNSPR.

The test coverage is not great; in particular, I wasn't able to find a way
to elicit "address in use" errors from Windows (although I could from
Linux); the web says that Windows is much more relaxed about binding
listening sockets than Unix derivatives. I'm interested in suggestions.
2013-09-06 08:06:22 -07:00
Jim Blandy
3e52bff456 Bug 899757: Distinguish PR_ADDRESS_NOT_SUPPORTED_ERROR from other network failures. r=mayhemer
I broke out this this change on its own, because it seemed to require some care:
PR_ADDRESS_NOT_SUPPORTED_ERROR used to be lumped in with several other NSPR
error codes and reported as NS_ERROR_CONNECTION_REFUSED; and a dumb grep shows
that the NS_ERROR_ is widely checked for. Introducing the distinction might
require the new NS_ERROR_SOCKET_ADDRESS_NOT_SUPPORTED value to be checked for
everywhere that currently checks for NS_ERROR_CONNECTION_REFUSED.

But that seems unlikely to be necessary: first of all, it shouldn't really
be possible, via the XPCOM interface, to force this error path to occur at
present: the components' implementations are in complete control over which
socket address types get used. I also did a Try push with a call to
NS_ABORT if a PR_ADDRESS_NOT_SUPPORTED_ERROR ever flows through
ErrorAccordingToNSPR; there were no crashes.

But if that's so, then why introduce the new error code at all? A later
patch adds support for Unix-domain sockets, a type of socket address which
is *not* supported on non-Unix systems. In that case, a distinct error code
will help people diagnose problems quickly.
2013-09-06 08:06:22 -07:00
Ryan VanderMeulen
8a4bc2e35b Bug 865516 - Fix ordering of includes in MIRGraph.cpp. r=themaid
CLOSED TREE
2013-09-06 10:35:06 -04:00
Hannes Verschore
a2dc2c2217 Bug 909717 - Backout due to orange + style nit orange fix on a CLOSED TREE. 2013-09-06 16:25:35 +02:00
Axel Hecht
1e63de455c bug 911745, sync browser/locales/all-locales with build configs, r=gavin 2013-09-06 15:57:28 +02:00
Neil Deakin
83eef66c63 Bug 875616, disable titlebar paneltop test on Linux due to unreliable window positioning timing 2013-09-06 09:47:39 -04:00
Neil Deakin
4485d15123 Bug 621399, modal dialog focus tests sometimes fail on Windows 8 so disable them there 2013-09-06 09:47:36 -04:00
Hannes Verschore
0537ad8a62 Bug 913415: Tracelogging: Add support for logging multiple threads + initial support for ion background thread compiler, r=till 2013-09-06 15:30:09 +02:00
Corey Ford
7bb7eca6a1 Bug 886646 - Part 7: Reftests for sticky positioning. r=dbaron 2013-09-06 09:35:16 -04:00
Corey Ford
5db567cbb1 Bug 886646 - Part 6: Implement sticky positioning, calculated on reflow and scroll. r=dbaron, r=dholbert 2013-09-06 09:35:16 -04:00
Corey Ford
367d66a9a7 Bug 886646 - Part 5: Always build a stacking context for sticky positioned elements. r=dbaron 2013-09-06 09:35:16 -04:00
Ed Morley
8a32b9df82 Merge mozilla-central and fx-team 2013-09-06 12:33:41 +01:00
Ed Morley
85b786f40f Merge mozilla-central and b2g-inbound 2013-09-06 12:32:33 +01:00
Gaia Pushbot
758ce85364 Bumping gaia.json for 2 gaia-central revision(s)
========

https://hg.mozilla.org/integration/gaia-central/rev/3a11e24a4550
Author: Jose M. Cantera <jmcanterafonseca@gmail.com>
Desc: Merge pull request #11956 from lodr/bug-908207-fix-name-creation

Bug 908207 - Fix name creation taking noting givenName and familyName are arrays.

========

https://hg.mozilla.org/integration/gaia-central/rev/5ce2ac2e36ad
Author: lodr <salva@unoyunodiez.com>
Desc: Bug 908207 - Fix name creation taking noting givenName and familyName are arrays.
2013-09-06 04:30:30 -07:00
Gina Yeh
9f4bfb5397 Bug 906305 - Patch 7: Fix BluetoothHidManager, r=echou 2013-09-06 19:21:48 +08:00