Bilal Elmoussaoui
84dabd9f8b
interval: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:29:44 +01:00
Bilal Elmoussaoui
43d6f73714
grid-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:47 +01:00
Bilal Elmoussaoui
ba689b86ba
flow-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:47 +01:00
Bilal Elmoussaoui
5b527ac89b
fixed-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:40 +01:00
Bilal Elmoussaoui
23d9210806
box-layout: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:26 +01:00
Bilal Elmoussaoui
764c3ef602
blur-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:28:08 +01:00
Bilal Elmoussaoui
9bd12d7e88
page-turn-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:27:46 +01:00
Bilal Elmoussaoui
581343dc9a
deform-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:27:42 +01:00
Bilal Elmoussaoui
accff6b937
shader-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:26:20 +01:00
Bilal Elmoussaoui
7b32f06f44
colorize-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:25:03 +01:00
Bilal Elmoussaoui
99501482df
offscreen-effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:24:20 +01:00
Bilal Elmoussaoui
0760e90b0d
keyframe-transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:23:16 +01:00
Bilal Elmoussaoui
6e3223a0cc
property-transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:22:19 +01:00
Bilal Elmoussaoui
57fbc304f5
swipe-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:21:14 +01:00
Bilal Elmoussaoui
1df56ca77a
text-buffer: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:21:05 +01:00
Bilal Elmoussaoui
a944889f49
tap-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:31 +01:00
Bilal Elmoussaoui
64ad3abded
rotate-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:09 +01:00
Bilal Elmoussaoui
aa8ef78b17
pan-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:20:07 +01:00
Bilal Elmoussaoui
d79f0ab9f3
snap-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:18 +01:00
Bilal Elmoussaoui
7e7e9795fe
bind-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:14 +01:00
Bilal Elmoussaoui
1565756fea
align-constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:19:05 +01:00
Bilal Elmoussaoui
ae23caa537
binding-pool: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:47 +01:00
Bilal Elmoussaoui
e729e63963
settings: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:30 +01:00
Bilal Elmoussaoui
d6b4c3a5d1
canvas: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:18:27 +01:00
Bilal Elmoussaoui
e32268e181
constraint: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:16:52 +01:00
Bilal Elmoussaoui
f96683a89f
effect: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:16:14 +01:00
Bilal Elmoussaoui
edfd489732
transition-group: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:15:51 +01:00
Bilal Elmoussaoui
dc0a4c554a
transition: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:15:47 +01:00
Bilal Elmoussaoui
e9c1f1c642
timeline: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:11:56 +01:00
Bilal Elmoussaoui
5fb78dfbad
zoom-action: Use macros for subclassing boilerplate
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3387 >
2024-01-10 09:11:52 +01:00
Robert Mader
5ffeb34251
build: Enable no-omit-frame-pointer for all non-plain builds
...
This is useful for local installations with e.g. the `release`
buildtype.
Further more, Fedora has been doing the same system wide and it
apparently was helpful in various ways, see also
Also add -mno-omit-leaf-frame-pointer, like Fedora.
https://blogs.gnome.org/chergert/2023/10/03/what-have-frame-pointers-given-us-anyway/
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3333 >
2024-01-09 16:26:57 +00:00
Robert Mader
ee65ca791b
build: Harmonize c_args handling
...
The slightly different styles in the different build files make it
harder to reason about or share c_args.
This notably ensures we never set any extra c_args for plain builds and
fixes the cc.get_supported_arguments() check in Cogl, Clutter and Mtk.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3333 >
2024-01-09 16:26:57 +00:00
Bilal Elmoussaoui
aaa63c1e08
clutter: Remove no longer useful since tags
...
As they represent the pre-merge version of Clutter
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3489 >
2024-01-09 15:23:04 +00:00
Bilal Elmoussaoui
346e9a7f2c
docs: Remove remaining SECTIONs
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3489 >
2024-01-09 15:23:04 +00:00
Bilal Elmoussaoui
00b4d4c4bc
docs: Update more links to gi-docgen
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3489 >
2024-01-09 15:23:04 +00:00
Bilal Elmoussaoui
e7a920f94d
docs: Migrate remaining content to markdown
...
By stopping using gtk-doc annotations
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3489 >
2024-01-09 15:23:04 +00:00
Bilal Elmoussaoui
fb959f3a5d
clutter: Remove no longer useful gitignore
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3500 >
2024-01-08 19:50:50 +01:00
Bilal Elmoussaoui
6b8c1c430e
cleanup: Make clutter includes consistent
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3491 >
2024-01-05 14:22:22 +01:00
Bilal Elmoussaoui
0f6df633fe
cogl/pango: Drop PANGO_ENABLE_BACKEND usage
...
Dropped before Pango 1.46 which is the min required version
so the backward compatibility is no longer needed
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3491 >
2024-01-05 14:22:22 +01:00
Bilal Elmoussaoui
9d7d25e9ee
clutter/stage: Remove no longer used struct
...
Drops a cairo usage
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3486 >
2024-01-04 14:00:26 +00:00
Daniel van Vugt
6db9a0d77e
clutter/stage: Fix indentation check-code-style is complaining about
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3487 >
2024-01-04 12:26:38 +00:00
Robert Mader
cb794329e7
clutter/stage-view: Remove superfluous return in void function
...
Fixes: 9d3e4fd402
("clutter/stage-cogl: Use buffer age when view monitor is rotated")
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3473 >
2024-01-02 13:54:38 +00:00
Joan Torres
3a94822e75
clutter/actor: Set a minimum guessed scale
...
When running headlessly it fails guessing the scale to -1.0f making
the assertion g_assert (guessed_scale >= 0.5) fail.
Setting it to 1.f in that case fixes it.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3464 >
2023-12-22 15:44:37 +00:00
Bilal Elmoussaoui
6daa21c930
clutter: Remove unnused private functions
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3458 >
2023-12-19 12:44:35 +00:00
Bilal Elmoussaoui
4d7dfb08c9
cally: Remove useless cally_actor_get_top_level_origin
...
Does nothing...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3458 >
2023-12-19 12:44:35 +00:00
Sebastian Keller
c86d8a23c3
clutter/actor: Don't write uninitialized out values on failed transform
...
clutter_actor_get_transformed_position() would write the uninitialized
values of v2 when clutter_actor_apply_transform_to_point() fails in
_clutter_actor_fully_transform_vertices() because the actor has not been
added to the stage yet.
When called from JS this would overwrite the zero initialized values
passed in from gjs. If the uninitialized values now happen to correspond
to one of the NaN float values used by mozjs to represent a pointer
type, this would lead to seemingly random crashes in mozjs code later
on.
Avoid this by using _clutter_actor_fully_transform_vertices() directly,
which allows us to check if it failed.
Related: https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/issues/469
Related: https://gitlab.gnome.org/GNOME/gjs/-/issues/591
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3453 >
2023-12-15 15:08:22 +00:00
Daniel van Vugt
85f173d0d7
clutter: Pass 'radius' to public blur APIs instead of 'sigma'
...
Although they're in the same units, `radius` is easier to understand than
`sigma` and makes the public API independent of the blur algorithm used
behind the scenes. We now only keep the `sigma` terminology where the
implementation is Gaussian-specific.
The assumption that `sigma = radius / 2.0` is actually not new here. We
just move it from `_st_create_shadow_pipeline` (gnome-shell!1905) into
`clutter_blur_new`.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1908 >
2023-12-14 18:12:55 +00:00
Bilal Elmoussaoui
90cff013a5
clutter: Remove unused enums
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3437 >
2023-12-13 11:20:04 +00:00
Bilal Elmoussaoui
580d62b9b6
clutter: Remove unused Path related types
...
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3437 >
2023-12-13 11:20:04 +00:00
Bilal Elmoussaoui
893e6e49b1
clutter: Drop unused private functions/defines
...
The commit also stops defining certain functions in a private header
when they are only used in the same file.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3437 >
2023-12-13 11:20:04 +00:00