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

20241 Коммитов

Автор SHA1 Сообщение Дата
Makoto Kato 8ccc8229b8 Backed out changeset d89f93a40f78 (bug 1212527) due to static analysis bustage
MozReview-Commit-ID: 79SduJl9zcs
2016-05-27 00:05:10 +09:00
Makoto Kato 15b6b9d8df Bug 1212527 - Set background color to NSColor before calling showDefinitionForAttributedString on 10.11. r=mstange
When calling showDefinitionforAttributedString on OSX 10.11, it always return error due to the following exception.

Exception: decodeObjectForKey: class "TitlebarAndBackgroundColor" not loaded or does not exist

So before calling it, we set temporary color value, then restore color after calling it.

MozReview-Commit-ID: 1YeY6X1W6AV

--HG--
extra : rebase_source : 1bfafdb24f7d6df0ad2552b786b8af84b71cc28a
2016-05-26 23:39:50 +09:00
Markus Stange c19306021c Bug 1216245 - Increase the titlebar texture's height to include the whole title text. r=mattwoodrow
MozReview-Commit-ID: It0T7dRhAj1

--HG--
extra : rebase_source : 9ef82caf78616bec142e22045f45141f5c8cf45c
2016-05-25 13:35:04 -04:00
Joel Maher 3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Martin Stransky b8bb3b2ec9 Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
Markus Stange e1571acd05 Bug 1274282 - Add exception guards to nsChildView::PrepareWindowEffects(). r=spohl
MozReview-Commit-ID: De3grs2BF4E

--HG--
extra : rebase_source : a22d67a377962d4e66dc56e1e11269f932ca62ad
2016-05-24 14:01:48 -04:00
Jonathan Watt de83a13903 Bug 1275266 - Rename imgLoader::Singleton and imgLoader::PBSingleton to something less misleading, and document them. r=tnikkel 2016-05-19 13:31:15 +01:00
Jeff Muizelaar f9a3f41d46 Bug 1245756. Remove blacklisting for HD5800. r=mattwoodrow
This was before we had the AMD specific checks to block DXVA for higher resolutions/frame rates.
2016-05-24 15:38:48 -04:00
Jim Chen 6eee3bd154 Bug 1268125 - Update auto-generated JNI bindings; r=me 2016-05-24 12:18:04 -04:00
Jim Chen 652036509d Bug 1268125 - Always use GetEnvForThread for GlobalRef ref/unref; r=snorp
Even though a class may not be multi-threaded, its object references can
still be passed to different threads. As long as the references are not
accessed, we should allow it, and therefore GlobalRef should use
GetEnvForThread for ref/unref, instead of using FindEnv, which can
trigger assertions on non-main threads.
2016-05-24 12:18:04 -04:00
Keith Yeung 28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Masayuki Nakano 38e54402b2 Bug 1272599 part.2 Rename KeyboardEvent.key values, "MozHomeScreen" and "MozCameraFocusAdjust" to "GoHome" and "CameraFocus" except on B2G r=smaug
KEYCODE_HOME was temporarily named as "MozHomeScreen" and KEYCODE_FOCUS was temprarily named as "MozCameraFocusAdjust" since they were not defined by the spec. However, in the latest spec, they are defined as "GoHome" and "CameraFocus". So, it is the time to rename them.

However, these temporary key names are still used by Gaia. Until it's fixed, we should keep using the temporary names only on B2G.

MozReview-Commit-ID: 9ILtZdf6EUQ

--HG--
extra : rebase_source : f673ca6e128705af3071dafbd7ab1eb8e310297d
2016-05-20 21:29:10 +09:00
Masayuki Nakano 18d7f8212d Bug 1272599 part.1 Rename KeyboardEvent.key value, "MozPhoneCall" to "Call" r=smaug
Android's KEYCODE_CALL was temporarily named as "MozPhoneCall" since proper key name was not defined in the spec. However, now, it's defined as "Call" in the latest spec. Therefore, we should rename this key name.

Note that this isn't available on Android because the key event is never fired on applications. However, this key may be useful on B2G. Although, the key is not used by current Gaia.

MozReview-Commit-ID: GF4STYrGMig

--HG--
extra : rebase_source : 7d94c0a3c47d9ba1fadc4de475d71967d6281545
2016-05-20 21:00:20 +09:00
Masayuki Nakano 4205d9edae Bug 1272578 part.3 Rename key name VolumeMute to AudioVolumeMute except on B2G r=smaug
VolumeMute was renamed to AudioVolumeMute in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KSkcPbIovin

--HG--
extra : rebase_source : 4ff5d92b000599806367b002fd08aa5ae858ee4d
2016-05-21 00:57:18 +09:00
Masayuki Nakano 65d3998d32 Bug 1272578 part.2 Rename key name VolumeUp to AudioVolumeUp except on B2G r=smaug
VolumeUp was renamed to AudioVolumeUp in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: KzLVL5Y2dIN

--HG--
extra : rebase_source : d7a70f556684cdc99989e408e0e87a04e2da43d9
2016-05-21 00:55:48 +09:00
Masayuki Nakano 97f043ea9e Bug 1272578 part.1 Rename key name VolumeDown to AudioVolumeDown except on B2G r=smaug
VolumeDown was renamed to AudioVolumeDown in the latest draft and Chromium uses the new name. Therefore, we need to update this but Gaia uses the old name. So, we shouldn't rename on B2G until Gaia is fixed.

Note that this patch changes tests but they are not used by B2G. Therefore, just replacing with new name is enough.

