Timm Bäder
34e233e1c3
GskVulkanGlyphCache: Remove unused struct member
2017-12-01 07:30:25 +01:00
Timm Bäder
ff35fbf120
window: Plug a memory leak
2017-12-01 07:30:25 +01:00
Matthias Clasen
d005109133
Drop unused gtkcssstylefuncs.c
...
Clean up all the places where the header was still
included needlessly.
2017-11-30 18:46:54 -05:00
Matthias Clasen
eb32a2c228
css style funcs: Avoid pixbufs
...
We can get what we need with GdkTexture.
2017-11-30 17:40:41 -05:00
Matthias Clasen
dc15978ac8
Avoid GdkPixbuf in docs
...
GdkTexture is preferred now.
2017-11-30 17:32:05 -05:00
Matthias Clasen
a1c0b81bae
icon helper: Avoid gratitious pixbuf use
...
We can just get the texture directly from the icontheme.
2017-11-30 17:31:17 -05:00
Matthias Clasen
029165638b
mountoperation: Store icons as textures
...
This reduces the amount of pixbufs in this code.
2017-11-30 16:48:25 -05:00
Alexander Larsson
61ea8e8676
broadway: Add some (disabled) debugging tools
2017-11-30 21:57:42 +01:00
Alexander Larsson
af890e6677
broadway: Don't send node updates to browser if nothing changed
2017-11-30 21:57:42 +01:00
Alexander Larsson
d43008b2a5
broadway: Fix texture hash function
2017-11-30 21:57:42 +01:00
Alexander Larsson
d95cbb2757
gtksnapshot: Merge trivial clip duplicates
...
I got a lot of "clip in clip" cases, for example a CellClip with a
CellTextClip inside. It is really trivial to merge these when we
pop and makes it easier for all backends, so lets do that.
2017-11-30 21:57:42 +01:00
Alexander Larsson
f5e0986230
vulkan: Don't crash if vkEnumeratePhysicalDevices fails
2017-11-30 21:57:42 +01:00
Alexander Larsson
c30073793e
broadway: Improve logging
...
We now log backwards, so that the latest is always visible.
Also, we use <pre> with a smaller size.
2017-11-30 21:57:42 +01:00
Alexander Larsson
521b09cc96
broadway: Send diffs of node trees
...
Reusing pre-created nodes is a lot faster both in terms of
dom modifications and of transfer sizes.
2017-11-30 21:57:42 +01:00
Alexander Larsson
3d4a9324e6
broadway: Add broadway_node_equal
2017-11-30 21:57:42 +01:00
Alexander Larsson
46c4869945
broadway: Prepare for implementing diff
2017-11-30 21:57:42 +01:00
Alexander Larsson
e43f031769
broadway: Add div for container nodes
...
We need this so that all nodes have divs, otherwise diffing is going
to be very hard.
2017-11-30 21:57:42 +01:00
Alexander Larsson
1820362b2b
broadway: Deserialize node tree in server
...
This doesn't really change anything, but it is in preparation for diffing
the trees.
2017-11-30 21:57:42 +01:00
Alexander Larsson
907e071c90
broadway: Add a texture cache
...
This ensures we never upload a texture we already have locally available.
2017-11-30 21:57:42 +01:00
Alexander Larsson
d284c3fa85
broadway: Re-add seat and core device creation
2017-11-30 21:57:42 +01:00
Piotr Drąg
8cf2f3c3f1
Update POTFILES.in
2017-11-30 16:10:50 +01:00
Matthias Clasen
2edd3741f6
Use the new texture utils here
...
One less place where we juggle pixbufs.
2017-11-30 07:54:52 -05:00
Matthias Clasen
b8b33d1f36
Make texture variants of some pixbuf utils
...
This will let us avoid direct pixbuf use in some places.
2017-11-30 07:54:27 -05:00
Matthias Clasen
bd1a9c1afe
recent manager: Drop an unused field
2017-11-30 07:03:20 -05:00
Matthias Clasen
a9f12892ea
Fix up a doc comment
2017-11-29 23:39:06 -05:00
Matthias Clasen
f57aa47a40
Remove some unused includes
...
These show up in a grep for "pixbuf".
2017-11-29 23:39:06 -05:00
Matthias Clasen
b65f871929
Use a texture instead of a pixbuf in gtk_render_icon
...
This gets rid of more GdkPixbuf in the API.
Update all callers.
2017-11-29 23:30:47 -05:00
Matthias Clasen
0b39631464
textview: Replace pixbufs by textures
...
This affects a few apis, such as gtk_text_iter_get_pixbuf,
gtk_text_buffer_insert_pixbuf and GtkTextBuffer::insert-pixbuf,
which have all been replaced by texture equivalents.
Update all callers.
2017-11-29 23:22:13 -05:00
Benjamin Otte
3d4743ee62
textview: Remove serialization API
...
It's unused. Plain text is not using that framework, neither is
in-process same-display transmission.
So it was only useful for sharing text with custom tags across
applications, and nobody is doing that.
2017-11-29 23:03:33 -05:00
Benjamin Otte
138abdbc47
a11y: Remove AtkStreamableContent implementation
...
That is some old code that still uses IOChannels, and the only
pseudouser is at-spi-atk's commented out code that is still using
CORBA types.
So get rid of it now before I need to start adapting it to the new
clipboard.
2017-11-29 23:03:33 -05:00
Matthias Clasen
c088d69f93
icon theme: Remove unused code
...
The deprecated api to add builtin icons was removed
a year ago, so we don't need the code anymore that deals
with looking up builtin icons.
2017-11-29 22:25:57 -05:00
Matthias Clasen
0063145ed8
tooltip: Set icon from texture instead of pixbuf
...
Another part of removing GdkPixbuf from APIs.
2017-11-29 22:17:59 -05:00
Matthias Clasen
dfd194a5fa
Drop gtk_cell_view_new_with_pixbuf
...
We have a texture-based alternative for this now.
2017-11-29 20:26:28 -05:00
Matthias Clasen
c750c0e571
Drop gdk_cursor_new_from_pixbuf
...
Part of the push to remove GdkPixbuf from the API.
2017-11-29 20:16:43 -05:00
Matthias Clasen
7217689e02
docs: Remove mentions of gdk_cursor_new_from_pixbuf
...
This function is going away.
2017-11-29 20:14:53 -05:00
Matthias Clasen
1fcfff6861
dnd: Stop using gdk_cursor_new_from_pixbuf
...
We can just use gdk_cursor_new_from_texture here.
2017-11-29 20:13:26 -05:00
Matthias Clasen
a8a156e63c
Fix the build
2017-11-29 20:12:43 -05:00
Matthias Clasen
c2a38612a9
Drop gtk_drag_source_set_icon_pixbuf
...
Part of removing GdkPixbuf from the API.
2017-11-29 20:02:47 -05:00
Matthias Clasen
c51703be60
testdnd: Stop using gtk_drag_source_set_icon_pixbuf
...
We can avoid it here as well.
2017-11-29 20:02:01 -05:00
Matthias Clasen
c0d6fd4f86
icon-browser: Stop using gtk_drag_source_set_icon_pixbuf
...
We can just use gtk_drag_source_set_icon_name.
2017-11-29 20:01:32 -05:00
Matthias Clasen
2ac0df0b75
Drop gtk_css_image_surface_new_for_pixbuf
...
It is unused private api.
2017-11-29 19:47:57 -05:00
Matthias Clasen
8cdaaffd42
Avoid pixbufs when loading themed icons
...
We can directly get a texture from GtkIconTheme now.
2017-11-29 19:44:30 -05:00
Matthias Clasen
507ef68faa
Add gtk_cell_view_new_with_texture
...
Just more api to replace pixbufs with textures.
2017-11-29 19:28:53 -05:00
Matthias Clasen
7b032a9862
Drop gtk_snapshot_render_icon
...
Its not used, and we are working towards removing
GdkPixbuf in the API.
2017-11-29 18:34:45 -05:00
Matthias Clasen
4db2426336
window: Stop using GdkPixbuf
...
We can get by with just using GdkTexture.
2017-11-29 17:28:15 -05:00
Matthias Clasen
83ab83043e
Cosmetic formatting fixes
2017-11-29 17:28:15 -05:00
Christophe Fergeau
9259ca98f3
wayland: Fix indentation of previous commit
2017-11-29 12:21:19 +01:00
Christophe Fergeau
ff3da0818c
wayland: emit GDK_SELECTION_CLEAR on owner changes
...
The wayland backend currently never emits GDK_SELECTION_CLEAR events.
GtkClipboard uses this signal in order to clear the clipboard owner when
the selection is set to something outside the application.
This commit ensures the wayland backend emits GDK_SELECTION_CLEAR before
setting the clipboard owner to NULL, as this means we lost the
selection.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=790031
2017-11-29 11:29:30 +01:00
Christophe Fergeau
93f6f253ea
wayland: Remove unused data structure
...
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
https://bugzilla.gnome.org/show_bug.cgi?id=790031
2017-11-29 11:29:29 +01:00
Matthias Clasen
65808418e1
Drop gtk_application_is_inhibited
...
This function returns global session state that may
not be available to applications (e.g. in sandboxed
environments), and is not needed by applications,
so just drop it, instead of keeping a function around
that can't be guaranteed to work.
2017-11-28 23:02:58 -05:00