Commit Graph

279 Commits

Author SHA1 Message Date
Twinaphex adc9ecf4cc
Merge pull request #8335 from natinusala/master
Reintroduce menu widgets (only runloop_msg_queue for now)
2019-02-23 14:22:31 +01:00
Brad Parker 4f0d61a2ac update copyright 2019-02-22 19:13:36 -05:00
natinusala 42325ea368 Reintroduce menu widgets, implement new runloop_msg_queue 2019-02-21 20:58:22 +01:00
Twinaphex d46a60bb2b
Merge pull request #7874 from markwkidd/patch-7
unify input bind hold behavior across platforms
2019-02-21 01:50:13 +01:00
twinaphex 7022786f34 Revert parts of menu_widgets that were causing breakage, but leave
all the hooks in so we can add them back piece by piece again
2019-02-08 07:26:43 +01:00
twinaphex a22540310c Try to prevent namespace collisions with variables 2019-02-08 05:04:37 +01:00
natinusala 8f3c77f719 ui_companion: fix status message 2019-02-07 11:49:07 +01:00
twinaphex c808c80e4a (menu widgets) Some more cleanups 2019-02-07 08:23:34 +01:00
twinaphex 0af4b6a0d6 (menu_widgets.c) Buildfixes 2019-02-07 07:59:07 +01:00
natinusala c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
Mark W. Kidd 512e280c68 Merge remote-tracking branch 'upstream/master' into patch-7 2019-02-03 19:38:43 -05:00
natinusala bf98664b15 menu_entry: hide password values 2019-01-29 10:34:58 +01:00
Mark W. Kidd 8542ecd79c Merge remote-tracking branch 'upstream/master' into patch-7 2019-01-19 12:36:33 -05:00
natinusala ea027c0b55 libnx: use stock clock for swkbd 2019-01-14 19:04:13 +01:00
Twinaphex cdc0a79508
Merge pull request #7872 from natinusala/libnx-swkbd
libnx: implement swkbd for menu drivers
2019-01-09 00:29:31 +01:00
orbea bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
natinusala 6cd7c49c66 libnx: add fail-safe to swkbd 2019-01-04 14:37:28 +01:00
natinusala a164f77c94 libnx: only use swkbd if in an application 2019-01-03 14:14:13 +01:00
Mark W. Kidd 79264c7278 refactor and restore non-android bind hold behavior 2019-01-02 21:24:33 -05:00
markwkidd 96ea874850
unify input bind hold behavior across platforms 2019-01-02 18:47:40 -05:00
natinusala 39282915f8 libnx: implement swkbd for menu drivers 2019-01-02 16:24:31 +01:00
orbea ff63852a7c menu: Hide 'Parent Directory' in compressed archives.
When browsing compressed archives 'Parent Directory' will not work and
will endlessly recurse into non-existent empty directories where the
user will have to press the back button to get out of every instance.

This will now hide 'Parent Directory' in compressed archives to avoid
this issue. The user will still be able to press the back button to
exit.

Fixes https://github.com/libretro/RetroArch/issues/2604
2018-12-26 09:19:03 -08:00
radius 7a36190a0e cleanup filebrowser too 2018-12-10 23:20:27 -05:00
radius cad5ae287f fix https://github.com/libretro/fbalpha/issues/24#issuecomment-445803876 2018-12-10 22:09:42 -05:00
radius 77faf4ac4a [subsystem] try to load subsystems without loading content 2018-11-24 23:34:51 -05:00
natinusala 07068e5035 Dropdown lists: Add a checked bool to menu_entry_t 2018-11-05 17:34:57 +01:00
twinaphex a662b62d19 Use runloop_get_libretro_system_info in more places - clean some code up 2018-10-30 17:11:07 +01:00
Brad Parker 262634739c xmb: increase sublabel size limit to handle longer strings (especially CJK languages) 2018-10-08 23:29:17 -04:00
twinaphex 09c8e52387 Cleanups 2018-10-06 04:23:57 +02:00
twinaphex 6d0409b6bd (Menu) More cleanups 2018-09-17 10:07:15 +02:00
Sven 5f35249216 Implement robust cheat searching interface with rumble features 2018-07-25 19:19:14 -04:00
Sven 83da70586e implement a way to set rewind_buffer_size via the UI 2018-07-13 16:12:09 -04:00
radius 717e45dc52 Add mouse wheel support
enable hold to bind on android

