64311 Commits

Author SHA1 Message Date
Aleksey Samoilov
4fc6bbe8c2
wayland: improve logging (#17291)
* wayland: improve logging

* wayland: minor cleanup
2024-12-27 15:51:13 +01:00
zoltanvb
26350527f3
Changes up to 2024-12-27. (#17292) 2024-12-27 15:51:05 +01:00
sonninnos
da05947b41
GLUI: Restore core list icons (#17293) 2024-12-27 15:50:55 +01:00
LibretroAdmin
0d4eeb647a Warning cleanups/unused variables removal 2024-12-27 15:39:32 +01:00
LibretroAdmin
b8cdaeae72 Buildfixes 2024-12-27 15:24:29 +01:00
LibretroAdmin
18c85b5ccd Cleanups -
* Less string copies
* Some general cleanups
* Add extra param to runloop_message_queue_push so we can pass size_t
of the message
* Consistent conventions for local variable usage for certain things
2024-12-27 15:13:45 +01:00
LibretroAdmin
ed58e4a8d8 Conventionalize len variables:
* In function arguments, use 'size_t len'
* Inside the function, use '_len'
* If you need a seciondary len variable inside the function, use '__len'
2024-12-27 05:51:33 +01:00
hizzlekizzle
bc819bb412
change increment on max Fast-Forward speed (#17290)
closes https://github.com/libretro/RetroArch/issues/15540

we can still tick through to higher values quite fast, but there's not much reason for someone to exceed, say, 3x without just setting it to 0 anyway, so I don't think there's any real usability loss.
2024-12-27 04:26:54 +01:00
github-actions
d5d1c424c8 Fetch translations from Crowdin 2024-12-27 00:14:30 +00:00
Aleksey Samoilov
a2d9c74978
wayland: add support for content-type-v1 protocol (#17288)
* wayland: add support for content-type-v1 protocol

* update gitignore, remove generated files

* Fix typos
2024-12-27 00:16:36 +01:00
libretroadmin
95f0297e7f Fix CLI shader loading 2024-12-26 05:10:00 +01:00
libretroadmin
5749a2179d Use members from path_data directly and bypass functions
in gfx_thumbnail_path
2024-12-26 02:48:05 +01:00
github-actions
a2e9915532 Fetch translations from Crowdin 2024-12-26 00:14:21 +00:00
zoltanvb
ac6b30471b
Pointer sanitization - sdl (#17286) 2024-12-25 17:55:13 -06:00
libretroadmin
92f134fb87 video_driver_frame - optimize string handling 2024-12-25 23:33:50 +01:00
libretroadmin
c477956f23 Cleanups/style nits 2024-12-25 22:52:12 +01:00
libretroadmin
1450cc04de Reduce local string sizes 2024-12-25 22:36:13 +01:00
libretroadmin
9c71620c53 (gfx_widget_load_content_animation) icon_file can be reduced to NAME_MAX_LENGTH size 2024-12-25 21:34:02 +01:00
libretroadmin
bd461a5f8e (core_info) core_info_get_file_id - return length of written
string and use it to avoid strlcat
2024-12-25 19:49:26 +01:00
libretroadmin
700b13654c Some string cleanups 2024-12-25 19:18:45 +01:00
libretroadmin
51e706007b String handling cleanups 2024-12-25 19:06:04 +01:00
Aleksey Samoilov
7887719d42
wayland: add support for cursor-shape-v1 protocol (#17284)
* wayland: add support for cursor-shape-v1 protocol

* Bump required wayland-protocols to 1.32
2024-12-25 08:18:45 -08:00
zoltanvb
e5fde4dd09
Pointer sanitization - winraw, dinput, sdl (partial) (#17283)
Adapt the sanitized pointer handling, discussed at libretro#17196 :

winraw and dinput driver specific changes:

    make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper
    remove extra "inside" checks, general simplification
    enable pointer offscreen reporting
    use common functions for edge detection and lightgun button ID conversion

sdl driver specific changes:

    pointer handling aligned with the other input drivers, as above
    added TODO for lightgun part - no suitable test env at the moment where SDL input can be used
2024-12-25 08:18:17 -08:00
Viačasłaŭ
b124fe6e65
Fix build with GCC 14 (#17282) 2024-12-24 23:51:48 -08:00
libretroadmin
9a5b2063b7 Simplify video_shader_replace_wildcards 2024-12-25 06:49:58 +01:00
libretroadmin
44238e909f Consistent viewport naming conventions 2024-12-24 22:50:51 +01:00
libretroadmin
83a187784a Remove dependency on strlcpy for rjson.c 2024-12-24 21:09:15 +01:00
libretroadmin
8074a833aa Cleanups/less string copies and indirection 2024-12-24 21:07:31 +01:00
libretroadmin
2cfdccc085 Less string intermediary copies 2024-12-24 18:46:22 +01:00
zoltanvb
6a85844b41
Pointer sanitization - x11, udev (#17281)
Adapt the sanitized pointer handling, discussed at #17196 :

X11 driver specific changes:

    make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper
    remove extra "inside" checks, general simplification
    enable pointer offscreen reporting

Udev driver specific changes:

    remove custom calculation and use common viewport translation
    unify pointer query instead of separate _x and _y
    enable pointer offscreen reporting

Other changes:

    more tuning of pointer conversion in video_driver.c for edges
    lightgun button ID conversion moved to input_driver.c
2024-12-24 07:08:58 -08:00
libretroadmin
f8ffcef86c Cleanups 2024-12-24 06:42:59 +01:00
libretroadmin
279270ae5f string_list_join_concat_special - specialized version without bounds
check
2024-12-24 06:14:26 +01:00
libretroadmin
67b0147a59 Cleanups - menu_entries_get_title returns results of strlcpy 2024-12-24 05:35:36 +01:00
libretroadmin
de8f979cb7 less string copies 2024-12-24 05:10:09 +01:00
libretroadmin
02bcbffbab fill_pathname - one less string copy 2024-12-24 00:08:04 +01:00
libretroadmin
2b94bccad2 (fill_pathname_join_delim) - no longer use strlen 2024-12-23 23:42:56 +01:00
libretroadmin
55c457e548 menu_displaylist - cleanups 2024-12-23 22:44:18 +01:00
Viačasłaŭ
284161057d
Add microphone support via PipeWire (#17279) 2024-12-23 13:40:35 -08:00
libretroadmin
1340e751e0 print_buf_lines - extended was never used as a parameter (always set to
false), so change function
2024-12-23 07:28:49 +01:00
libretroadmin
72acdb4eb1 datetime_cache can go now from the struct 2024-12-23 07:12:29 +01:00
libretroadmin
cdef3ff9f7 strftime - write directly into string instead of using intermediary copies 2024-12-23 07:10:03 +01:00
libretroadmin
772620f6fa gfx_widget_load_content_animation - use fill_pathname more 2024-12-23 06:33:43 +01:00
libretroadmin
7317fa9ee9 Cut down on some strlen calls where possible 2024-12-23 06:24:01 +01:00
libretroadmin
b789e6ee56 More style nits 2024-12-23 05:47:29 +01:00
libretroadmin
442b9bc3da Syntax style nits 2024-12-23 05:44:40 +01:00
Eric Warmenhoven
4ab58f66ec
apple: tweaks to fastfile to better handle versions and dirty repos (#17278) 2024-12-22 19:38:56 -08:00
github-actions
3ab3b32103 Fetch translations from Crowdin 2024-12-23 00:15:28 +00:00
libretroadmin
99c7e08445 Don't use string_trim_whitespace 2024-12-23 00:51:01 +01:00
libretroadmin
ca7e53e3ca string_replace_substring - move out implicit strlen 2024-12-23 00:40:09 +01:00
libretroadmin
b90c2d440c Another buildfix 2024-12-22 22:11:19 +01:00