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

19828 Коммитов

Автор SHA1 Сообщение Дата
Brendan Dahl 1e077c8a5f Bug 1104916 - Implement CSS media query display-mode. r=cam 2016-02-23 17:10:00 +01:00
L. David Baron e73ad62be0 Back out changeset 027c6cc12078 (bug 1249943) for making test_basic_pan.html permafail (timeout) on Linux, on a CLOSED TREE. 2016-02-24 15:57:29 -08:00
Bas Schouten 36d729fab3 Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Kartikaya Gupta 2e5e8ea0d9 Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Sebastian Hengst bc0efb6df0 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Sebastian Hengst 38e8f42dfb Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst 61814a3698 Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Milan Sreckovic 2a65d9908f Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic ef6d814a88 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-19 14:40:00 +01:00
Milan Sreckovic c2c7011ac5 Bug 1249640: Part 1 A way to block canvas 2D acceleration from blocklists. r=benwa 2016-02-19 14:39:00 +01:00
Makoto Kato 2bd4c9e6bb Bug 1235941 - Detect DPI change for GTK3. r=karlt
Use scale-facotr signal to detect DPI change.  Also, we should update
mBounds for current scaling setting.

MozReview-Commit-ID: 9fuFORzSzaD

--HG--
extra : rebase_source : 48462e9f251399433d25ffed100fbaa5bca8186a
2016-02-24 18:58:58 +09:00
Phil Ringnalda a5861fc16a Back out 6a24b31747be (bug 1232042) for crashes @RecvForcePresent
CLOSED TREE
2016-02-23 21:27:46 -08:00
Bas Schouten fd04611c7c Bug 1232042: Execute an additional present for D3D11 on the compositor thread when a WM_PAINT event has returned. r=jrmuizel 2016-02-24 03:50:09 +00:00
Makoto Kato 46428da1ac Bug 1240282 - Don't use NS_LossyConvertUTF16toASCII for URI. r=jimm
We should use GetAsciiSpec for idn and non-ASCII path

MozReview-Commit-ID: EjldSMJYUDg

--HG--
extra : rebase_source : 87b9680d4ed6268b0779d8603e824625c7b6f98c
2016-02-17 20:44:41 +09:00
Kartikaya Gupta 24e950f9a8 Bug 1249915 - Fix missing MOZ_COUNT_CTOR and some misc cleanup. r=karlt
MozReview-Commit-ID: 3nB4awYSXCk
2016-02-23 10:17:46 -05:00
Kartikaya Gupta fdf87498df Bug 1249915 - Add ability to synthesize native touch events on GTK for mochitests. r=karlt
MozReview-Commit-ID: GurXjryrsle
2016-02-23 10:17:46 -05:00
Kartikaya Gupta 2548d417f5 Bug 1249915 - Add ability to synthesize native touch events on Fennec for mochitests. r=snorp
MozReview-Commit-ID: Dit8QhqJSYc
2016-02-23 10:17:46 -05:00
Kartikaya Gupta 59bc04e3b9 Bug 1249915 - Fix synthesized touch injection code on Windows to not apply the scale factor twice. r=jimm
MozReview-Commit-ID: DJnrA7WziRe
2016-02-23 10:17:46 -05:00
Andrew Comminos 0972c69434 Bug 1249604 - Don't use gtk_drag_set_icon_surface on GTK versions that use X SHAPE for dnd with cairo. r=karlt
MozReview-Commit-ID: 2XxnJfvfOXl

--HG--
extra : rebase_source : d16f4fecc70be105cd2fd2177b5fee62fc53c583
2016-02-19 17:33:54 -08:00
Milan Sreckovic f0372a59b0 Bug 1249777: Added support for 10.11 in the blocklisting code as well. r=mstange
MozReview-Commit-ID: JCkFwfkEyEa

--HG--
extra : rebase_source : 3d6aa2044cbd91410e75fdd5b4b5d9d6148f9619
2016-02-19 16:59:37 -05:00
Edwin Flores 32d5c9e7b2 Bug 1246984 - Fix scrolling on Blackberry capacitive keyboard - r=kats 2016-02-22 09:36:22 +00:00
Lee Salzman 7cc6c50643 Bug 1239152 - skip memset since XShm is already initialized to zero. r=mchang 2016-02-19 16:14:02 -05:00
Rok Garbas 0e86796bc0 Bug 1248983 - Fix spelling for nsCocoaWindow.mm. r=jdm 2016-02-17 16:25:22 +01:00
Lee Salzman 2d3967c30f Bug 1019856 - avoid double-buffering in BasicCompositor when window allows it. r=mattwoodrow 2016-02-18 20:57:29 -05:00
Lee Salzman 05c95317a9 Bug 1245241 - part 4 - move SharedMemorySysV details into nsShmImage. r=nical 2016-02-18 10:56:15 -05:00
Jonathan Kew cb99502b79 Bug 1247335 - patch 1 - Provide a desktop-pixel variant of SetPosition on nsIBaseWindow and its implementations. r=emk 2016-02-18 10:46:16 +00:00
Calixte Denizet 3d59de4497 Bug 1248981 - Fix spelling error in nsMenuUtilsX.mm, a=tomcat
MozReview-Commit-ID: FQNNmz9Mirk

--HG--
extra : transplant_source : %FA%9D%02%83%AC%14%1F%BB%20%E7%9D%26W%7Fk%94ah%D6%BA
2016-02-17 15:57:01 +01:00
Liang-Heng Chen f820da8f38 Bug 1244044 - remember display status; r=jerry 2016-02-17 00:43:00 +01:00
Wes Kocher 14a39eb4fe Merge m-c to inbound, a=merge
--HG--
extra : commitid : EcXZgqBBN3f
2016-02-17 11:14:33 -08:00
Wes Kocher 4c4e5f57b5 Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
--HG--
extra : commitid : LR9A2AvlKN6
2016-02-17 11:11:10 -08:00
Carsten "Tomcat" Book c2a42c6ad4 merge fx-team to mozilla-central a=merge 2016-02-17 12:07:39 +01:00
Mason Chang 4ab8d2c595 Bug 1239152 Memset RGBX surfaces to opaque white. r=nical 2016-02-17 07:34:37 -08:00
Carsten "Tomcat" Book 4179c35c7c Merge mozilla-central to mozilla-inbound 2016-02-17 12:16:20 +01:00
Xidorn Quan 775aed278a Bug 743198 part 6 - Add unprefixed fullscreen events. r=smaug
--HG--
extra : source : cb096452899287cb35b51146d2f2ffc3dc26350f
2016-02-17 08:47:11 +08:00
Jim Chen f0b94011a2 Bug 1248695 - Check for null browser app object when handling UI telemetry events; r=snorp
The nsAppShell mBrowserApp object may not have been initialized when
handling UI telemetry events. In that case, we should bail instead of
crashing.
2016-02-16 16:57:49 -05:00
Botond Ballo 36538c730b Bug 1238137 - Telemetry pings for main thread touch scrolling (Windows only). r=kats
--HG--
extra : commitid : BVuMG3f6rTC
extra : rebase_source : b2f2bc11cd18286f83ab99300352b6f8d2128c83
extra : histedit_source : 8809de316e2f38f63804a5a952137269557e0aba
2016-02-05 18:16:55 -05:00
Makoto Kato 561b205288 Bug 1247160 - Clipboard causes memory leak by internet shortcut. r=jimm
UTF8ToNewUnicode alloces new memory, so we don't need new alloc to convert to UTF-16

