Matthias Clasen
5c5c8bdd81
inspector: Add a rendering mode control
2014-11-10 15:07:52 -05:00
Matthias Clasen
5536d9bcde
gdk: Add private API for rendering mode
...
This will be used to expose rendering mode in the inspector.
2014-11-10 14:39:57 -05:00
Matthias Clasen
8338b7e4cd
Move rendering mode into GdkDisplay
...
This is in preparation for making it runtime-settable in the
inspector.
2014-11-10 14:28:43 -05:00
Javier Jardón
710f332082
configure.ac: Depend on cairo 1.14.0
...
This is needed for cairo_set_device_scale()
2014-11-10 15:12:17 +00:00
Emmanuele Bassi
36fedb0c4b
window: GtkPlug is conditionally supported on X11 only
...
We cannot do a type check on it if we don't have the X11 backend
compiled in.
https://bugzilla.gnome.org/show_bug.cgi?id=739885
2014-11-10 15:08:44 +00:00
Alexander Larsson
90555e06be
gdk_window_end_paint: Flush destination surface after paint
...
It seems in cairo 1.14 we need this after having painted an image surface
to a X11 window surface (i.e. with GDK_RENDERING=image).
2014-11-10 15:25:31 +01:00
Baurzhan Muftakhidinov
a353e77db4
Updated Kazakh translation
2014-11-10 02:23:15 +00:00
Matthias Clasen
8a8c6c0722
Inspector: hide the selector tab for non-widgets
2014-11-08 21:43:26 -05:00
Matthias Clasen
9a84d8a261
inspector: Hide the size-groups tab when empty
2014-11-08 21:30:12 -05:00
Matthias Clasen
0c20ba7dcb
inspector: Hide the inspector tab when empty
2014-11-08 21:29:51 -05:00
Matthias Clasen
7dd466ad74
Set the clip on range widgets
...
This will allow better scrollbar theming.
2014-11-08 12:55:37 -05:00
Lapo Calamandrei
c0c777077a
Adwaita: increase scrollbar slider contrast
2014-11-08 17:35:52 +01:00
Matthias Clasen
ae4aaf7354
inspector: Set statistics button sensitivity
...
After moving the button the header, it is now visible when
statistics are not available. Disable it in this case.
2014-11-08 09:57:48 -05:00
Matthias Clasen
592a0d46b4
inspector: Add more GL information
...
Add version and extension information to the general tab.
2014-11-08 02:16:35 -05:00
Emmanuele Bassi
cdcd3ca359
Hide GdkWindow libgtk_only API in the private vtable
...
These are the last two global GDK symbols that have a libgtk_only
suffix.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Emmanuele Bassi
585af218a3
Move GDK GL flags accessors to the private vtable
...
This allows us to use the GDK_PRIVATE_CALL macro inside gtk.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Emmanuele Bassi
eedbec2066
Make global GDK libgtk_only functions more private
...
The current way of exposing GDK API that should be considered internal
to GTK+ is to append a 'libgtk_only' suffix to the function name; this
is not really safe.
GLib has been using a slightly different approach: a private table of
function pointers, and a macro that allows accessing the desired symbol
inside that vtable.
We can copy the approach, and deprecate the 'libgtk_only' symbols in
lieu of outright removal.
https://bugzilla.gnome.org/show_bug.cgi?id=739781
2014-11-08 00:20:15 -05:00
Matthias Clasen
713d3834f6
inspector: Reserve space for buttons
...
Make the button area in the top left a stack that is parallel
to the main page stack. This avoids size changes as we switch
between pages.
2014-11-08 00:09:30 -05:00
Matthias Clasen
e2949e7bf7
extract-strings: Handle property binding attributes
...
These attributes are now used in at least one place in the
GtkInspector ui files.
2014-11-08 00:09:30 -05:00
Matthias Clasen
d0973fdb78
inspector: Improve search on the statistics page
...
Use a search bar here as well, instead of the builtin treeview popup.
2014-11-07 23:40:31 -05:00
Matthias Clasen
5f701cf4c9
inspector: Move the record button up
...
Give all the page space to the content.
2014-11-07 23:19:28 -05:00
Matthias Clasen
1ddace0a5f
inspector: Shorten some labels
2014-11-07 22:57:14 -05:00
Matthias Clasen
818d2e238b
inspector: Improve search in the resource tree
...
Make search in the resource tree work the same way as the new
search in the object tree.
2014-11-07 22:44:23 -05:00
Matthias Clasen
48415955f0
inspector: Correct a tooltip
2014-11-07 22:44:23 -05:00
Jasper St. Pierre
433120ae5e
gdkwindow-x11: Fix indentation
2014-11-07 17:39:43 -08:00
Jasper St. Pierre
a91c88768e
inspector: Remove unused variable
2014-11-07 16:33:43 -08:00
Matthias Clasen
ee01ee249f
inspector: Look for themes in the right places
...
Match the places that GtkCssProvider looks in, so we show all
the themes that GTK+ would actually find.
2014-11-07 14:19:59 -05:00
Carlos Garnacho
af6eab850e
wayland: Schedule a clock tick instead of wl_surface_commit()ting directly
...
Instead of possibly calling wl_surface_commit() out of
GdkFrameClock::after-paint, tick the transient parent clock so ::after-paint
can be eventually run.
This ensures that the subsurface coordinates (considered part of the state
of the parent) aren't committed untimely, and guaranteed to be orderly with
the wl_subsurface-relative state.
This is a gtk-side fix for https://bugzilla.gnome.org/show_bug.cgi?id=738887
2014-11-07 17:24:10 +01:00
Carlos Garnacho
964abf7423
wayland: Don't translate a NULL region into an empty one
...
cairo_region_copy(NULL) will effectively return an empty region, as this
function is always meant to return valid memory. This however inverts the
meaning of the NULL region and results in entirely non-clickable windows.
2014-11-07 17:23:54 +01:00
Carlos Garnacho
52a90758f9
gtkwindow: claim the press sequence when clicking on the titlebar
...
This event might not have an action yet, but certainly accounts, and
should be triggering recognition.
This fixes a crash when attempting to drag CSD windows through touch. As
since cfaec2d2f5
, gtk_gesture_single_get_current_sequence() would
rightfully return NULL if the gesture didn't enter recognition, making
event lookup fail.
2014-11-07 13:54:10 +01:00
Carlos Garnacho
4df13b7262
treeview: remove single-click activation from GtkGestureMultiPress::pressed
...
This is already handled in GtkGestureMultiPress::release, and more in
concordance with how it was done pre-gestures.
https://bugzilla.gnome.org/show_bug.cgi?id=737891
2014-11-07 13:49:43 +01:00
Matthias Clasen
1e3e544bfd
Revert "Add new API to docs"
...
This reverts commit 41e9eaf64f
.
2014-11-07 07:12:22 -05:00
Matthias Clasen
5442293ce7
inspector: include private gdk headers
...
...the advantages of living in the same tree.
2014-11-07 07:11:38 -05:00
Matthias Clasen
7e405c286f
Don't make the gl flags API
...
We need to export the symbols so they can be used in the
inspector, but we don't really want to make this supported
public API, so keep them out of installed headers.
2014-11-07 07:10:49 -05:00
Matthias Clasen
41e9eaf64f
Add new API to docs
2014-11-06 23:37:00 -05:00
Matthias Clasen
0ecd08ed04
inspector: Add GL flags
2014-11-06 23:35:38 -05:00
Matthias Clasen
5d0d1e524e
Export API to set GL flags
...
This will be used in the inspector.
2014-11-06 23:29:16 -05:00
Lapo Calamandrei
d859cf19f6
Adwaita: scrollbar styling overhaul
...
- finally added the missing border;
- proper backdrop state styling;
- tweaked overlay indicator;
- sidebar special casing gone for now.
2014-11-07 00:03:29 +01:00
Jasper St. Pierre
22ad7b7782
gdkgl: Make some helper functions static
2014-11-06 13:48:20 -08:00
Ryan Lortie
ec729d0649
mir: rework cursors a bit
...
Store the cursor name on the cursor (rather than always using its type).
Use this when setting a cursor on a surface.
The mir server will fallback to using standard cursors from the cursor
theme if the name used is not one of those defined by mir, which is more
or less what we want to happen here in case of creating a cursor by
name.
2014-11-06 16:18:53 -05:00
William Hua
063f79b594
mir: enable csd
2014-11-06 16:18:53 -05:00
William Hua
2fdb266c0d
mir: set cursor
2014-11-06 16:18:53 -05:00
Matthias Clasen
f60b2a11c5
Drop an unneeded include
2014-11-06 15:17:09 -05:00
Matthias Clasen
f229f96d69
GtkModelButton: protect against show_all
...
We don't want the labels to be shown when there's already
an icon.
2014-11-06 15:03:51 -05:00
Alexander Larsson
41bf293efd
GdkWindow: Drop gl matrix setup which is not needed anymore.
2014-11-06 20:37:24 +01:00
Alexander Larsson
61eabc4778
gdk_gl_texture_from_surface: Enable scissor test
2014-11-06 20:37:10 +01:00
Alexander Larsson
56631d02bd
gdk_gl_texture_quad: Fix handling of window scales
2014-11-06 19:33:58 +01:00
Lapo Calamandrei
c756cef80a
Adwaita: remove last child border on backdrop column headers
2014-11-06 17:21:50 +01:00
Lapo Calamandrei
d781599b0d
Adwaita: initial overlay indicator styling
2014-11-06 12:40:40 +01:00
Alexander Larsson
1f3f933edf
GdkX11GLContext: Use bitblit for swap if no buffer age support
...
If buffer age is undefined and the updated area is not the whole
window then we use bit-blits instead of swap-buffers to end the
frame.
This allows us to not repaint the entire window unnecessarily if
buffer_age is not supported, like e.g. with DRI2.
2014-11-06 12:24:43 +01:00