47 Commits

Author SHA1 Message Date
twinaphex
ed36e0668f (file_list.c) Take out driver.h dependency 2014-10-17 23:33:44 +02:00
twinaphex
e1e5f2af5d Create menu_list_get_action_data_at_offset 2014-10-17 23:32:40 +02:00
twinaphex
1ece7c8228 (Menu) Create menu_list_get_last_stack and menu_list_get_last 2014-10-17 22:53:30 +02:00
twinaphex
1daf8c354e (menu_list.c) Add menu_list_get_size and menu_list_get_stack_size 2014-10-17 21:41:45 +02:00
twinaphex
687f593174 Create menu_list.c 2014-10-17 20:36:02 +02:00
twinaphex
9bb24bfdf9 Revert "Add file_list_get_previous_stack"
This reverts commit 5acde7a8a6b086e295241875d54cc319d09d7499.
2014-10-17 19:32:40 +02:00
twinaphex
d774eb6bde Revert "Rename to file_list_get_last_previous_stack to make its purpose clearer"
This reverts commit cace73b26532500f2361c88c755d614b08ab2422.
2014-10-17 19:32:28 +02:00
twinaphex
cace73b265 Rename to file_list_get_last_previous_stack to make its purpose clearer 2014-10-17 19:13:13 +02:00
twinaphex
5acde7a8a6 Add file_list_get_previous_stack 2014-10-17 19:12:14 +02:00
twinaphex
ce9469cb98 (file_list.c) Get rid of general.h header dependency 2014-10-16 08:17:19 +02:00
twinaphex
78c136b218 Start setting the stage for deferred push callback 2014-10-15 07:40:19 +02:00
twinaphex
48e2c62e10 Add stub menu_entries_cbs.c/menu_entries_cbs.h 2014-10-12 00:45:42 +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
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
4938911841 Replace weird conditional with non-weird conditional. 2014-10-10 22:44:35 +02:00
twinaphex
a5de4f7f75 Pass index to 'list_delete' callback as well 2014-10-10 22:36:30 +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
Lioncash
f8499aa71a Sanitize against NULL in some free-like functions. 2014-09-15 09:30:27 -04:00
twinaphex
e4681e0013 Make it possible to compile without HAVE_MENU defined 2014-09-05 18:14:00 +02:00
twinaphex
c9f8ea5049 (file_list.c) Add label set/get 2014-09-01 23:40:23 +02:00
twinaphex
6ae3fe3b84 (Menu) file_list_get_* functions now return 'label' too 2014-08-30 15:50:42 +02:00
twinaphex
fcf05a70ce Get rid of settings_data.h includes in file_list.c/h 2014-08-30 03:14:32 +02:00
twinaphex
d6aa625814 (Menu) Move get_last_setting to menu_common_backend.c 2014-08-30 02:25:55 +02:00
twinaphex
c6b8732e3a (Menu) Refactor file_list_push and associated setting related functionality 2014-08-30 01:56:12 +02:00
twinaphex
d9a10e9ab2 (Menu) Start refactoring main menu actions 2014-08-27 23:44:23 +02:00
twinaphex
e9ab80dec1 (Menu) Refactor menu_common_entries_init 2014-08-27 23:12:55 +02:00
twinaphex
d1110ff592 Code reformatting 2014-08-20 17:23:21 +02:00
twinaphex
0ecf05f857 (Menu) Refactor settings 2014-08-09 02:34:56 +02:00
twinaphex
abe4a489a6 file_list.c - cleanup 2014-08-09 01:20:37 +02:00
twinaphex
de565e73e4 file_list.c/h - move struct to file_list.h 2014-08-09 00:56:27 +02:00
twinaphex
6b217c9dce refactor setting_data_find_setting - can now return NULL if it couldn't
find the setting according to key
2014-08-08 21:50:22 +02:00
twinaphex
266e3e0051 file_list_get - return rarch_settings_t * 2014-08-08 07:58:07 +02:00
twinaphex
204c2a3f08 (Menu) Refactor file_list_push 2014-08-07 18:20:27 +02:00
twinaphex
6b5a049bc5 Add label to file_list_push 2014-08-07 08:27:24 +02:00
twinaphex
bca57d827b Move file_list.c outside of frontend/menu 2014-07-26 18:31:34 +02:00
Themaister
2cd51db6c0 Move file_list.c to frontend/menu.
Doesn't belong in top-dir.
2014-03-01 11:41:00 +01:00
twinaphex
bca4b77573 (Menu) Isolate menu ptr selection code to separate file menu_navigation.c 2014-02-28 23:14:42 +01:00
twinaphex
755c07fe35 (XUI) file_list - use XuiSetCurlSel for file_list_pop 2014-02-28 21:47:06 +01:00
twinaphex
4c22d1063d (360) Add HAVE_RMENU_XUI hooks to file_list.c 2014-02-28 19:07:30 +01:00
twinaphex
0a15a17d44 Update years on all license headers 2014-01-01 01:50:59 +01:00
Themaister
e5bedc343a At least use long for return type of read_file().
int is not acceptable as a return type for anything regarding sizes.
long is dubious as well, but better (64-bit on sane ABIs and the return
type of ftell()).
2013-12-31 22:54:11 +01:00
twinaphex
5e163045be (MSVC) Downgrade solution to MSVC 2010 - fix some issues 2013-12-31 21:40:49 +01:00
Themaister
f719c70dfd Fix search bug.
If mid-string match was found, the last match would be returned.
2013-12-12 20:12:28 +01:00
Themaister
f014f3dafd Prioritize matches with first chars. 2013-12-10 20:17:53 +01:00
Themaister
6fa3cb2f85 Use strcasestr.
Since it's a GNU extension, move to strcasestr.h.
2013-12-10 20:10:19 +01:00
Themaister
84c93ef94a Add experimental RGUI keyboard search feature.
Type '/' to start search, then type search string (case sensitive for
now due to strcasestr being GNU ext). When done, type return.
2013-12-09 16:18:58 +01:00
twinaphex
3fa7f05cae Move file_list.c/file_list.h to root dir 2013-11-08 04:53:12 +01:00