MozReview-Commit-ID: K7saM1xxNQ1

--HG--
extra : rebase_source : 06921086d842f7f6cdbe40d5d78fd024c310811d
2016-02-10 13:21:50 +09:00
Michelangelo De Simone ebffe910b0 Bug 1247445 - Rename Layer::GetEffectiveVisibleRegion GetLocalVisibleRegion. r=botond
--HG--
extra : amend_source : 375eedb2c6f3e7aec206071a0be0e5fbc0367e76
2016-02-13 16:50:51 -08:00
Bas Schouten 0ba3291163 Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
Peter Van der Beken 1900a0608e Bug 1020199 - Make sure APZ works with nested oop iframe. r=kats, r=dvander.
--HG--
extra : rebase_source : be158c15f328b19be4e4189c1b755841caabcb10
2016-01-08 20:17:39 +01:00
Kit Cambridge 91260d2668 Bug 1224785, Part 2 - Show the site favicon in OS X notifications. r=mstange
MozReview-Commit-ID: L7d00xEY6Ka

--HG--
extra : rebase_source : 04b35373c475fa8c212d76651f3380c316dc651c
2016-01-07 13:16:54 -07:00
Randall Barker 0c9de745f2 Bug 1225936 - Support scroll events in APZ on Fennec r=kats,jchen 2016-02-12 15:00:34 -08:00
Kartikaya Gupta d805fe7934 Bug 1247677 - Add support for the general.smoothScroll.{pages,pixels} prefs in APZ. r=dvander
MozReview-Commit-ID: HCOqbRZV5ui
2016-02-12 08:30:16 -05:00
Carsten "Tomcat" Book eebf5d68a5 Backed out changeset 4adb7586410a (bug 1247775) 2016-02-12 08:49:29 +01:00
Bas Schouten 341a0f43ec Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
MozReview-Commit-ID: EC8yhkvvood

--HG--
extra : rebase_source : fbb8a83f359e31bf77a058e202666df7f244893e
2016-02-12 02:05:35 +01:00
Fabrice Desré 97d15871d6 Bug 1247570 - unbreak widget/gonk/nativewindow/FakeSurfaceComposer.cpp r=gwagner 2016-02-11 14:05:11 -08:00
Bas Schouten fe90bf3a21 Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Gijs Kruitbosch b499a37faf Bug 1239744 - no longer automatically show an on-screen keyboard for programmatic focus changes, tidy up osk logic in IMEHandler, r=masayuki
--HG--
extra : rebase_source : 013c2759f4faca65ed3de79ca1d7f0b97e6375cb
2016-02-09 19:39:55 +00:00
Aidin Gharibnavaz 686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Karl Tomlinson 2e53e8b7fb bug 1205199 keep the socket alive as long as the plug window r=acomminos
--HG--
extra : rebase_source : 773c5918bbc4b0d032e833e1e0ce7399a5d06c5b
2016-02-10 18:24:40 +13:00
Jim Chen 47c75a8d3e Bug 1246788 - Properly synchronize and manage UI thread tasks; r=rbarker
Add proper synchronization to the UI thread task queue so we don't run
into race conditions. Also use UniquePtr to manage the contained task,
to fix a previous memory leak.
2016-02-10 18:54:55 -05:00
Jim Chen c3f9472ecd Bug 1241558 - Don't ignore Gecko selection when Gecko commits composition; r=esawin
When Java is changing the composition, we should ignore the Gecko
selection. However, when Gecko is committing its composition, we should
not be ignoring the corresponding Gecko selection change. In other
words, we should only ignore selection changes when we know the change
is from Java.
2016-02-09 23:36:41 -05:00
Jim Chen 601b987884 Bug 1244875 - Update auto-generated bindings; r=me 2016-02-09 17:27:29 -05:00
Jim Chen cea91f9d3e Bug 1244875 - Update JNI usages; r=snorp
Update JNI usages to match the changes in JNI templates.
2016-02-09 17:27:28 -05:00
Jim Chen 46edf980e0 Bug 1244875 - Refactor JNI templates; r=snorp
Improve the performance of JNI calls by making JNI calls require a
Context object. LocalRef inherits from Context and can make calls
directly. Non-local Ref classes will generate a Context object when
making a call. The patch also makes the template design cleaner in
several cases.
2016-02-09 17:27:28 -05:00
Bob Owen 76f4652fca Bug 1236680 Part 1: Add new WinUtils function to Resolve moved Users folder. r=jimm 2016-02-09 15:22:43 +00:00
Makoto Kato 8c5ad84243 Bug 1184936 - Need convert from UTF8 for printer name. r=karlt
MozReview-Commit-ID: ClWYKm87idC