Only forms.js is necessary #ifdef because the main purpose of forms.js is for B2G's IME framework. However, it's available on the other platforms if chrome needs to use it.

MozReview-Commit-ID: cq98qJnS8M

--HG--
extra : rebase_source : 98653e5427d9d4720d19011673cbb0f9cdf36f1a
2016-05-21 00:52:03 +09:00
Jonathan Watt e1ac9527d2 Bug 1274881 - Get rid of imgLoader::GetInstance. r=tnikkel 2016-05-18 10:19:19 +01:00
David Anderson ecf249bd9a Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Phil Ringnalda 6bb0bc4494 Back out 6 changesets (bug 881832) for failures in test_Debugger.Source.prototype.element.html
CLOSED TREE

Backed out changeset fac50ce10b07 (bug 881832)
Backed out changeset 32e01c144cd4 (bug 881832)
Backed out changeset 779f5336b81e (bug 881832)
Backed out changeset 95efd250e29f (bug 881832)
Backed out changeset 7fe79f07189f (bug 881832)
Backed out changeset 8ee1824f2a57 (bug 881832)
2016-05-23 18:34:49 -07:00
Wes Kocher 2299744a78 Backed out 5 changesets (bug 1274149) for intermittent failures in apz tests CLOSED TREE
Backed out changeset 1117598ac875 (bug 1274149)
Backed out changeset 540cb6d10745 (bug 1274149)
Backed out changeset 057223823e5d (bug 1274149)
Backed out changeset 9932689ab717 (bug 1274149)
Backed out changeset a22a53c503a6 (bug 1274149)
2016-05-23 13:01:22 -07:00
Makoto Kato d8ef4deef4 Bug 1177943 - Part 5. Add IPC for e10s support. r=masayuki
Implement LookUpDictionary to PuppetWidget and PBrowser for e10s.

MozReview-Commit-ID: 44SrfuLJoCF
2016-04-26 17:18:04 +09:00
Makoto Kato e5b8956c7b Bug 1177943 - Part 3. Look up dictionary using new 10.8+ interface. r=masayuki
From 10.8+, it has new API to look up dictionary async.  So I use it.

MozReview-Commit-ID: 9kWEsCib4R5
2016-04-26 18:04:41 +09:00
Makoto Kato 04efbe5905 Bug 1177943 - Part 2. Add cmd_lookUpDictionary content command. r=masayuki
To get selected word on contnet process, I create new contnet command to look up dictionary.  Then, call nsIWidget's method to show looking up dictionary.

About fetched length, see https://www.chromium.org/developers/design-documents/system-dictionary-pop-up-architecture for OSX 10.6's design

MozReview-Commit-ID: Ic2r6hboEEw
2016-05-02 11:41:20 +09:00
Makoto Kato 3cc2e4b00e Bug 1177943 - Part 1. Add LookUpDictionary method to widget. r=masayuki
I would like to add new method to look up dictionary.

MozReview-Commit-ID: Jqk0OelezVF
2016-04-04 17:14:36 +09:00
David Anderson ba1f071a23 Add GPUProcessManager to manage access to CompositorBridgeParent. (bug 1274149 part 1, r=mattwoodrow) 2016-05-23 00:27:01 -07:00
Mats Palmgren fdb3066641 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel 2016-05-12 12:07:45 +12:00
Jonathan Kew 72fc68048e Bug 1274368 - Draw resizer as RTL for elements with vertical-rl writing mode. r=dholbert 2016-05-21 13:59:25 +01:00
Masayuki Nakano 02cb827ee5 Bug 1272592 Merge "MediaSelect" key value into "LaunchMediaPlayer" r=smaug
"MediaSelect" is merged into "LanuchMediaPlayer" in the spec since there is no difference between them and "LaunchMediaPlayer" explains the meaning clearer.

This patch removes "MediaSelect" key value and maps all keys which are mapped to "MediaSelect" to "LaunchMediaPlayer".

MozReview-Commit-ID: IEZhV4p6Qag
2016-05-19 20:47:32 +09:00
Masayuki Nakano 838c23f20a Bug 1232919 part.2 Reorganize NativeKeyToDOMKeyName.h for using same definition order of the latest UI Events KeyboardEvent key values r=smaug
MozReview-Commit-ID: ANBe57BbVgb

--HG--
extra : rebase_source : 694c3cb66449f51a75a311f8fc07b5b1c40ae1d6
2016-05-13 18:49:46 +09:00
Wes Kocher 7c13cd34da Backed out changeset 3c46096adeaf (bug 1272592) for landing before some requisite commits CLOSED TREE 2016-05-20 17:59:41 -07:00
Masayuki Nakano 90aa97cb1c Bug 1272592 Merge "MediaSelect" key value into "LaunchMediaPlayer" r=smaug
"MediaSelect" is merged into "LanuchMediaPlayer" in the spec since there is no difference between them and "LaunchMediaPlayer" explains the meaning clearer.

This patch removes "MediaSelect" key value and maps all keys which are mapped to "MediaSelect" to "LaunchMediaPlayer".

MozReview-Commit-ID: IEZhV4p6Qag

--HG--
extra : rebase_source : deeeb5bd6b0aa7fa4c7beb9b6e4cd5671520c232
2016-05-19 20:47:32 +09:00
Alexandre Lissy b423621b8a Bug 1273998 - Proper export of printing IPDL with --disable-printing r=bobowen,glandium,?glandium
MozReview-Commit-ID: GNUrl6LKcMm

