189 Commits

Author SHA1 Message Date
sonninnos
9297ff44b7
(Ozone+XMB) Fix overlays behind menu without core running (#14663) 2022-11-23 16:48:58 +01:00
sonninnos
9bc7bebf51
More hotkey cleanups (#14657) 2022-11-22 14:45:30 +01:00
sonninnos
3377fd55ab
Driver + hotkey list reorder (#14646)
* Reorder driver menu and lists

* Reorder hotkey list
2022-11-20 07:26:34 +01:00
sonninnos
3e8ff57e2c
(Ozone) Show metadata helper in footer only with second thumbnail (#14630) 2022-11-16 00:20:36 +01:00
Ryunam
49b973ac89
(Ozone+XMB) Add option to customize cursor memory (#14605) 2022-11-10 15:46:44 +01:00
Ryunam
eb5b4197f8
(Ozone+XMB) Further extend texture support for Core Option categories (#14607) 2022-11-10 09:27:49 +01:00
sonninnos
da6e560e72
(Ozone) Fixes, nits and cleanups (#14598) 2022-11-07 05:48:32 +01:00
LibretroAdmin
0ffdf0790c (Ozone) Turn more booleans into flags 2022-11-02 03:19:31 +01:00
LibretroAdmin
01649d7955 (Ozone) Turn more booleans into flags 2022-11-02 01:45:43 +01:00
LibretroAdmin
e4e776abf7 (Ozone) Partial conversion of booleans to flags 2022-11-01 08:27:10 +01:00
LibretroAdmin
250a0b9542 Implicitly use floats in float arrays 2022-10-30 20:16:16 +01:00
LibretroAdmin
94a3eba9ef Turn checked into flag for menu_entry_t 2022-10-26 00:28:57 +02:00
LibretroAdmin
0d16eb6e10 (Menu) menu_entries - get rid of boolean variables and
turn them into flags
2022-10-25 17:22:35 +02:00
LibretroAdmin
d30f16dc79 Remove cursor directory/cursor manager list - Views obsoleted
this
2022-10-25 15:21:47 +02:00
LibretroAdmin
3c7e4b032e (Menu drivers) Remove warnings about missing assets 2022-10-24 16:45:17 +02:00
sonninnos
6c0be28b98
(Ozone) Footer improvements (#14534) 2022-10-19 03:32:21 +02:00
sonninnos
0597aa6939
Thumbnail fullscreen toggle behavior correction (#14527) 2022-10-18 10:05:01 +02:00
sonninnos
0cebebbfdc
(Ozone) Remember selection per main tabs (#14526) 2022-10-17 16:04:54 +02:00
LibretroAdmin
d100e73780 Use more runloop flags 2022-10-10 08:59:27 +02:00
Bernhard Schelling
c9bbe7683f
Add View feature (#14467)
* Add View feature
Add saving of a filter set in the Explore menu into a so called "View" file which then gets listed alongside playlists.
This also adds the ability to filter a category by range in the Explore menu and not just filter on exact matches.

* Menu improvements for explore and views

* Collapse ozone sidebar in view

* Fix problems with the sidebar in explore/view

* Ignore view files in the Qt playlists menu

* Add missing semicolon

* Support downloading thumbnails in views
2022-10-10 06:36:02 +02:00
LibretroAdmin
d506210fbe
(menu_driver.c) Use flags instead of bools (#14500)
* (menu_driver.c) Use flags instead of bools
2022-10-08 22:52:18 +02:00
LibretroAdmin
f8a9b0a197 Combine bit setting 2022-10-05 20:42:30 +02:00
LibretroAdmin
ab1f21ef78 (Ozone/MaterialUI) sublabel lines will not ever go beyond uint8_t
max value, so change variable types from 32bit to 8bit
2022-10-04 23:58:04 +02:00
LibretroAdmin
e5897caa8f Cut down on menu_displaylist_info_t size - use flags instead of all
these boolean members
2022-10-03 18:13:32 +02:00
reallibretroadmin
0033224c25 Fix some implicit conversion signedness warnings 2022-10-02 03:22:34 +02:00
sonninnos
8842603165
Online Updater menu reorganizing (#14414) 2022-09-15 09:24:35 +02:00
LibretroAdmin
36d60f6bf4 (Ozone/MaterialUI/RGUI/XMB) Get rid of some tertiary operators - was basically reassigning the same
value
2022-09-12 22:20:03 +02:00
sonninnos
c4c55077a1
Allow On-Demand Thumbnails in Explore menu (#14385) 2022-09-05 00:01:38 +02:00
LibretroAdmin
1e035b9385 (file_list) Get rid of superfluous small functions 2022-09-04 17:52:06 +02:00
LibretroAdmin
866ce4c50d (Menu drivers) Get rid of verbosity.h include 2022-09-04 04:58:22 +02:00
LibretroAdmin
0ffdd14940 Change msg_len of font driver to size_t - avoids all the type
casting/conversion
2022-09-02 01:10:28 +02:00
LibretroAdmin
60030e373e
Reduce snprintfs + assorted cleanups (#14369)
* Reduce snprintf and/or use them only for concatenating the
string formatting of numbers/values
* Reduce snprintfs
* Use snprintf for concatenation at parts
* * We don't need to NULL-terminate strings that get passed to strlcpy/strlcat
and friends
* Use snprintf for concatenation in certain instances
* Do away with some string intermediary copies where we can avoid it
* Fix warning unused variable
* * Reduce snprintf calls
* Rewrite snprintf calls into strlcpy where possible
* Use snprintf for concatenation when necessary
* Do away with some string intermediary copies in task_translation.c
* run_translation_service - make switch slightly smaller
2022-09-01 04:17:07 +02:00
sonninnos
a96c5f77c8
(Ozone/XMB/RGUI) Explore menu thumbnails (#14365) 2022-08-31 14:42:10 +02:00
LibretroAdmin
f1ff92c881 * menu_entries_append and menu_entries_append_enum are now combined into
one - if you set the last parameter to a valid 'rarch_setting_t' pointer
and enum_msg to MSG_UNKNOWN, you will get the previous menu_entries_append
behavior
* Renamed remaining function to menu_entries_append so that we have one
consistent way of adding menu entries instead of two
Reduces some code duplication significantly
2022-08-27 17:40:52 +02:00
LibretroAdmin
25b76fdb54 input_keyboard_osk_event_append and others: don't call strlen
implicitly, always leave it up to caller
font_driver_get_message_width - try to avoid scenario where 'len'
is 0
2022-08-27 15:13:56 +02:00
LibretroAdmin
61e24132bf (task_save.c) Simplification in control flow
(snprintf) Try to reduce or simplify snprintf calls, only tend to
use it for processing integers/numbers and avoid it for regular
string concatenation (NOTE: we try to be a bit safer about it to
address earlier cited criticism, although we don't consider concatenating
3 or 4 characters at the end to be insecure)
(msg_hash_to_str) Try to avoid duplicate calls to the same localized
string when we can just cache the results once instead locally
2022-08-27 07:55:02 +02:00
sonninnos
1f048dd358
(XMB+Ozone) Core option category icon refinements (#14354) 2022-08-26 16:11:36 +02:00
LibretroAdmin
575e331fd1 If we already know the length of the string, use strldup instead.
Avoids the internal strlen call inside strdup, and strdup is a deprecated
function starting from MSVC2005 anyways.

NOTE: Do NOT pass STRLEN_CONST as n parameter to strldup, it needs to
be at least +1 character higher than the strlen return value of the same
string
2022-08-25 16:31:54 +02:00
sonninnos
8fd0961c9a
Show playlist entry as 'Quick Menu' header title (#14350) 2022-08-25 04:41:14 +02:00
LibretroAdmin
72cc98e9bd Remove unused variables 2022-08-24 17:42:01 +02:00
LibretroAdmin
2bc723bb4b (Menu) Move duplicate code is_running_quickmenu to menu_driver.c 2022-08-24 13:28:53 +02:00
LibretroAdmin
a147cb09d9 Get rid of duplicate code - move function to menu_driver.c and have
both XMB and Ozone use it
2022-08-24 13:14:55 +02:00
sonninnos
5f7d14966c
(Ozone+XMB) Fullscreen thumbnail browsing (#14342) 2022-08-24 12:35:54 +02:00
LibretroAdmin
e769436876 (word wrap functions in stdstring.c) Avoid implicit strlens, caller
should pass the 'length' to the function instead
2022-08-23 17:06:01 +02:00
LibretroAdmin
1b43e60c7c (Ozone) Use less path_remove_extension and work more with return values
from file_path.c functions
(menu_cbs_title) Small optimization to string concatenation
2022-08-06 19:51:00 +02:00
LibretroAdmin
6ad88b080e Turn these two fill_pathname_join_delim() calls into plain strlcat() 2022-08-04 15:15:27 +02:00
LibretroAdmin
b2634ea588 * Create fill_pathname_join_special - and specify fill_pathname_join
as deprecated.
* Use fill_pathname_join_special in the vast majority of cases where
we can ensure out_path is a new empty string
* Get rid of some extension concatenation with strlcat where encountered
* Some general cleanups with NULL termination of strings that get immediately
passed to strlcpy/strlcpy-adjacent functions
2022-08-04 14:19:38 +02:00
LibretroAdmin
e7f3432e48 Replace some trivial strlcat usage - use return value of preceding
strlcpy then simply append the extension to it at this location
2022-08-04 03:45:09 +02:00
LibretroAdmin
6dd52d9bb1 Get rid of more boilerplate code in file_path_special.c 2022-08-02 18:05:51 +02:00
LibretroAdmin
f472e4d0de (gfx_widgets) Call fill_pathname_application_special outside of hot functions
(gfx widgets) Pre-assemble and store paths that are not subject to change
2022-08-01 02:07:36 +02:00