--HG--
extra : rebase_source : ea6726ce8a98ae425bc49eed951584d1531cbd32
2016-02-09 16:34:20 +09:00
Jonathan Kew 35e1970bbf Bug 1246382 - Screen rect in desktop pixels should not be affected by devPixelsPerPx override. r=emk 2016-02-08 12:53:10 +00:00
James Willcox 03c12b87a9 Bug 1243418 - Fix up incorrect 'aOverwrite' usage and impl in GLUploadHelpers r=jgilbert 2016-02-08 09:18:52 -06:00
James Willcox 7528f84391 Bug 1243072 - Make GfxTexturesReporter work again r=nical,jgilbert 2016-02-08 09:18:52 -06:00
Mike Conley 887467fe9f Bug 1243720 - Send accessibility theme state down to the content process on Windows. r=jimm
--HG--
extra : commitid : Bl9KE70LQHT
extra : rebase_source : 001c5608ccc5024d7000d26fcd35e247b62925f4
extra : amend_source : 22a5a6bd72dc54bfb16b159237d94375862abecc
2016-02-03 15:49:36 -05:00
Carsten "Tomcat" Book 5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00
Aidin Gharibnavaz 69cf7e035f Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley
--HG--
extra : rebase_source : 3c6bba6613a14e48239d302bdd0f7fe2e322265d
2016-02-07 10:56:00 +01:00
Jonathan Kew 08f9b29485 Bug 1240085 - Revert to CSS-pixel units for screenX, screenY, moveTo() APIs, and adjust the origin for secondary displays with differing resolution to avoid overlapping coordinate spaces. r=emk 2016-02-05 16:29:33 +00:00
Phil Ringnalda ac03b87535 Back out aeceae3e0e96 (bug 1232042) for Win8 crashes @nvwgf2umx.dll + 0x2d416a in addon manager tests 2016-02-06 09:52:35 -08:00
Bas Schouten 06a81d915b Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
--HG--
extra : commitid : K5S8gKJzzhj
2016-02-06 03:14:44 +00:00
Kyle Huey c5bea100e9 Bug 1245927: Innerize before creating DOM files from the file picker. r=baku
--HG--
extra : rebase_source : 080eb739e77af64d2325e986657cf22b9c85a5b6
2016-02-05 10:12:25 -08:00
Carsten "Tomcat" Book 60c4cde799 Backed out changeset 76c66d5a8196 (bug 1000870) 2016-02-05 13:57:31 +01:00
Maksim Lebedev 75f766038d Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
Carsten "Tomcat" Book 43ec756ee5 Merge mozilla-central to mozilla-inbound 2016-02-04 12:05:03 +01:00
Carsten "Tomcat" Book 55b4ed8c4c merge mozilla-inbound to mozilla-central a=merge 2016-02-04 12:02:05 +01:00
Carsten "Tomcat" Book acbc3c41fd Merge mozilla-central to fx-team 2016-02-03 12:29:21 +01:00
Sotaro Ikeda 20e5ba100c Bug 1241769 - Use Singleton pattern to nsScreenManagerGonk r=mwu 2016-02-02 20:37:31 -08:00
Gijs Kruitbosch 957a33f4d4 Bug 1240208 - use inputmode in XUL to get better hinting for IME and on-screen keyboards, r=masayuki,smaug
--HG--
extra : commitid : KANhgN15KJK
extra : rebase_source : 0b640769e92d9d8c01e972c2b526ea56cc56d1df
2016-02-01 17:57:29 +00:00
Makoto Kato 171b6a64cc Bug 1245038 - Show on screen keyboard even if tip window is invisible. r=masayuki
On screen keyboard is sometimes invisible even if IsWindowEnabled(osk) == TRUE.  So We should call tabtip.exe even if it is invisible.

--HG--
extra : commitid : 3IWCP2tVfdx
extra : rebase_source : a16a1a84139ec5c97e89227609dd66f515f6e138
2016-02-02 18:40:35 +09:00
Makoto Kato c88a094d04 Bug 1245050 - WindowsUIUtils.cpp should use LF instead of CRLF. r=jimm
--HG--
extra : commitid : 7aI97niWWzQ
extra : rebase_source : e6bb9140685ebe2ef64811ab9fe048a4a7ec13d8
extra : histedit_source : 6df53e186e02bb744caa6a6b1b6ee1fc0e3739a0
2016-02-02 19:32:37 +09:00
Daniel Holbert 003c978aea Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Kyle Huey e649c7c4d0 Bug 1244987: Make nsFilePickerProxy create DOM file objects with the inner window. r=baku 2016-02-02 10:02:26 -08:00
Birunthan Mohanathas d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Makoto Kato f506ded619 Bug 1243268 - Adjust ATOK workaround. r=masayuki 2016-02-02 17:06:14 +09:00
Makoto Kato ba11a89326 Bug 1243268 - Support ImmSetCandidateWindow(CFS_EXCLUDE) on plugin process. r=masayuki 2016-02-02 17:05:56 +09:00
Daniel Holbert 2eb04f5120 backout bug 1236979 (changesets 2f4de652525e, d7136545a16e, f62e6638add1, f8b1e085b161) for xpcshell test failures 2016-02-01 21:57:38 -08:00
Daniel Holbert ad2eec18b6 Bug 1236979 part 1: Add event names & enums for webkit-prefixed transition & animation events. r=smaug 2016-01-31 00:01:17 -08:00
Jim Chen 6c833a3654 Bug 1243070 - Remove obsolete size-change code; r=snorp
Remove obsolete SIZE_CHANGED event and its handler in nsWindow. Also
remove some other supporting code (such as gAndroidBounds and the
FORCED_RESIZE event) that should be unnecessary by now.
2016-02-01 17:38:14 -05:00
Jim Chen f25839a719 Bug 1243070 - Use native method to notify window size change; r=snorp
Convert the SIZE_CHANGED event to a native method in GLController, and
carry over the SIZE_CHANGED implementation to the new implementation in
GLController. Some other changes were made for correctness in handling
size changes.
2016-02-01 17:38:14 -05:00
Jim Chen 5e98c7369d Bug 1243069 - Control GeckoThread state entirely from C++ code; r=snorp
Right now, we rely on browser.js sending Gecko:Ready, to set the
GeckoThread state to RUNNING upon receiving Gecko:Ready. This patch
gets rid of this dependency on browser.js and Gecko:Ready.
2016-02-01 17:38:14 -05:00
Jim Chen 15812cbffb Bug 1243049 - Convert browser.js prefs code to use observer; r=margaret
Convert the old prefs code in browser.js to use observer notifications
that are sent by the new PrefsHelper implementation, in order to handle
pseudo-prefs.
2016-02-01 17:38:14 -05:00
Jim Chen 2b4561b520 Bug 1243049 - Implement new PrefsHelper native methods; r=snorp
Implement the PrefsHelper native methods. The previous browser.js
implementation supported "pseudo-prefs" that did not exist as actual
prefs, but was accessible through PrefsHelper. In order to accommodate
these pseudo-prefs, we send observer notifications in order to
communicate with browser.js about prefs that we don't support.
2016-02-01 17:38:13 -05:00
Jim Chen 4bf5d00b79 Bug 1243049 - Update native bindings for PrefsHelper; r=me
Update auto-generated native bindings for PrefsHelper.
2016-02-01 17:38:13 -05:00
Jeff Muizelaar 295d2671ce Bug 1178385. Enable DXVA on the G45 r=ajones
This blocking never solved the original issue. Will remove it a
little bit at first and perhaps remove the rest later.
2016-02-03 15:34:31 -05:00
Masatoshi Kimura c610c43158 Bug 1243507 - Reimplement non-Unicode clipboard formats as bug 943294 broke drag and drop between some Unicode-unaware apps. r=jimm 2016-02-04 04:13:13 +09:00
Jonathan Howard ab83b2198f Bug 1204809 - Notify (don't hang) third party windows when adding shortcut icon. r=jmathies
--HG--
extra : rebase_source : ba7544ad3f3d7909cb9d9886383f54a4b8f262aa
2016-01-21 07:12:00 +01:00
Jordan 385a363a5d Bug 1241239 - Fix missing 'using mozilla::LogLevel' in nsIdleServiceGTK.cpp. r=karlt 2016-01-31 04:48:00 +01:00
Phil Ringnalda 543a769809 Merge m-c to m-i 2016-01-31 17:58:26 -08:00
Phil Ringnalda efb0e5df11 Merge m-i to m-c, a=merge 2016-01-31 17:53:22 -08:00
Sotaro Ikeda 63c6d1ff18 Bug 1239611 - Remove GonkNativeWindowClient r=nical 2016-01-31 16:29:59 -08:00
Kartikaya Gupta 6f5c11bbbf Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00
Phil Ringnalda d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Gijs Kruitbosch 62d547d229 Bug 1219215 - part 3: remove dispatching of MozMouseHittest on Windows, r=jimm
--HG--
extra : commitid : DDO4g2kW1r2
extra : rebase_source : 8d33f36462392e56654256a02bbf22bec74f4709
extra : histedit_source : 42d3c172d98ebc96174f263441b0b47e0a8d7f80
2016-01-14 16:57:34 +00:00
Gijs Kruitbosch 652ed2993f Bug 1219215 - part 0: fix context menu code to take window dragging region into account, r=jimm
--HG--
extra : commitid : DiCsOzFXOc6
extra : rebase_source : 2feea836b779b237d2da9f5f2e966ed3c6c37d4b
2016-01-18 14:30:44 +00:00
Phil Ringnalda a39d6e46e4 Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Phil Ringnalda 985ff5df04 Merge m-i to m-c, a=merge 2016-01-30 09:28:35 -08:00
Kyle Huey 91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Masatoshi Kimura 689acb778d Bug 1242720 - Followup: reduce code duplication. r=jfkthame 2016-01-30 18:29:40 +09:00
Mark Capella 1cccfbae8e Bug 1240286 - Deleting text with backspace causes the action bar to glitch, r=smaug, TYLin, jchen 2016-01-30 00:08:55 -05:00
Xidorn Quan dd6be4d4ca Bug 1241901 part 4 - Stop using nsAutoPtr for holding primitive arrays. r=froydnj
--HG--
extra : source : 683ad831dc3e7fc197cbfe1b53665c777b3158ab
2016-01-30 10:33:41 +11:00
Kartikaya Gupta a5ffd45fae Bug 1242690 - Squash together DispatchAPZAwareEvent and DispatchInputEvent. r=dvander
--HG--
extra : commitid : D6XEv20670v
2016-01-29 16:31:15 -05:00
Kartikaya Gupta eec655d1f0 Bug 1242690 - Ensure that mouse events have the callback transform applied. r=botond
--HG--
extra : commitid : IXh9rbTOf5R
2016-01-29 16:31:15 -05:00
Ting-Yu Lin 2d02ad0652 Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00
Ting-Yu Lin 1889f6bc41 Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
--HG--
extra : commitid : 5qtaK1nS8RC
extra : rebase_source : dcc98f423b2446269beb6fa6a9d092ae8213f38e
2016-01-29 22:42:14 +08:00
Jonathan Kew 2ce45f370f Bug 1242720 - Use (non-dynamic) resolution from GetDeviceCaps when dealing with native-theme code that does not handle dynamic changes to system DPI. r=emk 2016-01-28 15:08:33 +00:00
Kartikaya Gupta 661c759eec Bug 1243547 - Route scroll position adjusting for surface shifting directly to APZC. r=rbarker
--HG--
extra : commitid : 2aa3HgQj1wD
2016-01-28 16:00:05 -05:00
Bogdan Postelnicu 74e2fbc858 Bug 1243359 - initialize mScrollSeriesNumber in all ScrollWheelInput constructors. r=roc
--HG--
extra : transplant_source : %EF%D2%85%C7%97%3E%AA%5E%A6%87%EF5n%89%1D%FDE%F2%B2y
2016-01-28 15:47:28 +02:00
Carsten "Tomcat" Book 811c922735 Merge mozilla-central to mozilla-inbound 2016-01-28 12:27:53 +01:00
Carsten "Tomcat" Book 323b54c218 merge mozilla-inbound to mozilla-central a=merge 2016-01-28 12:13:37 +01:00
Chris Peterson e8cb33d6f7 Bug 1242135 - Annotate intentional and fix unintentional switch fallthroughs in widget/gtk/. r=karlt
widget/gtk/nsNativeThemeGTK.cpp:1032:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
widget/gtk/nsNativeThemeGTK.cpp:1058:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
widget/gtk/nsNativeThemeGTK.cpp:1274:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
widget/gtk/nsNativeThemeGTK.cpp:1718:3: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]

