Commit Graph

17244 Commits

Author SHA1 Message Date
Markus Stange
c5cd289dbc 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
416d586a14 Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Jonathan Watt
e598736fc1 Bug 1103621 - Get rid of GraphicsOperator::OPERATOR_CLEAR. r=mattwoodrow 2014-11-20 10:40:04 +00:00
Jonathan Kew
6a598abe4a 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
9fd75be794 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
b211ed7ac5 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
2eee22390d Merge m-c to inbound a=merge 2014-11-21 16:59:03 -08:00
Wes Kocher
1b666e0294 Merge inbound to m-c a=merge 2014-11-21 16:35:57 -08:00
Wes Kocher
6b37217a66 Backed out changeset 82e94c16732d (bug 1101974) 2014-11-21 10:52:24 -08:00
Carsten "Tomcat" Book
969509b198 Merge mozilla-central to b2g-inbound 2014-11-21 13:02:49 +01:00
Steven Michaud
86cf3dd3b0 Bug 1102295 - Get country data on the Mac. r=bsmedberg 2014-11-21 18:23:09 -06:00
Wes Kocher
b69e99d50c Backed out changeset 2bf5b03a15da (bug 1068626) for build bustage 2014-11-21 14:46:20 -08:00
George Wright
1a735f100b 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
8762ca6a06 Bug 1102855 Fix uninitialised variable r=jimm 2014-11-21 19:50:35 +00:00
Boris Chiou
0ae1cd5f57 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
21ed419cc4 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
ed15675b8b bug 1096132 rename UnscaledAppUnitsPerDevPixel() to AppUnitsPerDevPixelAtUnitFullZoom() r=tn
--HG--
extra : rebase_source : 220ede5d449a752c16064bb77905bc68af3df707
2014-11-14 00:53:02 +13:00
Mason Chang
bc4ddfe26e Bug 1101974. Part 1. Move VsyncDispatcher to CompositorParent. r=roc 2014-11-21 09:16:19 -08:00
Vladimir Vukicevic
54548bfc2b 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
fe464f5aa9 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
3234ab1f7d Bug 1023156 - Cannot build Qt with errors in gfxQtPlatforms (with Qt 5.3) 2014-11-19 22:02:51 -08:00
Wes Kocher
c86c58697d 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
80c87b9ae3 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
3cab90a5de 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
5b9dfb3684 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
de0e409177 bug 552020 Part 3: Enable Creation of mozilla::TimeStamp from system timestamps. r=roc 2014-11-18 13:28:42 -08:00
Mason Chang
0818de546a Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-18 13:28:42 -08:00
Mason Chang
74c80403e2 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
199abc8ce2 Bug 1097354 - Silence "adding an unknown subview" warning by calling _addKnownSubview. r=smichaud 2014-11-18 11:36:07 -05:00
Jeff Muizelaar
31512f67b3 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
55e3ccdad7 Bug 704320 - apply referrer policies to image loads (r=seth) 2014-11-18 08:46:53 -05:00
Milan Sreckovic
e879ad97c7 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
e05810e552 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
028b163679 Add APZ handling for desktop scroll wheel events. (bug 1086162 part 1, r=kats) 2014-11-17 20:56:18 -08:00
Seth Fowler
a886c715d8 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
ce5cd8ab32 Bug 1096633 - Allow webgl/experimental-webgl aliasing. - r=kamidphish 2014-11-10 15:16:50 -08:00
Martin Stransky
a822f9a7f4 Bug 1097592 - Don't use PR_FindFunctionSymbolAndLibrary to avoid app freeze, r=karlt 2014-11-14 06:32:00 +01:00
Nicolas Silva
ef2ae0a91b 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
bb0ca8f88d 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
933c3c2f1a merge 2014-11-17 11:51:55 -06:00
Jim Mathies
f1faa81654 Backout bug 506815 (7c97034feb78), for causing bug 1085027. r=backout 2014-11-17 11:51:09 -06:00
mycoolclub
73c841fc10 Bug 506815 - Replace old MouseTrailer code with TrackMouseEvent api. r=jimm 2014-10-01 02:38:00 +02:00
Wes Kocher
4d9a345155 Merge m-c to inbound a=merge 2014-09-30 17:10:24 -07:00
Wes Kocher
9e83c932d2 Merge b2g-inbound to m-c a=merge 2014-09-30 16:42:03 -07:00
Jim Chen
f6e00ce7f5 Bug 888482 - Send event to set layer client; r=snorp 2014-09-30 18:20:58 -04:00
Jim Chen
fb28ffc373 Bug 888482 - Make new event to set layer client in Gecko; r=snorp 2014-09-30 18:20:58 -04:00
Jeff Muizelaar
ef58f4304f 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
ee090394fb 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
66bac03572 Bug 1073570 - Reset the base CTM after native widget drawing. r=smichaud 2014-09-30 13:51:54 +02:00
Chris Jones
c311c93a34 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
Jim Mathies
af9be8e2a8 Bug 1072417 - Remove the browser.tabs.remote pref and turn everything it controls on by default. r=felipe 2014-09-29 16:11:08 -05:00
Ryan VanderMeulen
87e1d173f4 Backed out changesets a99bd0b3b075, a7fb851f823a, and 9fc2d99376cd (bug 552020) for non-unified bustage and OSX 10.6 tsvgr crashes.
CLOSED TREE
2014-11-14 15:57:35 -05:00
Mason Chang
89dd1bd2d2 Bug 552020. Part 3: Enable creation of mozilla::TimeStamp from system Timestamps. r=roc 2014-11-14 08:31:04 -08:00
Mason Chang
4fddbd3845 Bug 552020. Part 2. Enable Vsync Profiler Markers across platforms. r=benwa 2014-11-14 08:31:04 -08:00
Mason Chang
ee275a75dc Bug 552020. Part 1: Hook into CVDisplayLink to get vsync events on OSX. r=benwa,mstange 2014-11-14 08:31:04 -08:00
Mason Chang
522eb9c976 Bug 1085512 - Improve touch resampling heuristics. r=mwu 2014-11-11 15:39:00 +01:00
Carsten "Tomcat" Book
4b13350a83 Merge m-c to b2g-inbound 2014-09-30 15:42:26 +02:00
Ryan VanderMeulen
b8a1aced00 Merge m-c to b2g-inbound. a=merge 2014-09-29 16:02:35 -04:00
Michael Wu
3efc9ae2a8 Bug 1073704 - Clear move queue at the end of a gesture, r=kats 2014-09-29 13:45:41 -04:00
mycoolclub
e8eac1554b Bug 943291: Now we use native Windows method to convert strings. r=emk 2014-09-27 08:37:35 +09:00
Ben Turner
d081140cb0 Bug 994190 - 'Modify main-thread IndexedDB to use PBackground', r=khuey. 2014-09-26 16:21:57 -07:00
Markus Stange
7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Phil Ringnalda
6eb3e94389 Back out 693507b38116 (bug 1041180) since it doesn't like compiling without its friend
CLOSED TREE
2014-09-25 21:18:01 -07:00
Masayuki Nakano
1cc2ff10cb Bug 1065835 part.6 Remove NOTIFY_IME_OF_CURSOR_POS_CHANGED and nsGtkIMModule should handle NOTIFY_IME_OF_SELECTION_CHANGE instead r=smaug+ehsan+karlt 2014-09-26 09:05:13 +09:00
Masayuki Nakano
c98d550934 Bug 1065835 part.5 nsGtkIMModule doesn't need to synthesize composition events for committing composition synchronously since TextComposition now supports it r=karlt 2014-09-26 09:05:13 +09:00
Christoph Kerschbaumer
fd3d3cc25b Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-25 16:10:28 -07:00
Aaron Klotz
2b75c7f33e Bug 1072752: Make Chromium UI message loops for Windows call into WinUtils::WaitForMessage; r=jimm 2014-09-25 12:39:15 -06:00
Jinho Hwang
367e495b76 Bug 1055961 - Touch.radiusX always returns zero. r=mwu 2014-09-24 19:00:00 -04:00
Carsten "Tomcat" Book
996fc54b8d merge mozilla-inbound to mozilla-central a=merge 2014-09-25 14:22:30 +02:00
Michael Wu
5fde46fd7d Bug 1072645 - Use stateless event filtering in GeckoTouchDispatcher, r=kats 2014-09-25 00:55:39 -04:00
Benoit Jacob
9047e55dd0 Bug 1025802 - Replace a MOZ_MAKE_COMPILER_ASSUME_IS_UNREACHABLE by MOZ_CRASH - r=mattwoodrow 2014-09-24 13:43:00 -04:00
Markus Stange
24c2ae2fdb Bug 1072533 - Remove gfxASurface::GetDefaultContextFlags(). r=jwatt 2014-09-24 17:16:54 -04:00
Markus Stange
a74d353fab Bug 1072391 - Only minimize on double-click in draggable regions of the window. r=smichaud 2014-09-24 17:15:28 -04:00
mycoolclub
6d09ab89e4 Bug 606520 - Add support for exiting fullscreen via the Windows command menu. r=jimm 2014-09-24 03:54:00 -04:00
Sotaro Ikeda
30f7cc274a Bug 1005322 - Implement invalidate hook for HwcComposer2D r=Sushil,mwu 2014-09-24 06:50:45 -07:00
Ashutosh Dhundhara
507c4b35ac Bug 1008620 - Clearing history should also clear jump list cache on Windows. r=bbondy 2014-09-23 20:57:40 -04:00
Carsten "Tomcat" Book
76043a5642 Backed out changeset 4bb508b6f0c5 (bug 1041180) for XPCshell test failures 2014-09-24 13:13:20 +02:00
Christoph Kerschbaumer
a2ecbd83dc Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-24 01:01:07 -07:00
Sushil Chauhan
1a0112db6b Bug 1071704 - HWC hooks registration should not depend on H/W Vsync. r=sotaro 2014-09-23 11:14:39 -07:00
Wes Kocher
ff7c6d21cd Backed out 2 changesets (bug 1041180) for build bustage on a CLOSED TREE
Backed out changeset 1cfb645267a4 (bug 1041180)
Backed out changeset afc9903ff28f (bug 1041180)
2014-09-23 16:26:49 -07:00
Christoph Kerschbaumer
bc20780b98 Bug 1041180: Remove deprecated nsIChannelPolicy (r=sstamm,jduell,jst) 2014-09-23 09:46:54 -07:00
Eitan Isaacson
0d28c735d5 Bug 969512 - Don't use NS_MOUSEENTER/LEAVE in widget level code. r=kats r=yzen
Make accessibility explore by touch hover events touch events.
2014-09-23 12:09:22 -07:00
Timothy Arceri
9968e0942d b=1068964 Remove gtk_check_version for GTK 2 r=karlt
Remove gtk_check_version() checks for GTK 2 as the minimum
version now covers all cases

