Commit Graph

17301 Commits

Author SHA1 Message Date
Chih-Kai (Patrick) Wang
fcb6d29268 Bug 970307: Part 1: Report status of each thread to find when all the threads are idle. r=nfroyd 2014-12-18 17:00:39 +08:00
Mason Chang
2ceec663c3 bug 1102453. Read HwcComposer vsync status on main thread. r=mwu 2014-12-17 21:25:09 -08:00
Ryan VanderMeulen
90f31ccf52 Merge inbound to m-c. a=merge
CLOSED TREE
2014-12-17 20:53:20 -05:00
Michael Wu
d57baeb1f7 Bug 1104661 - Import sha1.c for libui, r=m1 2014-12-16 20:43:41 -05:00
David Anderson
537e832f5a Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
James Willcox
d96d05fe9a Bug 1110271 - Don't crash in NotifyEvent() on Android if we have no nsAppShell r=jchen
--HG--
extra : rebase_source : fda4bf30ff7a06362b3dafe71deebd3d9333a8c8
extra : histedit_source : 33fbb2f9ebe9e826395e358566195da5a6c4e627
2014-12-15 16:04:33 -06:00
Carsten "Tomcat" Book
4a62decf3b Backed out changeset c61753316ddb (bug 1109985) 2014-12-16 09:39:39 +01:00
David Anderson
81596d1ba2 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kestrel
4992ad54c1 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
d436487485 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
409b9a16e7 Backed out changeset 212f295a955d (bug 966157) 2014-12-15 12:26:35 +01:00
David Anderson
f7031cf9c3 Clean up APZCTM initialization on Android. (bug 1110540 part 3, r=kats) 2014-12-15 01:49:51 -08:00
David Anderson
8226f0cd2e Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
David Anderson
aa0028e4da Move APZC initialization into nsBaseWidget. (bug 1110540 part 1, r=kats) 2014-12-15 01:47:15 -08:00
Makoto Kato
6bf9f859e7 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
62347a8f7b Bug 966157 - Part 1. Implement remote NS_QUERY_EDITOR_RECT. r=masayuki 2014-12-15 18:21:20 +09:00
Ehsan Akhgari
0e6e105e69 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
7e75241954 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
edcabbc40b 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
870235958c 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
b68f6489dc 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
8bcf931152 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
40dadf0d08 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
09a262787c 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
f84bc01c05 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - widget/ changes (r=blassey) 2014-12-12 09:08:14 -08:00
Phil Ringnalda
f7aea19aae 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
c553bfa980 Bug 1087442 - Attach LoadInfo inside each individual ProtocolHandler - widget/ changes (r=blassey) 2014-12-11 20:47:23 -08:00
Sotaro Ikeda
f062928578 Bug 1109226 - Do not use HwComposer when layer has MaskLayer r=nical 2014-12-11 07:15:52 -08:00
Josh Aas
f9e3926e19 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
59e59866db Bug 1103412 - Gecko does not compile with printing disabled. r=mconley 2014-11-22 12:15:00 +01:00
David Anderson
2d2f1f58bd 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
636a716c5b 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
126b4f108e Backed out changeset bf25101e66cf (bug 1095098) for build bustage 2014-12-08 16:27:12 -08:00
Denis Volk
0f94bddfc8 Bug 1095098: move do_QueryObject templates into their own header r=froydnj 2014-11-20 12:20:10 +01:00
Martin Stransky
0504bfc33a 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
81e1b1a96e Bug 1073117 - Add new GTK_STATE_FLAG_CHECKED for checkbox rendering. r=karlt 2014-12-02 07:14:00 -05:00
Sotaro Ikeda
ab264f3007 Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Bas Schouten
76753982e0 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
e181f2a9bf Bug 1100530 - Clean up OS X version constants. f=jgilbert, r=mstange 2014-11-28 17:28:59 -05:00
Jonathan Kew
491103743a Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug 2014-12-04 18:15:43 -08:00
Martin Stransky
8142810dd2 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
87d521274e Bug 1099252 - Blocklist ATI graphics driver version 8.832.0.0. r=Bas 2014-12-01 16:21:37 -08:00
Ehsan Akhgari
e30c04c40e 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
d07ffd53a9 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
56ad1aaa3b 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
9496c78f68 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
bfb3950123 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
d73bc31eb2 Bug 1077345 part.13 nsGtkIMModule should use NS_COMPOSITION_COMMIT* event r=m_kato 2014-11-25 14:02:34 +09:00
Masayuki Nakano
c89e5a665c 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
201fb4b702 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
342c589227 Bug 1077345 part.10 nsTextStore should use NS_COMPOSITION_COMMIT event r=emk 2014-11-25 14:02:33 +09:00
Masayuki Nakano
55847ba6ea 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
9f491a5703 Bug 1077345 part.7 Use synthesizeComposition({"compositioncommit") in the tests r=smaug 2014-11-25 14:02:32 +09:00
Masayuki Nakano
c207c66fed 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
c56c9a574f Bug 1077345 part.5 Use synthesizeComposition({"compositioncommitasis") in the tests r=smaug 2014-11-25 14:02:31 +09:00
Masayuki Nakano
7c2cde510e 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
9a6c0e03b6 Bug 1077345 part.3 Add WidgetCompositionEvent::CausesDOMTextEvent() and WidgetCompositionEvent::CausesDOMCompositionEndEvent() r=smaug 2014-11-25 14:02:30 +09:00
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