--HG--
extra : rebase_source : c358f36f66e3707894fd384d060e1b87a3b0f2ca
2016-01-22 22:44:06 -08:00
Jeff Muizelaar 7d2fdd3865 Bug 1243636. Switch to gfx::CriticalSection 2016-01-27 23:30:25 -05:00
Masayuki Nakano 38f167dadc Bug 1242331 part.5 TSFTextStore should ignore text changes not caused by composition but not occurred during current composition r=m_kato 2016-01-28 13:28:54 +09:00
Masayuki Nakano 05ae69e6a5 Bug 1242331 part.4 Add TextChangeDataBase::mIncludingChangesWithoutComposition r=smaug 2016-01-28 13:28:54 +09:00
Masayuki Nakano 1e9d12bfdb Bug 1242331 part.3 Rename TextChangeDataBase::mOccurredDuringComposition to mIncludingChangesDuringComposition r=smaug 2016-01-28 13:28:53 +09:00
Masayuki Nakano 26c28dca6c Bug 1242331 part.2 Rename TextChangeDataBase::mCausedByComposition to mCausedOnlyByComposition r=smaug 2016-01-28 13:28:53 +09:00
Masayuki Nakano 430cba8f7f Bug 1242331 part.1 Remove unused methods of IMENotification r=smaug 2016-01-28 13:28:53 +09:00
Gijs Kruitbosch 7488564c2e Bug 1226148 - reduce flickering and closing when using the OSK tab key, r=masayuki
--HG--
extra : commitid : Fifze4dqIng
extra : rebase_source : 2df99a8315ff1c7b3a78572787c1dff6357f312c
2016-01-18 12:14:43 +00:00
Nicholas Nethercote 7d6edf2c51 Bug 1239864 (part 10) - Use the new rect iterators in view/ and widget/. r=roc.
--HG--
extra : rebase_source : 3d1c6ff6a1a146bd74ce57e09146bba7ea075232
2016-01-18 17:20:59 -08:00
Nicholas Nethercote 6a194c8cf8 Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.

--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Sebastian Hengst c44d227bee Backed out 5 changesets (bug 1230674) for webgl bustage and crashes. r=backout on a CLOSED TREE
Backed out changeset 07cdcb9b4565 (bug 1230674)
Backed out changeset d21d089c447f (bug 1230674)
Backed out changeset a26de45cdb6a (bug 1230674)
Backed out changeset 59ec0033bd22 (bug 1230674)
Backed out changeset 74a06f6d85e1 (bug 1230674)
2016-01-26 22:40:18 +01:00
Randall Barker 567ea9f9c9 Bug 1230674 - part 3, Add overscroll api to GeckoContentController and AndroidContentController r=snorp,kats 2016-01-27 07:45:31 -08:00
Randall Barker 7f542bcf8f Bug 1230674 - part 2, Add overscroll API to Android nsWindow r=snorp 2016-01-27 07:45:31 -08:00
Randall Barker 128b372b50 Bug 1230674 - part 1, Add Overscroll API to NativePanZoomController r=snorp 2016-01-27 07:45:31 -08:00
AJ Kerrigan f8ecfe01de Bug 1230750 - Export GENERATED_FILES headers from moz.build. r=ted.mielczarek
Add GENERATED_FILES headers to EXPORTS inside moz.build, and
remove associated Makefile.in rules.

