ddnet/src/engine/client
Robert Müller 40fbc2140b Use std::string for IInput::GetClipboardText
Simplify clipboard handling by returning an `std::string` and freeing the string returned by SDL immediately, so the clipboard data does not stay in memory unnecessarily after the clipboard has been used until the clipboard data is requested again.

Fix possible TOCTOU when pasting from the clipboard into a lineinput, due to the clipboard data being requested twice.
2024-08-19 19:03:49 +02:00
..
backend Remove unused LoadTextureRawSub and CMD_TEXTURE_UPDATE 2024-08-02 18:15:55 +02:00
backend_sdl.cpp Don't return from void methods 2024-05-26 19:31:54 +08:00
backend_sdl.h Rename all variables for strict camel-casing of abbreviations 2024-03-05 15:44:09 +01:00
blocklist_driver.cpp Huge variable naming format 2022-07-08 18:01:29 +02:00
blocklist_driver.h Add Intel as vendor to the block list on windows 2021-05-06 12:23:40 +02:00
checksum.h Add some checksum functions to the client 2022-01-31 21:31:26 +01:00
client.cpp Fix cutting 0.6 demos 2024-08-18 10:05:58 +08:00
client.h Fix hook coll on vanilla 0.7 servers 2024-08-16 19:12:42 +08:00
demoedit.cpp Remove netversion from demo editor init 2024-08-10 14:50:43 +02:00
demoedit.h add error handling for CDemoEdit job 2024-02-26 18:44:11 +01:00
discord.cpp show discord activity when offline 2024-04-02 23:57:17 +02:00
enums.h Add 0.7 client support 2024-08-10 14:50:42 +02:00
favorites.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
friends.cpp Add templated str_append function for arrays with fixed size 2023-06-14 00:04:01 +02:00
friends.h Organize engine-client includes 2022-06-17 17:46:43 +02:00
ghost.cpp Small fixes for cl_race_ghost_strict_map 2023-10-28 14:54:35 +02:00
ghost.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
graph.cpp Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graph.h Add time scale to debug graphs for constant scrolling speed 2024-01-17 20:43:19 +01:00
graphics_defines.h Replace all usages of C standard headers with C++ headers 2023-03-01 19:26:51 +01:00
graphics_threaded.cpp Remove clang-tidy static variable name exceptions 2024-08-10 13:27:55 +02:00
graphics_threaded.h Remove unused return value of IGraphics::UnloadTexture function 2024-08-02 18:16:15 +02:00
input.cpp Use std::string for IInput::GetClipboardText 2024-08-19 19:03:49 +02:00
input.h Use std::string for IInput::GetClipboardText 2024-08-19 19:03:49 +02:00
keynames.h Regenerate key lists with latest SDL version 2023-05-30 23:39:47 +02:00
notifications.cpp Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
notifications.h Add INotifications kernel interface 2023-12-16 18:15:43 +01:00
serverbrowser.cpp Hide address url for 0.6 ips (Closed #8712) 2024-08-14 18:25:10 +08:00
serverbrowser.h Track country/type filters separately for internet/favorites tabs 2024-04-10 21:40:02 +02:00
serverbrowser_http.cpp Hide address url for 0.6 ips (Closed #8712) 2024-08-14 18:25:10 +08:00
serverbrowser_http.h Remove servers_legacy support 2024-07-25 17:24:39 +02:00
serverbrowser_ping_cache.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
serverbrowser_ping_cache.h Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
sixup_translate_system.cpp Add 0.7 client support 2024-08-10 14:50:42 +02:00
smooth_time.cpp Properly initialize all CClient member variables 2023-12-02 18:33:46 +01:00
smooth_time.h Make prediction margin take effect immediately 2023-11-19 19:52:39 +01:00
sound.cpp Ensure sample indices are initialized also with sound disabled 2024-06-21 17:38:16 +02:00
sound.h Ensure correct sample and bit rate are used for video recording 2024-05-04 13:15:54 +02:00
sqlite.cpp Make use of IO_MAX_PATH_LENGTH 2021-09-13 12:14:50 +02:00
steam.cpp Make less headers depend on <base/system.h> 2023-12-11 23:52:23 +01:00
text.cpp Fix console search highlighting. Close #8451 2024-06-05 18:01:42 +02:00
updater.cpp Use named enum EUpdaterState instead of int 2024-06-23 16:08:46 +02:00
updater.h Use named enum EUpdaterState instead of int 2024-06-23 16:08:46 +02:00
video.cpp Fix assertion when rendering demo with updated ffmpeg library 2024-07-18 17:23:16 +02:00
video.h Fix crashes when video recording is not started successfully 2024-05-04 13:55:35 +02:00
warning.cpp Fix warning title being uninitialized in some cases 2024-01-16 20:12:25 +01:00