1
0
Fork 0
mutter-performance-source/src/core
Jonas Ådahl 422ee4515d Compile with -Wfloat-conversion
This means we'll get warnings whenever a floating point value looses
precision, e.g. gets implicitly casted to an integer. It also warns when
implicitly casting double's to float's, which arguably is less of a
problem, but there are no warning for just float/double to int.

This would have caught
https://gitlab.gnome.org/GNOME/mutter/-/issues/3530.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3822>
2024-06-25 20:48:24 +02:00
..
bell.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
bell.h core: Move frame related types to x11 2024-05-27 12:50:26 +00:00
boxes-private.h boxes: Move Rectangle.is_adjacent_to to Mtk 2024-01-09 18:47:34 +00:00
boxes.c boxes: Move Rectangle.is_adjacent_to to Mtk 2024-01-09 18:47:34 +00:00
constraints.c Compile with -Wfloat-conversion 2024-06-25 20:48:24 +02:00
constraints.h core: Move frame related types to x11 2024-05-27 12:50:26 +00:00
delete.c x11: Drop error trap helpers 2024-01-10 13:58:18 +00:00
display-private.h keybindings: Send trigger when a key accelerator is deactivated 2024-05-28 09:27:39 +00:00
display.c Compile with -Wfloat-conversion 2024-06-25 20:48:24 +02:00
events.c events: Don't check for stage grabs before sending events to ibus 2024-06-05 15:53:40 +00:00
events.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
keybindings-private.h keybindings: Send trigger when a key accelerator is deactivated 2024-05-28 09:27:39 +00:00
keybindings.c keybindings: Send trigger when a key accelerator is deactivated 2024-05-28 09:27:39 +00:00
meta-accel-parse.c Update license access method 2023-08-30 08:48:23 +02:00
meta-accel-parse.h Update license access method 2023-08-30 08:48:23 +02:00
meta-anonymous-file.c core/anonymous-file: Support 0-sized files 2024-05-15 08:52:50 +00:00
meta-anonymous-file.h Update license access method 2023-08-30 08:48:23 +02:00
meta-border.c Update license access method 2023-08-30 08:48:23 +02:00
meta-border.h Update license access method 2023-08-30 08:48:23 +02:00
meta-clipboard-manager.c clipboard-manager: Cancel selection transfers 2024-04-19 14:31:01 +00:00
meta-clipboard-manager.h Update license access method 2023-08-30 08:48:23 +02:00
meta-close-dialog.c cleanup: Stop translating nick/blurb for pspecs 2023-07-19 11:33:59 +00:00
meta-context-main.c x11: Remove MUTTER_DISPLAY env variable 2024-05-21 09:38:35 +00:00
meta-context-main.h Update license access method 2023-08-30 08:48:23 +02:00
meta-context-private.h core: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-context.c core/context: Add typecheck guards to the public functions 2024-05-31 14:51:13 +00:00
meta-debug-control.c Add debug controller 2023-12-01 14:25:08 +00:00
meta-debug-control.h Add debug controller 2023-12-01 14:25:08 +00:00
meta-fraction.c Update license access method 2023-08-30 08:48:23 +02:00
meta-fraction.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-gesture-tracker-private.h core: Use subclassing macros for GestureTracker 2024-01-13 17:22:26 +00:00
meta-gesture-tracker.c core: Whitespace fix 2024-03-12 12:48:20 +10:00
meta-inhibit-shortcuts-dialog-default-private.h cleanup: Switch to pragma once 2023-08-07 22:24:36 +00:00
meta-inhibit-shortcuts-dialog-default.c Use a consistent style for enum braces 2019-02-28 09:31:01 +01:00
meta-inhibit-shortcuts-dialog.c cleanup: Stop translating nick/blurb for pspecs 2023-07-19 11:33:59 +00:00
meta-launch-context.c core/launch-context: Guard X11 calls 2024-01-31 12:25:39 +00:00
meta-pad-action-mapper.c core: Handle Alt in the MetaPadActionMapper 2024-02-01 10:22:22 +00:00
meta-pad-action-mapper.h Update license access method 2023-08-30 08:48:23 +02:00
meta-private-enums.h Update license access method 2023-08-30 08:48:23 +02:00
meta-profiler.c Update license access method 2023-08-30 08:48:23 +02:00
meta-profiler.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-private.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source-memory.c Use gboolean consts instead of C bools 2024-05-20 11:29:54 +00:00
meta-selection-source-remote.c Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source-remote.h Update license access method 2023-08-30 08:48:23 +02:00
meta-selection-source.c Update license access method 2023-08-30 08:48:23 +02:00
meta-selection.c Update license access method 2023-08-30 08:48:23 +02:00
meta-service-channel.c Update license access method 2023-08-30 08:48:23 +02:00
meta-service-channel.h Update license access method 2023-08-30 08:48:23 +02:00
meta-sound-player.c Update license access method 2023-08-30 08:48:23 +02:00
meta-workspace-manager-private.h core: Drop unused private functions 2024-01-09 13:14:35 +00:00
meta-workspace-manager.c workspace-manager: Accessors for layout-{columns,rows} 2024-01-09 16:38:25 +00:00
mutter.c mutter: Raise the NOFILE limit if a Wayland compositor 2022-02-07 16:11:47 +01:00
place.c Compile with -Wfloat-conversion 2024-06-25 20:48:24 +02:00
place.h core: Move frame related types to x11 2024-05-27 12:50:26 +00:00
prefs-private.h Update license access method 2023-08-30 08:48:23 +02:00
prefs.c cleanup: Guard x11 headers includes 2024-02-21 16:01:00 +01:00
restart-helper.c mutter: Remove stray spaces 2023-05-24 14:16:41 +02:00
restart.c cleanup: Guard x11 headers includes 2024-02-21 16:01:00 +01:00
stack-tracker.c stack-tracker: Improve documentation why we need to filter x11 windows 2024-05-27 16:23:20 +00:00
stack-tracker.h core/stack-tracker: Guard X11 usages 2024-02-08 16:55:06 +01:00
stack.c core: Move frame related types to x11 2024-05-27 12:50:26 +00:00
stack.h Remove unused meta_stack_get_bottom 2023-08-12 19:53:46 +00:00
startup-notification-private.h core: Drop unused private functions 2024-01-09 13:14:35 +00:00
startup-notification.c cleanup: Guard x11 headers includes 2024-02-21 16:01:00 +01:00
util-private.h mtk: Add Rectangle.contains_point 2024-06-11 00:49:28 +02:00
util.c Add debug topic "kms-deadline" 2024-06-10 13:55:21 +08:00
window-private.h window: Replace map/unmap vfunc with signal 2024-06-07 12:04:27 +02:00
window.c Compile with -Wfloat-conversion 2024-06-25 20:48:24 +02:00
workspace-private.h workspace: Add a private getter for builtin struts 2024-05-17 15:33:52 +00:00
workspace.c Compile with -Wfloat-conversion 2024-06-25 20:48:24 +02:00