1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2025-06-03 10:08:51 -04:00
glfw/src
Camilla Löwy 4e3204d86d Cocoa: Replace global autorelease pool with blocks
This is another small step towards having GLFW play nice with other
toolkits sharing the same process, including AppKit.

Any macOS platform function that touches Cocoa must now wrap itself in
an autoreleasepool block.

Since GLFW no longer provides an autoreleasepool outside of its
functions, THIS MAY BREAK EXISTING CODE MIXING GLFW AND COCOA.  Sorry!
Please add your own autoreleasepool blocks as needed.

Fixes #1107.
Closes #1114.
2019-03-05 20:11:20 +01:00
..
CMakeLists.txt Cocoa: Fix detection of Clang 2019-02-14 00:19:45 +01:00
cocoa_init.m Cocoa: Replace global autorelease pool with blocks 2019-03-05 20:11:20 +01:00
cocoa_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
cocoa_joystick.m Fix Coverity Scan false positive 2019-03-04 18:52:56 +01:00
cocoa_monitor.m Cocoa: Replace global autorelease pool with blocks 2019-03-05 20:11:20 +01:00
cocoa_platform.h Cocoa: Replace global autorelease pool with blocks 2019-03-05 20:11:20 +01:00
cocoa_time.c Cleanup 2017-03-19 02:46:16 +01:00
cocoa_window.m Cocoa: Replace global autorelease pool with blocks 2019-03-05 20:11:20 +01:00
context.c Cleanup 2019-01-17 00:11:17 +01:00
egl_context.c Add GLFW_TRANSPARENT attribute and documentation 2017-09-27 21:54:04 +02:00
egl_context.h Mir: Remove this experimental backend 2018-10-05 11:59:26 +02:00
glfw_config.h.in Mir: Remove this experimental backend 2018-10-05 11:59:26 +02:00
glfw3.pc.in Use GNUInstallDirs for install destinations 2018-12-03 19:28:31 +01:00
glfw3Config.cmake.in Include imported targets into module config file 2016-02-02 06:00:18 +01:00
glx_context.c Use the _glfw_dlopen/dlsym/dlclose define 2018-01-29 02:26:12 +01:00
glx_context.h Add GLFW_TRANSPARENT and X11 implementation 2017-09-27 21:33:03 +02:00
init.c Win32: Fix build on older versions of Visual C++ 2018-12-26 14:45:40 +01:00
input.c Fix Coverity Scan false positive 2019-03-04 18:52:56 +01:00
internal.h Add glfwGetMonitorWorkarea 2019-03-05 16:10:59 +01:00
linux_joystick.c Linux: Include the null byte in joystick path 2018-10-03 22:03:20 +02:00
linux_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
mappings.h Move to modern mappings database with modifiers 2018-02-13 18:57:56 +01:00
mappings.h.in Remove trailing whitespace 2017-12-14 15:36:55 +01:00
monitor.c Formatting 2019-03-05 16:58:45 +01:00
nsgl_context.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
nsgl_context.m Cocoa: Replace global autorelease pool with blocks 2019-03-05 20:11:20 +01:00
null_init.c Add internal TLS support 2017-03-19 00:52:46 +01:00
null_joystick.c Fix function signature in null joystick backend 2017-07-13 01:28:02 +02:00
null_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
null_monitor.c Formatting 2019-03-05 16:58:45 +01:00
null_platform.h Rename thread source files 2017-06-08 16:09:14 +02:00
null_window.c Rename raw input to raw mouse motion, cleanup 2019-02-22 13:04:11 +01:00
osmesa_context.c Fix typos 2018-12-26 15:00:39 +01:00
osmesa_context.h Cocoa: Fix Xcode Warnings 2017-11-20 18:04:05 +01:00
posix_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
posix_thread.h Rename thread source files 2017-06-08 16:09:14 +02:00
posix_time.c Cleanup 2017-03-19 02:46:16 +01:00
posix_time.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00
vulkan.c Mir: Remove this experimental backend 2018-10-05 11:59:26 +02:00
wgl_context.c WGL: Unify query error handling 2019-02-17 18:34:56 +01:00
wgl_context.h Move context management out of glfwCreateWindow 2018-01-09 17:58:54 +01:00
win32_init.c Win32: Add support for Per-Monitor V2 awareness 2018-09-03 23:12:39 +02:00
win32_joystick.c Fix Coverity Scan false positive 2019-03-04 18:52:56 +01:00
win32_joystick.h Add support for SDL_GameControllerDB 2017-07-07 15:52:33 +02:00
win32_monitor.c Win32: Use cached monitor handle for work area 2019-03-05 16:58:45 +01:00
win32_platform.h Win32: Fix OCR_HAND macro missing on MinGW 2019-02-24 04:18:11 +01:00
win32_thread.c Rename thread source files 2017-06-08 16:09:14 +02:00
win32_time.c Cleanup 2017-03-19 02:46:16 +01:00
win32_window.c Rename raw input to raw mouse motion, cleanup 2019-02-22 13:04:11 +01:00
window.c Rename raw input to raw mouse motion, cleanup 2019-02-22 13:04:11 +01:00
wl_init.c Wayland: keyboard repeat rate is given in Hz 2019-02-20 15:56:04 +01:00
wl_monitor.c Formatting 2019-03-05 16:58:45 +01:00
wl_platform.h Wayland: Fix auto-iconify on kwin_wayland 2019-02-15 18:12:09 +01:00
wl_window.c Wayland: Implement raw mouse motion control 2019-02-22 14:52:02 +01:00
x11_init.c X11: Fix implementation of work area retrieval 2019-03-05 16:58:45 +01:00
x11_monitor.c X11: Fix implementation of work area retrieval 2019-03-05 16:58:45 +01:00
x11_platform.h X11: Fix implementation of work area retrieval 2019-03-05 16:58:45 +01:00
x11_window.c Rename raw input to raw mouse motion, cleanup 2019-02-22 13:04:11 +01:00
xkb_unicode.c Cleanup 2017-05-17 22:26:15 +02:00
xkb_unicode.h Remove internal header inclusion guards 2017-05-25 19:35:13 +02:00