David Anderson
eb3af90ef3
Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats)
2014-12-15 23:31:12 -08:00
Kestrel
fc4de6f674
Bug 257363 - Update sLastMouseDownTime when double-clicking to make triple-clicking easier to perform. r=Enn
2014-11-30 03:27:00 -05:00
Carsten "Tomcat" Book
87d20320a9
Backed out changeset eb6981f3c136 (bug 966157) for m5 test failures on a CLOSED TREE
2014-12-15 12:27:36 +01:00
Carsten "Tomcat" Book
d7821c83cb
Backed out changeset 212f295a955d (bug 966157)
2014-12-15 12:26:35 +01:00
David Anderson
2a09e33abb
Clean up APZCTM initialization on Android. (bug 1110540 part 3, r=kats)
2014-12-15 01:49:51 -08:00
David Anderson
d556e1e7b3
Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats)
2014-12-15 01:49:48 -08:00
David Anderson
104a98a38b
Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats)
2014-12-15 01:47:15 -08:00
Makoto Kato
4e481f25ad
Bug 966157 - Part 2. Child process should listen NOTIFY_IME_OF_POSITION_CHANGE. r=masayuki
2014-12-15 18:37:00 +09:00
Makoto Kato
620e62e150
Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki
2014-12-15 18:21:20 +09:00
Ehsan Akhgari
a7d06addb0
Bug 1111242 - Use std::abs instead of fabsf in nsChildView.mm; r=josh
...
clang gives the following warning on these fabs usages:
absolute value function 'fabsf' given an argument of type 'CGFloat' (aka 'double') but has parameter of type 'float' which may cause truncation of value [-Wabsolute-value]
--HG--
extra : amend_source : 1c2352555626c0b412bdd5c383074726f84e2c7b
2014-12-14 14:58:56 -05:00
Chris Peterson
2eb0029bb5
Bug 1110641 - Remove unused variable minWidth
and "ui.plugin.panel.min-width" pref from widget/cocoa/ComplexTextInputPanel.mm. r=josh
2014-12-11 23:04:36 -08:00
Botond Ballo
550ec2d464
Bug 1073081 - Fix -Woverloaded-virtual warnings in gonk code. r=sotaro
...
--HG--
extra : source : c1ae176debd74464094cbb6db1254c7fbd55a271
2014-11-24 20:03:27 -05:00
Botond Ballo
8296035077
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
7a90ff53d7
Bug 1073081 - Fix -Wattribute warnings by disabling them. r=ehsan,ted
...
--HG--
extra : source : 8393f458463ff465c0862209a7bef284e5ce6b48
2014-11-24 19:43:19 -05:00
Botond Ballo
81bbb8a3de
Bug 1073081 - Fix -Wattribute warnings by removing MOZ_EXPORT from forward declarations. r=ehsan
...
--HG--
extra : source : 25145aa73cb75faa067ec96114968bc55bf7bbac
2014-11-24 19:40:59 -05:00
Botond Ballo
b08ca88b2a
Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
...
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Ehsan Akhgari
309b4049b4
Bug 649012 - Fail mochitest-plains which use flaky timeouts (setTimeout(x) for x > 0); r=ted
...
We are white-listing the existing set of tests that use setTimeout
like this. Hopefully these tests will be investigated and fixed
in the future, so that we can narrow down the white-list.
This check is only turned on for mochitest-plain for now.
2014-12-11 13:34:40 -05:00
Christoph Kerschbaumer
104710f346
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - widget/ changes (r=blassey)
2014-12-12 09:08:14 -08:00
Phil Ringnalda
9c4b09285b
Backed out 15 changesets (bug 1087442)
...
Backed out changeset 3f4166fb5e37 (bug 1087442)
Backed out changeset 0c9c9123a0a9 (bug 1087442)
Backed out changeset 1d85d298042d (bug 1087442)
Backed out changeset 51f3ce397d68 (bug 1087442)
Backed out changeset f3b81a623692 (bug 1087442)
Backed out changeset 472e8fa74596 (bug 1087442)
Backed out changeset 12f97df7b79c (bug 1087442)
Backed out changeset 253cde88d3c5 (bug 1087442)
Backed out changeset b44f9ebd56cb (bug 1087442)
Backed out changeset 48e412887726 (bug 1087442)
Backed out changeset a2c76343f7a9 (bug 1087442)
Backed out changeset 0b5b07cfef0e (bug 1087442)
Backed out changeset 2931c35342a4 (bug 1087442)
Backed out changeset 681ce9dcad64 (bug 1087442)
Backed out changeset 47c505856954 (bug 1087442)
2014-12-11 21:58:21 -08:00
Christoph Kerschbaumer
033778a006
Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - widget/ changes (r=blassey)
2014-12-11 20:47:23 -08:00
Sotaro Ikeda
018c04a66a
Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical
2014-12-11 07:15:52 -08:00
Josh Aas
6141b5290e
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Oleg Romashin
f779af664f
Bug 1103412 - Gecko does not compile with printing disabled. r=mconley
2014-11-22 12:15:00 +01:00
David Anderson
88a08ca9ca
Move APZ handling of wheel events from nsWindow to RenderFrameParent. (bug 1013432 part 7, r=kats)
...
--HG--
extra : rebase_source : 6ee0db41a21d333deb511a6403f8178b7fe01bb9
2014-12-09 02:42:49 -08:00
David Anderson
3061888891
Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
...
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
Wes Kocher
c659ea6bce
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00
Denis Volk
c3639f1324
Bug 1095098: move do_QueryObject templates into their own header r=froydnj
2014-11-20 12:20:10 +01:00
Martin Stransky
f0f1357ef4
Bug 1073117 - [gtk3] Use GTK_STYLE_CLASS_VIEW style for selected text rendering. r=karlt
...
It also merges some duplicated colors and adds GTK_STATE_FLAG_FOCUSED for selected text.
2014-12-08 01:35:00 -05:00
Martin Stransky
ff4f3a8ec3
Bug 1073117 - Add new GTK_STATE_FLAG_CHECKED for checkbox rendering. r=karlt
2014-12-02 07:14:00 -05:00
Sotaro Ikeda
0fb912bbcc
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Bas Schouten
f3161fe1af
Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
...
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
Milan Sreckovic
df72dbce6c
Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange
2014-11-28 17:28:59 -05:00
Jonathan Kew
9934f20290
Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug
2014-12-04 18:15:43 -08:00
Martin Stransky
5bee918a9f
Bug 1101582 - [GTK3] - Use window background color for ThreeDFace,ButtonFace. r=karlt
...
This fixes missing borders on non-natively-styled textareas.
2014-11-27 04:08:00 +01:00
Nicolas Silva
33a59b52e5
Bug 1099252 - Blocklist ATI graphics driver version 8.832.0.0. r=Bas
2014-12-01 16:21:37 -08:00
Ehsan Akhgari
6e5adf96c4
Bug 1106116 - Load images for notifications triggered from private browsing windows as private; r=jdm
2014-11-28 14:08:29 -05:00
Jacek Caban
fa07b549d1
Bug 1102804 - Fixed -Wparentheses warnings found in mingw build (gfx and widget part). r=jmathies
2014-11-27 10:58:41 +01:00
James Willcox
f69c689b6d
Bug 1099345 - Do not run the Android SDK code generator tool in parallel r=nalexander
2014-11-26 17:52:08 -06:00
James Willcox
251f0db29a
Bug 1099345 - Add more descriptive debugging output to the Android SDK code generator r=nalexander
...
--HG--
extra : rebase_source : 47d675ebe19db1a488498a19834674fe2fd8dc4f
2014-11-26 15:16:08 -06:00
George Wright
4dda2bc537
Bug 1068626 - Don't try to paint a popup widget if we're in e10s and the content process r=jimm
2014-11-20 12:28:58 -05:00
Masayuki Nakano
dc5fa0384f
Bug 1077345 part.13 nsGtkIMModule should use NS_COMPOSITION_COMMIT* event r=m_kato
2014-11-25 14:02:34 +09:00
Masayuki Nakano
450ccc3f48
Bug 1077345 part.12 IMEInputHandler of Cocoa should use NS_COMPOSITION_COMMIT* event r=smichaud
2014-11-25 14:02:34 +09:00
Masayuki Nakano
c162e2ae7d
Bug 1077345 part.11 nsIMM32Handler should use NS_COMPOSITION_COMMIT event and NS_COMPOSITION_COMMIT_AS_IS event r=emk
2014-11-25 14:02:33 +09:00
Masayuki Nakano
2f05a812fe
Bug 1077345 part.10 nsTextStore should use NS_COMPOSITION_COMMIT event r=emk
2014-11-25 14:02:33 +09:00
Masayuki Nakano
fa4d0805b0
Bug 1077345 part.9 nsWindow for Android should use NS_COMPOSITION_COMMIT* event r=nchen
2014-11-25 14:02:33 +09:00
Masayuki Nakano
6169af4b21
Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
5fcfc13038
Bug 1077345 part.6 Add NS_COMPOSITION event which automatically commits composition with its mData r=smaug
2014-11-25 14:02:32 +09:00
Masayuki Nakano
fb530e9039
Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug
2014-11-25 14:02:31 +09:00
Masayuki Nakano
15a6678731
Bug 1077345 part.4 Add NS_COMPOSITION_COMMIT_AS_IS event which automatically commits composition with the last data r=smaug
2014-11-25 14:02:31 +09:00
Masayuki Nakano
e2b3224ece
Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug
2014-11-25 14:02:30 +09:00
Markus Stange
ae707003c0
Bug 1102823 - Zoom the window when the title bar is double clicked, if enabled. r=smichaud
2014-11-24 16:53:33 -05:00
Jacek Caban
aaebfd8017
Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow
2014-11-24 11:19:36 +01:00
Jonathan Watt
15d307f095
Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow
2014-11-20 10:40:04 +00:00
Jonathan Kew
b46cdcbf39
Bug 1077515 - part 11 - Remap arrow keys for vertical writing mode in the Gtk widget code. r=roc
2014-11-22 14:39:04 +00:00
Jonathan Kew
07150aee5a
Bug 1077515 - part 5 - Remap arrow keys for vertical writing-mode in the Cocoa key-bindings code. r=roc
2014-11-22 14:39:03 +00:00
Jonathan Kew
d0f9e25a27
Bug 1077515 - part 4 - Add writing-mode to the reply to the NS_QUERY_SELECTED_TEXT event. r=roc
2014-11-22 14:39:03 +00:00
Wes Kocher
628e950175
Merge m-c to inbound a=merge
2014-11-21 16:59:03 -08:00
Wes Kocher
6f52860db6
Merge inbound to m-c a=merge
2014-11-21 16:35:57 -08:00
Wes Kocher
17b0884718
Backed out changeset 82e94c16732d (bug 1101974)
2014-11-21 10:52:24 -08:00
Carsten "Tomcat" Book
964c8a9477
Merge mozilla-central to b2g-inbound
2014-11-21 13:02:49 +01:00
Steven Michaud
5cc23bd7bc
Bug 1102295 - Get country data on the Mac. r=bsmedberg
2014-11-21 18:23:09 -06:00
Wes Kocher
bd2d8e4a73
Backed out changeset 2bf5b03a15da (bug 1068626) for build bustage
2014-11-21 14:46:20 -08:00
George Wright
b0bf301235
Bug 1068626 - Don't try to paint a popup widget if we're in e10s and the content process r=jimm
2014-11-20 12:28:58 -05:00
Neil Rashbrook
d35c2686c4
Bug 1102855 Fix uninitialised variable r=jimm
2014-11-21 19:50:35 +00:00
Boris Chiou
ea235593c4
Bug 1100727 - Port LL FrameBufferSurface to gonk. r=mwu
...
Use the new API, BufferQueue::createBufferQueue() to new the consumer
and the producer on LL.
2014-11-19 23:03:00 +01:00
Markus Stange
278f4b9aff
Bug 1102304 - Fix crash in 32 bit mode on 10.10 by correcting the _addKnownSubview signature. r=smichaud
...
This just copies the definition for the documented -[NSView addSubview:positioned:relativeTo:] method, which is the exact counterpart of this (undocumented) method. Using "long long" for the positioned: argument was wrong - the real type is NSWindowOrderingMode, which is typedefed to NSInteger, which is pointer-sized and thus doesn't match long long on 32 bit.
2014-11-20 13:23:41 -05:00
Karl Tomlinson
0a52493d8d
bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
...
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Mason Chang
bebd67962c
Bug 1101974. Part 1. Move VsyncDispatcher to CompositorParent. r=roc
2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
ac4942d083
Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt
2014-07-09 12:29:28 -07:00
Boris Chiou
4b888d9c25
Bug 1096139 - Create websocket dynamically after we enable Layerscope. r=dglastonbury
...
We have to create the websocket if it doesn't exist after enabling
Layerscope. Therefore, we don't have to reboot the device anymore.
1. Remove the Init and DeInit in CreateCompositor and DestroyCompositor
to prevent some unwanted deInits on the browser. (Our browser often
calls DestroyCompositor)
2. Initize websocket only when we need it.
2014-11-20 02:00:00 +01:00
Tatiana Meshkova
ee4083a44f
Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3)
2014-11-19 22:02:51 -08:00
Wes Kocher
4cb3f3bc44
Merge actual fx-team (previous merge push was a mislabeled inbound merge) to m-c a=merge
2014-11-19 18:49:45 -08:00
Nick Alexander
562d592bff
Bug 1099345 - Use pattern rule to generate multiple outputs in widget/android/bindings. r=gps
...
This works around a race condition observed with GENERATED_SOURCES. A
global solution might be to make GENERATED_SOURCES part of the
'export' tier; this is a smaller fix.
--HG--
rename : widget/android/bindings/mediacodec-classes.txt => widget/android/bindings/MediaCodec-classes.txt
rename : widget/android/bindings/surfacetexture-classes.txt => widget/android/bindings/SurfaceTexture-classes.txt
extra : rebase_source : 073dadd8c1b48ea32f975b2232c2bdeafe315ab4
2014-11-19 11:33:05 -08:00
Nick Alexander
f16d77b0a2
Bug 1099501 - Export and use ANDROID_TOOLS where appropriate. r=snorp,bnicholson
...
In certain configurations, in particular when installing the Android SDK
using HomeBrew, one sees a configuration with symlinks like:
[brian@brian-macbook git]$ ls -l /usr/local/Cellar/android-sdk/23.0.2/
total 72
...
lrwxr-xr-x 1 brian admin 38 Nov 14 16:39 platforms -> ../../../var/lib/android-sdk/platforms
...
drwxr-xr-x 26 brian admin 884 Nov 14 17:43 tools
In this case, we have
ANDROID_SDK=/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21.
It is an anti-pattern to use ANDORID_SDK/.. to find other paths in the
tree. This pattern is used in at least two places:
1) When we try to find
/usr/local/Cellar/android-sdk/23.0.2/platforms/android-21/../../tools,
we end up in the /usr/local/var/lib subtree. This patch works around
that by exporting and using ANDROID_TOOLS; ANDROID_TOOLS itself is
extracted using path matching, rather than following .. through the
filesystem.
2) We also need to use ANDROID_SDK_ROOT rather than
ANDROID_SDK/../.. through-out.
--HG--
extra : rebase_source : 5e0323a94f2b80550f17a624e16f338cdeec406d
2014-11-17 11:12:00 -08:00
Jeff Muizelaar
2e91f43b73
Bug 1092260. Use PREVENT_INTERNAL_THREADING_OPTIMIZATIONS with D3D11. r=bas
...
Using this seems to avoid the AMD frame delay bug.
--HG--
extra : rebase_source : 1b867ebfef30d1c1a426c7510591770f362d2b28
2014-11-18 17:29:57 -05:00
Mason Chang
a88f78597a
bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc
2014-11-18 13:28:42 -08:00
Mason Chang
e356eb5ca2
Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa
2014-11-18 13:28:42 -08:00
Mason Chang
a549f6a91c
bug 552020 Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange
2014-11-18 13:28:42 -08:00
Markus Stange
08f988597b
Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud
2014-11-18 11:36:07 -05:00
Jeff Muizelaar
4b0029fdf7
Bug 1073036. layers: Track program state more carefully to avoid setting unnecessarily. r=nical
...
This introduces some infrastructure to start tracking the program state more carefully. Currently
it only tracks the program because UseProgram was showing up the most in profiles, but more
state could also be added as needed.
--HG--
extra : rebase_source : 289ab867ef63032f7604a6cbe6d0230fd0a9411a
2014-11-10 14:34:06 -05:00
Sid Stamm
7840802ff5
Bug 704320 - apply referrer policies to image loads (r=seth)
2014-11-18 08:46:53 -05:00
Milan Sreckovic
361b6464fe
Bug 1094338 - Allow depth texture on OS X 10.8.3 and higher. Clean up some OS X versioning tracking in the process. r=jgilbert
2014-11-10 22:15:22 -05:00
David Anderson
c861d41def
Forward Windows scroll events to APZ when async scrolling is enabled. (bug 1086162 part 2, r=jmathies)
2014-11-17 20:59:17 -08:00
David Anderson
ec1f0caf28
Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats)
2014-11-17 20:56:18 -08:00
Seth Fowler
8272e602b4
Bug 1098202 (Part 1) - Rename imgINotificationObserver handlers to be consistent with the notifications they handle. r=tn
...
--HG--
extra : rebase_source : 991d277afba4826ed403b74bbcbb9408b3dac0cc
2014-11-17 14:29:56 -08:00
Jeff Gilbert
e448f5e8d9
Bug 1096633 - Allow webgl/experimental-webgl aliasing. - r=kamidphish
2014-11-10 15:16:50 -08:00
Martin Stransky
86858689d2
Bug 1097592 - Don't use PR_FindFunctionSymbolAndLibrary to avoid app freeze, r=karlt
2014-11-14 06:32:00 +01:00
Nicolas Silva
54e1f713e2
Bug 1074378 - Blocklist D3D11 on Windows 7 with intel driver version 8.15.10.1749. r=Bas
2014-11-19 11:25:21 +01:00
Jeff Muizelaar
c4aa51d734
Bug 1092260. Block D3D11 layers on AMD hardware that delays by a frame. r=bas
...
It seems that some AMD drivers delay D3D11 output by a frame.
This shows up in other apps like Chrome:
https://code.google.com/p/chromium/issues/detail?id=402134
--HG--
extra : rebase_source : 6c2137edea70a655c0838d5a5b7d71e04cec74b3
2014-11-17 15:54:08 -05:00
Jim Mathies
f19d53ef64
merge
2014-11-17 11:51:55 -06:00
Jim Mathies
b15f339c83
Backout bug 506815 (7c97034feb78), for causing bug 1085027. r=backout
2014-11-17 11:51:09 -06:00
mycoolclub
e9eac9eb85
Bug 506815 - Replace old MouseTrailer code with TrackMouseEvent api. r=jimm
2014-10-01 02:38:00 +02:00
Wes Kocher
39403ad7cb
Merge m-c to inbound a=merge
2014-09-30 17:10:24 -07:00
Wes Kocher
69e56bd2f8
Merge b2g-inbound to m-c a=merge
2014-09-30 16:42:03 -07:00
Jim Chen
0060658fc5
Bug 888482 - Send event to set layer client; r=snorp
2014-09-30 18:20:58 -04:00
Jim Chen
74215ff3b3
Bug 888482 - Make new event to set layer client in Gecko; r=snorp
2014-09-30 18:20:58 -04:00
Jeff Muizelaar
6e8d0fadde
Bug 1066664. Fix screenshot rotation. r=mwoodrow
...
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04:00
Bas Schouten
d4f843b183
Bug 1060736: Disable all acceleration on HD 3000 for driver versions 2321 or lower. r=nical
2014-09-29 17:57:54 +02:00
Markus Stange
b099146594
Bug 1073570 - Reset the base CTM after native widget drawing. r=smichaud
2014-09-30 13:51:54 +02:00
Chris Jones
739e3a3242
Bug 1069573 - Use the bKGD PNG background color (if present) to fill the background of animation frames. r=mwu
2014-09-25 19:18:21 -07:00