Commit Graph

628 Commits

Author SHA1 Message Date
twinaphex 83442ee467 Cleanups - grab pointer to menu_filelist_cbs_t only once and then
pass it around in menu_common_iterate
2014-10-13 02:15:45 +02:00
twinaphex d2f5d39259 Rename menu_parse_and_resolve to menu_entries_deferred_push 2014-10-13 02:10:27 +02:00
twinaphex e3807b87f7 Cut down on menu_entries_push_list 2014-10-13 02:03:36 +02:00
twinaphex 94110ea997 Add bool pending_push parameter to menu_clear_navigation 2014-10-12 23:44:10 +02:00
twinaphex 789ef212a5 Cleanups in menu_common_backend.c 2014-10-12 21:38:24 +02:00
twinaphex 10602ee796 (menu_common_backend.c) Get rid of some unnecessary header includes 2014-10-12 21:23:48 +02:00
twinaphex b1eb0e6493 Reduce header includes in menu_common_backend.c 2014-10-12 20:17:12 +02:00
twinaphex fae308d1f9 (menu_common_backend.c) Cut down on some code duplication 2014-10-12 20:15:02 +02:00
twinaphex bbb28c06e6 (Menu) Implement action_start callback as well 2014-10-12 20:11:45 +02:00
twinaphex 0245be3193 Refactor remaining toggle functions 2014-10-12 19:45:38 +02:00
twinaphex 896bff00cc Change menu_common_core_setting_toggle to be bindable to cbs->action_toggle 2014-10-12 19:18:37 +02:00
twinaphex e71486a9bf Start implementing toggle actions in menu_entries_cbs.c 2014-10-12 19:13:42 +02:00
twinaphex 1196e3b4eb (menu_common_backend.c) Indenting nits 2014-10-12 18:59:28 +02:00
twinaphex 752fb8e472 (menu_common_backend.c) Indenting nits 2014-10-12 18:01:07 +02:00
twinaphex 2fc208ed57 Reduce code duplication in menu_load_or_open_zip_iterate 2014-10-12 17:53:01 +02:00
twinaphex da821ead36 Get rid of unnecessary conditional in menu_settings_iterate 2014-10-12 17:50:01 +02:00
twinaphex 71978000b4 (Menu) Hook up action OK for help screen 2014-10-12 17:46:08 +02:00
twinaphex aefe0f00e6 (Menu common backend) Simplify menu_action_ok 2014-10-12 17:37:37 +02:00
twinaphex cb5cea205a (Menu) Some cleanups 2014-10-12 17:30:04 +02:00
twinaphex d824279198 Move more code over to menu_entries_cbs.c 2014-10-12 05:36:54 +02:00
twinaphex 7a1851f80c (menu_common_backend.c) cleanups 2014-10-12 05:24:52 +02:00
twinaphex dce09587ba Move more settings over to menu_entries_cbs.c 2014-10-12 05:15:36 +02:00
twinaphex 170fbdc494 Move more settings over to menu_entries_cbs.c 2014-10-12 05:01:52 +02:00
twinaphex 3c7919ec51 Get rid of HAVE_SHADER_MANAGER definition in menu_common_backend.c 2014-10-12 04:45:31 +02:00
twinaphex 6dcef65dba Get rid of menu_parse_check function call in menu_action_ok 2014-10-12 04:43:43 +02:00
twinaphex c8e121173a Move MENU_FILE_PLAIN action OK handling over to menu_entries_cbs.c 2014-10-12 04:41:33 +02:00
twinaphex 17035b82c5 Create action_ok_set_path in menu_entries_cbs.c 2014-10-12 04:21:08 +02:00
twinaphex 3440b97b4d (menu_entries_cbs.c) Implement action_ok_config_load 2014-10-12 04:11:41 +02:00
twinaphex aa1e56fd29 Move menu_action_ok of MENU_FILE_DIRECTORY and MENU_FILE_CARCHIVE
over to menu_entries_cbs.c
2014-10-12 04:06:36 +02:00
twinaphex ad9e618ec6 Reimplement menu_action_ok - MENU_FILE_CORE actions 2014-10-12 03:57:03 +02:00
twinaphex 2dadf9fc10 Reimplement MENU_FILE_USE_DIRECTORY 2014-10-12 03:14:03 +02:00
twinaphex 82d1168622 (Menu) Move more actions over to menu_entries_cbs.c 2014-10-12 03:01:16 +02:00
twinaphex ea29099e0a Start moving menu_action_ok over as well 2014-10-12 02:00:24 +02:00
twinaphex 3562f3e499 (menu_entries_cbs.c) - Cleanups 2014-10-12 01:39:13 +02:00
twinaphex 65bfe816d0 (Menu entries cbs) Move another setting over 2014-10-12 01:32:05 +02:00
twinaphex 4dade7cc0b (Menu entries cbs) Move another entry over 2014-10-12 01:27:53 +02:00
twinaphex d09d0eb0bf Implement action_ok for one function already 2014-10-12 01:23:41 +02:00
twinaphex 48e2c62e10 Add stub menu_entries_cbs.c/menu_entries_cbs.h 2014-10-12 00:45:42 +02:00
twinaphex c6e12f4806 (Menu) Implement stub actiondata callbacks for menu common backend 2014-10-12 00:33:17 +02:00
twinaphex 6de130a94b (Menu) Add action_data to file_list_t and add callbacks to menu
backend driver
2014-10-12 00:10:44 +02:00
twinaphex add2f96bac (Menu) Reimplement MENU_ACTION_REFRESH 2014-10-11 23:54:29 +02:00
twinaphex 925d873d91 Refactor menu_entries_get_last_setting out of existence 2014-10-11 15:49:38 +02:00
twinaphex 0089833f5d (Menu) Rename menu_entries_pop to menu_entries_pop_list 2014-10-11 05:50:34 +02:00
Mike Robinson 5fe98e882e Fix use-after-free
menu_settings_iterate() would strcmp freed labels after exiting
a submenu.
2014-10-11 00:22:02 +01:00
twinaphex e5ab079298 Maintain two rarch_setting_t * lists in driver.menu - one
for main menu and the other for settings menu - regenerate these
when needed
2014-10-09 00:50:35 +02:00
twinaphex 4100f40373 (Menu) Cleanup 2014-10-08 02:46:46 +02:00
twinaphex da3734e8c7 Add mask parameter to setting_data_get_list 2014-10-08 02:13:07 +02:00
twinaphex 8dbe11613d Add need_refresh parameter to setting_data_get_list 2014-10-07 02:49:04 +02:00
twinaphex 4a623684c2 Init history file right before we attempt to push something to it
in rarch_main
2014-10-03 13:07:33 +02:00
twinaphex e581436c0a Remove unused menu_action_ok LOG 2014-10-02 17:48:40 +02:00
twinaphex 780c3220a0 Build fix for targets with shaders - get rid of now
obsolete menu_common_backend.h header
2014-10-02 11:36:52 +02:00
twinaphex 9d94513dc4 (Menu/Shaders) Move all shader manager code to frontend/menu/menu_shader 2014-09-24 07:56:47 +02:00
twinaphex 93fbb44402 (Menu) Move menu_common_core_setting_toggle functions to menu_common.c 2014-09-24 06:46:18 +02:00
twinaphex bf2f55dc60 Move bind_iterate / bind_iterate_keyboard to menu_input_line_cb 2014-09-24 06:43:42 +02:00
twinaphex 90be5e6f93 (Menu) Cleanups pt. 1 2014-09-24 06:35:57 +02:00
Twinaphex faebff2db0 Merge pull request #1055 from Monroe88/patch-2
Only apply shader parameters immediately in Shader Parameters (Current).
2014-09-24 05:20:22 +02:00
twinaphex a7c10a5a17 (Menu) Refactor menu_custom_bind_iterate_ functions 2014-09-24 05:17:52 +02:00
Monroe88 a87efba091 Only apply shader parameters immediately in Shader Parameters (Current). 2014-09-23 21:19:03 -05:00
Timo Strunk cb5c951a70 Merge remote-tracking branch 'upstream/master' into zip_ui
Conflicts:
	retroarch.c (defer_core was moved and modified by me)