--HG--
extra : rebase_source : 9c1949b51b87c1d3bf6c8e59b36b6ebed263e22b
2016-05-19 12:25:22 +02:00
Karl Tomlinson 49d29c5bf9 bug 1272194 explicitly invalidate after change style contexts belonging to widgets r=stransky+263117
This fixes menu item rendering during hover.

MozReview-Commit-ID: CEa6aorqBZM

--HG--
extra : rebase_source : 19b1d4f26541b8b5a435252552352592791c080d
2016-05-17 18:15:12 +12:00
Karl Tomlinson 5fe070aa8f bug 1272194 use WidgetStyleCache for menus r=stransky+263117
Unnecessary widget realization is also removed.

MozReview-Commit-ID: A5HuE5bqf4x

--HG--
extra : rebase_source : 2fb13bac970e5b5daa53948d3d9e9e18496a5a4e
2016-05-17 18:24:55 +12:00
Karl Tomlinson 6b738d9703 bug 1272194 only add menubar class to menu items with GTK 3.4 r=stransky+263117
and save/restore context consistent with GTK 3.4.

MozReview-Commit-ID: GdMoAmzOJlf

--HG--
extra : rebase_source : c3cb854a304a0bc10cd27325b42361031a5107db
2016-05-17 18:02:00 +12:00
Karl Tomlinson a7b88b8021 bug 1272194 don't create a label for menu items r=stransky+263117
The label dates back to GTK2 code and is not currently used.
Removing will allow sharing code with menubar item creation.

MozReview-Commit-ID: LI5t4agot1z

--HG--
extra : rebase_source : f64170f5be3084f45a3221e7c557c5a80c835043
2016-05-17 11:02:25 +12:00
Karl Tomlinson 50d0eedfba bug 1272194 replace MOZ_TOPLEVEL_MENU_ITEM flag with MOZ_GTK_MENUBARITEM node r=stransky+263117
This provides a better mapping between WidgetNodeType and GtkWidgets.

MozReview-Commit-ID: 3YYzK4aZCbP

--HG--
extra : rebase_source : b2a2dc92b77a265fc73077345c1b6a18d9a4abc5
2016-05-19 16:55:04 +12:00
Benoit Girard e97acb68fb Bug 1002857 - stop disabling GL layers for 10.6.2 and below. r=mstange
MozReview-Commit-ID: ITqcQNdolQ

--HG--
extra : rebase_source : 82914a72a267e6aff7ac1234d92d813bb9efdc0b
2016-05-18 18:10:04 -04:00
Blake Kaplan ad87d3252d Bug 1244533 - Pass dragend coordinates down to the content process. r=enndeakin 2016-05-19 11:55:40 -07:00
Makoto Kato 687cbeffb5 Bug 1260091 - Move using SendBidiKeyboardNotify to WidgetUtils. r=masayuki
For e10s, we send Bidi keyboard information to content process.  We should add utility method to share it for all platforms.

MozReview-Commit-ID: JJX26OivQvt

--HG--
extra : rebase_source : fe6d000080e3fa993a27d570c703e93f23439520
2016-05-19 17:47:49 +09:00
Thomas Zimmermann c4c4cb08de Bug 1273913: Call |CompositorThreadHolder::IsInCompositorThread| in Gonk screen manager, r=mattwoodrow
MozReview-Commit-ID: BlGqaCDHmCA
2016-05-19 09:20:08 +02:00
stefanh@inbox.com f98f9cb8e1 Bug 1273106 - Set the native search field's placeholder to an empty string, otherwise the default string will be shown when building with the 10.11 SDK. r=mstange. 2016-05-18 22:04:16 +02:00
Alexandre Lissy 20b739aeda Bug 1273520 - NS_NewRunnable* renaming and include task.h r=fabrice
MozReview-Commit-ID: BcAboKGMr3a

--HG--
extra : rebase_source : 6c5050527d8dffbce4a5e867bd48254a1041e657
2016-05-18 18:25:35 +02:00
Keith Yeung 90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Alexandre Lissy 2db8cd0e24 Bug 1273949 - CompositorBridgeParent::CompositorLoop to CompositorThreadHolder::Loop r=dvander
MozReview-Commit-ID: 3goE5H8JAGk

--HG--
extra : rebase_source : 63f96be7d323df4898511e3d59ac88b774665143
2016-05-18 18:47:58 +02:00
Ryan VanderMeulen 54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Jonathan Kew 0323f9a812 Bug 1267636 - Adjust window titlebar metrics scaling on Win10 to improve the appearance of DevEdition and similar themes on a secondary lo-dpi display. r=emk 2016-05-17 15:35:58 +01:00
Sebastian Hengst a68f0cb92b Backed out changeset 01b86df73b4a (bug 1272332) for Linux x64 opt reftest bustage, e.g. 914521.html. r=backout 2016-05-18 13:42:25 +02:00
Nicolas Silva 3cc8335b3a Bug 1272332 - Honor gtk's global dark theme for the chrome when e10s is enabled. r=karlt 2016-05-18 12:19:29 +02:00
Masayuki Nakano 7111223e56 Bug 1205600 Stop supporting TSF on Windows XP and Windows Server 2003 r=m_kato
We won't enable TSF mode on Windows XP nor Windows Server 2003 because they are already not supported by Microsoft itsef and installed TSF of them is too old and too buggy. Therefore, it's not worthwhile to support TSF on those environments anymore.

MozReview-Commit-ID: Cs85EvWie9K