--HG--
extra : rebase_source : b94f981abe0b0561f6223ae2949559152e46f13e
2014-09-22 18:16:37 +10:00
Ryan VanderMeulen
cae5eb937c Merge m-c to inbound. a=merge 2014-09-22 15:51:51 -04:00
Ryan VanderMeulen
344138b126 Merge m-c to inbound. a=merge 2014-09-22 15:50:08 -04:00
Markus Stange
482105e86a Bug 1070038 - Make window dragging work correctly on Mac OS 10.10. r=smichaud 2014-09-22 13:45:48 -04:00
Mike Kaply
8cf511f45b Bug #1053839 - Don't do anything with the preview on WM_DESTROY - r=jmathies 2014-09-22 10:21:00 -05:00
Tim Taubert
fcccd0e26c Bug 1068384 - Remove legacy code that handled the app menu's update item r=mstange,stefanh 2014-09-19 13:40:40 +02:00
Carsten "Tomcat" Book
2ae977b21b merge mozilla-inbound to mozilla-central a=merge 2014-09-22 12:58:26 +02:00
Chris Kitching
7774990532 Bug 1067056: Remove JavaDomKeyLocation and GeneratorOptions annotation. r=jchen 2014-09-13 17:42:03 -07:00
Karl Tomlinson
0176167cc4 backout 2a782a973a3d for error: unused variable 'container' b=1068964 CLOSED TREE 2014-09-22 16:00:52 +12:00
Jim Mathies
5cd6e4c98d Bug 1068199 - Disable e10s when hardware acceleration is disabled on win, macos. r=Bas, jmuizelaar 2014-09-17 16:48:07 -05:00
Markus Stange
c713437615 Bug 1059991 - Do new-style focus drawing on 10.10 even when building against a pre-10.8 SDK. r=smichaud 2014-09-18 11:17:05 +02:00
Markus Stange
dc320f598a Bug 821213 - Use CGContextSetBaseCTM to get correctly-sized focus rings under HiDPI. r=smichaud 2014-09-18 10:52:35 +02:00
Markus Stange
5b1c77960e Bug 944836 - Implement nsChildView::UpdateWindowDraggingRegion. r=roc, r=smichaud 2014-09-18 10:52:30 +02:00
Markus Stange
9035319790 Bug 944836 - Build a draggable region for the window based on the -moz-window-dragging property. r=roc 2014-09-18 10:52:27 +02:00
Ben Turner
46d101f40c Backout bug 994190 and merge over some stuff that landed afterwards on a CLOSED TREE. 2014-09-17 19:36:01 -04:00
Timothy Arceri
5c4bd64854 b=1068964 Remove GTK_CHECK_VERSION for GTK 2 r=karlt
Remove all GTK_CHECK_VERSION checks for GTK 2 as the minimum
version now covers all cases

--HG--
extra : transplant_source : %CE%3A%BC%CCm%F3EO%CA%15Z%B9%90%3C%14j%A0%16%851
2014-09-18 16:16:52 +10:00
Timothy Arceri
b21342338f b=1068964 Cleanup GTK print includes r=karlt
--HG--
extra : transplant_source : %18%ED%1B%24%9C%AB%FDA%F8%BE%A3%85%92h%F1%B0%FF%92D%8D
2014-09-18 15:59:01 +10:00
Timothy Arceri
5ddca8d5dd b=1068964 Remove gtk_check_version for GTK 2 r=karlt
Remove gtk_check_version() checks for GTK 2 as the minimum
version now covers all cases

--HG--
extra : transplant_source : Z%F4%8A2%B1a%D4%16%3B%C1%9F%92b%92%15%3E%AB%9Cg%81
2014-09-18 16:23:57 +10:00