Jonas Ådahl
340b5964dd
wayland: Add API for setting an exported as a parent
...
Add an API that enables an application to, given an exported window
handle, set its own window as a transient of the window associated with
the exported window handle.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Jonas Ådahl
f98c9fec6c
window: Add Wayland implementation of gtk_window_export_handle
...
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Jonas Ådahl
127d2ac956
wayland: Add API for creating exported window handles
...
Using the xdg_foreign protocol, expose a way to get handles to windows
that may be shared between processes.
https://bugzilla.gnome.org/show_bug.cgi?id=769788
2016-08-29 13:20:44 -04:00
Benjamin Otte
e1a03ead7a
Use NULL for generic marshallers in g_signal_new()
...
glib will use the correct marshaller automatically. And as a side
effect, we also get all glib optimizations, like a va marshaller.
2016-08-29 16:20:54 +02:00
Matthias Clasen
6af5033386
about dialog: Set a max-content-height on credits
...
This keeps the credits section from making the dialog grow
when there are lots of credits.
https://bugzilla.gnome.org/show_bug.cgi?id=770458
2016-08-29 10:01:20 -04:00
Carlos Soriano
cfe4c9e0f4
gtkplacessidebar: fix signal marshal
...
We were using __VOID for the SHOW_OTHER_LOCATION signal that
uses flags named SHOR_OTHER_LOCATION_WITH_FLAGS.
However, if a signal uses flags the marshal needs to use __FLAGS.
This patch addresses this using VOID__FLAGS as the marshaler parameter.
Thanks to Jan Steffens for pointing this out.
https://bugzilla.gnome.org/show_bug.cgi?id=770550
2016-08-29 15:01:12 +02:00
Мирослав Николић
a0ff0de6a5
Updated Serbian translation
2016-08-28 21:55:26 +02:00
Мирослав Николић
349170c011
Updated Serbian translation
2016-08-28 21:54:20 +02:00
Руслан Ижбулатов
b05ed13710
GDK W32: Remove obsolete assertions
2016-08-26 20:46:27 +00:00
Piotr Drąg
f6935de517
Updated Polish translation
2016-08-26 13:46:38 +02:00
Matthias Clasen
fcfbffc145
Updates
2016-08-26 01:09:40 -04:00
Benjamin Otte
35c96c2c1f
Add braces to appease gcc
...
-ftrack-macro-expansion=0 doesn't like if statements without braces when
evaluating indentation levels.
2016-08-25 23:02:27 +02:00
Benjamin Otte
c8b301f1ea
uimanager: Correctly indent code
2016-08-25 23:02:27 +02:00
Benjamin Otte
da8cef16dc
a11y: Correctly indent code
2016-08-25 23:02:27 +02:00
Matej Urbančič
12e590e99a
Updated Slovenian translation
2016-08-25 22:16:17 +02:00
Matej Urbančič
9dfff0d21d
Updated Slovenian translation
2016-08-25 22:09:16 +02:00
Matthias Clasen
f53706b003
cell renderer text: Allow entries to shrink
...
Set a small max-width on entries used for editing cells, so they
adapt to small columns and don't overlap the next column.
https://bugzilla.gnome.org/show_bug.cgi?id=770374
2016-08-25 07:53:32 -04:00
Olivier Fourdan
9f57fe9960
wayland: add min/max size from xdg-shell v6
...
Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764413
2016-08-25 11:04:16 +02:00
Jonas Ådahl
b7964cf5a7
wayland: Implement move_to_rect
...
Translate move_to_rect parameter into xdg_positioner requests, and use
the generated xdg_positioner to create the popup.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
ceada4adc2
wayland: Port to xdg_shell unstable v6
...
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
643f033923
wayland: Move window geometry calculation to helper
...
We'll use it from more places later.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
d2a80cd235
wayland: Only update the window title if it actually updated
...
This makes the protocol log less spammy.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
8270699119
wayland: Only sync surface regions once per commit
...
Only set input, opaque and window geometry regions once per commit.
They are double buffered anyway, so the last one would only take effect
either way; this way reading protocol logs are much more pleasent.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
d2385bec09
wayland: Remove gdk_wayland_display_get_xdg_shell()
...
Don't expose the xdg_shell struct as it is not yet a stable type that
will stay the same.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
e53d381430
wayland: Get tiled state from gtk_shell instead of xdg_shell
...
Use our the 'tiled' entry from our new 'state' enum sent via
xdg_surface.configure.
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Jonas Ådahl
80dd7566d5
wayland: Fix indentation
...
https://bugzilla.gnome.org/show_bug.cgi?id=769937
2016-08-25 12:31:40 +08:00
Matthias Clasen
b8f464e102
wayland: Add some more debug spew
2016-08-25 00:13:13 -04:00
Matthias Clasen
ae720784d9
wayland: Replace g_debug by GDK_NOTE
...
We have this framework, lets use it.
2016-08-25 00:05:49 -04:00
Matthias Clasen
f66a76d998
Document window-icon related api as 'may not work'
...
Some platforms simply don't have window icons (such as Wayland).
2016-08-24 14:43:58 -04:00
Matthias Clasen
ae636ba0c2
notebook: Update arrow state when switching pages
...
Otherwise, we may end up showing clickable arrows that don't
do anything.
https://bugzilla.gnome.org/show_bug.cgi?id=770332
2016-08-24 14:10:35 -04:00
Matthias Clasen
07e9b399d5
scale: Document interaction between rounding and autoscrolling
...
This is a bit of a gotcha, so better document it.
2016-08-24 12:58:54 -04:00
Matthias Clasen
f7c87fb3b7
widget-factory: Fix smooth autoscrolling of scales
...
There is annoying interference between formatting the value
(for which we set the number of digits to show) and the small
frame-to-frame value changes that we do for autoscrolling.
To work around this, turn off the digits-based rounding entirely
and format the value ourselves with ::format-value.
2016-08-24 12:53:28 -04:00
Matthias Clasen
ceb18a989e
gtk-demo: Make the scale demo fully functional
...
The adjustments need to have step-increment and page-increment
set up, or keynav and autoscrolling will not work.
2016-08-24 11:11:57 -04:00
Matthias Clasen
6163b3b2b5
Allow activating the desktop portal for inhibit
...
We allow it everywhere else, and there is nothing wrong with it.
2016-08-24 10:55:44 -04:00
Marek Černocký
9f456028ae
Updated Czech translation
2016-08-24 14:10:11 +02:00
Daniel Mustieles
2a8826dea5
Updated Spanish translation
2016-08-24 10:05:51 +00:00
Piotr Drąg
a12567cafd
Update POTFILES.in and POTFILES.skip
2016-08-23 21:57:59 +02:00
Carlos Garnacho
5d99b7d538
demos: Use stateful actions for rings/strips in "Touch and Drawing Tablets" demo
...
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
e9771d642f
GtkPadController: Make ring/strip actions be activated with the axis value
...
This way these axes may be used in detail by the implementors of pad GActions.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
b24a865d9b
GtkEventController: Add some comment describing the filter_event private vfunc
...
It might not be entirely clear what the boolean return value means.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
ae29157a63
demos: Add pad support to "event axes" demo
...
And rename it to "Touch and Drawing Tablets", since it's no longer about
"axes" really.
As for pad support in the demo, just keep it "simple", make the
controller handle all pad devices, and make all the actions have the
same callback.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
e66a821a74
GtkPadController: Notify actions back to the windowing on wayland
...
This allows applications to provide descriptions of the actions performed
by each pad feature. pass the GtkPadActionEntry labels for this.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
87af999b5d
wayland: Offer wayland-specific method to set pad actions feedback
...
The wayland tablet protocol allows notifying the compositor with
descriptions of the actions performed by each tablet element. This
API call allows to hook up in to this wayland-specific feature.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
27f879b835
wayland: Support pad devices in gdk_wayland_device_get_node_path()
...
We can return the node path on those too, so do that.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
7e961b8bcc
wayland: Implement pad event emission
...
We now send all the set of button/ring/strip/group_mode events.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
cca51b71cb
wayland: Create/expose pad devices
...
These devices are kind of an strange case. Their "master" device is
the keyboard, because they share toplevel focus with it, regardless
of stylus focus. Nonetheless, they are only expected to send the
GdkEventPad* set of events.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
82a46faf41
wayland: Add GdkWaylandDevicePad
...
This is a subclass of GdkWaylandDevice that implements GdkDevicePad,
all pad features are looked up from the info obtained through the
tablet v2 interface.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
feb09e384c
wayland: Implement backbone of pad support
...
All pad interfaces and features are poked, we just now need
exposing those.
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
a0b9586465
gtk: Add GtkPadController
...
This GdkEventController is a helper object to handle pad events,
it allows setting a mapping to action names, to be triggered in
the given action group.
In order to help on places where advanced mapping/configurability
of pad features is not desirable, this controller also allows
passing a NULL pad device, meaning it will listen on all pads,
and/or passing -1 on mode/index, so an action applies to all
modes/features (eg. strips/rings).
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:45 +02:00
Carlos Garnacho
3a6d0ff2ab
gtk: Add minimal handling of pad events
...
No real handling is yet performed, to be done through a GdkEventController
https://bugzilla.gnome.org/show_bug.cgi?id=770026
2016-08-23 21:01:44 +02:00