Commit Graph

64292 Commits

Author SHA1 Message Date
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
libretroadmin
f8317a2a7e C89_BUILD fix 2024-12-22 22:09:54 +01:00
libretroadmin
e26a38c8d4 Buildfix 2024-12-22 22:08:22 +01:00
libretroadmin
b3e5c578b3 Faster shader capabilities queries 2024-12-22 21:58:51 +01:00
libretroadmin
c09fd38c1d * Use fill_pathname more
* Get rid of strlen in some locations
2024-12-22 20:43:54 +01:00
libretroadmin
f429b15250 Cleanups 2024-12-22 20:01:28 +01:00
libretroadmin
70f55f5976 video_shader_replace_wildcards - do away with the string arrays
and do string concatenation instead
2024-12-22 19:31:46 +01:00
libretroadmin
ab43347fdd C89_BUILD fix 2024-12-22 05:32:17 +01:00
libretroadmin
ce88a46a05 Menu simplifications/cleanups 2024-12-22 05:21:25 +01:00
libretroadmin
e01ef9e1de Cleanup unused menu_is_nonrunning_quickmenu 2024-12-22 05:07:30 +01:00
libretroadmin
6b8466f87a menu_driver_set_thumbnail_system/menu_driver_get_thumbnail_system
just small wrapper functions, remove
2024-12-22 04:53:04 +01:00
github-actions
12ddb1b6d7 Fetch translations from Crowdin 2024-12-22 00:16:12 +00:00
zoltanvb
072d949346
Pointer handling sanitization - wayland and libretro.h changes (#17277)
Adapt the sanitized pointer handling, discussed at #17196:

Wayland driver specific changes:
- make sure pointer position is always within [-0x7fff,0x7fff]
  by using the confined wrapper
- enable lightgun to report -0x8000 if pointer is really offscreen
- remove extra "inside" checks
- report same pointer/lightgun coordinates for all ports
- simplify pointer and lightgun handling

Other changes:
- unify "offscreen" condition through input_driver.c
- slight tuning of pointer conversion in video_driver.c
- update libretro.h with explanation and pointer offscreen value
- small fixes on remote retropad test screen
2024-12-21 13:28:27 -08:00
Eric Warmenhoven
a7db10508c
ios9: re-enable web server/webdav server (#17275) 2024-12-21 11:39:44 -08:00
libretroadmin
5ddb9b990c Disable fetching Named_Logos for now - not only is it too much overhead
and bandwidth for our server but none of thse Named_Logos have been added to
any repos for now. We will also need to have settings for specifying how much
stuff we fetch at the same time (Named_Logos, Named_Snaps, Named_Titles, Named_Boxarts).
Trying to fetch all this stuff at the same time is prob a mistake
2024-12-21 17:59:59 +01:00
libretroadmin
123bfc1212 Disable ondemand thumbnails for all platforms by default 2024-12-21 17:47:16 +01:00
LibretroAdmin
739f2ff55c
Reduce calls to path_remove_extension - use fill_pathname instead (#17270)
* Reduce calls to path_remove_extension - use fill_pathname instead

* More fill_pathname usage
2024-12-20 21:40:58 -08:00
Zach Morris
b16f04de0a
Add Named_Logos (#17216)
* Draft:  Add Named_Logos

* Allow selecting Content Logo as a thumbnail display

* Increase pl_thumbnail_download index

to 4 to match the 4 available thumb types

---------

Co-authored-by: Rob Loach <robloach@gmail.com>
2024-12-20 18:52:27 -08:00
Viačasłaŭ
fbe135fb60
Fix displaying PipeWire help label, styling (#17274)
Update README
2024-12-20 18:51:48 -08:00
github-actions
b252725394 Fetch translations from Crowdin 2024-12-21 00:14:09 +00:00