Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create super-linter.yml #9820

Open
wants to merge 4,626 commits into
base: release-2.30.x
Choose a base branch
from
Open

Conversation

Hawthorne001
Copy link

Description

Existing Issue(s)

icculus and others added 30 commits April 23, 2024 18:57
I think this started off as a UTF-32 output, and I forgot to actually
finish this off to encode back to UTF-8.

Fixes libsdl-org#9607.
Trailing commas in enums is a C99 feature.
This commit removes them in SDL headers for ANSI compatibility.
…re function isn't implemented.

Some backends, such as Wayland, don't support explicit mouse capture, and thus don't implement the backend function to do so, but do set/unset the capture flag on button events to handle cases where a button is pressed and the pointer is dragged outside the window.

If the backend doesn't support explicitly setting the mouse capture mode, manually clear the capture flag when the window has had the focus forcibly removed, to avoid sending bogus motion events as well as an assert condition.
…ry one on Windows.

There is now a desktop bounds variable that could potentially be exposed in the API if we wanted.
…mented.

The idea is that if you have a `typedef Uint32 MyFlags` that has a bunch of
defines that are meant to be bitflags, you can pack them into the same wiki
page automatically.

This only works with `typedef`s that are _not_ struct/union/enums, and it
only pulls in `#define` lines that immediately follow the typedef line.
Even a blank line or a comment will signal to stop including lines for
this page!
Closing a device file takes 0.01 to 0.5s, which can add up to
significant startup delays. The udev classification does not
require opening the actual device files, so, use it if possible,
and only fall back to opening the device and probing otherwise.

(cherry picked from commit 45b804c)
Replacing function call `kill(0, SIGINT);` with `(void)raise(SIGINT);` in file test/testlock.c.
The `kill()` function is not available on Unix systems when compiling without system extensions enabled.
Reference Issue libsdl-org#9557.

This lets SDL_AudioFormat have the `#if byteorder == lilendian` section.
JacKeTUs and others added 28 commits May 15, 2024 19:37
…due to use of deprecated ALooper_pollAll

replace ALooper_pollAll by ALooper_pollOnce
…7-beta1 due to use of deprecated ALooper_pollAll"

This reverts commit ee16d2f.

@madebr's change was simpler and correct.
The structure of the existing loop makes the inner loop of the previous commit unnecessary.
Did an initial cleanup on the headers and wrote a few pieces of documentation,
but this needs more work to fill out the documentation.
This isn't C++ code, so there's no need to append global symbols with two
colons. It looks ugly.

I _did_ leave them for actual C++ things in WinRT-specific comments and other
places, like a reference to a Perl class thing.

Also, even though it's not valid C, it's a useful expression to say
`StructType::SpecificField`, so I left those alone, too.
DMG creation on macOS occasionally fails, so try multiple times
https://gitlab.kitware.com/cmake/cmake/-/issues/25671
Added SDL_Vulkan_DestroySurface, its documentation and corresponding platform specific implementations. Fixed some header inclusion orders to improve consistency between platforms. Added TODOs regarding MetalView creation and destruction which will benefit from the new functionality.
@slouken
Copy link
Collaborator

slouken commented May 17, 2024

What does this actually do? I don't see any linter output in the new job.

@Hawthorne001 Hawthorne001 changed the base branch from main to release-2.30.x May 17, 2024 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet