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

20636 Коммитов

Автор SHA1 Сообщение Дата
Michael Layzell 05d228443c Bug 1294553 - Don't pretend that nsCocoaWindow is an interface in nsPIWidgetCocoa.idl, r=mstange
MozReview-Commit-ID: 4a6UTI4TxV9
2016-08-11 17:56:10 -04:00
Jim Chen 1241198df6 Bug 1263808 - Guard against premature LayerView destruction; r=rbarker
It's possible for LayerView to be destroyed before it's finished
initializing on the Gecko thread. In that case, we should not continue
with normal destruction of NPZC. Checking isGeckoReady() in
GeckoLayerClient accomplishes that. Also, guard against a case where
LayerView.onSizeChanged is called after LayerView destruction and
results in a NPE from mCompositor being null.
2016-08-11 15:16:22 -04:00
Nicholas Nethercote 8f51d02c97 Bug 1293117 (part 5) - Change many NS_METHOD occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_METHOD F() override;      --> NS_IMETHOD F() override;
- NS_METHOD F() override {...} --> NS_IMETHOD F() override {...}
- NS_METHOD F() final;         --> NS_IMETHOD F() final;
- NS_METHOD F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 3010fade82a170eab7f13d81bf61b02cd693f3cf
2016-08-08 10:54:50 +10:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Benjamin Neff 6a620e46f4 Bug 1272332 - Allow dark gtk theme with environment variable. r=karlt
--HG--
extra : rebase_source : 3ccc334fc82066fa43e39a426fec2bea30290a4f
2016-08-05 15:21:00 +02:00
Nicholas Nethercote 735fccd3ce Bug 1293603 (part 3) - Remove erroneous NS_METHOD uses in widget/. r=erahm.
All these occurrences are for methods declared with NS_IMETHOD, and so they
should be NS_IMETHODIMP instead of NS_METHOD.

--HG--
extra : rebase_source : 50b0c0f46cab6a13cc27ad48fb24503b9a491463
2016-08-09 14:03:13 +10:00
Nicholas Nethercote e7f10a07fd Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.

As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.

--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Nicholas Nethercote a68db0d1df Bug 1293541 - Clean up NS_OBJC_*_TRY_* macros. r=mstange.
NS_OBJC_{BEGIN,END}_TRY_LOGONLY_BLOCK{,RETURN} are identical to
NS_OBJC_{BEGIN,END}_TRY_ABORT_BLOCK{,RETURN}. This patch removes the LOGONLY
versions in favour of the ABORT versions.

--HG--
extra : rebase_source : 4537de8986b87784d2a80ead24999310adbdece8
2016-08-09 14:27:59 +10:00
Daniel Glazman 46b86db1c3 Bug 1247373 - Correctly handle colors from named color spaces in the native color picker. r=mstange
MozReview-Commit-ID: LEajtxr3vx6

--HG--
extra : rebase_source : b860f8c2f56c11b78419e9ba6bca9731f2c024e4
2016-08-09 15:12:57 -04:00
Carsten "Tomcat" Book d9e0b4c565 merge mozilla-inbound to mozilla-central a=merge 2016-08-09 15:44:51 +02:00
Yura Zenevich 7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Wes Kocher 78ec753b6f Merge m-c to inbound, a=merge 2016-08-08 16:29:21 -07:00
Karl Tomlinson 1a85ce6cf7 bug 1288702 suppress all GTK3 deprecated warnings r=glandium
Functions deprecated in GTK3 are often used for compatibility with GTK2
builds.

MozReview-Commit-ID: F220phw3wVO

--HG--
extra : rebase_source : 128e885652b184c5a7916378d9cebb067ab97eb0
2016-07-27 13:17:00 +12:00
Phil Ringnalda d88f9174f3 Merge m-i to m-c, a=merge 2016-08-06 23:34:37 -07:00
Wes Kocher 1d69e33b22 Merge m-c to autoland, a=merge 2016-08-05 14:06:46 -07:00
Aaron Klotz 2bbffe8138 Bug 1273635: Enable alertable waits in content process main thread; r=jimm
MozReview-Commit-ID: 2qGdGj41M0n

