| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Add a property that specifies which line in a multi-line
label to align to the baseline.
|
|\
| |
| |
| |
| | |
entry: Ignore the baseline when centering
See merge request GNOME/gtk!5889
|
| |
| |
| |
| |
| |
| |
| | |
When we are not doing baseline alignment, don't pass
a baseline to the allocated widget. This helps because
a number of widgets (GtkLabel, GtkEntry, etc) always
position their text on the given baseline.
|
|/
|
|
|
| |
GtkEntry was always placing its text on the baseline,
even when the valign said something else.
|
|\
| |
| |
| |
| | |
theme: Reinstate switch labels in hc
See merge request GNOME/gtk!5888
|
| |
| |
| |
| |
| | |
Widget with height requests have their baselines
ignored. Oops.
|
|/
|
|
|
|
|
| |
Since we show them in GNOME shell, show them here too.
The comment that says "only show these in the a11y
theme" was still there, but we were always hiding them.
|
| |
|
|\
| |
| |
| |
| | |
wayland: Use wl_surface_damage_buffer() in Cairo
See merge request GNOME/gtk!5886
|
| |
| |
| |
| |
| | |
This will be needed most importantly for inverted textures,
like in GLArea.
|
| |
| |
| |
| |
| |
| |
| | |
... when it is available.
Also introduce the new function gdk_rectangle_transform_affine(), which
looks like overkill for this purpose, but I'm about to use it elsewhere.
|
|\ \
| | |
| | |
| | |
| | | |
shortcutswindow: Avoid criticals
See merge request GNOME/gtk!5885
|
|/ /
| |
| |
| |
| | |
No point in resetting accessible relations
when we are in finalize.
|
|\ \
| | |
| | |
| | |
| | | |
builder: Clarify default "swapped" value when "object" is set for signals
See merge request GNOME/gtk!4514
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
I encountered this issue where I casted user_data to my self type, but it
showed me they were actually swapped when I set the "object" signal attribute.
After checking the source code which confirms this, it is a good idea to
properly document that convenient behaviour.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
GtkShortcutsWindow: Allow a screen reader user to browse the available shortcuts
See merge request GNOME/gtk!5042
|
| | | |
| | | |
| | | |
| | | |
| | | | |
That required making the shortcuts focusable and with a meaningful
accessibility labels.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Harmonize would_drop() replacement for g_log_writer_default_would_drop()
See merge request GNOME/gtk!4935
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Reuse a better to read would_drop() from ./testsuite/reftests/gtk-reftest.c
in ./tools/gtk-builder-tool.c
Fixed wrong indentation in ./testsuite/reftests/gtk-reftest.c
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Deprecate get allocation
See merge request GNOME/gtk!5882
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Use gtk_widget_get_baseline instead.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This is just a renaming of gtk_widget_get_allocated_baseline
that fits better with gtk_widget_get_width/height.
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Drop the section that talked about main and how to update
local checkouts - its been 2 years, people should have gotten
around to it by now. Add some general git hints instead.
|
|\ \ \ \ \ \
| | |_|_|_|/
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fix hangs on Wayland
Closes #5761
See merge request GNOME/gtk!5884
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
There's no need for EGL to do any timing, we do it in GTK already.
This fixes hangs in Mesa when we hide a surface after a SwapBuffers()
but before the frame callback arrives.
If we then reshow the surface and immediately render to it, Mesa would
still have a frame callback from before the hiding and forever poll()
waiting for the compositor to send the callback.
Fixes #5761
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Do not leave spurious frame callbacks around wen hiding surfaces.
Instead, store the callback and remove it.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
donʼt mention its renamed successor either, as that has its own section
later. We could have another sentence paragraph like ‘In the case of
GtkBox, the pack methods have been renamed to X and lost the trailing
arguments Y’, but that wonʼt help people prepare still on GTK3, which is
the point in the affected section… so just remove the misleading relic.
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Cosmetics
See merge request GNOME/gtk!5883
|
| |/ / / / |
|
| | | | | |
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Add GdkGLTextureBuilder
See merge request GNOME/gtk!5862
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Don't sync right when we receive the buffer,
pass it along with the texture to be executed
later in the renderer.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Create a fence object and pass it along when
creating the GL texture, so that the GL renderer
can wait for the texture to be ready.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pass the GLsync object from texture into our
command queue, and when executing the queue,
wait on the sync object the first time we
use its associated texture.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
If the GL texture has a sync object, wait
on it before downloading the data.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Add a new function to TextureBuilder that takes a GLsync that
requires internal code to wait on before using the texture.
Somewhat sneakily, we don't take the sync if syncs are not supported by
the current GL context.
As public API has no code to query the sync for the destroy notify, this
is fine and it means we don't have to do the check every time we want to
call gdk_texture_get_sync() internally.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Use GdkGLTextureBuilder instead.
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This is a rudimentary port that does not take advantage of all the cool
new formats that we could support now.
|