2014-09-21 17:37:23 +02:00
Timo Strunk 193f416f8f Zip UI cleanup before pull request 2014-09-21 11:03:32 +02:00
twinaphex 430e0f1911 Reimplement rarch_main_iterate - menu iteration frame now gets
called from here too. Do away with the hoky 'MENU_GAME' state
as well.
2014-09-21 09:18:26 +02:00
Timo Strunk adfa00e193 Removed MENU_ACTION_Y, small bugfix with selections in zip select 2014-09-20 20:42:21 +02:00
Timo Strunk 3575f353bf Choosing whether to open or load a zip file in detect core should work now 2014-09-20 20:07:26 +02:00
Timo Strunk 97ea43994e Zipfiles open or run half finished 2014-09-20 19:10:05 +02:00
Timo Strunk 9c9543e7eb Added toggle button to open zip files in load content and detect core 2014-09-19 20:31:53 +02:00
twinaphex fffed52892 Silence warning 'variable is used before its value is set' 2014-09-16 01:09:10 +02:00
twinaphex a09e04f679 Split up driver_menu.h into three separate header files -
for menu display API, menu backend API, and menu driver general API
2014-09-16 00:52:07 +02:00
twinaphex bbcf2e5eda (Menu) Implement stub functions for shader manager functions in menu_common_backend.c 2014-09-15 21:54:03 +02:00
twinaphex 756356870b (Menu) Refactor more code to menu_action.c 2014-09-15 07:52:08 +02:00
twinaphex 696b1cdef8 (Menu) Refator common code into calls to menu_action_setting_apply 2014-09-15 00:34:00 +02:00
twinaphex 899e69f921 (Settings/menu) Add WITH_CMD to settings_data.c 2014-09-14 23:44:32 +02:00
twinaphex 3d689bd40f (Menu) Add SD_FLAG_EXIT to signal to the menu that we want to cleanly
exit out of the menu
2014-09-14 22:39:33 +02:00
twinaphex eff9bf17a8 Reimplement menu toggle in menu - now remembers last menu
(Disp) Menu display drivers shouldn't influence control flow
of menu, so take this out and move menu toggle control flow
to menu_backend driver
instead
2014-09-14 18:07:00 +02:00
twinaphex 01c9d033ae (GX) Build fixes 2014-09-12 22:12:41 +02:00
Timo Strunk 6386bfdb14 Menu now loads file from carchive correctly in the cases of deferred core and the standard case (like MENU_FILE_PLAIN) 2014-09-12 17:52:16 +02:00
twinaphex 85f0db5bad (Menu) Create menu_action_setting_driver and have Lakka and RGUI both
use it
2014-09-12 06:46:43 +02:00
twinaphex f5e523a8c3 Refactor/rename menu_action.c functions 2014-09-12 06:04:02 +02:00
twinaphex 4a14658278 (Menu) Split up reusable menu_action code to menu_action.c 2014-09-12 05:54:58 +02:00
twinaphex d96de429ea (Menu) Add RARCH_CMD_LOAD_CONTENT_PERSIST 2014-09-12 05:01:24 +02:00
twinaphex 550ebc0e49 (Menu) Fix case where we load content with 'Load Content' 2014-09-12 04:09:01 +02:00
Twinaphex fd001f6b52 Merge pull request #975 from lioncash/realloc
settings_data: Guard against possible realloc/malloc failures
2014-09-12 02:25:14 +02:00
Lioncash 8cf195868e settings_data: Guard against possible realloc/malloc failures 2014-09-11 20:21:11 -04:00
Jean-André Santoni 8b01b78123 (Lakka) Allow editing some boolean, uint and float settings 2014-09-11 22:07:41 +02:00
twinaphex 75d2e13dcb Make drivers non-const 2014-09-11 07:06:20 +02:00
twinaphex f1ccf07603 (Menu) Add type MENU_FILE_DRIVER 2014-09-11 06:28:52 +02:00
twinaphex 088f8c2497 (Menu) Refactor driver settings 2014-09-11 06:11:50 +02:00
twinaphex 66a1c32028 (Menu) Fix video_font_path option 2014-09-11 05:48:35 +02:00
twinaphex 973004bee3 (menu_common_backend.c) Refactor duplicate code 2014-09-11 01:23:20 +02:00
twinaphex 176951cc5f (Menu) Add more MENU_FILE_* types 2014-09-10 20:59:16 +02:00
twinaphex 3af183dfe3 (Menu) Create two new types - MENU_FILE_SHADER and MENU_FILE_SHADER_PRESET 2014-09-10 18:36:35 +02:00
twinaphex 0eea8307a5 (Menu) Refactor common code in disp/rgui | rmenu | rmenu_xui 2014-09-10 18:26:02 +02:00
twinaphex 05f32cdcfc (Menu) Add MENU_FILE_DIRECTORY type to switch 2014-09-10 17:24:02 +02:00
twinaphex 0cbb85915f (Menu) Refactor menu_action_ok 2014-09-10 17:11:24 +02:00
twinaphex c329501e2f (Menu) Refactor hardcoded input settings 2014-09-08 22:30:09 +02:00
twinaphex 1c1194cdca (Menu) Refactor two input settings 2014-09-08 22:12:22 +02:00
twinaphex 9f25746100 (menu_common_backend.c) cleanups 2014-09-08 19:53:42 +02:00
twinaphex 3709e524bc (Menu) Move settings data descriptions to settings_data.c 2014-09-08 06:12:43 +02:00
twinaphex bbc03fe14d (Menu) Refactor 2014-09-07 06:43:20 +02:00
twinaphex 88b77df234 (Menu) Create setting_data_get_label and move code from menu_common_backend.c
to settings_data.c
2014-09-07 06:00:41 +02:00
Twinaphex c2ef81f542 Merge pull request #952 from timostrunk/compressed_file_menu
Compressed file menu
2014-09-06 22:11:03 +02:00