blender/intern/ghost/intern
Campbell Barton cb4f7cac24 Fix #106040: pasting long text fails in Gnome-Shell/Wayland
Workaround gnome-shell including uninitialized memory when pasting
from the clipboard. Where `read` would not write data into the range
return by the length.

Reading from the pipe into a power-of-two buffer
works around the problem.

It's not clear why this only impacts gnome-shell - as there is no
significant down-side to changing the buffer size, apply a workaround.

Ref !106091.
2023-03-24 22:25:26 +11:00
..
GHOST_Buttons.cpp Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Buttons.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_C-api.cpp Spelling: familly -> family. 2023-02-03 10:16:01 +01:00
GHOST_CallbackEventConsumer.cpp Cleanup: use booleans for GHOST C-API 2022-06-17 17:18:06 +10:00
GHOST_CallbackEventConsumer.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Context.cpp GHOST: OpenGL errors now use "file:line: " contention for errors 2022-12-06 14:48:38 +11:00
GHOST_Context.h Spelling: familly -> family. 2023-02-03 10:16:01 +01:00
GHOST_ContextCGL.h Cleanup: spelling in comments 2023-01-31 14:22:23 +11:00
GHOST_ContextCGL.mm Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_ContextD3D.cpp Fix T102322: Crash on exiting VR session when using DirectX backend 2022-11-23 10:21:17 +09:00
GHOST_ContextD3D.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextEGL.cpp GHOST: OpenGL errors now use "file:line: " contention for errors 2022-12-06 14:48:38 +11:00
GHOST_ContextEGL.h Cleanup OpenGL linking and related code after libepoxy merge 2022-08-15 16:47:20 +02:00
GHOST_ContextGLX.cpp Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_ContextGLX.h GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00
GHOST_ContextNone.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextNone.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextSDL.cpp GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00
GHOST_ContextSDL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ContextVK.cpp Vulkan: Select graphics queue with compute capabilities. 2023-02-03 10:16:01 +01:00
GHOST_ContextVK.h Spelling: familly -> family. 2023-02-03 10:16:01 +01:00
GHOST_ContextWGL.cpp Cleanup: use 'u' prefixed unsigned types for GHOST 2022-09-26 10:52:52 +10:00
GHOST_ContextWGL.h GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00
GHOST_Debug.h GHOST: expand GHOST_PRINT/PRINTF without WITH_GHOST_DEBUG 2022-10-23 17:41:04 +11:00
GHOST_DisplayManager.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 20:17:08 +10:00
GHOST_DisplayManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerNULL.h Cleanup: Fix "unused m_system" warnings 2022-08-17 12:54:46 +02:00
GHOST_DisplayManagerSDL.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 20:17:08 +10:00
GHOST_DisplayManagerSDL.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerWin32.cpp Cleanup: use C style comments for GHOST/Win32 text 2022-08-27 11:24:49 +10:00
GHOST_DisplayManagerWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DisplayManagerX11.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 20:17:08 +10:00
GHOST_DisplayManagerX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_DropTargetWin32.cpp Revert "MSVC: lower C4100 warning level from 4 to 3" 2023-02-14 15:36:35 -03:00
GHOST_DropTargetWin32.h Cleanup: GHOST/Win32 drop 2022-09-07 15:14:49 +10:00
GHOST_DropTargetX11.cpp Cleanup: use 'u' prefixed unsigned types for GHOST 2022-09-26 10:52:52 +10:00
GHOST_DropTargetX11.h GHOST/Wayland: support URL decoding for file drag & drop 2022-08-04 22:33:23 +10:00
GHOST_Event.h Cleanup: clang-tidy GHOST Context/Event/TimerManager 2022-08-12 11:04:21 +10:00
GHOST_EventButton.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_EventCursor.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventDragnDrop.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventKey.h GHOST: remove redundant ascii argument to GHOST_EventKey 2022-07-14 21:54:28 +10:00
GHOST_EventManager.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 20:17:08 +10:00
GHOST_EventManager.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventNDOF.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventPrinter.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 22:31:31 +10:00
GHOST_EventPrinter.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventString.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventTrackpad.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_EventWheel.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_IconX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_ImeWin32.cpp Revert "MSVC: lower C4100 warning level from 4 to 3" 2023-02-14 15:36:35 -03:00
GHOST_ImeWin32.h Cleanup: spelling in comments 2022-11-02 10:18:19 +11:00
GHOST_ISystem.cpp Fix crash on exit when background rendering in wayland 2022-10-23 14:07:22 +11:00
GHOST_ISystemPaths.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_IXrGraphicsBinding.h Cleanup OpenGL linking and related code after libepoxy merge 2022-08-15 16:47:20 +02:00
GHOST_ModifierKeys.cpp GHOST: assert when unknown keys are passed to the ModifierKeys API 2022-09-22 13:47:17 +10:00
GHOST_ModifierKeys.h Cleanup: spelling 2022-09-19 14:52:27 +10:00
GHOST_NDOFManager.cpp Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_NDOFManager.h Fix T102964: Key-map event type values changed for NDOF buttons 2022-12-06 18:26:24 +01:00
GHOST_NDOFManagerCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_NDOFManagerUnix.cpp Cleanup: use '_' suffix for private members for NDOF Manager 2022-10-19 13:53:20 +11:00
GHOST_NDOFManagerUnix.h Cleanup: use '_' suffix for private members for NDOF Manager 2022-10-19 13:53:20 +11:00
GHOST_NDOFManagerWin32.cpp Cleanup: use C style comments for GHOST/Win32 text 2022-08-27 11:24:49 +10:00
GHOST_NDOFManagerWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Path-api.cpp Cleanup: use 'filepath' for fill paths 2022-08-12 11:14:31 +10:00
GHOST_PathUtils.cpp Cleanup: use 'u' prefixed unsigned types for GHOST 2022-09-26 10:52:52 +10:00
GHOST_PathUtils.h GHOST/Wayland: support URL decoding for file drag & drop 2022-08-04 22:33:23 +10:00
GHOST_Rect.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_System.cpp Blender: Add command line argument to switch gpu backends. 2022-10-19 15:13:26 +02:00
GHOST_System.h Cleanup: quiet unused argument warnings and minor changes in GHOST 2022-10-28 17:05:13 +11:00
GHOST_SystemCocoa.h Blender: Add command line argument to switch gpu backends. 2022-10-19 15:13:26 +02:00
GHOST_SystemCocoa.mm macOS: Replace PboardTypes with PasteboardTypes. 2023-01-12 08:48:48 +01:00
GHOST_SystemHeadless.h Blender: Add command line argument to switch gpu backends. 2022-10-19 15:13:26 +02:00
GHOST_SystemPaths.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsCocoa.mm File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsUnix.cpp Cleanup: remove redundant includes from GHOST_SystemPathsUnix 2022-09-22 13:47:17 +10:00
GHOST_SystemPathsUnix.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsWin32.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemPathsWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_SystemSDL.cpp Cleanup: update username in code-comments: campbellbarton -> ideasman42 2023-02-09 11:33:48 +11:00
GHOST_SystemSDL.h Blender: Add command line argument to switch gpu backends. 2022-10-19 15:13:26 +02:00
GHOST_SystemWayland.cpp Fix #106040: pasting long text fails in Gnome-Shell/Wayland 2023-03-24 22:25:26 +11:00
GHOST_SystemWayland.h Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_SystemWin32.cpp Revert "MSVC: lower C4100 warning level from 4 to 3" 2023-02-14 15:36:35 -03:00
GHOST_SystemWin32.h Cleanup: spelling in comments 2023-02-07 14:17:01 +11:00
GHOST_SystemX11.cpp Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_SystemX11.h Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_TaskbarWin32.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TaskbarX11.cpp Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_TaskbarX11.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_TimerManager.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 20:17:08 +10:00
GHOST_TimerManager.h Cleanup: clang-tidy GHOST Context/Event/TimerManager 2022-08-12 11:04:21 +10:00
GHOST_TimerTask.h Cleanup: clang-tidy for GHOST X11/SDL/Wayland/NULL backends 2022-05-29 13:25:58 +10:00
GHOST_TrackpadWin32.cpp Revert "MSVC: lower C4100 warning level from 4 to 3" 2023-02-14 15:36:35 -03:00
GHOST_TrackpadWin32.h GHOST: Add support for precision touchpad gestures on Windows 2022-05-06 00:40:27 -07:00
GHOST_Util.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_utildefines.h Cleanup: add string utility macros to GHOST/Wayland 2022-09-23 15:28:48 +10:00
GHOST_utildefines_variadic.h GHOST: add GHOST_utildefines 2022-07-08 19:36:31 +10:00
GHOST_WaylandCursorSettings.h GHOST/Wayland: Add a build time option for DBUS, disable by default 2022-06-27 16:49:21 +10:00
GHOST_WaylandUtils.h Cleanup: add C++ compatible WL_ARRAY_FOR_EACH macro 2022-06-24 10:22:46 +10:00
GHOST_Window.cpp Cleanup: declare GHOST_Window::getCursorGrabBounds as const 2022-12-15 15:10:51 +11:00
GHOST_Window.h Cleanup: declare GHOST_Window::getCursorGrabBounds as const 2022-12-15 15:10:51 +11:00
GHOST_WindowCocoa.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_WindowCocoa.mm macOS: Replace PboardTypes with PasteboardTypes. 2023-01-12 08:48:48 +01:00
GHOST_WindowManager.cpp Cleanup: remove unused GHOST function getAnyModifiedState. 2022-07-11 10:38:02 +10:00
GHOST_WindowManager.h Cleanup: spelling in comments 2022-09-16 18:14:33 +10:00
GHOST_WindowNULL.h Cleanup: Fix "unused m_system" warnings 2022-08-17 12:54:46 +02:00
GHOST_WindowSDL.cpp Cleanup: use 'u' prefixed unsigned types for GHOST 2022-09-26 10:52:52 +10:00
GHOST_WindowSDL.h Cleanup: unused argument warnings 2022-05-27 14:51:48 +10:00
GHOST_WindowViewCocoa.h Cleanup: spelling in comments 2022-09-16 18:14:33 +10:00
GHOST_WindowWayland.cpp Cleanup: add struct comments for GHOST/Wayland 2023-03-21 12:54:19 +11:00
GHOST_WindowWayland.h Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_WindowWin32.cpp Revert "GPencil: Include UV information in simplify->sample modifier." 2023-02-20 11:20:07 +01:00
GHOST_WindowWin32.h Revert "GPencil: Include UV information in simplify->sample modifier." 2023-02-20 11:20:07 +01:00
GHOST_WindowX11.cpp Cleanup: use '#' prefix for issues instead of 'T' 2023-02-12 14:56:05 +11:00
GHOST_WindowX11.h Cleanup: spelling in comments 2022-10-03 11:03:46 +11:00
GHOST_Wintab.cpp Cleanup: use 'u' prefixed unsigned types for GHOST 2022-09-26 10:52:52 +10:00
GHOST_Wintab.h Cleanup: rename misleading/inconsistent GHOST types 2022-06-27 20:36:40 +10:00
GHOST_Xr.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Xr_intern.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_Xr_openxr_includes.h Cleanup OpenGL linking and related code after libepoxy merge 2022-08-15 16:47:20 +02:00
GHOST_XrAction.cpp Cleanup: replace C-style casts with functional casts for numeric types 2022-09-26 17:58:36 +10:00
GHOST_XrAction.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrContext.cpp Cleanup OpenGL linking and related code after libepoxy merge 2022-08-15 16:47:20 +02:00
GHOST_XrContext.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrControllerModel.cpp Cleanup: use function style casts for C++ 2022-09-30 14:51:49 +10:00
GHOST_XrControllerModel.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrEvent.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrException.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrGraphicsBinding.cpp Cleanup: spelling in comments 2022-10-03 11:03:46 +11:00
GHOST_XrSession.cpp Cleanup: use function style casts for C++ 2022-09-30 14:51:49 +10:00
GHOST_XrSession.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrSwapchain.cpp File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
GHOST_XrSwapchain.h File headers: SPDX License migration 2022-02-11 09:14:36 +11:00