--HG--
extra : rebase_source : 1fe36c28bf8e34de1172f589f336d1b55542bcd5
2016-05-17 14:00:59 +09:00
David Anderson c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
David Anderson 3189d8ab85 Use IPC to schedule composites on Windows. (bug 1272472 part 3, r=jimm) 2016-05-17 22:33:21 -07:00
David Anderson 09c466def2 Use IPDL to schedule composites on GTK. (bug 1272472 part 2, r=nical) 2016-05-17 22:33:21 -07:00
David Anderson bb2cbc24f4 Remove nsBaseWidget::NewCompositorBridgeParent. (bug 1272472 part 1, r=kats) 2016-05-17 22:33:21 -07:00
SUN Haitao b3a61c24e3 Bug 1252650 - Add a 'data' parameter to GeckoThread.createServices. r=kit 2016-04-16 14:19:37 +08:00
Sotaro Ikeda fdbb1d4a60 Bug 1255303 - Use SurfaceFormat::B8G8R8X8 as back buffer if possible r=jrmuizel 2016-05-17 05:36:33 -07:00
Moritz Brunner f9f6b3c538 Bug 732733 - Resize drag image relative to the available screensize. r=jimm
--HG--
extra : rebase_source : 121170788742da505aada578a663b40ed05d838e
2016-05-13 06:48:00 -04:00
Jeff Muizelaar 95fa0fca19 Bug 1272822. Reducing AMD blacklisting from 8.62.0.0 to 8.56.15.1. r=Bas
This reduces the blocklisting to the version of the AMD driver that
shipped with Windows 7 RTM. I've tested out that driver on hardware in
Toronto and everything seems to run fine.
2016-05-17 21:24:23 -04:00
Martin Stransky 9e176d8f04 Bug 1271579 - Set GtkTextDirection and GtkStateFlags in ClaimStyleContext, r=karlt 2016-05-17 12:52:04 -07:00
stefanh@inbox.com d76d8b9c90 Bug 1192053 - Native theming: Support for Mac OS X source lists (background part). r=gijs, mstange. 2016-05-17 07:37:05 +02:00
kshitija 43bdd72262 Bug 1259666 - Part 3- change displayPanFeedback to mDisplayPanFeedback - r=masayuki
MozReview-Commit-ID: LWOiakDEEx7

--HG--
extra : rebase_source : 4208b4cf8fe8593fec5be3de36bf4dfe0b5b87a8
2016-05-14 18:03:50 -07:00
kshitija 81668a7fc9 Bug 1259666 - Part 2 - Change panDirection to mPanDirection - r=masayuki
MozReview-Commit-ID: JVLB0Z6JUFc

--HG--
extra : rebase_source : a39f0973d8c71dbbff1540449b596357f0ed5f70
2016-04-29 03:34:46 -07:00
kshitija 118598553f Bug 1259666 part 1 - rename variable and definition change - r=masayuki
MozReview-Commit-ID: 1FWJypkoqYz

--HG--
extra : rebase_source : b3faef1abb72e8230ac70a963be96c19392632d4
2016-04-21 19:32:59 -07:00
Jonathan Watt ad0685ebf8 Bug 1263275 - Avoid startup NS_ENSURE_TRUE(mTextInputHandler) failures in nsChildView.mm. r=mstange
MozReview-Commit-ID: 1cAMjmBJU2E

--HG--
extra : rebase_source : 977d22f70fa4d722f108e431f14c63be7118e3f6
2016-05-10 14:11:32 +01:00
Kartikaya Gupta 8a0f553fd3 Bug 1264017 - Add synthesized mouse support to Android. r=rbarker
MozReview-Commit-ID: HT4U7WKTd5Z
2016-05-16 12:17:17 -04:00
Kartikaya Gupta 392f87445d Bug 1264017 - Add an APZ test API to synthesize a mouse click. r=botond
MozReview-Commit-ID: 1zeoPTGrrLh
2016-05-16 12:17:17 -04:00
Masayuki Nakano 0e98199ee6 Bug 1254755 part.6 Reorder the members of WidgetKeyboardEvent for reducing its instance size r=smaug
For reducing the instance size of WidgetKeyboardEvent, this patch also explicitly defines the type of KeyNameIndex and CodeNameIndex.

MozReview-Commit-ID: 8Iw2e8ZFOpe

--HG--
extra : rebase_source : 8123d19c30cf525643e7f442013c506de8b67543
2016-05-12 19:18:36 +09:00
Masayuki Nakano 1252a7bf75 Bug 1254755 part.5 Rename WidgetKeyboardEvent::isChar to WidgetKeyboardEvent::mIsChar r=smaug
MozReview-Commit-ID: 58mri5IP3dV

--HG--
extra : rebase_source : fadfc0eb40c2ea9a3a60ba54b0ae7c5cae94f96e
2016-05-12 18:31:05 +09:00
Masayuki Nakano e2fb1c839c Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug
MozReview-Commit-ID: CjT7izri6Vq

--HG--
extra : rebase_source : 1e82d581b8bf1cce3d3154402f3bb435f7a004f6
2016-05-12 18:17:22 +09:00
Masayuki Nakano 7bfa8a21fa Bug 1254755 part.3 Rename WidgetKeyboardEvent::alternativeCharCodes to WidgetKeyboardEvent::mAlternativeCharCodes r=smaug
MozReview-Commit-ID: 26K8ZxzavfB

--HG--
extra : rebase_source : 5f74e58a784bae2ed626c0c9f7c992228dcff1be
2016-05-12 17:57:21 +09:00
Masayuki Nakano 8a70a17c6a Bug 1254755 part.2 Rename WidgetKeyboardEvent::charCode to WidgetKeyboardEvent::mCharCode r=smaug
And mCharCode shouldn't be compared with NS_VK_*, nsIDOMKeyEvent::DOM_VK_*. Additionally, when it's compared with a character constant, cast isn't necessary.