cleanup
2018-06-29 21:12:47 -05:00
David Walters 91dd569a73 fix: keep resetting bind during the hold period 2018-06-29 21:12:46 -05:00
David Walters d73954085a Hold to bind function (disabled with #if 0) 2018-06-29 21:12:46 -05:00
twinaphex d27b6265a0 Add more HAVE_MPV ifdefs 2018-06-20 04:50:58 +02:00
twinaphex eb69025ca8 Cleanups 2018-04-23 11:30:38 +02:00
twinaphex c18d2e0432 Silence warnings 2018-04-23 10:49:36 +02:00
twinaphex abad1b3134 Revert "(menu) Start passing menu_handle to action_ok callback"
This reverts commit d2a1c39f4b.
2018-04-11 06:12:26 +02:00
twinaphex 1836d08b33 Revert "Start passing around menu_driver_data around properly"
This reverts commit 7c314a9165.
2018-04-11 06:12:14 +02:00
twinaphex fdffb7059d Revert "Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET"
This reverts commit fbf03df8be.
2018-04-11 06:11:45 +02:00
twinaphex a276710877 Revert "(Menu) More refactors"
This reverts commit f0285ef792.
2018-04-11 06:11:38 +02:00
twinaphex a07ada7af6 Revert "More cleanups - getting rid of RARCH_MENU_CTL_DRIVER_DATA_GET"
This reverts commit a8f7d99aba.
2018-04-11 06:11:23 +02:00
twinaphex 87c9d9eb9a Revert "Cleanups"
This reverts commit 8632a92568.
2018-04-11 06:11:10 +02:00
twinaphex 4993630e10 Revert "Cleanups"
This reverts commit 8d6067b1d4.
2018-04-11 06:11:04 +02:00
twinaphex 372603858d Revert "(Menu) Update menu code"
This reverts commit f481924f1e.
2018-04-11 06:10:51 +02:00
twinaphex f481924f1e (Menu) Update menu code 2018-04-11 03:04:58 +02:00
twinaphex 8d6067b1d4 Cleanups 2018-04-10 22:03:29 +02:00
twinaphex 8632a92568 Cleanups 2018-04-10 21:59:36 +02:00
twinaphex a8f7d99aba More cleanups - getting rid of RARCH_MENU_CTL_DRIVER_DATA_GET
calls
2018-04-10 21:49:25 +02:00
twinaphex f0285ef792 (Menu) More refactors 2018-04-10 21:27:57 +02:00
twinaphex fbf03df8be Less pointer grabbbing - reduce usage of RARCH_MENU_CTL_DRIVER_DATA_GET 2018-04-10 19:57:33 +02:00
twinaphex 7c314a9165 Start passing around menu_driver_data around properly 2018-04-10 19:17:51 +02:00
twinaphex d2a1c39f4b (menu) Start passing menu_handle to action_ok callback 2018-04-10 18:39:03 +02:00
twinaphex 88e7c03e1b filebrowser_parse - cleanups 2018-04-09 16:27:37 +02:00
radius caafe61f07 show subsystem roms within archives 2018-03-19 18:44:15 -05:00
twinaphex 36f9d359c2 Combine menu_list and menu_entries 2018-02-25 00:39:20 +01:00
radius 9a23ee8017 subsystem part 3: remove more globals 2018-02-12 02:39:25 -05:00
radius 2a9046c06f subsystem part 3: cleanups 2018-02-12 02:39:25 -05:00
radius 692c8683b2 subsystem part 2: add missing define, fix typo 2018-02-12 02:39:24 -05:00
radius 788bb4de50 subsystem part 1: proper labels for each entry 2018-02-12 02:39:24 -05:00
radius 597e0ce1ec subsystem part 1: get the required data to load content 2018-02-12 02:39:23 -05:00
radius 42f88a8239 Revert "Fix 'Append Disk Image'"
Reverting this truly fixes disk image append

¯\_(ツ)_/¯

This reverts commit 366c73f429.
2018-02-08 22:30:51 -05:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01:00
orbea e1db3e7a6d C89_BUILD: Fix some clang compiler errors.
Fixes these two compile errors with C89_BUILD=1

configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement]
   bool has_application_data =
        ^
