| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the code tried to keep the absolute scroll position
unchanged, which meant that when the child or the viewport changed size,
the top left of the viewport would keep locked to the same coordinate in
the child.
With the new code, we keep the point of the viewport unchanged that
matches the percentage the scrollbar has been scrolled.
In particular, that means a centered child stays centered and a child
stays at the bottom (or top) when the scrollbar is scolled to the end
(or start, like before).
|
|
|
|
|
|
|
|
|
|
| |
This has lots of issues:
* It randomly crashes when data is loading while the dnd goes away.
* The data gets randomly reset at the wrong time
* Can't scroll the window on Wayland
* ...
But it's better than nothing, so better get it committed.
|
|\
| |
| |
| |
| | |
widget: Don't queue an allocate on a nonexisting parent
See merge request GNOME/gtk!4288
|
| | |
|
| |
| |
| |
| | |
No test, no idea how to trigger this reliably.
|
|\ \
| | |
| | |
| | |
| | | |
build: Replace source_root()
See merge request GNOME/gtk!4281
|
| | |
| | |
| | |
| | | |
Replace it with `get_variable(pkgconfig:...)`.
|
| | |
| | |
| | |
| | | |
Use `win_subsystem: 'windows'` instead.
|
| | |
| | |
| | |
| | | |
Use project_source_root(), which replaces the deprecated source_root().
|
|\ \ \
| |/ /
|/| /
| |/
| |
| |
| | |
Fix GLES
Closes #4571
See merge request GNOME/gtk!4285
|
| |
| |
| |
| |
| |
| |
| | |
This function does not at all work like in OpenGL - if it works at all.
So make it behave accordingly.
Fixes #4571
|
| | |
|
| |
| |
| |
| | |
So don't call it.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of just passing major/minor, pass them twice, once for GL and
once for GLES. This way, we don't need to check for GL and GLES
separately.
If something is supported unconditionally, passing 0/0 works fine.
That said, I'd like to group the arguments somehow, because otherwise
it's just a confusing list of numbers - but I have no idea how to do
that.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We want critical GL debug messages to be critical, so that the testsuite
sudokus itself when they appear.
This is relevant in particular for GLES warnings in the GLES runner,
because its warnings can cause crashes on GL drivers less forgiving than
Mesa.
Related: #4571
|
|/
|
|
|
|
|
| |
At last as long as widgets like GtkFlowBox and
GtkGrid still trigger this, it is not a great
idea to have this warning in a stable release.
So remove it for 4.6
|
|\
| |
| |
| |
| |
| |
| | |
gl: Clear current when destroying current's surface
Closes #4554
See merge request GNOME/gtk!4279
|
|/
|
|
|
|
|
|
|
| |
When destroying the EGLSurface or GLXDrawable of a GdkSurface, make sure
the current context is not still bound to it.
If it is, clear the current context.
Fixes #4554
|
|\
| |
| |
| |
| | |
label: Fix get_natural_wrap_mode() precondition check
See merge request GNOME/gtk!4278
|
|/ |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Fix minor typo
See merge request GNOME/gtk!4275
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
gdk/wayland: Support new `high-contrast` key
See merge request GNOME/gtk!4271
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We now have a boolean setting that determines whether the high-contrast
theme should be used. Support it by automatically setting the existing
`gtk-theme-name` and `gtk-icon-theme-name` properties when enabled.
With that, it is no longer necessary to change the regular theme settings
for high-contrast, so toggling between high-contrast and a non-default
theme finally works reliably.
|
|\ \
| |/
|/|
| |
| | |
Don't keep discrete scroll events in the queue
See merge request GNOME/gtk!4274
|
| |
| |
| |
| | |
We are not going to compress those anyway.
|
|\ \
| | |
| | |
| | |
| | | |
testsuite: introspection: Do not override environment variables.
See merge request GNOME/gtk!4268
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Functional package managers such as GNU Guix rely on environment
variables such as GI_TYPELIB_PATH to discover the system libraries and
resources; extend rather than override them.
* testsuite/introspection/meson.build (env): New variable that extends
rather than override the GI_TYPELIB_PATH and LD_PRELOAD environment
variables.
(api): Use the above as the value of the 'env' keyword argument.
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | | |
Make render node diffing not slow
Closes #4560 and #2396
See merge request GNOME/gtk!4269
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Limit the diff region to 30 rectangles (randomly chosen because it
looked big enough to not trigger by accident and small enough to not
cause performance issues).
If the diff region gets more complicated, we abort to the parent node
and use its bounds as the diff region instead and then continue diffing
the rest of the node tree.
Fixes: #4560
Fixes: #2396
|
|/ /
| |
| |
| |
| | |
Now the vfuncs can decide they don't want to diff anymore, not just the
actual diff function.
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
label: Add gtk_label_set_natural_wrap_mode()
See merge request GNOME/gtk!4267
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Allows influencing natural size requests so that labels can request more
width than necessary for a given height.
Related: !4245
Related: #4535
|
|\ \
| | |
| | |
| | |
| | | |
progressbar: Queue allocate when setting "inverted"
See merge request GNOME/gtk!4264
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
build: Check for the gi python module
See merge request GNOME/gtk!4266
|
| | | | |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The introspection tests depend on the pygobject module, but we currently
are not checking if it's available at configuration time, which means we
can get build failures like:
> ModuleNotFoundError: No module named 'gi'
when running the test suite.
|
|/ / |
|
| | |
|
|/ |
|
|\
| |
| |
| |
| | |
Remove Visual Studio 2013 bits from Meson files
See merge request GNOME/gtk!4249
|
| |
| |
| |
| |
| |
| |
| |
| | |
We now require a Pango version that requires Visual Studio 2015 or later to
build, and non-UCRT-based (VS2013) binaries may not bode well with
UCRT-based binaries (VS2015+). Drop the support for VS2013 as a result.
This reverts commit e208e0e07886248d4d86118aa5591c9882f0ed5c.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
label: word-char wrapping should word-wrap for natural size
Closes #4535
See merge request GNOME/gtk!4245
|