MozReview-Commit-ID: JMT614copjG

--HG--
extra : rebase_source : 69ee3c589e5a71c814ec9a40ac3aab39c789c11d
2016-05-13 16:06:18 +09:00
Masayuki Nakano 3359bad586 Bug 1254755 part.1 Rename WidgetKeyboardEvent::keyCode to WidgetKeyboardEvent::mKeyCode r=smaug
And also WidgetKeyboardEvent::mKeyCode should be compared with NS_VK_* rather than nsIDOMKeyEvent::DOM_VK_*.

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Bob Owen 2d161a3465 Bug 1189846 Part 9: Add ability to print from the parent process with settings and progress listener. r=jimm, r=smaug
MozReview-Commit-ID: 7IEMByPmC0n
2016-05-16 10:40:54 +01:00
Bob Owen 1153e6531f Bug 1189846 Part 6: Remove GetNativeData from nsIPrintOptions. r=jimm
MozReview-Commit-ID: JR7Tm3pJgpZ
2016-05-16 10:40:54 +01:00
Bob Owen 8312249b1d Bug 1189846 Part 5: Remove displayJobProperties from nsIPrintOptions. r=jimm
MozReview-Commit-ID: L10L7lnRIG4
2016-05-16 10:40:54 +01:00
Bob Owen f5d114afd4 Bug 1189846 Part 4: Remove getPrinterPrefInt from nsIPrintOptions. r=jimm
MozReview-Commit-ID: 4pJAfte1OUs
2016-05-16 10:40:54 +01:00
Bob Owen 757e385a15 Bug 1189846 Part 3: Remove CreatePrintSettings nsIPrintOptions and use GetNewPrintSettings instead. r=jimm
MozReview-Commit-ID: Esv5zYxpKVo
2016-05-16 10:40:54 +01:00
Bob Owen fa0843f46c Bug 1189846 Part 2: Make Android CreatePrintSettings work like other OS specific ones. r=snorp
MozReview-Commit-ID: 7DyPINkdZbl
2016-05-16 10:40:54 +01:00
Bob Owen 30982832c5 Bug 1189846 Part 1: Move PrintSettings serialization into nsIPrintSettingsService. r=jimm
MozReview-Commit-ID: 1sI6VXUHETZ
2016-05-16 10:40:53 +01:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jonathan Watt 0465f58516 Bug 1271867 - Update our usage of NSWindow::convertBaseToScreen/convertScreenToBase to modern ApplicationKit API. r=mstange 2016-05-05 12:27:13 +01:00
Martin Stransky 4cd7d094b8 Bug 1262136 - implement checkboxes/radiobuttons for GTK 3.20, r=karlt
MozReview-Commit-ID: 2mjpxT6b2xh

--HG--
extra : rebase_source : 3e62cc98b5bae5caa3137e940901048f42bcf2a6
extra : amend_source : 1f8665b87560583be6fd97eef7e5e44cf95fb9a7
2016-05-13 11:59:17 +12:00
Kartikaya Gupta a412581b20 Bug 1266066 - Implement DOM support for the 'passive' event listener flag. r=smaug
MozReview-Commit-ID: EvSCDxYC7g6
2016-05-12 14:50:22 -04:00
Milan Sreckovic a3f941f071 Bug 1270252: Skip a blocklisting test when everything is blocked because of a missing driver version. Clean up some returns from blocklisting, where the status and return value were missing or inconsistent. r=BenWa
MozReview-Commit-ID: IIJGltGMjOi

--HG--
extra : rebase_source : 167bf9c0e0219cba8231933f4b073f56747f3dd3
2016-05-11 17:08:49 -04:00
Sotaro Ikeda 252ce4f643 Bug 1255703 - Use image surfaces for basic compositor on Windows r=mattwoodrow 2016-05-12 07:23:11 -07:00
Jonathan Kew 6a2b0ea6d0 Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange 2016-05-11 11:04:21 +01:00
Kartikaya Gupta 346748ccf1 Bug 1272152 - Convert LayoutDevice coordinates to GDK coordinates before sending them to GDK. r=karlt
MozReview-Commit-ID: BuFDHnqVsRD

--HG--
extra : rebase_source : fdae1dde3c5bc9ed33f67d60f2d74b0a2732f04b
2016-05-11 17:57:43 -04:00
Sebastian Hengst 6598003bcf Backed out changeset a74ef371c48f (bug 1087964) for failing elementFromPoint.html on OSX 10.10 debug. r=backout 2016-05-12 13:19:00 +02:00
Jean-Yves Avenard e926d54268 Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS

--HG--
extra : rebase_source : 1a2577bbe24d2d6644c3f1f5d0c47850b67fdea0
2016-05-09 14:59:02 +10:00
Masayuki Nakano 5d4da6c226 Bug 1267526 part.1 TSFTextStore shouldn't notify TSF of selectin change when the selection isn't actually changed r=m_kato
MozReview-Commit-ID: 8HLz30lR2TH

--HG--
extra : rebase_source : 81b9ddb643eb4878e9d6c6c5457d7a016039a1b6
2016-05-11 18:18:51 +09:00
Masayuki Nakano 93330474c8 Bug 1267526 part.0 IMMHandler and TSFTextStore should use LazyLogModule instead of PR_NewLogModule for consistency with related logs in dom/events r=m_kato
MozReview-Commit-ID: IDmV291bKsz

