godot/drivers
Joel Croteau f44d6a235f Fix reload of GDExtension libraries in framework package on macos
`GDExtension::open_library` has a check in it to see if the library was loaded
from a temp file, and if it was to restore the original name as that is the one
we actually care about. This check is breaking extension reloading on Mac when
the library path is to a framework folder, as the file inside the framework
will not generally be the same name as the folder.

This check also shouldn't be necessary even on Windows, which is the only
platform that uses `generate_temp_files`, since disposal of the created temp
file is handled within `OS_Windows::open_dynamic_library`, and
`GDExtension::open_library` (which is the only function to call
`open_dynamic_library` with a `p_data` argument) only cares about the original
library file path and has to do extra work to remove the name of the temp file.
Instead, I have removed that check and set `OS_Windows::open_dynamic_library`
to return the name of the original file and not the name of the copy.

This fixes GDExtension reloading on macOS. I do not have a Windows machine
available to test that it still works properly on Windows, so someone should
check that before merging this.
2024-08-08 08:31:49 -06:00
..
alsa
alsamidi Move MIDI parsing up from ALSA driver to platform independent driver. 2024-06-25 16:46:30 +01:00
backtrace
coreaudio
coremidi Move MIDI parsing up from ALSA driver to platform independent driver. 2024-06-25 16:46:30 +01:00
d3d12 Merge pull request #95074 from RandomShaper/d3d12_exit_crash 2024-08-08 10:16:24 +02:00
egl EGL: Use EGL_EXT_platform_base whenever possible 2024-06-04 08:43:34 +02:00
gl_context
gles3 Fix regression around OpenGL swapchain optimisation for OpenXR 2024-07-29 12:46:58 +10:00
png
pulseaudio
unix Fix reload of GDExtension libraries in framework package on macos 2024-08-08 08:31:49 -06:00
vulkan Fix building with use_volk=yes on MacOS 2024-06-19 08:06:44 -05:00
wasapi Use COM smart pointers to handle COM objects safely 2024-05-16 16:46:45 +05:30
windows
winmidi Move MIDI parsing up from ALSA driver to platform independent driver. 2024-06-25 16:46:30 +01:00
xaudio2
register_driver_types.cpp
register_driver_types.h
SCsub