Commit Graph

719 Commits

Author SHA1 Message Date
Karl Tomlinson
5aebf9bad8 bug 1274745 use ClaimStyleContext to ensure GtkWindow exists before using for scrollbar background r=stransky+263117
MozReview-Commit-ID: KKekEXJScM0

--HG--
extra : rebase_source : dd6b5261df5a1fe4e37b12c604f96af4d5c18e66
2016-05-27 10:32:02 +12:00
Martin Stransky
b8bb3b2ec9 Bug 1273013 - "download progress bar does not show in gtk3 build." r=karlt 2016-05-24 13:43:00 +02:00
Keith Yeung
28a4bc1e9e Bug 1274339 - Align resizerpanel and caret in -moz-appearance. r=bobbyholley
--HG--
extra : rebase_source : ce28fd34fd7738abf440d6ae6052059ff549f974
2016-05-19 10:58:00 +02:00
Jonathan Kew
72fc68048e Bug 1274368 - Draw resizer as RTL for elements with vertical-rl writing mode. r=dholbert 2016-05-21 13:59:25 +01:00
Karl Tomlinson
49d29c5bf9 bug 1272194 explicitly invalidate after change style contexts belonging to widgets r=stransky+263117
This fixes menu item rendering during hover.

MozReview-Commit-ID: CEa6aorqBZM

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

MozReview-Commit-ID: A5HuE5bqf4x

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

MozReview-Commit-ID: GdMoAmzOJlf

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

MozReview-Commit-ID: LI5t4agot1z

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

MozReview-Commit-ID: 3YYzK4aZCbP

--HG--
extra : rebase_source : b2a2dc92b77a265fc73077345c1b6a18d9a4abc5
2016-05-19 16:55:04 +12:00
Keith Yeung
90a39873d8 Bug 1273424 - Rename -moz-appearance keyword constants to be more consistent with CSS keywords. r=bholley 2016-05-18 11:07:47 -07:00
Sebastian Hengst
a68f0cb92b Backed out changeset 01b86df73b4a (bug 1272332) for Linux x64 opt reftest bustage, e.g. 914521.html. r=backout 2016-05-18 13:42:25 +02:00
Nicolas Silva
3cc8335b3a Bug 1272332 - Honor gtk's global dark theme for the chrome when e10s is enabled. r=karlt 2016-05-18 12:19:29 +02:00
David Anderson
c2a116cdd6 Hide top-level CompositorBridgeParents behind a new API. (bug 1272472 part 4, r=mattwoodrow,kats,gwagner) 2016-05-17 22:33:22 -07:00
David Anderson
09c466def2 Use IPDL to schedule composites on GTK. (bug 1272472 part 2, r=nical) 2016-05-17 22:33:21 -07:00
Martin Stransky
9e176d8f04 Bug 1271579 - Set GtkTextDirection and GtkStateFlags in ClaimStyleContext, r=karlt 2016-05-17 12:52:04 -07:00
Kartikaya Gupta
392f87445d Bug 1264017 - Add an APZ test API to synthesize a mouse click. r=botond
MozReview-Commit-ID: 1zeoPTGrrLh
2016-05-16 12:17:17 -04:00
Masayuki Nakano
e2fb1c839c Bug 1254755 part.4 Rename WidgetKeyboardEvent::location to WidgetKeyboardEvent::mLocation r=smaug
MozReview-Commit-ID: CjT7izri6Vq

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

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

MozReview-Commit-ID: JMT614copjG

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

MozReview-Commit-ID: IKjQ1nr8XYe

--HG--
extra : rebase_source : 83125cd2523f6b70759f621470aad23b00aae8ae
2016-05-12 17:13:49 +09:00
Bob Owen
8312249b1d Bug 1189846 Part 5: Remove displayJobProperties from nsIPrintOptions. r=jimm
MozReview-Commit-ID: L10L7lnRIG4
2016-05-16 10:40:54 +01:00
Chris Peterson
8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Chris Peterson
353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Martin Stransky
4cd7d094b8 Bug 1262136 - implement checkboxes/radiobuttons for GTK 3.20, r=karlt
MozReview-Commit-ID: 2mjpxT6b2xh

--HG--
extra : rebase_source : 3e62cc98b5bae5caa3137e940901048f42bcf2a6
extra : amend_source : 1f8665b87560583be6fd97eef7e5e44cf95fb9a7
2016-05-13 11:59:17 +12:00
Kartikaya Gupta
346748ccf1 Bug 1272152 - Convert LayoutDevice coordinates to GDK coordinates before sending them to GDK. r=karlt
MozReview-Commit-ID: BuFDHnqVsRD

--HG--
extra : rebase_source : fdae1dde3c5bc9ed33f67d60f2d74b0a2732f04b
2016-05-11 17:57:43 -04:00
Masayuki Nakano
3e4ceded8b Bug 1259661 part.9 Rename WidgetMouseEvent::clickCount to WidgetMouseEvent::mClickCount r=smaug
MozReview-Commit-ID: 5tC8UqcfLek

--HG--
extra : rebase_source : a336f9d8676c74804e2c00eebec4f2a30d7a11b3
2016-05-10 23:29:14 +09:00
Masayuki Nakano
1663e01f1f Bug 1259661 part.6 Rename WidgetMouseEvent::exit to WidgetMouseEvent::mExitFrom r=smaug
MozReview-Commit-ID: FHUaUOE5eIB

