Commit Graph

256237 Commits

Author SHA1 Message Date
Jeff Gibat
17da5d8512 Bug 1173171 - Disable external jar: via preference. r=jduell 2015-07-30 13:10:00 +02:00
Mason Chang [:mchang]
4a26b7df8c Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on d2d backends. r=jrmuizel 2015-08-04 08:13:00 +02:00
Ehsan Akhgari
c218cee3fa Backout bug 1190040 for test failures 2015-08-05 01:12:05 -04:00
Julien Pagès
d544d367a8 Bug 1189858 - [mozprofile] remove the manifest parser required dependency. r=ahal
The manifestparser dependency of mozprofile is made optionnal with this patch.
It is still possible to install it using the extra pip/setuptools syntax:

pip install mozprofile[manifest]
2015-08-04 23:15:45 +02:00
Mike Hommey
2c18035129 Backed out changeset 684252f11061 (bug 1188224) for make check bustage. 2015-08-05 13:50:11 +09:00
Nicholas Nethercote
3a8eb37e87 Bug 1182961 (part 5) - Use nsTHashtable::Iterator in nsCookieService. r=michal. 2015-07-26 23:40:51 -07:00
Nicholas Nethercote
5c4088957b Bug 1182961 (part 4) - Use nsTHashtable::Iterator in CacheFileHandles. r=michal. 2015-07-26 23:31:22 -07:00
Nicholas Nethercote
54440af933 Bug 1182961 (part 3) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-26 20:35:31 -07:00
Nicholas Nethercote
47de426a44 Bug 1182961 (part 2) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-26 20:15:36 -07:00
Nicholas Nethercote
0c2ec2d27a Bug 1182961 (part 1) - Use nsTHashtable::Iterator in CacheIndex. r=michal. 2015-07-28 21:14:39 -07:00
Christoph Kerschbaumer
924ebb97b7 Bug 1188637 - Use channel->ascynOpen2 in dom/base/EventSource.cpp (r=sicking) 2015-08-04 20:06:19 -07:00
Christoph Kerschbaumer
cc9c0cacf9 Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp - simplifications in instanceowner (r=sicking) 2015-08-04 20:06:03 -07:00
Christoph Kerschbaumer
7e4c5da30d Bug 1182543 - Use channel->ascynOpen2 in dom/plugins/base/nsPluginHost.cpp (r=sicking) 2015-08-04 20:05:37 -07:00
Lorien Hu
797da2ed20 Bug 1175913 - (Part 2) Remove test expecting recreation on click listener change r=tbsaunde 2015-07-31 11:24:42 -04:00
Lorien Hu
77ddb155a5 Bug 1175913 - (Part 1) Subscribe to EventListenerService and recreate accessibles on click listener changes r=tbsaunde 2015-08-04 23:35:54 -04:00
Lorien Hu
0790078b20 Bug 1189108 - Walk up tree to get LinkableAccessible actions instead of caching r=tbsaunde 2015-08-04 23:33:54 -04:00
Nikhil Marathe
f43bfcd465 Bug 1190661 - Send push only to child processes when in e10s mode. r=smaug
Earlier, the in-process child process message manager and any content process
child process message managers received the push event. This is because
broadcastAsyncMessage is used, but on e10s we want ServiceWorkers to run in the
child process, so the push should only be dispatched to it. This patch
introduces a list of child process listeners in the PushService (running on the
parent). PushServiceChildPreload sends a message to the PushService iff it is
running in a child process. If there are non-zero child listeners, the
PushService will send a message to all of them, otherwise it will fall back to
broadcastAsyncMessage.

We currently do not add support for precise targeting of child processes. This
is because until Bug 1182117 is fixed, all child process ServiceWorkerManagers
maintain all the service worker registrations internally. Yes this is a bug,
but that is the way things are right now. This makes it impossible to
distinguish which child should handle the notification for a given origin.
Considering we don't ship multi-process e10s, I would like to land this right
now.