--HG--
extra : rebase_source : 7065c5f25e5c25b4e1c832356e1dc3eee7a144bf
2016-05-11 18:01:34 +09:00
Jonathan Kew 473d904d86 Bug 1087964 - Remove OS X resolution-changing hack from DoResetWidgetBounds, and get the scale from the device context instead (because it will be up to date already, while the widget may not); and fix scaling in nsCocoaWindow::Resize to work properly with custom devPixelsPerPx. r=mstange 2016-05-12 09:31:13 +01:00
Masayuki Nakano c92ba85982 Bug 1261880 NativeKey should decide printable KeyboardEvent.key value of keydown and keypress events with following WM_CHAR message of WM_KEYDOWN r=m_kato
Some special keyboard layout may use a key as a non-lockable modifier key even if the key isn't a non-lockable modifier key (e.g., CapsLock key of 'Neo' for German). In such case, KeyboardLayout class cannot initialize NativeKey::mCommittedCharsAndModifiers with actual input character properly because KeyboardLayout class doesn't support such eccentric keyboard layouts.

For preventing this issue, NativeKey should overwrite mCommittedCharsAndModifiers with following WM_CHAR message when it handles WM_KEYDOWN and should handle with following WM_CHAR message.  However, we should ignore following WM_CHAR message if the character is a control character which shouldn't be inputted into focused text editor.

MozReview-Commit-ID: Ax01nnaRXek

--HG--
extra : rebase_source : fd802e868db8990481873ee8eb98375a50efa47a
2016-05-11 16:47:38 +09:00
Masayuki Nakano cbc08975f5 Bug 1259661 part.10 Clean up some nits of WidgetMouseEvent definition r=smaug
MozReview-Commit-ID: 9e4F8gOmRpZ

--HG--
extra : rebase_source : 77582b007ebb9a87925543f044d9af06a5f7c2fa
2016-05-10 21:57:16 +09:00
Masayuki Nakano 3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano b2a210c268 Bug 1259661 part.8 Rename WidgetMouseEvent::ignoreRootScrollFrame to WidgetMouseEvent::mIgnoreRootScrollFrame r=smaug
MozReview-Commit-ID: 98G9UMv4qqj

--HG--
extra : rebase_source : e3fed10d5d7b8b3a714e279457192e9f0bc703df
2016-05-10 21:15:05 +09:00
Masayuki Nakano 52b8126bf2 Bug 1259661 part.7 Get rid of WidgetMouseEvent::acceptActivation because of unused r=smaug
MozReview-Commit-ID: ItkudUhGGN4

--HG--
extra : rebase_source : 2f396c1acf032c731d7d875b2a427aaddda1a576
2016-05-10 21:01:15 +09:00
Masayuki Nakano 1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Masayuki Nakano 2d6e9e3d48 Bug 1259661 part.5 Rename WidgetMouseEvent::context to WidgetMouseEvent::mContextMenuTrigger r=smaug
MozReview-Commit-ID: GDAAHiyRrhY

--HG--
extra : rebase_source : fe7e3a658192f13f6458f664b35d5937925eca13
2016-05-12 11:39:05 +09:00
Masayuki Nakano 0902859a3a Bug 1259661 part.4 Rename WidgetMouseEvent::reason to WidgetMouseEvent::mReason r=smaug
MozReview-Commit-ID: JaE0S7BIgVF

--HG--
extra : rebase_source : 2d0f80e49dfd09cecc7ab3c85d2496308055d434
2016-05-12 11:36:41 +09:00
Masayuki Nakano 9874716678 Bug 1259661 part.3 Rename WidgetMouseEvent::exitType to WidgetMouseEvent::ExitFrom r=smaug
MozReview-Commit-ID: 8NdDccCrTS7

--HG--
extra : rebase_source : 6c4bf2bceab7638ee25907be7b434f0544dfe325
2016-05-12 11:32:53 +09:00
Masayuki Nakano decf620aaa Bug 1259661 part.2 Rename WidgetMouseEvent::context to WidgetMouseEvent::ContextMenuTrigger r=smaug
MozReview-Commit-ID: 2amULUnzsxc

--HG--
extra : rebase_source : 8b09dfe85fd9e583d378fd2fd167a169b5258175
2016-05-12 11:28:14 +09:00
Masayuki Nakano 22d783b8ac Bug 1259661 part.1 Rename WidgetMouseEvent::reasonType to WidgetMouseEvent::Reason r=smaug
MozReview-Commit-ID: 3bx2Z32rwb1

--HG--
extra : rebase_source : afb94677ccce2c9ae8ffbf63f0c0566d94430773
2016-05-12 11:17:46 +09:00
Takahiro Aoyagi 75f4ef756f Bug 1259669 Rename WidgetCommandEvent::command to WidgetCommandEvent::mCommand r=masayuki
--HG--
extra : rebase_source : 75298d438e6c6c77113ba252c955bc084f216015
2016-05-12 13:28:31 +09:00
Masayuki Nakano a369570d88 Backout bug 1259669 due to commited with wrong user name
--HG--
extra : rebase_source : eec830244783ded2e16bbe1e123849fbab0b3c8e
2016-05-12 13:23:43 +09:00
Phil Ringnalda c6417cc01e Back out 5 changesets (bug 881832) for failures in browser_html_tooltip-02.js
Backed out changeset 117e8e24d714 (bug 881832)
Backed out changeset 8a0d5df41cfb (bug 881832)
Backed out changeset 6b3c5e185b04 (bug 881832)
Backed out changeset 11106afdcbe7 (bug 881832)
Backed out changeset d711b7c19a43 (bug 881832)
2016-05-11 21:08:08 -07:00
Mats Palmgren e04a74ec14 Bug 881832 - Make inner document reflow asynchronous. r=tnikkel
--HG--
extra : rebase_source : 9987e19e3318d5bc58ac8214496893041bc1775c
2016-05-12 12:07:45 +12:00
Bob Owen ac6f5350a0 Bug 1271900: Don't require a minimum page size when setting up DEVMODE from print settings. r=jimm
MozReview-Commit-ID: ByO4KHPtkkM