--HG--
extra : rebase_source : e404ba43a47151d38330052c9ac93e7b252ad0f4
2016-08-03 11:54:35 -06:00
Carsten "Tomcat" Book a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Carsten "Tomcat" Book 99002c6dcd merge fx-team to mozilla-central a=merge 2016-08-05 12:00:16 +02:00
Andrew Comminos 7429cdd2f1 Bug 1292326 - Disable layers acceleration by default when using mesa software rasterizers. r=jrmuizel
MozReview-Commit-ID: 9H1XiuPpw15

--HG--
extra : rebase_source : 1d28690ecbdbab5bd96caed1772f712fd54b0f92
2016-08-04 16:14:27 -04:00
Carsten "Tomcat" Book 1f5f6ac888 Merge mozilla-central to fx-team 2016-08-04 16:06:09 +02:00
Carsten "Tomcat" Book 389a3e0817 merge mozilla-inbound to mozilla-central a=merge
--HG--
rename : mobile/android/base/java/org/mozilla/gecko/GeckoAppShell.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAppShell.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/GeckoLayerClient.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/GeckoLayerClient.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/LayerRenderer.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/LayerRenderer.java
rename : mobile/android/base/java/org/mozilla/gecko/gfx/PanningPerfAPI.java => mobile/android/geckoview/src/main/java/org/mozilla/gecko/gfx/PanningPerfAPI.java
2016-08-04 15:55:50 +02:00
Jim Chen a4fcd0b442 Bug 1288821 - Remove observer events in GeckoEvent; r=snorp
Remove the now-obsolete CALL_OBSERVER and REMOVE_OBSERVER events from
GeckoEvent, along with the native-only event ADD_OBSERVER.
2016-08-04 09:17:54 -04:00
Jim Chen 2dbcd17eca Bug 1288821 - Update auto-generated bindings; r=me 2016-08-04 09:17:54 -04:00
Jim Chen 52c109b436 Bug 1288821 - Convert callObserver/removeObserver to native method; r=snorp
Combine the callObserver and removeObserver methods used for notifying
alert listeners into the native method
GeckoAppShell.notifyAlertListener. Keep track of the listener and the
alert cookie on the native side so that we don't need
GeckoAppShell.ALERT_COOKIES anymore.
2016-08-04 09:17:54 -04:00
Jim Chen 535fa2c33f Bug 1288821 - Refactor Java notification interface; r=snorp
Refactor the notification-related methods in GeckoAppShell. In
particular, combine showPersistentAlertNotification into
showAlertNotification, and move code out of AndroidBridge.
2016-08-04 09:17:54 -04:00
Jim Chen 8e077be96a Bug 1288821 - Add AndroidAlerts as a nsAlertsService backend; r=snorp
Add a proper backend for nsAlertsService on Android, so we don't need
any special-case code for Android in nsAlertsService itself.
2016-08-04 09:17:54 -04:00
Jim Chen 15acbc5fab Bug 1289208 - Remove gamepad events from GeckoEvent; r=snorp
Remove the now-obsolete gamepad events from GeckoEvent, along with a few
other used fields in GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen 8a82ef17c1 Bug 1289208 - Updated auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen 4b8a8da17c Bug 1289208 - Add native methods to AndroidGamepadManager; r=snorp
Add native method calls to AndroidGamepadManager to replace the gamepad
events in GeckoEvent. Implement those calls in AndroidGamepad.cpp. The
jni/Refs.h change is necessary to fix a compile error when using
jni::BooleanArray.
2016-08-04 09:16:05 -04:00
Jim Chen e5eac1e286 Bug 1289208 - Move gamepad methods out of GeckoAppShell; r=snorp
Move gamepad methods called by native code out of GeckoAppShell and into
AndroidGamepadManager.
2016-08-04 09:16:05 -04:00
Jim Chen 56e79ec2bc Bug 1288838 - Remove telemetry events from GeckoEvent; r=snorp
Remove the now-obsolete telemetry events from GeckoEvent.
2016-08-04 09:16:05 -04:00
Jim Chen 139bb9bede Bug 1288838 - Update auto-generated bindings; r=me 2016-08-04 09:16:05 -04:00
Jim Chen 3a078bd650 Bug 1288838 - Add telemetry native methods to Android telemetry module; r=snorp
Add and use native method calls in Telemetry.java to replace the
telemetry events in GeckoEvent.
2016-08-04 09:16:04 -04:00
Jim Chen 580a7782fe Bug 1288834 - Remove ZOOMEDVIEW event from GeckoEvent; r=snorp
Remove the now-obsolete ZOOMEDVIEW event from GeckoEvent, and the
associated code in nsAppShell and AndroidBridge.
2016-08-04 09:15:17 -04:00
Jim Chen a0e70ac337 Bug 1288834 - Update auto-generated bindings; r=me 2016-08-04 09:15:17 -04:00
Jim Chen 4ea7bbbc21 Bug 1288834 - Implement native request method in ZoomedView; r=snorp
Add a native method in ZoomedView to request zoomed view data. The
native method is implemented in the ThumbnailHelper class on the C++
side because it shares a lot of code with the thumbnailing code.
2016-08-04 09:15:17 -04:00
Jim Chen 159d9d9ab2 Bug 1283888 - Remove LOW_MEMORY event from GeckoEvent; r=me
LOW_MEMORY event is not used anywhere and can be safely removed.
2016-08-04 09:15:16 -04:00
Jim Chen a174ac0918 Bug 1283888 - Remove NATIVE_POKE event from Java; r=me
Remove the obsolete NATIVE_POKE event from GeckoEvent.
2016-08-04 09:15:16 -04:00
Lee Salzman 658901461a Bug 1291856 - push clip before drawing GTK3 widgets. r=acomminos
MozReview-Commit-ID: 84Y8sBg7NzF
2016-08-03 20:24:39 -04:00
Wes Kocher ae855cdb28 Merge m-c to inbound, a=merge 2016-08-03 16:47:07 -07:00
Kartikaya Gupta 88b991cf4a Bug 1291819 - Fix typo. r=me
MozReview-Commit-ID: 33jXEnB6RDJ
2016-08-03 16:56:37 -04:00
Andrew Comminos e1bf608589 Bug 1289561 - Implement LSB release annotation in crash reports. r=jrmuizel
MozReview-Commit-ID: IEcH6K5D27H

