64431 Commits

Author SHA1 Message Date
Viačasłaŭ
4124ca49e3
PipeWire improvements (#17305)
* Fix freeze when pipewire service is stopped/restarted
* Fix `device_list `memleak
* Refactor pipewire drivers
2024-12-29 18:57:54 +01:00
Viačasłaŭ
945d3ebc5f
Fix memleak (#17307) 2024-12-29 18:57:45 +01:00
zoltanvb
fe1575bc54
Input sanitization, wayland enhancement and overlay (#17308)
Adapt the sanitized pointer handling, discussed at #17196 :

Overlay "driver" specific changes:

- make sure pointer position is always within [-0x7fff,0x7fff] by using the confined wrapper
- enable pointer offscreen query
- report -0x8000 for lightgun if pointer is at the edge
- align lightgun offscreen reporting and button ID conversion with other drivers

Android 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
- report same value for all ports when querying mouse and lightgun
- fill missing lightgun support, with fixed button map

Udev and X11 driver specific changes:

- simulate max. 3 touches instead of 1 using different mouse buttons

Wayland driver specific changes:

- integrate touch input better to the overall handling (enabling overlay usage with mouse)
- simulate max. 3 touches instead of 1 using different mouse buttons
2024-12-29 18:57:27 +01:00
Aleksey Samoilov
9ffb458626
wayland: add support for single-pixel-buffer-v1 protocol (#17298)
* wayland: add support for single-pixel-buffer-v1 protocol

* Create single pixel buffer instead of checkerboard if available

* Fix identations
2024-12-29 18:56:32 +01:00
Colin Kinloch
e3cc0341b9
wayland: Fix improperly sized commits (#17309)
* Revert "wayland: Ignore splash sized events during splash"

This reverts commit 5ef24debe491666bc2dffe0f64d811862b90afb5.

* wayland: Fix improperly sized commits

* Set viewport on splash commit
* Don't commit "set video mode" viewport update
* Hide the libdecor frame before transitioning to fullscreen
2024-12-29 18:56:17 +01:00
LibretroAdmin
3e6486db2b Small cleanups (Task_database_cue.c) 2024-12-29 00:25:22 +01:00
LibretroAdmin
4297f02544 Use returntype for fill_pathname_basedir 2024-12-28 23:11:24 +01:00
LibretroAdmin
9376b99ea6 - Make some functions static in command.c
- Set returntype to size_t for some functions, avoid strlen
2024-12-28 22:49:03 +01:00
Eric Warmenhoven
ef1b325978
Change return types for some path functions to size_t (#17303) 2024-12-28 22:26:30 +01:00
LibretroAdmin
9d15900979 Small cleanups: * Prevent some unneccessary strlcpy calls and intermediary string copies * Name local length variables for strings '_len', parameter/argument 'len' 2024-12-28 22:22:07 +01:00
LibretroAdmin
0a7b409a04 (runtime_file.c) Use fill_pathname 2024-12-28 19:41:10 +01:00
Eric Warmenhoven
b09b98ffd5
apple: include doukutsu_rs core in App Store builds (#17302) 2024-12-28 18:45:24 +01:00
LibretroAdmin
a3f631e310 Fix label - 'Never' was always shown for playlist runtime 2024-12-28 18:43:46 +01:00
Aramis
2c3e53e4e8
fix for closing window (#17301) 2024-12-28 17:26:04 +01:00
LibretroAdmin
b8c9665753 Fix typo 2024-12-28 00:44:56 +01:00
Jamiras
a70eba3fd5
(cheevos) allow subframes in hardcore (#17296)
* allow subframes in hardcore

* remove unused message
2024-12-28 00:39:44 +01:00
LibretroAdmin
4951201b6b disp_set_label_menu_file_core - set *w to implicit 0 2024-12-28 00:38:04 +01:00
LibretroAdmin
e6373f2869 Position Latency accurately in statistics 2024-12-28 00:33:40 +01:00
LibretroAdmin
1a751ef9a2 Remove core value label 2024-12-28 00:30:00 +01:00
Eric Warmenhoven
3989a62f60
Apple buildfix (#17294) 2024-12-27 20:36:12 +01:00
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