Nicholas Nethercote
85c9fe03d6
Bug 1181445 (part 8) - Use nsBaseHashTable::Iterator in SystemMemoryReporter. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
5fab70f466
Bug 1181445 (part 7) - Use nsBaseHashTable::Iterator in xpcom/reflect/. r=froydnj.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
fa9f361c39
Bug 1181445 (part 6) - Use nsBaseHashTable::Iterator in xpcom/components/. r=froydnj.
...
Note that enumfunc_pentries and persistent_userstruct are unused, and so could
be removed.
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
7c6fd99057
Bug 1181445 (part 5) - Use nsTHashTable::Iterator in nsTHashtable.h. r=mccr8.
...
This is a particularly nice example of how iterators can be so much nicer than
Enumerate()-style functions:
1 file changed, 4 insertions(+), 33 deletions(-)
2015-07-09 16:54:59 -07:00
Nicholas Nethercote
beb2574643
Bug 1181445 (part 4) - Use nsTHashTable::Iterator in nsCategoryManager. r=froydnj.
2015-07-09 16:54:58 -07:00
Nicholas Nethercote
57355d86b6
Bug 1181445 (part 3) - Use nsTHashTable::Iterator in nsObserverService. r=froydnj.
2015-07-09 16:49:32 -07:00
Nicholas Nethercote
37437f9afd
Bug 1181445 (part 2) - Use nsTHashTable::Iterator in nsMemoryReporterManager. r=froydnj.
2015-07-08 22:32:39 -07:00
Nicholas Nethercote
426b2f28c8
Bug 1181445 (part 1) - Implement iterators for nsTHashtable and nsBaseHashtable. r=froydnj.
...
nsBaseHashtable has both EnumerateRead() and Enumerate(). A comment claims that
the latter locks the table, but this is false, so I removed the comment. Other
than that the only notable difference between them is that they have slightly
different types for dealing with values (|UserDataType| vs |DataType&|) so I've
implemented both GetUserData() and GetData(), allowing either type to be used.
2015-07-07 20:47:59 -07:00
Mauricio Collares Neto
8fd748cff6
Bug 1182203 - Part 1: Optimize unsigned division by constants. r=sunfish
2015-07-09 11:21:00 +02:00
Mauricio Collares Neto
f0f91b69d3
Bug 1182203 - Part 0: Generalize reciprocal multiplication constant calculation. r=sunfish
2015-07-09 11:19:00 +02:00
Gerald Squelart
1b42d3b7d8
Bug 1182363 - Added missing 'else' to prevent wrong error logging. r=edwin
2015-07-09 18:22:00 +02:00
JW Wang
fd0bd3667b
Bug 1181913 - fix data race in AudioSink::mWritten. r=kinetik
2015-07-09 22:58:24 +08:00
Hiroyuki Ikezoe
96c914a343
Bug 1181905 - Animation::IsPlaying should check playbackRate != 0 to stop playing on compositor animation. r=bbirtles
2015-07-09 20:54:00 +02:00
Jim Mathies
eb88e69b1d
Bug 1174461 - Cache NS_NATIVE_PLUGIN_PORT on the content side since it never changes. r=aklotz
2015-07-09 19:07:48 -05:00
Ritu Kothari
37276c81f9
Bug 1167410 - Removing an unused initialization. r=hurley
2015-06-26 15:33:00 +02:00
Jim Mathies
484ce858f5
Bug 1152300 - When focus shifts from a native plugin window to content, content needs to forward the request for focus change to chrome. r=enn
2015-07-09 09:48:57 -05:00
Jim Mathies
f7fdc6ece7
Bug 1128454 - Add crash report annotations for plugin bridge operation failures. r=billm
2015-07-09 19:07:49 -05:00
Wilmer Paulino
7b5ec68134
Bug 1081362 - Change nsStyleBasicShape pointer to an nsRefPtr, to avoid leak in unexpected case. r=dholbert
2015-07-09 10:56:31 -04:00
Trevor Rowbotham
7063fc503c
Bug 980943 - Do not reshow the overlay when the user clicks on the overlay if it is already not visibile. r=mconley
2015-07-08 12:45:00 +02:00
Trevor Rowbotham
cb7c58256c
Bug 980943 - Test that the overlay cannot be interacted with after the user closes the overlay. r=mconley
2015-07-08 11:58:00 +02:00
Randell Jesup
b47e08d72c
Bug 1155059: Patch 9 - Modify DataChannel.cpp to use updated API r=froydnj
2015-07-09 23:24:11 -04:00
Randell Jesup
1a07e159cd
Bug 1155059: Patch 8 - Don't leak runnables when MediaCache/FileBlockCache get shut down after XPCOM is in final shutdown r=cpearce
2015-07-09 23:21:46 -04:00
Randell Jesup
26925cf906
Bug 1155059: Patch 6 - fix problems with gfxFontInfoLoader shutdown sequence r=jdaggett
2015-07-09 23:21:46 -04:00
Randell Jesup
bc8df67fb5
Bug 1155059: Patch 5 - clean up ServiceWorkers and avoid leaks r=nikhil
2015-07-09 23:21:46 -04:00
Randell Jesup
c29b3218d0
Bug 1155059: Patch 3&7 - fix leaks in Promise, ConsoleService and JS Finalize r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
603a3116b7
Bug 1155059: Patch 4 - invoke NS_ASSERTION if DispatchToMainThread fails to get MainThread ptr r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
cb8f0924d3
Bug 1155059: Patch 1&2 - Convert Dispatch() and friends to already_AddRefed<> r=froydnj
...
Modify Dispatch IDL and code to deal with MSVC issues with overloaded templates r=froydnj
2015-07-09 23:21:46 -04:00
Randell Jesup
8be77a6119
Bug 1155059: Patch 0 - add do_AddRef() r=froydnj
2015-07-09 23:21:46 -04:00
Jeff Gilbert
d1968b4589
Bug 1182369
- Remove js/Class.h include from nsWrapperCache.h. - r=bz
2015-07-09 12:32:04 -07:00
Jeff Gilbert
b36e8d0d79
No bug - Strip EOL whitespace from nsIDocument.h
2015-07-09 19:48:59 -07:00
Boris Zbarsky
0ef6eb0ca3
Bug 1180851. Don't make ThrowMethodFailed an inline function, because there's no really good reason to and we might as well save the codesize. r=peterv
2015-07-09 22:51:28 -04:00
Boris Zbarsky
befe529afd
Bug 1180770
part 2. Remove the unused ifaceName/memberName arguments of ThrowMethodFailedWithDetails and rename it to ThrowMethodFailed. r=peterv
2015-07-09 22:51:28 -04:00
Boris Zbarsky
f47a497f8f
Bug 1180770
part 1. Remove the unused ThrowNotEnoughArgsError. r=peterv
2015-07-09 22:51:28 -04:00
Ehsan Akhgari
a58d321b09
Bug 1180448 - Add APIs to XUL browser for muting and unmuting audio playback in the document loaded inside it; r=mconley
2015-07-09 21:34:47 -04:00
Ehsan Akhgari
509ac0bdc0
Bug 1180421 - Add support for DOMMediaPlaybackStarted and DOMMediaPlaybackStopped events; r=mconley
...
These events are dispatched to a XUL browser element when a document loaded
inside them starts or stops media playback.
2015-07-09 21:24:25 -04:00
Wes Kocher
03d650a612
Merge m-c to inbound, a=merge
2015-07-09 18:06:22 -07:00
Wes Kocher
3fa9ca3a00
Merge inbound to central, a=merge
2015-07-09 18:01:25 -07:00
Mike Hommey
dba327c463
Bug 833117 - Replace g_slice_set_config() with G_SLICE environment variable. r=nfroyd,r=karlt
...
Using g_slice_set_config() fails with newer glib because the slice allocator
now has a static constructor that runs when glib is loaded, consequently
emitting a noisy error message which confuses people into believing it's the
root of their problems.
The only way left to force the slice allocator to use "system" malloc (in
practice, jemalloc) is to set the G_SLICE environment variable to
always-malloc, and that needs to happen before glib is loaded.
Fortunately, the firefox and plugin-container executables don't depend on
glib. Unfortunately, webapprt does, so the problem remains for web apps
running through it. xpcshell and other executables that depend on libxul
directly (as opposed to loading it dynamically) are not covered either.
2015-07-10 09:56:05 +09:00
Mike Hommey
d1925d3749
Bug 1181450 - Make GENERATED_FILES more visible during the build by printing their name when they are being generated. r=gps
2015-07-10 09:56:04 +09:00
Wes Kocher
64f7149220
Backed out 5 changesets (bug 1180921) for build failures in BasePrincipal.cpp
...
Backed out changeset d8c1a2e11a9a (bug 1180921)
Backed out changeset f4dd8c53df5f (bug 1180921)
Backed out changeset b272a0ebf5d8 (bug 1180921)
Backed out changeset 8e86b6a7d201 (bug 1180921)
Backed out changeset bbdebd7b8881 (bug 1180921)
2015-07-09 17:43:08 -07:00
Bobby Holley
ddb93ed09f
Bug 1180921 - Support custom callbacks for allowing access per-addon load access to cross-origin URIs. r=bz,r=billm
2015-07-09 17:25:14 -07:00
Bobby Holley
b648d843ad
Bug 1180921 - Create a dumping ground for simple services in toolkit/components/utils. r=Gijs
2015-07-09 17:25:13 -07:00
Bobby Holley
a321ef9194
Bug 1180921 - Add the addonId OriginAttribute. r=bholley
2015-07-09 17:25:05 -07:00
Bobby Holley
461edde361
Bug 1180921 - Generalize test_origin to make it easier to add new origin attributes. r=gabor
2015-07-09 17:21:42 -07:00
Bobby Holley
8145ba3977
Bug 1180921 - Give Optional<T> Maybe<T>-like operator== semantics. r=bz
2015-07-09 17:21:42 -07:00
Randell Jesup
07ac79c0f2
Bug 1178890: Update timer arrays after sleep to account for time sleeping r=bwc,froydnj
2015-07-09 20:18:34 -04:00
Wes Kocher
9be355bc09
Merge fx-team to central, a=merge
2015-07-09 16:24:17 -07:00
Wes Kocher
262c2fee8b
Backed out 3 changesets (bug 1157768) for win64 pgo build bustage CLOSED TREE
...
Backed out changeset 24ced1b9f9dd (bug 1157768)
Backed out changeset 55efd92ce59d (bug 1157768)
Backed out changeset 812f311c4ee4 (bug 1157768)
2015-07-09 14:40:20 -07:00
Wes Kocher
3d509c4b29
Backed out changeset a3b2ec5062e1 (bug 1157768) because the CLOBBER isn't actually needed CLOSED TREE
...
r=yolo
2015-07-09 14:32:37 -07:00
Wes Kocher
afa5dba504
Touch CLOBBER to hopefully fix build bustage from bug 1157768 CLOSED TREE
2015-07-09 13:19:26 -07:00