1 error generated.
make: *** [Makefile:164: obj-unix/configuration.o] Error 1

In file included from menu/widgets/menu_osk.c:42:
menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof]
                          "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
                                                                                 ^
1 error generated.
make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
2018-01-03 12:19:16 -08:00
twinaphex a6afddae04 current_input_data and current_input are no longer globals 2017-12-29 23:03:25 +01:00
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
Brad Parker 224b581881 C89 buildfix 2017-11-28 11:43:32 -05:00
David Walters c733f96a16 listen for mouse buttons/wheel when binding input 2017-11-26 15:42:47 +00:00
twinaphex 9875bbbd7d Silence some Coverity warnings 2017-11-26 01:06:48 +01:00
Twinaphex d36d3e2c89
Update menu_dialog.c 2017-11-21 04:38:38 +01:00
Rob Loach 9e3d6adf6e
Fix coding standard 2017-11-20 18:47:27 -05:00
Rob Loach 25c116e192
Fix strdup() memory leak 2017-11-20 18:46:07 -05:00
Rob Loach dd6ec31f3d
Fix for pressing ENTER on cheats 2017-11-15 22:19:29 -05:00
twinaphex e9708be756 Prevent Coverity warning 2017-10-19 23:02:18 +02:00
Brad Parker 338723bc31 fix some null pointer accesses with empty strings 2017-10-15 00:39:55 -04:00
twinaphex 856fccd65c Update 2017-10-05 05:27:43 +02:00
twinaphex 489acabdf4 Update 2017-10-05 05:26:46 +02:00
twinaphex 9829019306 Update 2017-10-05 05:23:54 +02:00
twinaphex 032109512a Fix more Coverity errors 2017-10-04 08:37:21 +02:00
twinaphex 8238545bef Cleanups 2017-10-04 06:53:47 +02:00
twinaphex 8d850dc0bd CXX_BUILD fixes 2017-10-02 07:07:18 +02:00
twinaphex cc988cf559 Trying to prevent Coverity error 2017-10-01 18:28:07 +02:00
twinaphex 2b55e5858e Remove menu_entries_get_actiondata_at_offset 2017-10-01 17:25:41 +02:00
twinaphex df15a67c71 Remove menu_entries_get_last 2017-10-01 17:20:01 +02:00
twinaphex e376bd75c0 Fix crash with savestate thumbnails 2017-09-30 07:10:58 +02:00
twinaphex 1156d6cec5 Simplify conditionals 2017-09-30 06:18:38 +02:00
twinaphex 4fd00ac146 Be safer with this 2017-09-29 21:22:01 +02:00
Twinaphex 66de49c987 Fix memory leaks and crashes 2017-09-29 21:19:07 +02:00
twinaphex 01099d526c Fix the other leaks in menu_entry_get 2017-09-29 21:10:03 +02:00
twinaphex 3551ac825c Rewrite rich label allocation 2017-09-29 21:05:23 +02:00
twinaphex 4639b2547d Rewrite another function 2017-09-29 19:09:11 +02:00
twinaphex 1c477ca007 Rewrite menu_entry_get_sublabel 2017-09-29 18:52:15 +02:00
twinaphex efde859e17 Rewrite menu_entry_get_rich_label 2017-09-29 18:46:53 +02:00
twinaphex 9c90f97792 No longer use menu_entry_alloc 2017-09-29 18:37:04 +02:00
twinaphex 08f9e4aaf9 Refactor menu_entry 2017-09-29 18:22:11 +02:00
twinaphex 8bf741257c (XMB) Reduce stack usage 2017-09-29 16:47:30 +02:00
twinaphex 5379b12e7c FIx some new Coverity errors 2017-09-29 05:39:06 +02:00
twinaphex 6dcbf0eab8 (menu_list.c) Use malloc 2017-09-29 04:49:59 +02:00
twinaphex dfe6035ade Put menu_entry_t on heap inside xmb_draw_items 2017-09-28 07:26:43 +02:00