--HG--
extra : rebase_source : c7e58471e259b366491ddb5903ade247645f28c5
2016-05-11 10:18:10 +01:00
David Anderson d180b0cc2a Add an nsIGfxInfo for describing active crash guards. (bug 1270894 part 1, r=milan) 2016-05-10 11:49:16 -07:00
Randall Barker c63841d754 Bug 1229462 - Use Android OverScroller class for fling animation r=botond 2016-05-11 08:37:47 -07:00
Neil Deakin 780d816c25 Bug 1270277, HasDataMatchingFlavors should only return true for text/unicode, r=snorp 2016-05-11 10:04:19 -04:00
Neil Deakin 405358d4b3 Bug 1101975, handle access keys in content process before menus, r=masayuki 2016-05-11 08:56:42 -04:00
Nicolas Silva daa1794d1a Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt 2016-04-29 10:14:29 +02:00
Bob Owen 979a6fb7b7 Bug 1271348: Only use LOGPIXELSY for calculating internal printing surface size on Windows. r=jimm
MozReview-Commit-ID: 9KUVyI0Oy07

--HG--
extra : rebase_source : 1fcbeebff29e1a0cfd77ac5abf5914bb7031cd86
2016-05-10 15:17:56 +01:00
Timothy Nikkel bf94e2fc4e Bug 1261752. Part 3. r=mats 2016-05-10 22:58:47 -05:00
Jan Beich c6b43ec415 Bug 1271477 - Unbreak --disable-dbus build after bug 1266054. r=karlt 2016-05-09 18:51:00 +02:00
Jan Beich 1251952870 Bug 1271477 - Unbreak --disable-dbus build after bug 1234158. r=karlt 2016-05-09 18:50:00 +02:00
Nomis101 f0aa7ccdac Bug 1271453 - Replace deprecated NSOKButton with correct constant NSFileHandlingPanelOKButton. r=mstange 2016-05-09 23:45:45 +02:00
Martin Stransky baaa0fca1d Bug 1248974 - Remove gtk_style_context_save which corrupts style hierarchy for menu item background, r=karlt 2016-05-09 04:17:00 +02:00
Martin Stransky 7017c6043a Bug 1248974- get menu bar text color from GtkMenuItem, r=karlt 2016-05-09 04:17:00 +02:00
Tetsuharu OHZEKI dd81b84720 Bug 1259667 - part5: rename WidgetSimpleGestureEvent.delta to mDelta. r=masayuki
MozReview-Commit-ID: D33mzFY8Vrn

--HG--
extra : rebase_source : 6d6493af599087537ab6bf469255bb9d7319e395
2016-05-10 04:16:55 +09:00
Tetsuharu OHZEKI a5f841b5dc Bug 1259667 - part4: rename WidgetSimpleGestureEvent.clickCount to mClickCount. r=masayuki
MozReview-Commit-ID: 8YaPzAGsmYd

--HG--
extra : rebase_source : f0fb0dfffbd13759ca6daa31df321bc39382cbc3
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI 42e707c8b7 Bug 1259667 - part3: rename WidgetSimpleGestureEvent.direction to mDirection. r=masayuki
MozReview-Commit-ID: GYGNNTsZNWQ

--HG--
extra : rebase_source : 954039a2d7ecb1f5d579603dd02f517c42a2a025
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI 067f1de1e4 Bug 1259667 - part2: rename WidgetSimpleGestureEvent.allowedDirections to mAllowedDirections. r=masayuki
MozReview-Commit-ID: 412YeoUoqIy

--HG--
extra : rebase_source : af9289605eeeeaf06bc3c7a9a5540c962231d61e
2016-05-10 04:16:54 +09:00
Tetsuharu OHZEKI 3ab0c765b3 Bug 1259667 - part1: reorder the padding of WidgetSimpleGestureEvent.r=masayuki
MozReview-Commit-ID: C9x0cR02zsC

--HG--
extra : rebase_source : e76d29e3fb2e338670ffd2c81bca6c1d32fee388
2016-05-10 04:16:54 +09:00
Wes Kocher 4cc953c236 Backed out 2 changesets (bug 1270894) for build bustage
Backed out changeset 8c0d3d862f14 (bug 1270894)
Backed out changeset 1bb479eb334c (bug 1270894)
2016-05-09 13:53:10 -07:00
David Anderson 8ac61fc54a Add an nsIGfxInfo for describing active crash guards. (bug 1270894 part 1, r=milan) 2016-05-09 13:15:58 -07:00
Benoit Girard 70acc7f3f9 Bug 1262008 - Add WebGL failure causes to telemetry ping. r=dvander
MozReview-Commit-ID: 9IVhVNGmaAP

