Sebastian Hengst
b7113b347f
Backed out changeset 70d7c1534715 (bug 1319650)
2016-12-01 22:38:36 +01:00
Karl Tomlinson
21c1158c78
bug 1319650 mimic gtk_style_context_save() in WidgetStyleCache with a new context r=stransky+263117
...
This makes balancing with gtk_style_context_restore()/ReleaseStyleContext()
unnecessary, and the style resolution cached in the style contexts is not
invalidated so frequently.
MozReview-Commit-ID: BKwyqoQsjv2
2016-11-23 16:41:57 +13:00
Lee Salzman
7d6690e979
Bug 1271100 - work around race in system Cairo's XShm usage. r=karlt
...
MozReview-Commit-ID: VGee6ungCz
2016-11-29 23:01:13 -05:00
Phil Ringnalda
8e037f5d9e
Backed out changeset eb4be9ed211e (bug 1319650) for reftest and chrome bustage
...
CLOSED TREE
2016-11-24 19:30:48 -08:00
Karl Tomlinson
bc19bf8a4a
bug 1319650 mimic gtk_style_context_save() in WidgetStyleCache with a new context r=stransky+263117
...
This makes balancing with gtk_style_context_restore()/ReleaseStyleContext()
unnecessary, and the style resolution cached in the style contexts is not
invalidated so frequently.
MozReview-Commit-ID: BKwyqoQsjv2
2016-11-23 16:41:57 +13:00
Karl Tomlinson
9f7da10abd
bug 1319355 remove unused MOZ_GTK_IMAGEMENUITEM r=stransky+263117
...
Unused since e7680c5fead3.
MozReview-Commit-ID: DYgeoJDxna9
2016-11-22 09:17:34 +13:00
Karl Tomlinson
05d52a287e
bug 1319355 remove unused gtk_widget_path_append_for_widget stub r=stransky+263117
...
No longer required after 1693f10ca33e
MozReview-Commit-ID: ErlBjxO0cbl
2016-11-18 11:14:21 +13:00
Karl Tomlinson
f6af52b923
bug 1319353 CreateCSSNode: Copy classes from the parent style context to its corresponding node in the path r=stransky+263117
...
This is necessary for GTK to match CSS rules against classes on ancestor nodes
of style contexts constructed from paths.
It can be tested with the following in ~/.config/gtk-3.0/gtk.css
tooltip.background label {padding: 100px;}
MozReview-Commit-ID: EUQ9ndeSl1Z
2016-11-16 16:55:13 +13:00
Karl Tomlinson
40e82b62d0
bug 1315668 CreateStyleForWidget: store classes on context instead of path r=stransky+263117
...
CreateStyleForWidget() then provides the same behavior with
g_style_context_save() as contexts from widget root style nodes.
MozReview-Commit-ID: 6lRCp3XOoRr
2016-11-15 15:29:06 +13:00
Enes Goktas
9205ec54b0
Bug 1302855 - Fold browsercomps into xul; r=bsmedberg
...
MozReview-Commit-ID: 8oaVngXFfh3
2016-09-27 19:54:37 -07:00
Martin Stransky
41cb9a2b59
Bug 1289763 - Move gImageMenuItemWidget/gCheckMenuItemWidget to WidgetCache, r=acomminos
2016-07-28 03:54:00 +02:00
Oliver Henshaw
94b214a494
Bug 694570 - (3/4) - Stop using libgnome and libgnomeui on Linux. r=acomminos
...
(Based on original patch by Chris Coulson.)
Replace session management through libgnome with direct use of libSM and
libICE. This allows xsmp session restore on gtk2 and gtk3 builds.
Changes in behaviour:
- It now only sends the "session-save" notification when the save style
is SmSaveLocal or SmSaveBoth. Saving internal state with a save style of
SmSaveGlobal is actually incorrect. This means that Firefox now
distinguishes between a normal session exit and a session exit with
session saving enabled.
- As "quit-application-requested" might pop up a dialog, it only does
this if the interact style is not SmInteractStyleNone
- "quit-application-requested" is only sent after sending
SmcInteractRequest and receiving an interact message.
- It defers closing the connection to the session manager until
the destructor, i.e after the "web-workers-shutdown" async shutdown
phase completes. This means that firefox shouldn't be killed too early
and lose data (*).
* It still might be killed prematurely if it takes too long to quit and
the session manager decides to timeout, but that's another story.
2016-06-20 08:13:00 +02:00
Karl Tomlinson
d83b8739d3
Bug 1250704 - use same widget heirarchy as GTK for tooltip text color. r=stransky
...
MozReview-Commit-ID: 41sDYu3IqYq
2016-06-07 18:06:04 +12:00
Martin Stransky
2926ec02fe
Bug 1271523 - Construct tooltip style from path for Gtk >= 3.20, r=karlt
...
To apply it needs a patch from Bug 1277818.
MozReview-Commit-ID: 3xhYDliL4iw
2016-06-07 06:22:00 +02:00
Carsten "Tomcat" Book
96ab069dc3
Backed out changeset a7334430aef0 (bug 1271523) for valgrind leak
2016-06-08 13:46:26 +02:00
Carsten "Tomcat" Book
7b7da2aa80
Backed out changeset af36af25ecf4 (bug 1250704)
2016-06-08 13:46:11 +02:00
Karl Tomlinson
3cca0de956
Bug 1250704 - use same widget heirarchy as GTK for tooltip text color. r=stransky
...
MozReview-Commit-ID: 41sDYu3IqYq
2016-06-07 18:06:04 +12:00
Martin Stransky
353d7b864e
Bug 1271523 - Construct tooltip style from path for Gtk >= 3.20, r=karlt
...
To apply it needs a patch from Bug 1277818.
2016-06-07 06:22:00 +02:00
Andrew Comminos
a1a8c315f2
Bug 1277306 - Fallback to a cairo image surface when SHM and XRender are unavailable when drawing to a GDK window. r=lsalzman
...
MozReview-Commit-ID: 4VPrplGM8uK
2016-06-01 14:52:36 -04:00
Karl Tomlinson
520af6fcdc
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
2016-05-17 18:15:12 +12:00
Karl Tomlinson
ed5c996bc7
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
2016-05-17 11:02:25 +12:00
Martin Stransky
3fe7555cdd
bug 1234158 add support for GTK 3.20 scrollbars r=karlt
2016-05-09 11:08:26 +12:00
Martin Stransky
590060fe01
Bug 1259433 - remove gtk_widget_style_get() from gtk3drawing, r=karlt a=kwierso
...
MozReview-Commit-ID: 13VFxv518qc
2016-03-31 14:21:15 -07:00
Karl Tomlinson
da75957ae2
bug 1211892 read -unico-border-gradient of early Unico versions for ThreeDHighlight and ThreeDShadow r=acomminos
...
MozReview-Commit-ID: KWfQqT5MIjT
2016-03-18 22:49:46 +13:00
Karl Tomlinson
3d4f965f07
bug 1205199 keep the socket alive as long as the plug window r=acomminos
2016-02-10 18:24:40 +13:00
Xidorn Quan
8ec1ad9045
Bug 1189622 part 3 - Return failure if fullscreen support is not available for the X11 desktop. r=karlt
2016-01-12 15:18:47 +11:00
Karl Tomlinson
4016a6b368
bug 1227008 use GtkPaperSize in GtkPageSetup directly, instead of maintaining a separate copy r=acomminos
...
Fixes a leak in nsPrintSettingsGTK::SetGtkPrintSettings() and
missed paper size copy in operator= (bug 965991).
GtkPageSetup always has a GtkPaperSize [1], which is returned from
gtk_page_setup_get_paper_size() as indicated in the docs [2]:
"Return value: the paper size" without "or NULL".
[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n68
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n164
2015-11-25 11:07:21 +13:00
Andrew Comminos
b2909e4f1b
Bug 1218008 - Fix progress bar rendering on the Ambiance GTK3 theme. r=karlt
2015-10-29 15:35:49 -07:00
Makoto Kato
3cad889e0f
Bug 978679. Implement touch events for GTK3. r=karlt
2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
c4ec0d715a
Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE
2015-10-19 13:22:55 +02:00
Makato Kato
1c60c7c42e
Bug 978679 - Implement touch events for GTK3. r=karlt
2015-10-19 23:04:52 +13:00
Andrew Comminos
3339d8e1d8
Bug 1176929 - Disable Ctrl-K in GtkEntry unless custom key bindings are
...
set on GTK3. r=karlt
2015-10-09 09:22:37 -07:00
Andrew Comminos
faf985b9cc
Bug 1206516 - Use temporary widget to construct style context for GtkInfoBar. r=karlt
2015-09-29 19:32:00 +02:00
Martin Stransky
b52df96b6d
Bug 1195002 - draw to MozContainer window to allow GTK to draw decorations, r=karlt
2015-09-24 04:50:00 +02:00
Wes Kocher
d836702e83
Backed out changeset 1f327c67db57 (bug 1195002) for likely breaking ASAN/mulet tests CLOSED TREE
2015-09-23 09:28:51 -07:00
Martin Stransky
19c792aaad
Bug 1195002 - "titlebar overlaps chrome UI on Linux Elementary OS Freya / with GTK_CSD (Gtk3)". r=karlt
2015-09-23 00:58:00 +02:00
Andrew Comminos
fcb0ef48b7
Bug 1170342 - Disable XInput2 by default on GTK3. r=karlt
2015-09-22 22:25:22 -07:00
Petr Jašíček
b6ea0cd03f
Bug 1198256 - Replace deprecated GtkColorSelectionDialog with GtkColorChooserDialog in Gtk3. r=karlt
2015-09-01 04:09:00 -04:00
Brian Birtles
c6515ce844
Bug 1026803 part 8 - Add ability for CurrentX11TimeGetter to perform an asynchronous request of the current time; r=karlt
2015-08-12 10:35:38 +09:00
Brian Birtles
0a52613355
Bug 1026803 part 4 - Convert GTK native event times to timestamps; r=karlt
...
This patch adds a helper class to widgets/gtk/nsWindow.cpp similar to the one in
widgets/windows/nsWindow.cpp and uses it to convert native event times to
mozilla::TimeStamp objects on events returned by this class.
This is similar to the operations performed for Windows native event times that
were added in bug 77992.
2015-08-11 16:40:34 +09:00
Andrew Comminos
064c0a352c
Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt
2015-08-21 16:38:15 -04:00
Xidorn Quan
41f4606b99
Bug 1190316 - Apply fullscreen transition on only the target monitor. r=roc
2015-08-13 08:53:53 +10:00
Gabor Krizsanits
41e195f924
Bug 863512 - Fixing xul dnd panels for linux. r=enndeakin
2015-08-05 13:19:44 +02:00
Andrew Comminos
3de1c2626f
Bug 1186661 - Draw drag and drop alpha pixmap correctly on GTK3. r=karlt
2015-07-28 07:13:00 -04:00
Andrew Comminos
f7538a2814
Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt
2015-07-28 06:28:00 -04:00
Carsten "Tomcat" Book
9f752d82bd
Backed out changeset ac04ab483fba (bug 1187649) for bustage on a CLOSED TREE
2015-07-28 13:05:48 +02:00
Andrew Comminos
dc9fde3f76
Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt
2015-07-27 11:21:00 +02:00
Xidorn Quan
7bf364a190
Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc
2015-07-24 09:45:00 +10:00
Andrew Comminos
016bb51dfc
Bug 1178799 - Filter X11 SelectionRequest events with an invalid requestor on GTK3. r=karlt
2015-07-13 08:58:00 -04:00
Andrew Comminos
96d8db5db6
Bug 1180008 - Define gtk_window_get_window_type in mozgtk. r=karlt
2015-07-06 08:26:00 +02:00