- 15 Feb, 2021 9 commits
-
-
Alexander Mikhaylenko authored
Fix warnings with --buildtype=optimized.
-
Alexander Mikhaylenko authored
Prevent warnings with -Wmissing-field-initializers.
-
Alexander Mikhaylenko authored
Prevent warnings with -Wmissing-field-initializers.
-
(cherry picked from commit 80bc26b4f2fd05ddf63babd7e0cbf5ccd4e354d1)
-
-
This removes the icon from the args for update_custom_image(), since it's not really needed.
-
This sets the source object of the GTask to the HdyAvatar itself, which makes it track destruction correctly.
-
Alexander Mikhaylenko authored
Don't warn about our own deprecation when including the header.
-
This drops margins around clamps put in HdyStatusPage, as it already provides margins. This avoids having stupidly large margins in the Clamp, Lists and Window pages.
-
- 14 Feb, 2021 1 commit
-
-
- 13 Feb, 2021 1 commit
-
-
- 12 Feb, 2021 4 commits
-
-
Adrien Plazas authored
-
Adrien Plazas authored
-
Alexander Mikhaylenko authored
That variable exists for subprojects. We don't want to propagate our build deps that we don't expose in the API outside, there's no guarantee they even exist for that project.
-
Adrien Plazas authored
-
- 11 Feb, 2021 10 commits
-
-
Adrien Plazas authored
-
Adrien Plazas authored
We initially planned to change our versioning scheme to a more traditional semver, for several reasons we couldn't do that and are reverting to the traditional: - even minors versions are stable versions - odd minor versions are development versions - 90+ micro versions are beta versions
-
This function allows to draw an avatar to a pixbuf while loading the custom avatar async, if there isn't any custom avatar the async call will return quickly.
-
With loadable icons, there's no reason to use that anymore, let's deprecate it.
-
We need to combine them with _HDY_EXTERN to handle exporting. Along the way, align them with GDK, adding per-version deprecations, and drop the duplicate macros we've never used. Drop hdy-deprecation-macros.h and merge the 2 remaining macros into hdy-version.h as we need to declare them after _HDY_EXTERN and it gets messy otherwise.
-
The example uses the deprecated function to load the avatar and loading a custom avatar via the GLoadableIcon is much simpler.
-
-
-
-
This class wraps the #HdyAvatarImageLoadFunc so that it can be used the as a GLoadableIcon, which simplifies the code for hdy_avatar_set_image_load_func ()
-
- 10 Feb, 2021 15 commits
-
-
Alexander Mikhaylenko authored
-
Alexander Mikhaylenko authored
-
Alexander Mikhaylenko authored
-
Bastien Nocera authored
-
Bastien Nocera authored
Separate from adding the ABI checker so it can be easily reverted.
-
Bastien Nocera authored
-
Actually use the `pos` parameter in get_bounds().
-
The exciting game of whack-a-mole continues! Width-for-height and height-for-width sizing was another place where we didn't correctly implement css box. Use the newly added helper to fix that.
-
-
Alexander Mikhaylenko authored
-
Alexander Mikhaylenko authored
Instead, set its opacity to 0. That way we can still measure it, because we care about its size.
-
Alexander Mikhaylenko authored
Surprisingly, an active spinner still uses CPU when not mapped. Stopping it significantly reduces CPU usage.
-
Alexander Mikhaylenko authored
Don't show close buttons on hover unless the tab is fully visible, and don't make indicator clickable in that case.
-
Alexander Mikhaylenko authored
Since tabs need to be animated, their minimum width is 0 and we interpret the css minimum width as natural width instead. This won't be possible in GTK4, and arguably it doesn't make sense to allow to override that anyway.
-
Alexander Mikhaylenko authored
That function can be called multiple times in some cases.
-