--HG--
extra : transplant_source : %EC%0DbV%C3%5B%97%E7%E8f%E9%26%22F%F2%DB%27h%DAW
2016-01-24 02:19:45 -05:00
Masayuki Nakano 02e13bc9fe Bug 1153156 part.4 Make APZC system scroll speed overriding aware r=mstange 2016-01-27 15:09:13 +09:00
Masayuki Nakano 2e9c9ae27c Bug 1153156 part.3 Don't allow to override system scroll speed if the wheel event causes too fast scroll r=smaug+jimm 2016-01-27 15:09:13 +09:00
Masayuki Nakano 3d49c4fe37 Bug 1153156 part.2 Make WidgetWheelEvent store if overriding system scroll speed is allowed and it shouldn't be allowed if scroll speed isn't system default settings on Windows r=smaug+jimm 2016-01-27 15:09:13 +09:00
Masayuki Nakano 367ad6230a Bug 1153156 part.1 Move nsBaseWidget::OverrideSystemMouseScrollSpeed() to WidgetWheelEvent r=smaug, sr=smaug 2016-01-27 15:09:13 +09:00
Masayuki Nakano dd9381cdcb Bug 1242895 Put off to commit/cancel composition after unlocking the document in TSF mode r=m_kato 2016-01-27 15:09:13 +09:00
Randall Barker 975d71eed8 Bug 1230674 - part 3, Add overscroll api to GeckoContentController and AndroidContentController r=snorp,kats 2016-01-26 12:02:51 -08:00
Randall Barker 9edb1640ea Bug 1230674 - part 2, Add overscroll API to Android nsWindow r=snorp 2016-01-26 12:02:51 -08:00
Randall Barker 1efc136470 Bug 1230674 - part 1, Add Overscroll API to NativePanZoomController r=snorp 2016-01-26 12:02:51 -08:00
Milan Sreckovic 825c32e01f Bug 1242659: Part 1. More information on the mismatches. r=jrmuizel
--HG--
extra : rebase_source : 6ae3ff60839bb01f5fd6c8088c523812b4d43080
2016-01-25 14:43:29 -05:00
Eugen Sawin c8c5cdce50 Bug 1192539 - [1.3] Add MediaCodecList JNI query support. r=snorp 2016-01-26 13:50:51 +01:00
Bob Owen 379cf5a922 Bug 1242616: Add break in nsWindow.cpp WM_GETOBJECT handling. r=tbsaunde 2016-01-26 10:03:07 +00:00
Xidorn Quan 1802db9b0e Bug 1242295 - Fix compile error in nsDeviceContextSpecWin. r=jimm
--HG--
extra : source : 3f921f727472ef45827910c9ca0ce276a5c32e47
extra : amend_source : 4958b5b293ca8f567b0ed6902ebf277e10284834
2016-01-26 20:31:11 +11:00
Makoto Kato d03ef7caac Bug 1241408 - Update selection cache even if having read lock. r=masayuki 2016-01-26 10:33:38 +09:00
Kartikaya Gupta d2f9443450 Bug 1240891 - Silence warning from calling GetNativeData(NS_NATIVE_WINDOW). r=roc
--HG--
extra : commitid : 7E1XIVcD5d0
2016-01-25 17:13:50 -05:00
Aaron Klotz 9e96529f18 Bug 1237463: LSP Annotator Enhancements; r=jimm 2016-01-25 12:48:02 -07:00
Sylvestre Ledru ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Bob Owen 393a50d4dc Bug 1238964 Part 2: Move separate DEVMODE to nsIPrintSettings copying into nsPrintSettingsWin. r=jimm
This also corrects what I think are long standing issues with the mapping to and
from print settings on Windows.
Firstly it only uses the DEVMODE flags to decide what should get stored, in the
old code if paper size was not set, it would then use that possibly invalid
paper size to map to length and width. Paper setting prefs are mapped back if
they were stored or if they have been manually set to something sane.
Secondly it corrects the calculation that was used to convert from millimeters
to tenths of millimeters.
It also gets rid of the paperSizeType field, which was only used on Windows and
doesn't actually make sense according to the DEVMODE documentation as the
dmPaperLength and dmPaperWidth fields override the dmPaperSize, but can in
theory be specified at the same time.
2016-01-12 17:40:07 +00:00
Bob Owen eb34bd15b9 Bug 1238964 Part 1: Hold new printable page sizes in print nsIPrintSettingsWin. r=jimm
This also holds the resolution in the print settings, so that we can start to
remove the access to the native Windows print devices in the child process.
2016-01-22 16:05:19 +00:00
Gijs Kruitbosch 12e1d8f1cf Bug 1236058 - recognize bluetooth keyboard devices when determining whether to show an on-screen keyboard, r=masayuki,f=jaws
--HG--
extra : rebase_source : 17f3303f8b351f82a920def8a8db6443830aa58c
2016-01-18 13:07:55 +00:00
Eugen Sawin e8d1a957e9 Bug 1205649 - [2.4] Add AbsoluteDeviceOrientation DOM event for compass heading orientation data. r=smaug 2016-01-21 18:14:33 +01:00
Blake Kaplan 6d17948bc1 Bug 1241302 - Slightly modernize this code. r=jst 2016-01-20 14:45:00 +01:00
Sotaro Ikeda e44a3880a1 Bug 1006688 - Support capture screen via adb r=mwu 2016-01-21 00:21:50 -08:00
Masayuki Nakano b6593edc11 Bug 1240336 Setting same value to either <input> or <textarea> shouldn't cause committing existing composition r=ehsan 2016-01-21 16:52:27 +09:00
Randall Barker 45a15ccb02 Bug 1231517 - part 3, Add ZoomToRect function to nsIWidget classes r=kats 2016-01-20 16:24:59 -08:00
David Rajchenbach-Teller 583ca7286d Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 39e94507c0288863e495322a6899ff009840870d
2016-01-15 11:38:03 +01:00
Masayuki Nakano 93611e5b4c Bug 1052947 Allow users to disable 4th button and/or 5th button of mouse on Windows r=smaug+jimm 2016-01-20 19:56:37 +09:00
Jerry Shih 1638c560e9 Bug 1231042 - clean current composition task and related flag when screen off. r=mchang 2016-01-19 20:58:00 +01:00
Xidorn Quan 31969e33ee Bug 1238536 part 2 - Do not trigger fullscreen changed when switching between fullscreen and minimized. r=karlt
--HG--
extra : source : b110bdb2afcc02f8a59a4398dee20825f7cc0fd0
2016-01-20 09:56:52 +11:00
Xidorn Quan 7757d924da Bug 1238536 part 1 - Do not automatically exit fullscreen if restored from minimized state. r=jimm
--HG--
extra : source : a80520d376ffd1e06da3eece2f814f6dd77b3e82
2016-01-20 09:56:52 +11:00
Sebastian Hengst d8d4a2d1a5 Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller 2d53758d08 Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
--HG--
extra : rebase_source : 51d39d6f88bf58ccb29f5897c3dbbe71007ee842
2016-01-15 11:38:03 +01:00
Carsten "Tomcat" Book 6d5ed63674 merge mozilla-inbound to mozilla-central a=merge 2016-01-19 12:00:45 +01:00
Xidorn Quan 6c3888d288 Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam 2016-01-19 16:48:04 +11:00
Sotaro Ikeda 4f26117e33 Bug 1049296 - Handle Sideband stream compositing in HwcComposer2D r=mwu,nical 2016-01-18 20:52:32 -08:00
Carsten "Tomcat" Book 0886f9ef68 Merge mozilla-central to fx-team 2016-01-18 14:24:37 +01:00
Masayuki Nakano 8b05c85ea0 Bug 1237216 TSFTextStore should forget redundant pending composition events for Korean TIPs r=emk 2016-01-18 16:29:02 +09:00
Sebastian Kaspari 27711ce457 Bug 1227603 - Add support for sub-distributions based on MCC/MNC (SIM). r=margaret,mfinkle
We will now search for distributions in the following folders:

 * 1) Data distributions (APK or OTA):
   * 1.1) <dataDir>/distribution/<mcc>/<mnc> - For bundled distributions for specific network providers
   * 1.2) <dataDir>/distribution/<mcc>       - For bundled distributions for specific countries
   * 1.3) <dataDir>/distribution/default     - For bundled distributions with no matching mcc/mnc
   * 1.4) <dataDir>/distribution             - Default non-bundled distribution

 * 2) System distributions:
   * 2.1) /system/<package>/distribution/<mcc>/<mnc> - For bundled distributions for specific network providers
   * 2.2) /system/<package>/distribution/<mcc>       - For bundled distributions for specific countries
   * 2.3) /system/<package>/distribution/default     - For bundled distributions with no matching mcc/mnc
   * 2.4) /system/<package>/distribution             - Default non-bundled system distribution