--HG--
extra : rebase_source : bf16658e19d8a058d27cb3a0caf0f0a1400fa1cf
2016-07-26 14:23:47 -04:00
Alexandre Lissy 0af5b943b6 Bug 1284674 - Remove NUWA r=cyu
MozReview-Commit-ID: GyMRNzOBKw6

--HG--
extra : rebase_source : 293af1cd55f2035ce6a99f4ebf144059c32a2b8f
2016-08-02 14:54:00 +02:00
Carsten "Tomcat" Book 6b13b3cde6 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Carsten "Tomcat" Book eeacfbeff0 merge mozilla-inbound to mozilla-central a=merge 2016-08-03 17:03:41 +02:00
Carsten "Tomcat" Book 57bfee62b0 merge fx-team to mozilla-central a=merge 2016-08-03 17:01:16 +02:00
Matt Woodrow 52628b0bb3 Bug 1230641 - Make our NSOpenGLContext opaque when in fullscreen mode. r=mstange 2016-08-03 22:48:03 +12:00
Iris Hsiao 08f30bd9aa Backed out changeset 238564059ef3 (bug 1273356) for Android 4.3 debug failed to load manufest file 2016-08-03 11:55:35 +08:00
Carsten "Tomcat" Book cc6b6404c0 Merge mozilla-central to fx-team 2016-08-02 17:13:42 +02:00