| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
This renders ok only with cairo.
|
| |
|
|\
| |
| |
| |
| |
| |
| | |
textview: Improve word selection
Closes #4177
See merge request GNOME/gtk!3855
|
|/
|
|
|
|
|
| |
Avoid selecting a whole extra paragraph when a select-by-words
selection is extended beyond the end of the previous paragraph.
Fixes: #4177
|
|\
| |
| |
| |
| | |
Cosmetics
See merge request GNOME/gtk!3854
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
demo: Add a dnd special-case for textures
See merge request GNOME/gtk!3853
|
| | |
| | |
| | |
| | |
| | |
| | | |
The old code was just pasting local clipboard data that we put there
ourselves and was causing criticals on remote clipboard data. Now the
code does the proper async paste.
|
| | |
| | |
| | |
| | |
| | | |
We can provide textures as a paintable - we can't provide paintables as
textures.
|
|/ /
| |
| |
| |
| | |
If the DND/clipboard machinery knows a texture is a texture, it will try
to serialize it. Paintables can't be serialized, so it wouldn't try.
|
|\ \
| |/
| |
| |
| |
| |
| | |
infobar: Update buildable docs
Closes #4164
See merge request GNOME/gtk!3852
|
| |
| |
| |
| |
| |
| |
| | |
Document the current state of GtkBuilder support in
GtkInfoBar, not what we had in GTK3.
Fixes: #4164
|
|\ \
| |/
|/|
| |
| | |
gdk/wayland: add support for wl_seat version 7
See merge request GNOME/gtk!3842
|
| |
| |
| |
| |
| |
| | |
Version 7 requires wl_keyboard keymaps to be mapped with
MAP_PRIVATE, so that the compositor can share the same keymap
file between multiple clients.
|
| |
| |
| |
| | |
Version 6 adds two new wl_touch events, which can be ignored.
|
|\ \
| | |
| | |
| | |
| | | |
x11: ensure WM class is not null even if display is initialized early
See merge request GNOME/gtk!3808
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
With gtkmm, when using `Application()`, the display is initialized
before we know the application name and therefore, the program class
associated to the display is NULL.
Instead of providing a default value, we set it equal to program name
when NULL. Moreover, we give up on capitalizing the class name to keep
the code super simple. Also, not using a capitalized name is
consistent with `gdk_x11_display_open()`. If someone has a good reason
to use a capitalized name, here is how to do it.
```c
class_hint = XAllocClassHint ();
class_hint->res_name = (char *) g_get_prgname ();
if (display_x11->program_class)
{
class_hint->res_class = (char *) g_strdup (display_x11->program_class);
}
else if (class_hint->res_name && class_hint->res_name[0])
{
class_hint->res_class = (char *) g_strdup (class_hint->res_name);
class_hint->res_class[0] = g_ascii_toupper (class_hint->res_class[0]);
}
XSetClassHint (xdisplay, impl->xid, class_hint);
g_free (class_hint->res_class);
XFree (class_hint);
```
Fix eff53c023a26 ("x11: set a default value for program_class")
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
gdk/win32: Drop local DnD protocol
See merge request GNOME/gtk!3830
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
It is basically not used by default and is pretty much broken at this point, so
it's about time to drop it.
Let's focus on fixing the OLE2 DnD protocol.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
GDK-Win32: Reject GL context if shaders aren't supported (fix issue #4165)
Closes #4165
See merge request GNOME/gtk!3850
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When we initialize OpenGL, check whether we have OpenGL 2.0 or later; if not,
check whether we have the 'GL_ARB_shader_objects' extension, since we must be
able to support shaders if using OpenGL for GTK.
If we don't support shaders, as some Windows graphics drivers do not support
OpenGL adequately, notably older Intel drivers, reject and destroy the GL
context that we created, and so fallback to the Cairo GSK renderer, so that
things continue to run, albeit with an expected warning message that the GL
context cannot be realized.
Also, when we could not make the created dummy WGL context current during
initialization, make sure that we destroy the dummy WGL context as well.
Fixes issue #4165.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
gtkbuilderparser: Fix duplicate object id detection
See merge request GNOME/gtk!3848
|
| |/ / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add a custom input test
See merge request GNOME/gtk!3851
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Add some more docs around GtkIMContext.
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
This shows the minimal work required to hook up an
im context to a custom widget.
|
|\ \ \ \ \
| |/ / / /
|/| | | |
| | | | |
| | | | | |
widget: Fix gtk_widget_class_query_action() annotations
See merge request GNOME/gtk!3843
|
| | |_|/
| |/| |
| | | |
| | | | |
Add transfer none on all out values as they aren't being copied.
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
gdk: Include Vulkan error code in vulkan_strerror()
See merge request GNOME/gtk!3844
|
|/ / / |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Handle the new line height pango attribute
See merge request GNOME/gtk!3840
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This was getting downloaded from sourceforge every
time for the docs build, and that started failing.
|
|/ / /
| | |
| | |
| | |
| | | |
Update all the places where we switch over PangoAttributeType
to handle (and ignore, for now) the new line height attribute.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
widget: Change callback scope
See merge request GNOME/gtk!3796
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Look who changed his mind since commit 8e2ffb3b46 :-)
The "call" scope means that the callback is only used during the
function call itself (here: gtk_widget_class_install_action()).
That's clearly wrong here, as the callback is invoked every time
the action is activated.
Arguably the "notified" scope is a better match here, where the
lack of a GDestroyNotify parameter suggests that the callback may
be used forever (which is the case here).
Related: #3498
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
ngl: Make current when unrealizing
See merge request GNOME/gtk!3835
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The profiler (at least) discards GL objects and we want to discard them
on the right context.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Cosmetics: Tweak css parser error messages
See merge request GNOME/gtk!3834
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
These show up in tooltips, so they should a) be capitalized
and b) not end with a period.
|
| | | | | |
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
gtk-demo: Spruce up the hypertext demo
See merge request GNOME/gtk!3832
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use the newish allow-breaks pango attribute
to make the text break better.
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
(cherry picked from commit 11e6ce175166364f7c807764a8de8619b65da82a)
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
(cherry picked from commit b467881274d4917fcc29ace6c699786ffa74e909)
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | |
| | | | | |
Revert "textview: fix yoffset position when top_margin is set"
See merge request GNOME/gtk!3828
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 908b1e5e1214afc01440bc07a8d937222f411f38.
This commit broke top-margin altogether.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
settings: Default gtk-split-cursor to FALSE
See merge request GNOME/gtk!3827
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
According to Owen, this was the intention when the setting
was added in 2001. It only took us 20 years to fix the
default value.
|