--HG--
extra : commitid : BQteGpZX27n
extra : rebase_source : 34d4d468377a9b7487b734fdbb3a8a741828167f
extra : amend_source : b93804da7e3e97c46a3dd7a95da1c3b65e2a29d4
2016-01-15 10:11:34 +01:00
Xidorn Quan 5917f00a73 Backed out changeset e8ad04f3a65f (bug 844948) for reftest failure on OS X 2016-01-18 17:21:12 +11:00
Xidorn Quan f120c8eeda Bug 844948 - Allow changing padding of themed button on OS X. r=mstange,heycam 2016-01-18 14:20:11 +11:00
Masayuki Nakano f52b4c55e1 Bug 1237582 Don't retry to call TSFTextStore::NotifyTSFOfLayoutChangeAgain() when TSFTextStore::NotifyTSFOfLayoutChange() is called from it and newly TSFTextStore returns TS_E_NOLAYOUT error during the call r=m_kato 2016-01-17 12:02:01 +09:00
Jonathan Kew e6a4fbc47c Bug 1239855 - Fix for widget positioning/sizing on hidpi displays under Gtk. r=emk 2016-01-18 12:24:06 +00:00
Jonathan Kew 7c5888a083 Bug 1240180 - Optimize native theme scaling for the single-monitor case. r=emk 2016-01-18 13:28:26 +00:00
Daniel Holbert b5484bb7fc Bug 1240252: Add missing "mozilla::" namespace prefix before usage of type LayoutDeviceIntRegion, to fix local build bustage. r=njn 2016-01-15 22:54:20 -08:00
Jim Chen 11fce4fc7d Bug 1238761 - Autogenerate constants for MotionEvent; r=snorp
This patch autogenerates constants for MotionEvent to replace the manual
definitions in AndroidJavaWrappers.
2016-01-15 13:05:45 -05:00
Jim Chen 06c79783a7 Bug 1238761 - Remove obsolete APZ code; r=rbarker
With APZC supporting multiple nsWindows, this patch removes some
obsolete APZ code, including the previous implementation of
NativePanZoomController native methods in AndroidJNI.cpp, and the
various static members of nsWindow.
2016-01-15 13:05:45 -05:00
Jim Chen fd05d10f32 Bug 1238761 - Rewrite AndroidContentController to work with multiple nsWindows; r=rbarker
This patch rewrites AndroidContentController to get rid of any
dependencies on a static nsWindow or APZC tree manager.
2016-01-15 13:05:45 -05:00
Jim Chen 4ae7f3043b Bug 1238761 - Attach NativePanZoomController through GLController; r=snorp
This patch adds a way to attach a particular NativePanZoomController
instance held by LayerView to a particular nsWindow instance. Because
LayerView already calls GLController.SetLayerClient during
initialization, this patch renames it to attachToJava and modifies it to
accept an additional NPZC parameter. In the new AttachToJava
implementation, we create or reuse a NPZCSupport object and associate it
with the NPZC instance.
2016-01-15 13:05:45 -05:00
Jim Chen 4f73924298 Bug 1238761 - Implement NativePanZoomController native methods; r=rbarker
This patch adds the NPZCSupport class to nsWindow and use it to
implement the NPZC native methods that were implemented in
AndroidJNI.cpp. For HandleMotionEvent, the code also includes a portion
from AndroidJavaWrapper::MakeMultitouchEvent.
2016-01-15 13:05:45 -05:00
Jim Chen bd5c7ad120 Bug 1238761 - Add specializations of jni::Ref for primitive arrays; r=snorp
This patch adds specializations of jni::Ref for primitive arrays like
IntArray and FloatArray, so that the arrays can be accessed through the
GetElement, GetElements, and Length members.
2016-01-15 13:05:44 -05:00
Jim Chen 10166a711a Bug 1238761 - Switch NativePanZoomController to use native methods; r=rbarker
This patch turns NativePanZoomController's MotionEvent handler into a
native method, and it adds the WrapForJNI annotations to all native
methods so that bindings will be automatically generated for them.
2016-01-15 13:05:44 -05:00
Nicholas Nethercote 76dfc05b83 Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.
This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.

