Georges Basile Stavracas Neto
ea952a6ec3
vulkancontext: Never abort on validation layer debug
...
Validation layers should never interfere on application
execution.
2017-01-06 02:01:58 -02:00
Matthias Clasen
5fa1b14a96
Revert "Use CSS for styling links in labels"
...
This reverts commit 60a8769e7f0c952fdc8090b1ecd96cca00123ad9.
This needs more work to work properly.
2017-01-05 20:57:42 -05:00
Matthias Clasen
4170f79eea
Use CSS for styling links in labels
...
This was implemented only halfway, and was hardcoding the
underline. We don't need to do that anymore.
2017-01-05 20:57:42 -05:00
William Hua
384fe52e96
mir: paste clipboard data from content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
516c0a2aab
mir: copy clipboard data to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
dcda372c15
mir: connect to content-hub
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
440e80c832
mir: track focused window
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
William Hua
ed0bd0bba2
mir: implement window properties
...
https://bugzilla.gnome.org/show_bug.cgi?id=775732
2017-01-05 17:57:36 -05:00
Matthias Clasen
f3779b42c5
Make it possible to set style classes for label links
...
This makes it possible to style links in labels differently
in certain situations.
2017-01-05 16:55:45 -05:00
Kjartan Maraas
29dec067fb
Updated Norwegian bokmål translation.
2017-01-04 21:25:36 +01:00
Daniel Boles
49c452e4f9
demos/icon-browser: increase default window size
...
...to get more than 1 row of icons to browse!
https://bugzilla.gnome.org/show_bug.cgi?id=776560
I've bumped the size a bit further, to 1024x768
2017-01-04 13:59:04 -05:00
Sébastien Wilmet
88699f588d
docs: improve the documentation of GtkEntry:attributes
...
See the implementation of gtk_entry_create_layout():
pango_attr_list_splice() is used to add the PangoAttrList of the preedit
string. And that is done *after* applying the PangoAttrList of the
"attributes" property.
https://bugzilla.gnome.org/show_bug.cgi?id=776868
2017-01-04 19:56:30 +01:00
Georges Basile Stavracas Neto
a001ddf7bf
vulkan: Use LGPL v2
2017-01-04 16:02:44 -02:00
Georges Basile Stavracas Neto
67894ace64
vulkanpushconstants: Don't report invalid ranges
...
Vulkan doesn't accept empty ranges, so simply don't report
them.
2017-01-04 18:40:42 +01:00
Georges Basile Stavracas Neto
c6ec982ac6
vulkan: Turn headers to LGPL
2017-01-04 18:40:20 +01:00
Benjamin Otte
f74490739f
vulkan: Create required number of swapchain images
...
Wayland has minImageCount == 4, so us just creating 2 images is not very
nice. So we don't do that anymore.
2017-01-04 18:38:40 +01:00
Benjamin Otte
efc5f8dc47
gdkvulkan: Track if we reffed the display's vulkan data
...
When reffing the display fails in init, we were still trying to unref
it. Which obviously failed and spewed warnings to stderr.
2017-01-04 18:26:14 +01:00
Georges Basile Stavracas Neto
3887548d55
wayland: Add support for Vulkan renderer
...
Mirror what's done with the X11 Vulkan renderer implementation,
with the addition of the extra Wayland window synchronization on
end_paint() override.
2017-01-04 13:24:08 +01:00
Georges Basile Stavracas Neto
38d6e45b32
vulkancontext: Assume the window geometry when extents are bogus
...
When the current extent is -1, we should assume whatever size
the GdkWindow has.
2017-01-04 13:23:48 +01:00
Georges Basile Stavracas Neto
d62e18ac87
vulkancontext: Fix header
2017-01-04 13:23:35 +01:00
Benjamin Otte
f05f0377df
vulkan: Modernize blend pipeline
...
- Rename from blit => blend
- Use instances
- Add clip versions
2017-01-04 13:22:57 +01:00
Benjamin Otte
2f5737cc1c
gtk-demo: queue_draw() when the color changes
2017-01-03 23:35:22 +01:00
Chun-wei Fan
901106fd95
Visual Studio build: Update gsk project
...
A new Vulkan source was added, so this needs to be added to the projects.
2017-01-03 15:17:38 +08:00
Piotr Drąg
1b6015f9cc
gtkprintbackendfile: Correct PostScript capitalization
...
https://bugzilla.gnome.org/show_bug.cgi?id=776627
2017-01-02 16:20:29 +01:00
Benjamin Otte
b993acfe2c
gsk: Add GskRepeatNode
...
Also add gtk_snapshot_push_repeat() and use that to draw backgrounds.
With that change, CSS background snapshots are created without Cairo
nodes.
2017-01-01 19:53:36 +01:00
Benjamin Otte
aa917ce3b7
css: Redo GtkCssAffects
...
We now have GTK_CSS_AFFECTS_CONTENT for properties that have an effect
on content rendering.
Using GTK_CSS_AFFECTS_ICON is wrong for icon-transform and icon-filter
as they don't change the icon, just how the icon is rendered, so we use
GTK_CSS_AFFECTS_CONTENT for those.
We also introduce GTK_CSS_AFFECTS_POSTEFFECT for opacity and filter -
properties that affect the whole drawing of the widget by applying an
effect after everything is said and done.
2017-01-01 19:53:36 +01:00
Benjamin Otte
2571036c07
gsk: Turn GskTexture into a GObject
2017-01-01 19:53:36 +01:00
Benjamin Otte
4ead5c3ba8
colorplane: Implement snapshot()
2017-01-01 19:53:36 +01:00
Benjamin Otte
2fe01a5b57
vulkan: Optimize getting textures
...
When we already have a texture or know we need to upload, just do that
instead of rendering to Cairo.
2017-01-01 19:53:36 +01:00
Emmanuele Bassi
d915292db9
build: Require graphene-gobject
...
We need the GType wrappers around Graphene types, so we need to do a
dependency check on graphene-gobject-1.0, not graphene-1.0.
2017-01-01 11:10:33 +00:00
Benjamin Otte
e18d5ca835
vulkan: Add support for color matrix nodes
...
@keyframes weee {
100% { filter: hue-rotate(1turn); }
}
.background {
animation: linear infinite 3s weee;
}
2016-12-31 14:37:20 +01:00
Benjamin Otte
e542d411ac
accellabel: Initialize allocation variable
...
I have no idea why gcc didn't catch this.
2016-12-31 14:37:20 +01:00
Benjamin Otte
fb43807fbb
cssfiltervalue: Change node name
...
We're not just using this for icon filters, but for regular filters, so
the existing name is confusing.
2016-12-31 14:37:20 +01:00
Benjamin Otte
1aa0f79e8b
vulkan: Make the effect renderer take matrix + offset
...
This is in preparation for the new color matrix node.
I don't think keeping support for a separate opacity shader is worth it.
2016-12-31 14:37:20 +01:00
Daniel Boles
0259312142
scrolledwindow: Fix func summary being cut off in bindings using doxygen
...
...which treats the first '.' in doc comments as the end of the summary.
So, e.g., in gtkmm, get_kinetic_scrolling() is currently summarised as
"Changes the behaviour of @scrolled_window wrt." Not very informative!
No need for a period there & anyway, the phrase "wrt to" is superfluous,
and we have space to actually say "with regard to", so just do that now.
2016-12-31 13:27:15 +00:00
Benjamin Otte
959f80e6e9
css: Implement filter
...
So far, it's only implemented for widgets, not for gadgets.
Not sure how to do it for gadgets without conflicts for widget gadgets
yet...
2016-12-31 02:49:47 +01:00
Benjamin Otte
45fbc25e5e
css: Remove -gtk-icon-effect
...
-gtk-icon-filter replaces this now.
2016-12-31 02:49:47 +01:00
Benjamin Otte
5b33127692
gtk: Replace -gtk-icon-effect with -gtk-icon-filter
...
Instead of
-gtk-icon-effect: dim;
-gtk-icon-effect: hilight;
we now use
-gtk-icon-filter: opacity(0.5);
-gtk-icon-filter: brightness(1.2);
respectively.
2016-12-31 02:49:47 +01:00
Benjamin Otte
2645b5a7d7
gtk: Implement -gtk-icon-filter
...
This uses the new GskColorMatrixNode to implement a filter that applies
to icons. It's meant to replace -gtk-icon-effect.
2016-12-31 02:49:47 +01:00
Benjamin Otte
8973191278
snapshot: Add gtk_snapshot_push_color_matrix()
...
So far, this is unused.
2016-12-31 02:49:47 +01:00
Benjamin Otte
7540702cf0
gsk: Add GskColorMatrixNode
...
This node essentially implements the feColorMatrix SVG filter. I got the
idea yesterday after looking at the opacity implementation.
It can be used for opacity (not sure if we want to) and to implement a
bunch of the CSS filters.
2016-12-31 02:49:47 +01:00
Benjamin Otte
91741f6b63
vulkan: Handle opacity nodes
...
Well, "handle" them actually. We still draw the node's child using
Cairo, but we apply the opacity manually now.
2016-12-31 02:49:47 +01:00
Benjamin Otte
d82e8bf3d6
debugupdates: Draw without cairo node
2016-12-31 02:49:47 +01:00
Chris Mayo
051a7eceb1
GtkAboutDialog: Fix formatting of example email address in html
...
Signed-off-by: Chris Mayo <aklhfex@gmail.com>
https://bugzilla.gnome.org/show_bug.cgi?id=776524
2016-12-30 10:36:50 -05:00
Matthias Clasen
e62696b145
about dialog: Simplify the template a bit
...
Remove some unnecessary complications, like an extraneous
box, and some child property settings that are not needed.
2016-12-30 10:33:16 -05:00
Chun-wei Fan
9d8b07d150
Visual Studio builds: Fix .pc generation
...
A space was missed...
2016-12-30 15:10:12 +08:00
Chun-wei Fan
cf8c72b431
Visual Studio builds: Mention about Vulkan builds
...
Let people know what is needed for Vulkan builds.
2016-12-30 14:52:00 +08:00
Chun-wei Fan
2fdd0cefa5
Visual Studio builds: Support Vulkan builds
...
This will assume that the Vulkan SDK can be found in the INCLUDE/LIB paths
that are used by the Visual Studio compiler.
2016-12-30 14:42:38 +08:00
Chun-wei Fan
c2fd445764
Visual Studio builds: Clean up project files
...
There are items in there that can be combined, as there are mostly no
differences between x64 and Win32 configs for source/data file generation.
2016-12-30 12:46:55 +08:00
Chun-wei Fan
22c719b7eb
Visual Studio builds: Remove the Broadway projects
...
They are not used anymore, so we ought to remove them
2016-12-30 11:17:06 +08:00