--HG--
extra : rebase_source : f4ff5a5f662054ab161805dc37b9e7b6d6b97d96
2016-05-12 11:42:08 +09:00
Nicolas Silva
daa1794d1a Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt 2016-04-29 10:14:29 +02:00
Timothy Nikkel
bf94e2fc4e Bug 1261752. Part 3. r=mats 2016-05-10 22:58:47 -05:00
Jan Beich
c6b43ec415 Bug 1271477 - Unbreak --disable-dbus build after bug 1266054. r=karlt 2016-05-09 18:51:00 +02:00
Jan Beich
1251952870 Bug 1271477 - Unbreak --disable-dbus build after bug 1234158. r=karlt 2016-05-09 18:50:00 +02:00
Martin Stransky
baaa0fca1d Bug 1248974 - Remove gtk_style_context_save which corrupts style hierarchy for menu item background, r=karlt 2016-05-09 04:17:00 +02:00
Martin Stransky
7017c6043a Bug 1248974- get menu bar text color from GtkMenuItem, r=karlt 2016-05-09 04:17:00 +02:00
Thomas Zimmermann
4e5a56e843 Bug 1266054: GTK+: Hold references to |DBusPendingCall| in |RefPtr|, r=karlt
MozReview-Commit-ID: F5jb9tR5FGa
2016-05-09 12:28:37 +02:00
Thomas Zimmermann
e4b9259642 Bug 1266054: GTK+: Hold references to |DBusMessage| in |RefPtr|, r=karlt
MozReview-Commit-ID: CuweWk1ZMT1
2016-05-09 12:28:37 +02:00
Thomas Zimmermann
51bb662a3f Bug 1266054: GTK+: Hold references to |DBusConnection| in |RefPtr|, r=karlt
This patch changes |WakeLockListener| to store its connection to
the DBus session bus in an instance of |RefPtr|. The reference will
be released automatically from the class' destructor.

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

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
Martin Stransky
14a55c9a93 bug 1234158 add support for GTK 3.20 scrollbars r=karlt
--HG--
extra : transplant_source : %84N%24%B8%1D%80%EE%133%96%B3Y%0B%5D%29%26%18%24%B3%60
extra : histedit_source : 6e54e39b3c2649e4efebb864db2d5ce5d8b7b330
2016-05-09 11:08:26 +12:00
Karl Tomlinson
b799dfaa46 bug 1234158 rename GtkThemeWidgetType enum to WidgetNodeType as it will differentiate GTK CSS nodes r=Stránský
--HG--
extra : transplant_source : %11-%01%D8%F3%D6%00%E9%0C%D8%84z%A2%98%7C%F3%B5I%CF%5E
extra : histedit_source : deb6e194d8ea4466976347e24a741ee354dcc331
2016-04-14 17:47:20 +12:00
Kyle Huey
941ab1f522 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Neil Deakin
3c20c400b2 Bug 911546, use a runnable so that popups don't rollup during a grab, r=karlt 2016-05-04 10:07:52 -04:00
Martin Stransky
c64aea7200 Bug 1263145 - Render multiline input text entries as GtkTextView, r=karlt 2016-04-27 01:07:00 +02:00
Lee Salzman
457fd6ea27 Bug 1264866 - check for valid X11 display in nsWindow::GetNativeData(NS_NATIVE_DISPLAY). r=karlt 2016-04-29 13:12:38 -04:00
Carsten "Tomcat" Book
ba3fe0975c Backed out changeset 85ce8cb0639a (bug 1268313)
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Carsten "Tomcat" Book
16ef9e6c05 Backed out changeset 2fd4339f19c1 (bug 1216658) for valgrind failures
--HG--
extra : rebase_source : 2dfdec67ae9393f3e2827628edc9d9d5adf1cdab
2016-04-29 14:05:28 +02:00
Nicolas Silva
3c41ca6471 Bug 1216658 - Ignore Gt3 dark themes and use light theme's color scheme for native widgets. r=karlt 2016-04-29 10:14:29 +02:00
Kyle Huey
48a594a09e Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Karl Tomlinson
1df20b3f7d bug 1264170 only add slider class to scale after style save r=acomminos
so that ranges don't render like their thumbs

MozReview-Commit-ID: KshWxyAb1nh

--HG--
extra : rebase_source : efb7f7ffd5ba75324b47e2a83d638ec411868c1b
2016-04-13 08:48:15 +12:00
Andrew Comminos
28d156be0f Bug 1258086 - Clear unbuffered SHM images with a 32-bit visual before drawing with the basic layer manager. r=lsalzman
MozReview-Commit-ID: 8XgVwvBDZ3X

--HG--
extra : rebase_source : ba0ed32c5b8241fa6bf6300a8fa97ad71a236c1a
2016-04-27 13:46:07 -07:00
Andrew Comminos
0cbdbeb56d Bug 1264454 - Disable drag popups on GTK versions with a buggy gtk_drag_set_icon_widget. r=karlt
MozReview-Commit-ID: Bsum6dNbFXc

--HG--
extra : rebase_source : b980c510fabd4cc3991d9c1e50aa1105e2d742f8
2016-04-25 19:04:55 -07:00