--HG--
extra : rebase_source : 81288126b582402408518aecfc304bc128e05d15
2015-11-22 20:32:29 -08:00
Bas Schouten cb06edf308 Bug 1239743: Do not allow windows to be resized to sizes above the maximum texture size. We don't know how to draw to these anyway. r=jimm
--HG--
extra : rebase_source : f1ad0237a72178fb1870bd23ae1aacd098ad995f
2016-01-14 21:17:13 +01:00
Carsten "Tomcat" Book 7e52b24fab merge mozilla-inbound to mozilla-central a=merge 2016-01-15 11:46:47 +01:00
Lee Salzman 466b5fb4c9 Bug 1239040 - Fix DrawTargetCairo/DrawTargetSkia LockBits and BorrowedXlibDrawable to work inside PushLayer. r=jrmuizel 2016-01-13 13:11:07 -05:00
Jim Chen bd05e534d1 Bug 1238413 - Guard against drawing methods being called during compositor shutdown; r=snorp
When waiting for the compositor to shut down, it's possible for
nsWindow::DrawWindowunderlay and DrawWindowOverlay to be called. In that
case, the GL controller is already destroyed, and we should just bail.
2016-01-14 18:20:02 -05:00
Wes Kocher 136dd4b97a Backed out changeset 7bd651ae54dd (bug 1192945) to hopefully fix 1231429 a=ritu
--HG--
extra : commitid : 4yAGbFnOUrd
extra : source : 5c042dab34a257de85b7eaf2bc81aaad16b8a1b0
extra : intermediate-source : beff2f1d75224ad339a965e02f9193a9a4f43e79
2016-01-14 15:40:56 -08:00
Nicholas Nethercote 7892cfcede Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
--HG--
extra : rebase_source : b5bd2d6822904a188242efa6e46aaed9f96a15b9
2015-12-02 22:29:54 -08:00
Nicholas Nethercote 868fc092d2 Bug 1239530 (part 1) - Remove PuppetWidget::Scroll(), which is dead. r=kats.
--HG--
extra : rebase_source : aaef0387855da0d7facdcbead16d51f3bdb2a47f
2016-01-13 00:28:36 -08:00
Jan de Mooij a057dc3075 Bug 1237201 part 9 - Fix remaining issues. r=nfroyd
--HG--
extra : rebase_source : fcb2bebb2a30c813b577d6f0f753cd04c69db2c3
2016-01-14 22:12:13 +01:00
Ryan VanderMeulen a152a34ff2 Bug 1239683 - Replace NS_UNCONSTRAINEDSIZE with NS_MAXSIZE in windows/nsWindow.cpp. r=mats 2016-01-14 14:46:29 -05:00
Ryan VanderMeulen 4d4279e120 Bug 1239683 - Add nsIFrame.h include to windows/nsWindow.cpp to fix --disable-accessibility bustage. r=jfkthame 2016-01-14 11:41:29 -05:00
Carsten "Tomcat" Book 2466aecfb9 merge mozilla-inbound to mozilla-central a=merge 2016-01-14 11:50:34 +01:00
Kit Cambridge b88c662ff9 Bug 1219855, Part 3 - Fix variable shadowing in `OSXNotificationCenter::ShowAlert`. r=me
--HG--
extra : commitid : prNOLvJwOX
2016-01-13 23:26:41 -07:00
Sotaro Ikeda e6486fd6be Bug 1237914 - Remove layers.screen-recording.enabled r=mwu 2016-01-13 20:45:57 -08:00
Sotaro Ikeda 41edebedd1 Bug 1238876 - Move StartRemoteDrawing() implementation from nsWindow to nsScreenGonk r=mwu 2016-01-13 20:37:56 -08:00
Wes Kocher b69d9b88c5 Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage. a=backout
--HG--
extra : source : f1ebaf0ca07195b30c8f6deec5e0131043fa17c2
2016-01-13 12:57:45 -08:00
Wes Kocher e125261ad0 Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage
--HG--
extra : commitid : Loy7lXlfDiR
2016-01-13 12:57:45 -08:00
Jim Chen d07b0750ba Bug 1237932 - Fix crash when renewing EGL surface fails; r=snorp
We shouldn't crash when renewing an EGL surface fails, because the
compositor is able to handle it gracefully.
2016-01-13 14:35:27 -05:00
Jim Chen 85514b694a Bug 1237690 - Fix possible deadlock in nsAppShell::SyncRunEvent; r=snorp
In order to prevent the deadlock, we need to release sAppShellLock when
we start waiting in SyncRunEvent. However, we cannot simply unlock it
before the wait because that introduces an out-of-order unlocking wrt
mSyncRunMonitor, which can cause further deadlocks. So this patch
converts mSyncRunMoitor to a condvar and make it use sAppShellLock. That
then involves making aAppShellLock a Mutex instead of a StaticMutex. The
final result is having one lock (sAppShellLock), which supports any
other condvars that we have like mSyncRunFinished.
2016-01-13 14:35:27 -05:00
JerryShih f691273efc Bug 1231042 - clean current composition task and related flag when screen off. r=hshih
--HG--
extra : rebase_source : c298845ec4d25b4398751b57d68ef653a93e3687
2016-01-12 23:15:00 +01:00
Carsten "Tomcat" Book 8bb4e16a15 Merge mozilla-central to mozilla-inbound 2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book d833f9ba1a merge mozilla-inbound to mozilla-central a=merge 2016-01-13 11:57:15 +01:00
Masayuki Nakano a8ff928f0d Bug 1238899 Create hidden native caret for ATOK at composing in windowless plugin r=m_kato 2016-01-13 12:44:39 +09:00
Jonathan Kew 2ff25b1f53 Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange 2016-01-13 07:32:55 +00:00
Kit Cambridge 7bf3de48ab Bug 1219855, Part 1 - Make `nsXULAlerts` implement `nsIAlertsService`. r=MattN,wchen
--HG--
extra : commitid : IXcGploxKLn
extra : rebase_source : b289323b92409c857a370e3a2fe44d772b0ebadb
2015-12-31 13:27:09 -07:00
Xidorn Quan 4bbc84cc04 Bug 1189622 part 3 - Return failure if fullscreen support is not available for the X11 desktop. r=karlt
--HG--
extra : source : 26b74750e3c4ff26bc8e467a7d2db6699864d319
extra : amend_source : beb5649f71ff14f68b2073a761159857242ce178
2016-01-12 15:18:47 +11:00
Xidorn Quan 42b9ed4bfc Bug 1189622 part 2 - Allow widget's MakeFullScreen to fail, and call FinishFullscreenChange directly if that happens. r=smaug
--HG--
extra : source : a851e10d72b71dbd7bab21e3e6ef80214f680b9b
2016-01-12 15:18:47 +11:00
Jonathan Kew 714e585ffa Bug 890156 - patch 9 - Adjustment to non-client margin at top of maximized window on secondary display. r=emk 2015-12-03 16:50:59 +00:00
Jonathan Kew d178c6596d Bug 890156 - patch 5 - Make Windows native-theme code handle per-monitor DPI scaling when necessary. r=emk 2015-12-02 20:54:26 +00:00
Jonathan Kew 61bb2f1169 Bug 890156 - patch 4 - Update widget/windows code for per-monitor DPI support. r=emk 2015-12-04 16:59:14 +00:00
Jonathan Kew 925e9cfb7f Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk 2015-12-02 15:09:29 +00:00
Jonathan Kew 45d2ab27ce Bug 890156 - patch 2 - Expose DevicePixelsPerDesktopPixel through nsIBaseWindow and its implementations. r=emk 2015-11-25 19:12:07 +00:00
Jonathan Kew e404911268 Bug 890156 - patch 1 - Add nsIWidget::GetDesktopToDeviceScale() method. r=emk 2015-12-04 16:58:05 +00:00
Jonathan Kew 84b8c3a0a4 Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
Jonathan Kew 3d48351585 Bug 890156 - patch 0.2 - Remove the (unused) aRect parameter from nsBaseWidget::BaseCreate. r=kats 2016-01-13 07:32:55 +00:00
Jonathan Kew df4ffa594d Bug 890156 - patch 0.1 - Switch from 'display pixels' to 'desktop pixels' terminology in widget code. r=kats 2015-11-25 19:11:58 +00:00
Masayuki Nakano d35df077c0 Bug 1235686 part.4 Don't trust system settings cache if Apoint of Alps is installed r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano 03f6af9d97 Bug 1235686 part.3 Don't trust system settings cache if SynTP of Synaptics is installed r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano 96f8c9b9a6 Bug 1235686 part.2 Don't refresh the cache of system settings at handling wheel messages if the scroll amout values are initialized with prefs r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano c218da049b Bug 1235686 part.1 MouseScrollHandler should refresh the cache of system settings at handling wheel messages if the pref doesn't allow to cache system settings r=jimm 2016-01-13 10:49:38 +09:00
Masayuki Nakano 5733b55a52 Bug 1208977 TSFTextStore::GetTextExt() shouldn't return TS_E_NOLAYOUT for MS-IME for Japanese becasue it may position its candidate window at top-left of the screen in e10s mode r=emk 2016-01-11 17:25:43 +09:00
Nicholas Nethercote 88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Wes Kocher cf9b6c8840 Backed out changeset e5a4787cccce (bug 1237463) for being the apparent cause of frequent Windows 8 debug Cpp failures ending in return code 2147483651 a=backout
--HG--
extra : commitid : 1vTnhB6kl4f
extra : amend_source : 93768a25189bda3a52826d16fe1912e05b95fc73
2016-01-08 14:42:37 -08:00
Karl Tomlinson e8feab9b63 bug 726265 don't activate ELAN swipe hack unless ScanCode is zero r=heycam
On some hardware, GetKeyState(0xFF) returns negative even when Elantech
messages are not involved.  This change permits Page Up and Page Down keys
to function as expected on this hardware.