--HG--
extra : rebase_source : bfa8d247c331c216c048fb696fbfb4302c5b8d52
2016-05-09 13:44:21 -04:00
Thomas Zimmermann 4e5a56e843 Bug 1266054: GTK+: Hold references to |DBusPendingCall| in |RefPtr|, r=karlt
MozReview-Commit-ID: F5jb9tR5FGa
2016-05-09 12:28:37 +02:00
Thomas Zimmermann e4b9259642 Bug 1266054: GTK+: Hold references to |DBusMessage| in |RefPtr|, r=karlt
MozReview-Commit-ID: CuweWk1ZMT1
2016-05-09 12:28:37 +02:00
Thomas Zimmermann 51bb662a3f Bug 1266054: GTK+: Hold references to |DBusConnection| in |RefPtr|, r=karlt
This patch changes |WakeLockListener| to store its connection to
the DBus session bus in an instance of |RefPtr|. The reference will
be released automatically from the class' destructor.

MozReview-Commit-ID: Hv6MgpJMNLI
2016-05-09 12:28:37 +02:00
L. David Baron 71a0554018 Bug 1270649 - Rename mExceptionHasBeenRisen to mExceptionWasRaised. r=smaug
risen is the past participle of rise; raised is the past participle of
raise, which is what is done to exceptions.

See:
https://en.wiktionary.org/wiki/rise#Verb
https://en.wiktionary.org/wiki/raise#Verb (definition 2, though not sure
  if the use for exceptions is from 2.3 or 2.5)

(I wonder if mExceptionRaised would be simpler, though.)

MozReview-Commit-ID: 8Ynup8aDcLT
2016-05-08 22:16:42 -07:00
L. David Baron 9ee89fe42f Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior.  Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
Martin Stransky 14a55c9a93 bug 1234158 add support for GTK 3.20 scrollbars r=karlt
--HG--
extra : transplant_source : %84N%24%B8%1D%80%EE%133%96%B3Y%0B%5D%29%26%18%24%B3%60
extra : histedit_source : 6e54e39b3c2649e4efebb864db2d5ce5d8b7b330
2016-05-09 11:08:26 +12:00
Karl Tomlinson b799dfaa46 bug 1234158 rename GtkThemeWidgetType enum to WidgetNodeType as it will differentiate GTK CSS nodes r=Stránský
--HG--
extra : transplant_source : %11-%01%D8%F3%D6%00%E9%0C%D8%84z%A2%98%7C%F3%B5I%CF%5E
extra : histedit_source : deb6e194d8ea4466976347e24a741ee354dcc331
2016-04-14 17:47:20 +12:00
Bob Owen b95d020f26 Bug 1255336: Copy DEVMODE details back to print settings in GetDataFromPrinter. r=jimm
nsDeviceContextSpecWin::GetDataFromPrinter is only called with print settings, when the settings aren't properly populated in nsDeviceContextSpecWin::Init.
This only happens when printing silently and the print settings have last been populated with prefs.
We need to copy the final DEVMODE details back in case any were invalid from the prefs and have been overridden by the printer.

MozReview-Commit-ID: EuRTDZTSSJn

--HG--
extra : rebase_source : 338910cec62843a79333ca32e1be2e07fd7a9a11
2016-05-05 13:06:53 +01:00
David Anderson 86cb20fdbf Add blocklist reasons to the gfxConfig/about:support decision log. (bug 1270404, r=milan) 2016-05-05 14:42:12 -04:00
Jim Chen d8cd767aac Bug 1270202 - Move WindowEvent to outside of GeckoViewSupport; r=snorp
WindowEvent is not specific to GeckoViewSupport, and classes other than
GeckoViewSupport use it, so this patch moves it to outside of
GeckoViewSupport.
2016-05-05 11:39:02 -04:00
Mathieu Leplatre 5554aa9abe Bug 1257547 - Remove coupling of gfx code to XML file blocklist.xml. r=milan
MozReview-Commit-ID: HDVVvsk077x

--HG--
extra : rebase_source : 86f2efb57b3a606e0233c0a86cdd8636be131f42
2016-05-04 16:12:19 +02:00
Thomas Zimmermann 25319fe544 Bug 1269422: Wrap Gonk widget in |CompositorWidgetProxyWrapper|. r=dvander 2016-05-05 11:27:26 +02:00
Kyle Huey 941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Kyle Huey 44cee0989e Bug 1268313: Part 6 - Replace NewRunnableMethod with NS_NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
David Anderson 9c703c12e4 Remove plugin-related CompositorBridgeParent use of nsIWidget. (bug 1265975 part 6, r=jimm) 2016-05-04 22:00:14 -07:00
David Anderson 9427843932 Remove Windows-specific compositor calls to nsIWidget. (bug 1265975 part 5, r=jimm) 2016-05-04 22:00:14 -07:00
David Anderson d4a4548584 Move transparency handling to WinCompositorWigetProxy. (bug 1265975 part 4, r=jimm) 2016-05-04 22:00:14 -07:00
David Anderson 309e579428 Move the WM_SETTEXT present lock to CompositorWidgetProxy. (bug 1265975 part 3, r=jimm) 2016-05-04 22:00:13 -07:00
David Anderson 92bb5b46dc Implement WinCompositorWidgetProxy::GetClientSize. (bug 1265975 part 2, r=jimm) 2016-05-04 22:00:13 -07:00
David Anderson 927db0d41a Add WinCompositorWidgetProxy. (bug 1265975 part 1, r=jimm) 2016-05-04 22:00:13 -07:00
Dylan Roeh c185fb93b0 Bug 1136364 - Remove EGLSurface creation from GLController. r=snorp 2016-04-29 10:28:35 -05:00