Commit Graph

2873 Commits

Author SHA1 Message Date
twinaphex 57ef160288 Refactor menu_entries_cbs_init_bind_ok 2014-10-12 04:16:39 +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 7ee79593a4 Merge pull request #1129 from lakkatv/xmb
XMB
2014-10-12 03:26:13 +02:00
Jean-André Santoni 7be7205880 (XMB)(Lakka)(GLUI) Do not display png background when a content is launched if pause_libretro is false 2014-10-12 03:24:12 +02:00
Twinaphex 6ef0abedcb Merge pull request #1128 from mprobinson/drivers-reinit
Fix use-after-free
2014-10-12 03:17:07 +02:00
twinaphex 2dadf9fc10 Reimplement MENU_FILE_USE_DIRECTORY 2014-10-12 03:14:03 +02:00
Mike Robinson f99f8c7beb Fix use-after-free
label was freed at menu_entries.c:263, so do comparison first.
2014-10-12 02:11:08 +01:00
twinaphex 82d1168622 (Menu) Move more actions over to menu_entries_cbs.c 2014-10-12 03:01:16 +02:00
Jean-André Santoni a0dfe75028 (XMB) responsive 2014-10-12 02:52:33 +02:00
Twinaphex 78e58e4a0f Merge pull request #1127 from lakkatv/xmb
(XMB) use PNG background if present
2014-10-12 02:36:15 +02:00
Jean-André Santoni fa53784f9a (XMB) use PNG background if present 2014-10-12 02:35:50 +02:00
twinaphex 6bf74b1bd2 (Menu) Fix playlist pushing issue 2014-10-12 02:31:25 +02:00
twinaphex df67181e3b Split up bind_ok into bind_ok and bind_ok_toggle in case this
becomes an issue later
2014-10-12 02:16:26 +02:00
Twinaphex 19149d85c5 Merge pull request #1126 from lakkatv/xmb
(XMB) Start implementing xmb_populate_entries
2014-10-12 02:01:31 +02:00
twinaphex ea29099e0a Start moving menu_action_ok over as well 2014-10-12 02:00:24 +02:00
twinaphex c4d9642bf4 Reimplement history_list action OK 2014-10-12 01:51:55 +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
Jean-André Santoni fd667aa6c7 (XMB) Start implementing xmb_populate_entries 2014-10-12 01:27:31 +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 8207c925e9 Revert "(menu_entries.c) Reduce calls to file_list_clear"
This reverts commit d5042760e5.
2014-10-11 16:53:19 +02:00
twinaphex 7105bc3b17 (Menu) Split up pushing to history playlist action as separate function 2014-10-11 16:52:52 +02:00
twinaphex 65bc796011 Make rarch_playlist_push more useful 2014-10-11 16:46:59 +02:00
twinaphex 925d873d91 Refactor menu_entries_get_last_setting out of existence 2014-10-11 15:49:38 +02:00
twinaphex 7c3080b312 Change size of char arrays to PATH_MAX 2014-10-11 15:45:11 +02:00
twinaphex d5042760e5 (menu_entries.c) Reduce calls to file_list_clear 2014-10-11 15:43:44 +02:00
twinaphex 85f7a5dcba (Menu entries) Cleanups 2014-10-11 05:56:35 +02:00
twinaphex 0089833f5d (Menu) Rename menu_entries_pop to menu_entries_pop_list 2014-10-11 05:50:34 +02:00
twinaphex 520bc6e852 (menu_shader.c/menu_input_line_cb.c) Minor cleanups 2014-10-11 05:45:18 +02:00
twinaphex e215da3754 Minor changes to menu_ticker_line 2014-10-11 05:37:48 +02:00
twinaphex 8e98619ea1 Small changes - pass "Main Menu" to file list instead of "mainmenu" 2014-10-11 05:34:27 +02:00
twinaphex 999ffb3427 Simplify update_tweens 2014-10-11 05:26:00 +02:00
twinaphex fb116af9cc Refactor update_tween - kivutar - verify if everything still
works as expected
2014-10-11 05:23:49 +02:00
twinaphex 77f43c78e5 Rename setting_data_get_list to setting_data_new 2014-10-11 04:59:03 +02:00
twinaphex 2ad61f1717 (GLUI) Get rid of glui_ prefix for certain variables 2014-10-11 03:15:02 +02:00
Twinaphex 441e368e9a Merge pull request #1120 from aliaspider/master
use menu->list_settings directly.
2014-10-11 03:07:42 +02:00
aliaspider c118ec20ea use menu->list_settings directly. 2014-10-11 02:05:43 +01:00
twinaphex 027a1c4450 (RGUI) Create rgui_handle_t and assign it to driver.menu->userdata 2014-10-11 03:03:09 +02:00
Jean-André Santoni 703ee512ed (XMB) Fix flickering, remove need_refresh check 2014-10-11 02:50:11 +02:00
Jean-André Santoni 1f82510ef9 (XMB) Center messagebox 2014-10-11 02:03:58 +02:00
twinaphex fba88a14cb Set rarch_settings_t * lists to NULL after setting_list_free calls -
messy manual bookkeeping
2014-10-11 01:36:04 +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
Alcaro da8a02ddb2 Revert "Fix a leak here." because it gives segfaults.
This reverts commit 156449ca9d.
2014-10-10 23:43:11 +02:00
Alcaro 156449ca9d Fix a leak here. 2014-10-10 23:01:17 +02:00
Twinaphex 908001a861 Merge pull request #1116 from lakkatv/xmb
(XMB) Remove the xmb_ prefix of variables contained in the xmb_handler
2014-10-10 22:42:09 +02:00
Jean-André Santoni 261f1022e3 (XMB) Remove the xmb_ prefix of variables contained in the xmb_handler 2014-10-10 22:42:56 +02:00
twinaphex a5de4f7f75 Pass index to 'list_delete' callback as well 2014-10-10 22:36:30 +02:00
Jean-André Santoni 557f83377d (XMB) Remove uneeded headers 2014-10-10 22:31:43 +02:00
twinaphex dff600fdb2 Implement userdata variable for file_list - use it in
XMB menu display driver - segfaults less frequent but could still
trigger one
2014-10-10 22:08:11 +02:00
twinaphex 24865759ff (RMenu XUI) Clean up unused str_buffer 2014-10-10 19:58:36 +02:00
twinaphex e50958a096 Small change in menu_animation.h 2014-10-10 19:54:15 +02:00
twinaphex 50a45ab073 Rename and move frontend/menu/disp/tween.c to frontend/menu/menu_animation.c 2014-10-10 19:53:13 +02:00
twinaphex ddd210d4f0 (Tween) Refactor update_tween and make it a static function 2014-10-10 19:36:17 +02:00
twinaphex 6c51889430 (RMenu) Add safety check in rmenu_init 2014-10-10 19:22:57 +02:00
twinaphex 064fbfb35c (Lakka) Uniquely name vertex and tex_coord variables 2014-10-10 19:18:25 +02:00
twinaphex f660071355 (Lakka) Every global variable moved over to lakka_handle_t now 2014-10-10 18:45:22 +02:00
twinaphex 0962b83455 Move more variables to lakka_handle_t pt. 3 2014-10-10 18:41:41 +02:00
twinaphex f021b1818f (Lakka) Move more variables over pt. 2 2014-10-10 18:20:52 +02:00
twinaphex 75002d26a7 (Lakka) Move more variables over 2014-10-10 18:10:13 +02:00
twinaphex dd55a65216 Move margin variables over to lakka_handle_t 2014-10-10 17:58:02 +02:00
twinaphex f58cd011e8 Move more variables to lakka_handle_t 2014-10-10 17:50:55 +02:00
twinaphex af18048837 (Lakka) Create lakka_free_userdata 2014-10-10 16:55:36 +02:00
twinaphex 60e5b881b9 (Lakka) Move categories over to userdata too 2014-10-10 16:53:02 +02:00
twinaphex c6a27e46ae (Lakka) Start moving global variables over to lakka_handle_t struct, and
bind it to driver.menu->userdata
2014-10-10 16:38:02 +02:00
twinaphex ca25d46742 (GLUI) Implement menu->userdata for GLUI 2014-10-10 16:23:12 +02:00
twinaphex e853eb88d7 Add userdata variable to menu_handle_t 2014-10-10 15:52:12 +02:00
twinaphex c8d9a71424 (XMB) Cleanups 2014-10-10 05:54:36 +02:00
twinaphex 7fed404a8d Cut down on some calls made to add_tween 2014-10-10 00:42:22 +02:00
twinaphex 821e37f480 Start reimplementing tween.c functions 2014-10-10 00:01:45 +02:00
Jean-André Santoni 0d9261663c (XMB) Implement context reset 2014-10-09 22:59:05 +02:00
twinaphex 5c728cef82 (XMB) Cleanups pt. 1 2014-10-09 22:45:29 +02:00
twinaphex 5f50570313 (XMB) Rename num_nodes to something more sane 2014-10-09 22:33:23 +02:00
twinaphex 4a6e59d35e Run xmb_selection_pointer_changed for all 'navigation'-related
functions right now
2014-10-09 22:30:17 +02:00
twinaphex 6995d46529 (XMB) Make some stub function implementations for navigation/list operation callbacks 2014-10-09 22:25:13 +02:00
twinaphex 07cd41c46b (XMB) Move another global variable to XMB 2014-10-09 21:57:05 +02:00
twinaphex fd7824ede5 (XMB) Don't use strcpy - always use strlcpy 2014-10-09 21:52:15 +02:00
twinaphex f0dca2cc18 (XMB) Some cleanups 2014-10-09 21:47:40 +02:00
Twinaphex 0d9a45cff0 Merge pull request #1109 from lakkatv/xmb
(XMB) Fix setttings values display
2014-10-09 19:22:08 +02:00
Jean-André Santoni ca11654e49 (XMB) Fix setttings values display 2014-10-09 19:22:42 +02:00
twinaphex 6f84dbd710 apply_deferred_settings - nit 2014-10-09 19:21:44 +02:00
Twinaphex c1ec8811f3 Merge pull request #1108 from lakkatv/xmb
(XMB) Use the populate entries callback, fixes the segfault
2014-10-09 19:06:20 +02:00
Jean-André Santoni 0dcf1949ad (XMB) Use the populate entries callback, fixes the segfault 2014-10-09 19:06:07 +02:00
Mike Robinson b67c86de28 Add support for deferred settings changes, defer audio latency 2014-10-09 11:09:36 +01:00
twinaphex 623e19edd5 (XMB) Cleanups 2014-10-09 05:35:18 +02:00
Twinaphex 91f2090297 Start adding xmb.c to Apple build 2014-10-09 05:06:32 +02:00
twinaphex 438fcccbbf (XMB) Uniquely name global vertex and tex_coord 2014-10-09 04:51:42 +02:00
twinaphex 84a35d4176 (XMB) Encapsulate everything inside xmb_handle_t struct 2014-10-09 04:34:16 +02:00
Twinaphex de130dd516 Build fix for non-HAVE_NETPLAY 2014-10-09 04:04:56 +02:00
twinaphex 86783713c8 (XMB) Build fixes 2014-10-09 02:58:05 +02:00
Twinaphex 6f951cbd8b Merge pull request #1106 from lakkatv/xmb
Xmb
2014-10-09 02:41:33 +02:00
Jean-André Santoni fed8744aef (XMB) Vertical animations 2014-10-09 02:41:08 +02:00
Twinaphex a86d5550a5 Merge pull request #1105 from aliaspider/master
(Lakka) fix segfault.
2014-10-09 02:34:05 +02:00
aliaspider e34402e98e (Lakka) fix segfault. 2014-10-09 01:32:56 +01:00