When Bug 1182117 is fixed, we can remove this code since the
ServiceWorkerManager will manage registrations in the parent, and it will know
which child process is running which ServiceWorker.
2015-07-30 20:00:21 -07:00
JW Wang
8ebbb64c66 Bug 1187214. Part 2 - add test cases for MediaEventSource. r=kinetik. 2015-08-05 10:24:13 +08:00
JW Wang
45bec848fe Bug 1187214. Part 1 - Implement MediaEventSource. r=kinetik. 2015-07-24 09:03:11 +08:00
Mike Hommey
243d18beaf Bug 1188224 - Remove stale .pyc files from the source directory at import time. r=gps 2015-08-05 11:17:03 +09:00
John Daggett
4507f17810 Bug 1189129 - annotate no default font aborts. r=bas 2015-08-05 11:03:41 +09:00
Ehsan Akhgari
654b9ab828 Bug 1018504 - Rename the events used after bug 1190082 2015-08-04 21:20:25 -04:00
Ehsan Akhgari
6cb7806562 Bug 1191123 - Make sure that DOMAudioPlaybackStarted/Stopped events are not cancelable; r=smaug 2015-08-04 21:09:19 -04:00
Ehsan Akhgari
fc6b13788a Bug 1190082 - Rename media-playback and the related stuff to audio-playback; r=smaug
Given that we only dispatch this for audio, media-playback sounds
like a misnomer.
2015-08-04 21:07:41 -04:00
Bobby Holley
9f9bae1800 Bug 1191063 - Followup comments. r=me DONTBUILD 2015-08-04 17:36:06 -07:00
Ehsan Akhgari
4ce8abfef7 Bug 1190023 - Ensure that muting a media element dispatches the media-playback event, and also include the muted state in computing whether a media element is actively playing audio; r=cpearce 2015-08-04 20:07:41 -04:00
Ehsan Akhgari
abf3aff6f4 Bug 1190040 - Do not dispatch media-playback notifications for media elements that do not have an audio track; r=baku 2015-08-04 19:38:51 -04:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ehsan Akhgari
41ccf85272 Fix some bad variable names, no bug 2015-08-04 19:11:16 -04:00
Brian Hackett
0ead1f6023 Bug 1189137 - Don't treat integer stores to unboxed objects as truncated, r=jandem. 2015-08-04 15:41:26 -07:00
Ehsan Akhgari
8ab08ab0bb Bug 1190083 follow-up: Restore the alphabetical order, DONTBUILD 2015-08-04 18:33:29 -04:00
Ehsan Akhgari
84b4de4b3f Bug 1190083 - Rename mozbrowsermediaplaybackchange to mozbrowseraudioplaybackchange; r=fabrice 2015-08-04 18:31:14 -04:00
Ehsan Akhgari
1f87b6a550 Bug 1185982 - Remove the unused NotifyNetworkActivity::mObs member; r=bagder 2015-08-04 18:29:58 -04:00
Sean Stangl
1c6d1661b1 Bug 1183842 - Use InvertCondition to expand the range of conditional branches. r=h4writer 2015-07-14 12:20:02 -07:00
Terrence Cole
d9c7a266eb Bug 1190636 - Replace AutoStringVector with Rooted usage; r=njn 2015-08-03 17:39:03 -07:00
Terrence Cole
9888076651 Bug 1186626 - Part 5: Remove AutoShapeVector; r=sfink 2015-07-23 08:19:08 -07:00
Terrence Cole
851489653b Bug 1186626 - Part 4: Convert ShapeVectors in jsobj.cpp; r=jonco 2015-07-23 08:19:08 -07:00
Terrence Cole
428f8126ce Bug 1190457 - Replace AutoPropertyDescriptorVector with normal Rooted usage; r=jonco 2015-08-03 17:30:47 -07:00
Wes Kocher
993d53cfc6 Merge m-c to inbound, a=merge 2015-08-04 14:55:21 -07:00
Jim Chen
71ef7bbeda Bug 1189818 - Remove jsconsole-clhandler and nsDefaultCLH in Fennec; r=mfinkle
Fennec doesn't use jsconsole-clhandler or nsDefaultCLH because it has
its own CLH, BrowserCLH.js, but they do take up a small but measurable
amount of time on startup.
2015-08-04 17:47:28 -04:00
Jim Chen
fe3b26a9f6 Bug 1187552 - Make NativeJSContainer use direct ownership model; r=snorp
Make NativeJSContainer/NativeJSObject Java objects own their
corresponding C++ objects directly, to reduce an extra
allocation/deallocation for each object and to simplify code.
2015-08-04 17:47:28 -04:00
Jim Chen
d201a85a4a Bug 1187552 - Support direct ownership of C++ objects by Java objects; r=snorp
Add a direct ownership model where the Java object owns the
corresponding C++ object directly, in addition to the WeakPtr model
where the Java object owns a WeakPtr to the C++ object. The WeakPtr
model is chosen when the implementing C++ class inherits from
SupportsWeakPtr. Otherwise, the direct ownership model is chosen. Under
the direct ownership model, a UniquePtr object must be used to attach
the containing C++ object to a Java object, to ensure ownership is
passed on to the Java object.
2015-08-04 17:47:28 -04:00
Jim Chen
412ca11ada Bug 1187088 - Use UNIFIED_SOURCES in widget/android; r=snorp
Fix some compiling errors in unified mode due to header dependency
issues.
2015-08-04 17:47:28 -04:00
Jim Chen
ff569cc4b6 Bug 1186467 - Rewrite NativeJSContainer to use new native JNI scheme; r=snorp
This patch makes NativeJSContainer use per-instance native methods.
NativeJSContainer is also updated to use smart JNI reference classes.
2015-08-04 17:47:28 -04:00
Jim Chen
cf40f969b5 Bug 1186467 - Update generated JNI bindings; r=me 2015-08-04 17:47:28 -04:00
Jim Chen
ad2589d14e Bug 1186467 - Make NativeJSContainer and NativeJSObject extend JNIObject; r=snorp
JNIObject is the base class for any class that wish to use per-instance
native methods. It encapsulates the long native pointer that used to be
in NativeJSContainer.
2015-08-04 17:47:28 -04:00
Jim Chen
1a0434f7e6 Bug 1186467 - Add some JNI utilities for convenience; r=snorp
This patch adds:
* Conversion operator from String::Param to String::LocalRef.
* More overloads of the jni::ThrowException function.
* name members to built-in types like jni::Object, jni::String, etc.
  This allows using jni::Accessors::EnsureClassRef on built-in types
  to get built-in class refs (e.g. jclass for java/lang/String).
* Ability to implicitly convert LocalRef<Cls> to LocalRef<Object>
* Fixes for bugs in LocalRef/GlobalRef where new refs are not created.
* Fixes for inaccurate uses of mozilla::Forward in favor of mozilla::Move
2015-08-04 17:47:28 -04:00
Dustin J. Mitchell
21918b35d8 Bug 1188780: remove setup.sh invocations, as they fail outside the mock environment; r=glandium a=RyanVM 2015-08-04 17:41:07 -04:00
Mike Hommey
a543d5ba59 Bug 1188780 - Include debug symbols in gtk3 tooltool package. r=mshal
(relanding of http://hg.mozilla.org/mozilla-central/rev/a9d3df6e14e0)
2015-08-04 17:26:11 -04:00
Ryan VanderMeulen
32855cf94a Merge inbound to m-c. a=merge 2015-08-04 15:53:06 -04:00