--HG--
extra : rebase_source : 175d6288bef78eea054fcf577a61cb18ea1f0061
extra : amend_source : 69c66a12e8f27331515f8a60f256a5ba663583bd
2016-01-07 17:31:35 +13:00
Aaron Klotz edd70043d1 Bug 1237463: LSP Annotator Enhancements; r=jimm
--HG--
extra : rebase_source : 6e40ed6188a73ee1c0fa719055262a72bd2b4aed
2016-01-06 16:58:13 -07:00
Nicholas Nethercote ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Jan Horak 5a90e8dbd8 Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt 2016-01-06 23:55:00 -05:00
Ian Stakenvicius 06e4a6f988 Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer on widget/qt too. r=froydnj 2016-01-07 09:45:00 -05:00
Kartikaya Gupta 0c40233914 Bug 1235994 - Add a flag to wheel events to track if they may have momentum following them. r=mstange
--HG--
extra : commitid : EAEUoOFxeOj
2016-01-07 10:39:37 -05:00
Carsten "Tomcat" Book c3c9e7c565 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Chris H-C 4236137699 Bug 1235821 - Don't track mouseleave when capturing mouse. r=jimm
Since, in Windows, the tabbar overlays the "nonclient" area, TrackMouseEvent
will report a WM_MOUSELEAVE when you move your mouse when dragging a tab.

So, suspend mouseleave tracking when capturing and resume when we end capture.

A nice effect of TrackMouseEvent is that it'll immediately post a WM_MOUSELEAVE
if called when the mouse is outside the client area, so when capture ends, we
are either over the client area and tracking resumes or we aren't and we get
an immediate WM_MOUSELEAVE.
2016-01-06 10:48:00 -05:00
Andrzej Hunt b2f4ef185e Bug 826400 - Part 3: Simplify homescreen shortcut creation, and use apple-touch-icon if available r=nalexander,jchen
--HG--
extra : commitid : Lrq38uwy1sQ
2015-12-29 11:49:54 -08:00
Sotaro Ikeda 22854d8a96 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00
Wes Kocher e0dc3b7265 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : 4JS7aaOzaVD
extra : amend_source : 249ac0feaf4a6ea8ad5d2ef9de63d4c5baee012b
2016-01-05 16:52:09 -08:00
Wes Kocher 5c5db39163 Merge fx-team to m-c a=merge CLOSED TREE
--HG--
extra : commitid : 8cnDWzxc5CW
2016-01-05 16:34:06 -08:00
Wes Kocher 9b5c90690e Merge inbound to m-c a=merge
--HG--
extra : commitid : I44HufYdnXT
2016-01-05 16:02:49 -08:00
Carsten "Tomcat" Book d92e3c9113 Merge mozilla-central to b2g-inbound 2016-01-05 12:03:29 +01:00
Gabriele Svelto 6f8e5e39bd Bug 1234176 - Introduce a dynamic trigger to send memory pressure events before background applications are reaped by the LMK. r=dhylands
--HG--
extra : rebase_source : 3aab2373d3064854ff4639e78feff052c06ada8d
2015-12-29 11:55:41 +01:00
Ryan VanderMeulen 9d6dd58a96 Backout changeset 2f4991bbb9fb2fc97b1dadf9b8fb9b465f12b87b (bug 1221659) for making test_fullscreen-api-race.html and test_fullscreen-api.html nearly perma-timeout on Linux32. 2016-01-01 17:17:21 -05:00
Bob Owen 6e3ae6eaf0 Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen e1c9d379a7 Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen fdd98bfb6b Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2016-01-05 10:08:57 +00:00
Bob Owen f35de7e1be Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2016-01-05 10:08:57 +00:00
Bob Owen c38abff973 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2016-01-05 10:08:57 +00:00
Milan Sreckovic 3ebd8ac2fd Bug 1235858 - Record the time stamp, use it for crash reports. r=botond 2015-12-30 11:47:00 +01:00
Jonathan Griffin 59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Nathan Froyd b8d9784912 Bug 1236566 - add override declarations for widget/windows/GfxInfo.h; r=roc 2015-12-16 11:58:46 -05:00
Xidorn Quan fa0a8a0dab Bug 1221659 - Make fullscreen transition on Linux take the designed time. r=roc
--HG--
extra : source : 21cfbbcc327aff9b56a8f10579d9dd485afc9be3
2016-01-05 10:00:37 +11:00
Nicholas Nethercote 13900c6d32 Bug 1232219 (part 2) - Fix -Wunused warnings in widget/gtk/. r=karlt.
--HG--
extra : rebase_source : 795375a10cb8358a83be25560823be13c50b5180
2015-12-16 22:24:21 -08:00