Commit Graph

207 Commits

Author SHA1 Message Date
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
twinaphex f914a91944 Use menu_entry_get_type_new 2017-09-28 07:15:29 +02:00
twinaphex decea56c03 Rewrite menu_entry_get_path 2017-09-28 06:51:48 +02:00
twinaphex 7adf4ca854 Simplify menu_entry_get_spacing 2017-09-28 06:44:04 +02:00
twinaphex 76277a12b0 Rewrite menu_entry_get_label 2017-09-28 06:40:15 +02:00
twinaphex db7e1a4fdf Simplify menu_entry_get_sublabel 2017-09-28 06:37:48 +02:00
twinaphex b8e900cd32 Rewrite menu_entry_get_value 2017-09-28 06:32:49 +02:00
twinaphex c5255b1bff Simplify menu_entry_get_rich_label 2017-09-28 06:19:34 +02:00
twinaphex 2f10fd14d6 Create menu_entry_init/menu_entry_free 2017-09-28 06:02:14 +02:00
twinaphex 8b5f8d8c64 menu_displaylist_info - rewrite path 2017-09-28 03:06:54 +02:00
twinaphex 08ecfc74ec Rewrite info.label 2017-09-28 02:45:03 +02:00
twinaphex 72087d1749 Rewrite path_b and path_c 2017-09-28 02:30:31 +02:00
twinaphex 72f42b602f menu_displaylist_info - reduce stack usage - exts no longer
a fixed size path
2017-09-28 01:38:05 +02:00
twinaphex 155d6a23b9 Start using menu_displaylist_info_free 2017-09-10 22:57:26 +02:00
twinaphex 08e3bb2122 (MSVC) Buildfixes 2017-09-10 22:38:03 +02:00
twinaphex 36e0ff8268 Rearrange variables 2017-09-09 01:10:00 +02:00
twinaphex ce6c11c16b Reduce size of label 2017-09-09 00:23:24 +02:00
twinaphex ad579e5cc4 Revert "Cleanups"
This reverts commit 3eeae957f6.
2017-09-09 00:17:14 +02:00
twinaphex 3eeae957f6 Cleanups 2017-09-09 00:12:40 +02:00
twinaphex e16371b8a5 Merge input_config.c and input_driver.c 2017-08-31 02:25:04 +02:00
twinaphex 366c73f429 Fix 'Append Disk Image' 2017-08-17 19:07:38 +02:00
twinaphex 5909d72a09 Fix 'Scan File' 2017-08-17 18:53:55 +02:00
twinaphex 07dd7c8ccb Cleanups 2017-08-15 05:15:45 +02:00
twinaphex db24e4da42 Try to avoid countless string_is_equal function calls
being called multiple times per frame render - prebake
these decisions instead inside list_insert
2017-08-15 04:33:36 +02:00
twinaphex 7ea86f2b16 Get rid of logging 2017-08-04 21:08:42 +02:00
twinaphex 93eb7b349a Add mod/s3m/xm support to audio mixer in GUI 2017-08-04 21:08:02 +02:00
twinaphex 060753258a Combine input_driver.c and input_keyboard.c 2017-06-11 17:51:12 +02:00
twinaphex 68516cf74c (input_keyboard.c) cleanups 2017-06-11 17:35:48 +02:00
twinaphex 9438545bca Add music tab for non-ffmpeg enabled builds now; add 'Run'
and 'Add to mixer' options when selecting Ogg/WAV files
2017-05-27 23:56:10 +02:00
twinaphex 74f202bbda (Menu) Cleanups 2017-05-26 20:12:52 +02:00
twinaphex 59fb7700b8 Combine menu_driver.c and menu_display.c 2017-05-19 15:25:14 +02:00
twinaphex 2fb5e821cf Update Font Path menu option 2017-05-19 04:44:10 +02:00
twinaphex fa9fe88547 Fix filebrowser issues 2017-05-19 02:39:33 +02:00
twinaphex 236f5b3514 Fix selecting image with Menu Wallpaper 2017-05-19 01:50:15 +02:00
twinaphex 6d20fa96e0 Revert "Fix #4920"
This reverts commit f341f70705.
2017-05-19 01:37:45 +02:00
Jean-André Santoni f341f70705 Fix #4920 2017-05-19 00:38:20 +02:00
twinaphex 204f0183e1 Header cleanups 2017-05-17 05:06:52 +02:00
twinaphex 529349019d Combine menu_navigation_ctl and menu_driver_ctl 2017-05-17 04:57:43 +02:00
twinaphex ee8dc151a3 Combine menu_driver.c and menu_navigation.c 2017-05-17 03:00:32 +02:00
twinaphex 8eca08c6ac Start using string_is_equal_fast/string_is_not_equal_fast macros
instead of straight memcmp
2017-05-16 03:20:59 +02:00
twinaphex 15142be8ee Cleanups 2017-05-15 20:30:37 +02:00
twinaphex 1fef134f04 Create menu_driver_navigation_set 2017-05-15 07:56:22 +02:00
twinaphex 0185f71bab Cleanups 2017-05-13 23:47:25 +02:00
twinaphex 2906bec7a8 Create input_driver_get_uint 2017-05-11 07:36:21 +02:00
Andre Leiradella 844d1475e6 Reverted cheevos changes in preparation for conversion to task; fixed 4884 2017-05-07 19:06:03 +01:00
twinaphex 33f2fe8029 Move cheevos.c to tasks/task_cheevos.c and add TODO/FIXME note 2017-05-06 05:50:46 +02:00
twinaphex 05e4ec733e Move uint variables 2017-04-28 21:03:04 +02:00
twinaphex ed53be7c81 Move all bool settings 2017-04-28 14:11:34 +02:00
twinaphex ae1c26cbc4 Restructure settings struct 2017-04-28 00:00:43 +02:00
twinaphex e179108080 Cleanups 2017-04-26 00:24:59 +02:00
Twinaphex 840034d4a0 remove unused variables 2017-04-25 18:54:41 +02:00
twinaphex 8d0e3d7777 Wrap settings->input.binds 2017-04-25 18:27:18 +02:00
twinaphex d66aff8fbd Start wrapping settings->input.binds 2017-04-25 18:12:13 +02:00
twinaphex 7ea0528c6b Turn MENU_NAVIGATION_CTL_{SET|GET}_SELECTION into separate
functions
2017-04-23 14:31:49 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
Jean-André Santoni e587264b3d (OSK) Ascii symbol page 2017-03-05 11:54:08 +01:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
Andre Leiradella 0c8ee93e3e Moved cheevos files to their own folder in preparation for the changes to support leaderboards 2017-02-03 10:03:57 +00:00
twinaphex 07cd36e27c Create Filebrowser settings 2017-02-02 04:00:55 +01:00
Brad Parker 1a7263196e fix OSK backspace 2017-01-31 12:45:57 -05:00
Brad Parker 4c06f039af forgot to add utf8 pages header 2017-01-31 12:33:54 -05:00
Brad Parker d8fb3d937c UTF8 fixes for MSVC, don't include any files with a UTF8 BOM if HAVE_LANGEXTRA isn't defined 2017-01-31 12:20:16 -05:00
twinaphex ccf1f35f39 Fix rule for MSVC 2017-01-31 03:40:31 +01:00
twinaphex 78b31955aa Put this around BOM 2017-01-31 03:37:53 +01:00
twinaphex c2c2521b12 Add HAVE_LANGEXTRA to menu_osk.c 2017-01-29 20:01:26 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex 0b1a204949 Roll this back 2017-01-16 22:32:39 +01:00
Brad Parker fc5afa3122 add UTF8 BOM to fix MSVC build 2017-01-16 12:50:08 -05:00
twinaphex 0968bcc173 (menu_input_bind_dialog) Prevent warning 2017-01-16 09:57:21 +01:00
twinaphex ef974086aa Split up menu OSK code to separate file - menu/widgets/menu_osk.c 2017-01-12 11:31:24 +01:00
twinaphex 03ba5b21df (menu_input_bind_dialog.c) Hackier but dispenses with the 1-second
delay which was annoying
2017-01-11 10:37:37 +01:00
twinaphex 365564b0ed When we bind a single key, introduce a 1-second delay to
get around input latching issue that can occur when pressing
OK/Cancel buttons for binding - which would immediately
leave the screen or enter the input binding again (workaround
for now until we fix these latching issues in the menu)
2017-01-11 10:21:34 +01:00
twinaphex d48141041d Pass joypad_info to input_state function callback - less
settings pointer grabbing
2017-01-10 17:40:21 +01:00