Commit Graph

831 Commits

Author SHA1 Message Date
twinaphex 7e675b4f8a Cleanups 2016-06-18 03:51:54 +02:00
twinaphex a8042bdc0c Create CONTENT_MODE_LOAD_NOTHING_WITH_NEW_CORE_FROM_MENU 2016-06-15 18:17:01 +02:00
Arzed Five 0d3a866356 Corrected a mistake, added some more error checking. 2016-06-11 17:21:09 +01:00
Arzed Five 8e20b9e938 Both Undo options now write distinct messages in the OSD when buffers
are empty, when undoing fails and when undoing is successful.

Aside from some TODO/FIXME areas added by this fork, the features in the
fork are now complete.
2016-06-10 20:12:43 +01:00
Arzed Five 83a1d9ac1f Clean up some stuff, add comments, reduce the places where
content_reset_backup_buffers is called, try to make the undo messages
nicer.

* I'm trying to write to differentiate read/write errors from empty
buffer errors. I changed command.c and task_save_state.c so the
content_undo funcs are the ones writting the success messages.

I was told to use runloop_msg_queue_push() to write to the OSD, but that
doesn't seem to be working.
2016-06-09 16:14:40 +01:00
radius 4ad2eba602 cleanups 2016-06-08 23:02:19 -05:00
Arzed Five 9944ec98fd Both undo options print messages now. Undo Load State can now also be
undone ad infinitum. Doing it in succession swaps the current state for
the backed up state.
2016-06-09 00:38:27 +01:00
Arzed Five 8c5238c349 Undo Load State and Undo Save State both seem to be working. 2016-06-08 23:03:49 +01:00
Arzed Five 051cc3fe4d Undo Save State currently seems to be working almost as intended
(missing OSD messages). Undo Load State isn't working yet.
2016-06-08 20:27:54 +01:00
Arzed Five 4d529ffbc0 Merge remote-tracking branch 'upstream/master' 2016-06-08 17:07:18 +01:00
Arzed Five c47b58228f Make this compile 2016-06-08 17:07:04 +01:00
Arzed Five 70b1f385e8 Change task_save_state so we save a single state and a single savestate
file in memory, allowing to undo a loadstate/savestate once.
2016-06-07 18:33:01 +01:00
twinaphex f4c3a41f84 (Win32) Implement application process events 2016-06-07 17:28:51 +02:00
twinaphex cf996f724e Rename HAVE_NETWORK_GAMEPAD to HAVE_NETWORKGAMEPAD - and
don't bake it in for the C89 build
2016-06-07 15:23:07 +02:00
twinaphex b45824a7a8 Reorder files in Makefile.common 2016-06-07 06:14:28 +02:00
twinaphex 7ea0a19a4f Prevent crash 2016-06-05 19:29:55 +02:00
twinaphex 693ce8f6e5 (task_content.c) Fix explicit null dereferenced 2016-06-05 19:03:23 +02:00
twinaphex 620f541ca1 detect_ps1_game_sub - fix 'resource leak' 2016-06-05 18:32:26 +02:00
twinaphex 51c875fdee Cleanup 2016-06-05 03:04:09 +02:00
Twinaphex 86b35c8ff2 Merge pull request #3069 from fr500/undo
Undo savestate/loadstate
2016-06-05 01:19:35 +02:00
radius 28aafddd91 copy the old save state before making a new savestate 2016-06-04 12:38:55 -05:00
aliaspider e23b39d2b5 (task_database_cue) ps1 scanning: the boot entry isn't always the first
one in SYSTEM.CNF
2016-06-03 20:09:23 +01:00
twinaphex d6d757e240 Cleanups 2016-06-03 19:06:24 +02:00
twinaphex 7d30885ab9 Cleanup 2016-06-03 19:02:19 +02:00
twinaphex 8595e4cf75 task_push_content_load_default - cleanups 2016-06-03 18:59:57 +02:00
twinaphex f675c5fdc7 task_push_content_load_default - simplify code a bit 2016-06-03 18:45:09 +02:00
twinaphex 6628da2646 Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI 2016-06-03 18:43:05 +02:00
aliaspider 748a913a6d (task_database_cue) more ps1 scanning fixes. 2016-06-03 11:36:48 +01:00
aliaspider 87788f0ffb (task_database_cue) ps1 scanning fix. 2016-06-03 10:46:55 +01:00
twinaphex 34ad3bd103 Cleanups 2016-06-03 05:24:21 +02:00
twinaphex d9ba04e470 Fix CXX_BUILD 2016-06-03 02:43:30 +02:00
mudlord 4c53bdf4f9 add drag and drop 2016-06-03 09:14:53 +10:00
twinaphex 29ca5b8c34 Fix some unchecked return value issues 2016-06-02 22:49:26 +02:00
twinaphex 65d5ebc2bb Fix some dereference after null check warnings 2016-06-02 20:40:51 +02:00
twinaphex 1f3790fafa Fix statement is unreachable warning 2016-06-01 05:59:17 +02:00
twinaphex 36106dd90a C89_BUILD fix 2016-06-01 05:58:22 +02:00
twinaphex da6ac4aae7 Fix explicit NULL dereferenced warnings 2016-06-01 04:05:14 +02:00
twinaphex 9bb8c41ff6 Fix uninitialized scalar variables warnings 2016-06-01 03:23:38 +02:00
twinaphex ffdad57318 Fix double frees and resource leaks 2016-06-01 02:40:58 +02:00
twinaphex 5b52098c54 Reimplement verbosity 2016-05-31 04:42:04 +02:00
Diablodiab d7bfe70ca1 Check if content has been passed to core even if the core does not need content.
Only start without content if no content has been passed.

This fixes a problem with cores that are both able to start with or without
content, eg. ScummVM.
2016-05-30 00:19:05 +02:00
twinaphex e222df4eb6 Fix LOAD_CONTENT_WITH_NEW_CORE_FROM_MENU 2016-05-29 05:36:41 +02:00
twinaphex 78b208c441 Get rid of settings variable 2016-05-29 00:19:04 +02:00
twinaphex eafb235e66 Cleanups 2016-05-29 00:03:15 +02:00
twinaphex bf6fa07b25 Cleanups 2016-05-28 23:56:07 +02:00
twinaphex 2859f6f18d Cleanup 2016-05-28 23:53:13 +02:00
twinaphex efaf6e10ee Cleanups 2016-05-28 23:48:32 +02:00
twinaphex fdb218f64e We don't have to call task_load_core for ffmpeg/imageviewer paths 2016-05-28 23:40:58 +02:00
twinaphex e0885a71e3 Remove core_path lines from ffmpeg/imageviewer paths 2016-05-28 23:39:04 +02:00
twinaphex 383a5968cc Create task_push_quick_menu 2016-05-28 23:34:21 +02:00
twinaphex f8ed8ebde4 Create task_load_core 2016-05-28 23:20:43 +02:00
twinaphex 1b0c224c02 Create task_load_content 2016-05-28 23:16:57 +02:00
twinaphex 2b5aae8a21 Add this too 2016-05-27 21:41:14 +02:00
twinaphex 828b9c6c46 task_content.c - can now reach this code 2016-05-27 21:25:42 +02:00
twinaphex 954aaa3fc6 More preparatory work for net retropad core 2016-05-27 21:16:25 +02:00
twinaphex c0d86cd8d3 Ifdef autosave code for HAVE_THREADS 2016-05-27 20:43:55 +02:00
twinaphex e8eb0ef013 Change invocation of task_content_push 2016-05-27 19:34:07 +02:00
twinaphex c16cae7ef9 Create retroarch_set_current_core_type 2016-05-27 19:26:45 +02:00
twinaphex ccd5b2f73d Add 'Start Remote Gamepad' entry 2016-05-27 19:18:46 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
twinaphex 534c923b6b Remove autosave.c 2016-05-27 17:52:20 +02:00
twinaphex a6f95b307f Silence warnings 2016-05-27 17:24:54 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
Jean-André Santoni 72e67acec0 (Menu) Fixes a menu toggle bug 2016-05-26 22:45:01 +02:00
twinaphex 03ded43280 Prevent explicit null dereferenced warnings 2016-05-26 18:09:46 +02:00
twinaphex a98616b45b Fix explicit NULL dereferenced/dereference before null check warnings 2016-05-26 17:47:21 +02:00
twinaphex e297da1b71 Take out this call to prevent another memory leak 2016-05-26 17:34:44 +02:00
twinaphex 4f98cf05f4 Fix uninitialized scalar variable warnings 2016-05-26 17:32:27 +02:00
twinaphex 0f954fd4c8 Resource leaks fixes (catched by Coverity) 2016-05-26 17:26:55 +02:00
Sebastien Ronsse 5366e88d1b task overlay: Fix memory leak caused by overlay being loaded multiple times 2016-05-26 16:14:34 +10:00
Twinaphex f0157dea52 Merge pull request #3033 from sronsse/fixes_for_team
task image: Fix memory leak occurring for images loading non-progress…
2016-05-26 06:51:57 +02:00
twinaphex ebc8edd2bf Fix CXX_BUILD 2016-05-26 06:46:57 +02:00
twinaphex 20cc877ad3 (PS3) Cleanup warnings 2016-05-26 06:41:28 +02:00
Sebastien Ronsse 093b009422 task image: Fix memory leak occurring for images loading non-progressively 2016-05-26 14:32:25 +10:00
twinaphex 8c106eb010 Allocate name_base memory and free it again 2016-05-25 02:25:09 +02:00
twinaphex 581f53a7c2 (task_screenshot.c) Grab global pointer only once 2016-05-25 02:23:54 +02:00
twinaphex 42971febba Fix resource leaks (pointed out by Coverity) 2016-05-24 22:01:43 +02:00
twinaphex ec88b464c3 Silence 'side effect in assertion' warnings 2016-05-24 21:51:45 +02:00
Twinaphex 1fe1b2318a (task_image.c) Cleanup handle which could leak 2016-05-24 20:04:49 +02:00
twinaphex 1b35da2bd8 Cleanup load_images upon task cancellation 2016-05-24 13:35:09 +02:00
twinaphex 811f4f59de (task_overlay.c) Cleanups 2016-05-24 13:31:28 +02:00
twinaphex 1b9e222e6e (task_overlay.c) Another rewrite 2016-05-24 03:25:23 +02:00
twinaphex b58b002501 (task_overlay.c) Rewrite 2016-05-24 03:18:29 +02:00
twinaphex 41b6b82b24 Cleanups 2016-05-24 03:02:40 +02:00
twinaphex 690530e7aa (task_overlay.c) Implement cleanup callback 2016-05-24 02:57:37 +02:00
twinaphex 0f42249dd5 Cleanups 2016-05-24 02:55:27 +02:00
twinaphex 47c2b9ed43 (task_overlay.c) Cleanups 2016-05-24 02:39:37 +02:00
twinaphex 334cbd55d8 Cleanups 2016-05-24 02:33:38 +02:00
twinaphex 9bea4deac0 Cleanup 2016-05-24 02:29:43 +02:00
Twinaphex 497e424fc1 Cleanup 2016-05-24 02:23:00 +02:00
twinaphex 28ef2201cd (task_overlay.c) Cleanups 2016-05-24 02:21:49 +02:00
twinaphex 8f054aeb29 (task_overlay.c) Cleanup 2016-05-24 02:17:38 +02:00
Torsten Paul 30e9cc1f10 Ensure memory is not used after free(). 2016-05-23 22:41:24 +02:00
Torsten Paul 845dcef6ab Add cleanup handler for tasks to free allocated resources after the task finished. 2016-05-23 22:36:29 +02:00
twinaphex d5d2f7f8ee Fix resource leaks 2016-05-23 22:17:28 +02:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex faef7b498d (Coverity) Fix some resource leaks 2016-05-23 21:28:43 +02:00
twinaphex 0a3224180b (Coverity) Fix uninitialized variables; fix some resource leaks 2016-05-23 21:19:28 +02:00
twinaphex 57f797dad6 Cleanup 2016-05-21 13:16:48 +02:00
twinaphex fec5aca60b Revert "(task_image.c) Nits"
This reverts commit 94a9e7b923.
2016-05-20 21:03:42 +02:00
twinaphex 94a9e7b923 (task_image.c) Nits 2016-05-20 20:04:07 +02:00
twinaphex fe516b0d01 Change type of status 2016-05-20 19:32:09 +02:00
Twinaphex 67e1e5a9d0 (task_image.c) Prevent null pointer dereference 2016-05-19 02:09:56 +02:00
twinaphex 0c2958e384 (task_image.c) Style nit 2016-05-19 00:16:30 +02:00
twinaphex bebcc1c274 Move macros to task_image.c 2016-05-19 00:07:49 +02:00
twinaphex 2116c0cc4e Move typedef to task_image.c 2016-05-19 00:06:52 +02:00
twinaphex 824315865f Move http_transfer_info to task_http.c 2016-05-19 00:04:38 +02:00
twinaphex ae478b71b7 (rarch_task_push_image) Call rarch_task_image_load_free 2016-05-18 23:57:35 +02:00
twinaphex e59cd92108 rarch_task_image_load_free_internal - Run image_texture_free 2016-05-18 23:38:51 +02:00
twinaphex ad78fddf4e Move image allocation to task_image.c 2016-05-18 23:28:03 +02:00
twinaphex cb4db5c5ab Don't be dependent on nbio->image inside task_file_transfer 2016-05-18 23:14:07 +02:00
twinaphex d53b245528 Cancel task instead 2016-05-18 17:37:43 +02:00
twinaphex 7aadde73d8 Handle cb return error code for task cancellation 2016-05-18 17:32:39 +02:00
Twinaphex 3cf591ec09 (tasks/task_image.c) refactor cb_nbio_image_menu_thumbnail 2016-05-18 17:27:05 +02:00
twinaphex 7e36dcb27f move video_texture_image to libretro-common and rename it to image_texture.c 2016-05-18 12:58:00 +02:00
twinaphex 9bc11731fb Start reimplementing TGA image load support 2016-05-18 10:52:23 +02:00
twinaphex 492dd59164 Hook up BMP image loading - color channels swapped - RGBA to ARGB
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex 2559139154 Cleanup tasks_save_ram.c 2016-05-17 15:32:50 +02:00
twinaphex 4a0334b4fa Turn content_push_to_history_playlist to static function 2016-05-17 15:22:26 +02:00
twinaphex 9b421948e4 Create tasks/task_save_state.c 2016-05-17 15:21:09 +02:00
twinaphex 81c7a8ac04 Create task_save_ram.c 2016-05-17 15:18:03 +02:00
twinaphex 86a82a47f6 (task_screenshot.c) Another cleanup 2016-05-17 15:04:28 +02:00
twinaphex df3547c65f (task_screenshot.c) Another cleanup 2016-05-17 15:03:17 +02:00
twinaphex 679c0e829c Cleanup 2016-05-17 15:02:25 +02:00
twinaphex 07c56b4340 (task_screenshot.c) Cleanup 2016-05-17 15:00:46 +02:00
twinaphex 747bac1cca task_screenshot.c - cleanups 2016-05-17 15:00:18 +02:00
twinaphex 146d2c8a1d Rename screenshot.c to tasks/task_screenshot 2016-05-17 14:31:33 +02:00
twinaphex 5555d18a52 Cleanup 2016-05-17 14:24:43 +02:00
twinaphex a5cf78fd68 only bind to menu_environment_get when content_info->environ_get is
NULL
2016-05-17 10:35:57 +02:00
Twinaphex b83e43e8ce Fix 'Close Content' when menu is active 2016-05-17 10:15:43 +02:00
Twinaphex 52937d4b02 Fix CONTENT_MODE_LOAD_CONTENT_WITH_CURRENT_CORE_FROM_COMPANION_UI 2016-05-17 09:14:18 +02:00
twinaphex fcf2decb2e Remove persist argument 2016-05-17 09:07:41 +02:00
Twinaphex 47cb3b899a Fix deferred content loaded from menu 2016-05-17 08:53:25 +02:00
twinaphex e2e53026aa rarch_main - reduce a lot of code duplication 2016-05-17 08:19:50 +02:00
twinaphex 80ce237878 (HAVE_MENU not defined) Buildfixes 2016-05-17 08:02:13 +02:00
twinaphex 6c9715027f Add HAVE_MENU ifdefs 2016-05-17 07:53:38 +02:00
twinaphex 0d850b9bda Improve content_load_wrapper - pushing to the history list should work again 2016-05-17 07:36:18 +02:00
twinaphex e10270d459 Delete runloop_prepare_dummy 2016-05-16 17:19:16 +02:00
twinaphex d681d30249 Move code to task_content.c 2016-05-16 17:14:05 +02:00
twinaphex fa5971737e Implement CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE 2016-05-16 17:07:11 +02:00
twinaphex 6305f12ba2 Turn content_load function static 2016-05-16 16:44:34 +02:00
twinaphex 722eb5a69c Move content.c code to task_content.c 2016-05-16 16:42:33 +02:00
twinaphex 18a991e014 rarch_main - use rarch_task_push_content_load 2016-05-16 16:38:27 +02:00
twinaphex 3e91a4bb68 Rename menu_content_load to content_load_wrapper 2016-05-16 16:32:18 +02:00
twinaphex f70dc77a61 Pass content_ctx_info_t pointer to rarch_task_push_content 2016-05-16 16:25:16 +02:00
twinaphex 3678c4e72a menu_content_load - cleanups 2016-05-16 15:17:28 +02:00
twinaphex 9c33d91e68 Refactor content task code 2016-05-16 15:09:04 +02:00
twinaphex a687c47f7e Move command_event_cmd_exec to tasks/task_content.c 2016-05-16 14:58:08 +02:00
twinaphex 923d0a879b Reimplement menu_content_load_from_playlist 2016-05-16 14:54:26 +02:00
twinaphex 75160c6524 Reimplement task_content.c 2016-05-16 14:44:28 +02:00
twinaphex 4d30d931fe Move some logic to rarch_task_push_content_load_default 2016-05-16 14:33:50 +02:00
twinaphex 3cb26268ee Start writing rarch_task_push_content_load_default 2016-05-16 14:27:11 +02:00
twinaphex d4732d048e Start adding switch 2016-05-16 14:23:13 +02:00
twinaphex fe2eb7f4c1 Add mode to rarch_task_push_content_load_default to make
it explicit what each call does
2016-05-16 14:20:26 +02:00
twinaphex cb22859250 Add content_mode_load 2016-05-16 14:10:56 +02:00
twinaphex 57fedb9fa8 Use rarch_task_push_content_load_default 2016-05-16 13:43:14 +02:00
twinaphex 9846aeb53a Remove unused variable 2016-05-16 13:02:47 +02:00
twinaphex 6ef0b86e30 Reimplement content loading - task_content_load 2016-05-16 12:51:55 +02:00
twinaphex 449c7483cd Rename content_playlist_ to playlist_ 2016-05-16 09:07:44 +02:00
twinaphex cd0b925fa1 Try to see if this gets us past the crash 2016-05-14 06:00:53 +02:00
twinaphex 9e1276d76f (MSVC) Buildfixes 2016-05-14 01:32:05 +02:00
twinaphex f8e99403a4 Cleanups 2016-05-14 00:48:40 +02:00
twinaphex 42adb48d9c (task_image.c )Cleanups 2016-05-13 15:18:40 +02:00
twinaphex acbc9116e3 Turn nbio_image_handle_t member image into pointer 2016-05-13 15:00:44 +02:00
twinaphex fad7f8c1df Cleanups 2016-05-13 10:28:44 +02:00
twinaphex 7c1938b674 Rename task functions 2016-05-13 10:19:53 +02:00
twinaphex 025c51e4c9 (task_image.c) Rename functions 2016-05-13 10:13:36 +02:00
twinaphex bdf4a173f2 Remove file transfer frame_count 2016-05-13 10:10:54 +02:00
twinaphex a283923393 Get rid of image->frame_count 2016-05-13 10:10:23 +02:00
twinaphex f2912eb4c3 Cleanup 2016-05-13 09:22:29 +02:00
twinaphex 5068accc4e Start preparing image transfer for RJPEG 2016-05-13 08:50:50 +02:00
twinaphex 13f49e1d9a Split up image transfer code to separate file 2016-05-13 04:38:21 +02:00
twinaphex 6daf6e2270 Cleanups 2016-05-13 04:33:11 +02:00
twinaphex d040263a83 image_transfer_new/image_transfer_free 2016-05-13 04:28:16 +02:00
twinaphex be506c6d64 (task_image.c) Cleanups 2016-05-12 13:13:14 +02:00
twinaphex e3802c499f Add RJPEG header include 2016-05-11 21:38:33 +02:00
twinaphex 28dd2c2545 Add HAVE_RJPEG ifdefs 2016-05-11 21:27:17 +02:00
twinaphex 4100bf95b4 Able to compile without RPNG support 2016-05-11 21:22:45 +02:00
twinaphex 5cc86384b8 (task_image.c) Cleanups 2016-05-11 20:38:09 +02:00
twinaphex dc46c0d012 C89 build-fix 2016-05-11 19:38:46 +02:00
twinaphex 5ad45ea17f task_image.c - Refactors to prepare it for JPEG support 2016-05-11 04:10:42 +02:00
twinaphex e6969f7ced Cleanups 2016-05-11 04:03:21 +02:00
twinaphex 556017f23d Cleanup 2016-05-11 03:56:31 +02:00
twinaphex e6f55814a9 (task_image.c) Cleanups 2016-05-11 03:55:09 +02:00
twinaphex 1b4d744dcd (task_image.c) Cleanups 2016-05-11 03:51:26 +02:00
Alcaro 2235aad731 Need these even without networking 2016-05-10 19:43:38 +02:00
twinaphex 4a49c197c9 (task_image.c) Rename function 2016-05-10 08:31:07 +02:00
twinaphex a4ccfc4d96 Cleanups 2016-05-10 08:28:48 +02:00
twinaphex 58ae02207f Move rpng_is_valid to function 2016-05-10 08:25:18 +02:00
twinaphex 4e04588d2d Create rarch_main_data_image_iterate 2016-05-10 08:23:49 +02:00
twinaphex d160ed322e (task_image.c) Cleanup 2016-05-10 08:09:12 +02:00
twinaphex dc0616d678 CXX_BUILD fixes 2016-05-10 08:02:42 +02:00
twinaphex 55c5052253 Cleanups 2016-05-10 07:55:31 +02:00
twinaphex 8b07f39d6f Create tasks/task_image.c 2016-05-10 07:54:47 +02:00
twinaphex 60b8cf7993 Start adding notes to task_file_transfer.c 2016-05-10 06:16:27 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
twinaphex 725c202498 Remove input_driver_ctl 2016-05-08 23:12:04 +02:00
twinaphex ae9ea8f2db (MSVC) Buildfixes 2016-05-08 04:04:50 +02:00
Sebastien Ronsse 9f45722020 task http: Update http_task_get_transfer_list using new task retrieval mechanism 2016-05-06 16:42:17 +10:00
twinaphex 9cff56ea62 Cleanup 2016-05-06 05:31:17 +02:00
Andre Leiradella 8be7fd5f0a http tasks can now be cancelled 2016-05-05 15:32:36 -03:00
Sebastien Ronsse 14c14b72ac task http: Add support for retrieving list of active transfers 2016-05-05 14:59:58 +10:00
Sebastien Ronsse e346eccbb7 task http: Fix http task finder logic leading to erroneous results 2016-05-05 10:18:29 +10:00
Sebastien Ronsse b100846ad5 task decompress: Refactor decompress checking code 2016-05-05 10:18:29 +10:00
Sebastien Ronsse b8849a574c task decompress: Add helper decompress check method 2016-05-05 10:18:29 +10:00
twinaphex 895783d854 Move some variables 2016-04-28 20:49:13 +02:00
twinaphex 7dffc6286b Internally change directory settings 2016-04-28 19:26:02 +02:00
Jean-André Santoni 86cf3243aa Fix arcade LPL generation 2016-04-15 05:55:11 +07:00
Jean-André Santoni 4f74976cac Arcade scanning 2016-04-15 05:28:44 +07:00
Twinaphex 5218be3a0c Merge pull request #2842 from lakkatv/master
(XMB) Thumbnail type switching
2016-04-07 20:48:19 +02:00
Jean-André Santoni 7dfb3c373a (XMB) Thumbnail type switching 2016-04-08 01:42:53 +07:00
twinaphex 1b289c0f05 (libretro-common) Update 2016-03-24 04:23:17 +01:00
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +01:00
twinaphex 4c14267f5b Create core_type.h 2016-03-22 02:56:06 +01:00
twinaphex ac6362cae4 Combine list_special files 2016-03-20 17:28:24 +01:00
twinaphex 3720cf87e7 Rename retro_file to file_stream 2016-03-20 16:29:14 +01:00
twinaphex c7e13e2bcd (libretro-common) Rename file_archive to archive_file 2016-03-20 16:14:40 +01:00
twinaphex 93b7dc1bdd (libretro-common) move 'lists' files to lists/ 2016-03-20 14:53:54 +01:00
twinaphex 4b9143430c Add C89 workaround 2016-02-25 22:26:48 +01:00
twinaphex f8b866c8c1 Combine file_ops.c and content.c 2016-02-15 21:49:29 +01:00
twinaphex c6220a9e66 Reimplement rarch_task_push_content_load_default 2016-02-12 04:55:18 +01:00
twinaphex 1721a23d54 Style nits 2016-02-10 05:41:53 +01:00
twinaphex 5b6d310abd Rename enums 2016-02-09 18:26:27 +01:00
twinaphex 8b9c7a47e4 Move task_queue to queues/ dir 2016-02-09 18:13:47 +01:00
twinaphex 31112e937b Move task_queue.c to libretro-common 2016-02-09 18:11:11 +01:00
twinaphex 8d47203ad1 Rename some functions 2016-02-09 18:00:17 +01:00
twinaphex e4d983646d Rename push_task_progress 2016-02-09 17:56:36 +01:00
twinaphex 4210ee197b Rename tasks.c to task_queue.c 2016-02-09 17:55:15 +01:00
twinaphex 6e9bc55dd6 Rename task_ctl to task_queue_ctl 2016-02-09 17:51:51 +01:00
twinaphex 08eb091610 Rename rarch_ to retro_ 2016-02-09 17:47:04 +01:00
twinaphex 0378463130 Remove configuration.h dependencies from tasks.c 2016-02-09 17:41:30 +01:00
twinaphex 76770321b4 Cleanup 2016-02-09 17:27:29 +01:00
twinaphex ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +01:00
twinaphex c60c9fbd86 tasks.c - cleanups 2016-02-09 17:01:07 +01:00
twinaphex ce1b86993b Style nits 2016-02-08 05:58:27 +01:00
twinaphex fc821fc5b4 Make rarch_task_http_finder more robust 2016-02-08 05:48:36 +01:00
twinaphex 3fe210bb41 N/A 2016-02-07 13:29:50 +01:00
twinaphex 0b1b56214e Try to reduce dependence on general.h 2016-02-07 13:18:48 +01:00
twinaphex f1ca9604b7 Header include changes 2016-02-07 01:50:08 +01:00
twinaphex 0643b83f7d Header include changes 2016-02-05 13:57:08 +01:00
twinaphex 9c547ab541 Move define to top of file 2016-02-04 10:30:12 +01:00
twinaphex 2251517774 Respect 80-char width limit 2016-02-04 10:25:22 +01:00
twinaphex 16ba94b531 Revert "(task_database.c) Style nits"
This reverts commit 0f46d42c26.
2016-02-04 10:17:54 +01:00
twinaphex c57995b3eb Style nits/cleanups 2016-02-03 17:41:04 +01:00
twinaphex 0f46d42c26 (task_database.c) Style nits 2016-02-03 17:31:19 +01:00
twinaphex aa0f0a2738 Fix header include 2016-01-30 04:46:41 +01:00
twinaphex 9ab31824f8 Use retro_read_file in more places 2016-01-30 03:58:33 +01:00
twinaphex bd39fd252f Fix C89_BUILD 2016-01-30 03:18:18 +01:00
twinaphex a267bdfbe3 MOve gfx/image/image.c to gfx/video_texture_image.c 2016-01-30 02:39:08 +01:00
twinaphex b47caeb58b Refactor away runloop_msg_queue_push_new 2016-01-29 14:30:09 +01:00
twinaphex 9e0aad9d5d Cleanups 2016-01-28 18:51:07 +01:00
twinaphex ae1e9acbaf Turn function static 2016-01-28 10:11:33 +01:00
twinaphex 6b1441340c Cleanup 2016-01-28 10:09:26 +01:00
twinaphex c53702e768 Make impl_current into static local variable 2016-01-28 10:08:27 +01:00
twinaphex d61eb7a8db Add TASK_CTL_FIND 2016-01-28 09:57:55 +01:00
twinaphex a5e8615091 Create TASK_CTL_INIT 2016-01-28 09:52:28 +01:00
twinaphex b008750f18 Add TASK_CTL_DEINIT 2016-01-28 09:48:47 +01:00
twinaphex 7a5fbc6948 Create TASK_CTL_CHECK 2016-01-28 09:45:14 +01:00
twinaphex b807b89837 Add TASK_CTL_PUSH 2016-01-28 09:42:55 +01:00
twinaphex 0764b65dc4 Add more TASK_CTL commands 2016-01-28 09:38:21 +01:00
twinaphex ebcae85452 Add task_ctl 2016-01-28 09:35:25 +01:00
twinaphex dbff4e52bc Cleanups 2016-01-28 09:33:09 +01:00
radius 40e2994fb6 remove log message 2016-01-26 15:24:17 -05:00
radius 2af0708047 do not push entries that are already on the database 2016-01-26 15:22:16 -05:00
twinaphex d4d6788381 Use sizeof(variable) instead of hardcoded PATH_MAX_LENGTH 2016-01-26 04:58:40 +01:00
twinaphex 425406537c Fix Android crash 2016-01-26 04:29:19 +01:00
twinaphex bb36ad2772 Take out playlist.h header include from database_info.h 2016-01-25 07:06:58 +01:00
twinaphex 9022724bd5 Fix warnings 2016-01-25 07:04:54 +01:00
twinaphex 9459cf6445 Rename zlib_ to file_archive_ 2016-01-24 22:17:11 +01:00
twinaphex aae1faf76f Move crc32_calculate to file_archive_zlib.c 2016-01-24 21:50:28 +01:00
twinaphex 3c2a45d923 Rename file_extract functions 2016-01-24 07:42:46 +01:00
twinaphex 552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +01:00
twinaphex c6f7afbd9a Adjust zlib_crc32_calculate 2016-01-24 06:47:06 +01:00
twinaphex 23d99495a4 Add TODO/FIXME 2016-01-24 01:31:40 +01:00
twinaphex 77ebc96f37 Cleanup 2016-01-24 01:30:19 +01:00
twinaphex 6f221fb425 Rename menu_common_load_content to rarch_task_push_content_load_default 2016-01-24 00:51:17 +01:00
twinaphex 48317e66b9 Create task_content.c - WIP 2016-01-24 00:40:34 +01:00
twinaphex ec15a43cf1 N/A 2016-01-24 00:33:06 +01:00
twinaphex 9256cd2fbc Start adding ways to extract only one file from a ZIP 2016-01-24 00:12:05 +01:00
twinaphex a3ae0e9a90 Cleanup 2016-01-24 00:06:50 +01:00
twinaphex f4b22f9fdd Cleanup 2016-01-23 22:00:45 +01:00
twinaphex 97e5d5c61b Cleanups 2016-01-23 21:57:14 +01:00
twinaphex 076e55a945 Fix extraction of ZIP files 2016-01-21 21:33:52 +01:00
twinaphex ae2f6f06a0 rarch_task_push_dbscan - prevent possible memleaks 2016-01-21 03:25:00 +01:00
twinaphex a187382ecf Nit 2016-01-21 03:23:14 +01:00
twinaphex 89481d6d2e Plug potential memleaks in rarch_task_push_http_transfer 2016-01-21 03:22:17 +01:00
twinaphex 1f039b53f3 (task_http.c) Cleanups/plug possible memory leaks 2016-01-21 03:19:14 +01:00
twinaphex e8d86ef013 Cleanups/indents 2016-01-21 03:16:48 +01:00
twinaphex c9fc8cd7d3 rarch_task_push_decompress - deal with possible memory leaks 2016-01-21 03:14:22 +01:00
twinaphex 33c47f3d39 Remove TODO 2016-01-21 02:39:06 +01:00
twinaphex 9095399aa8 (task_decompress.c) Use path_is_directory 2016-01-21 02:36:58 +01:00
twinaphex 63e2d13b8f Create string_is_equal_noncase - try not to use strcasecmp so much 2016-01-20 17:34:19 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex adf9fcec7b Add log 2016-01-10 13:16:55 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
twinaphex 1439a36174 (tasks) Start using string_is_empty 2015-12-26 07:23:13 +01:00
twinaphex c90737388b Get rid of unused data_runloop_osd_msg 2015-12-11 15:52:26 +01:00
twinaphex fef0d99351 Cleanup 2015-12-10 21:22:17 +01:00
Alcaro dddd4d4777 Fix some type derpery. 2015-12-08 20:00:18 +01:00
Higor Eurípedes 45f85322cb (task_file_transfer.c) Show nbio_open() error 2015-12-07 12:28:22 -03:00
twinaphex 2d55dc3bda Complete namespace changes 2015-12-07 15:32:14 +01:00
twinaphex eb9ff0b7f0 Remove unused char extern reference 2015-12-07 13:22:13 +01:00
twinaphex c6e454da46 Cleanup 2015-12-07 13:20:19 +01:00
twinaphex 9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex 058e941d8a Move header include out of tasks.h 2015-12-04 13:19:53 +01:00
twinaphex 6062467d1b task_decompress.c - add code for handling subdir extraction from
zip archive - needed for APK extraction
2015-12-02 06:06:15 +01:00
twinaphex a7e72772e7 Start making tasks_decompress.c suitable for extracting APKs too 2015-12-02 05:27:47 +01:00
twinaphex 809f8da955 move msg_queue_pushf to tasks/tasks.c 2015-11-30 23:24:11 +01:00
twinaphex 1e8d666758 (task_http.c) Add FIXME/TODO 2015-11-30 19:36:02 +01:00
Higor Eurípedes 916444f977 (tasks) Show finished tasks progress too 2015-11-30 14:23:09 -03:00
Higor Eurípedes 906a88bfc3 (tasks) Display all progress messages for at least 60 frames 2015-11-30 12:26:41 -03:00
Higor Eurípedes 1948e6c1dd (task_decompress) Disallow same-file concurrent decompression 2015-11-30 11:43:05 -03:00
Higor Eurípedes f84bea4302 (task_http) Disallow same-file concurrent downloads 2015-11-30 11:37:06 -03:00
twinaphex 4e0a4150b5 Merge runloop and runloop_data.c 2015-11-30 15:35:57 +01:00
Higor Eurípedes a171f3c6d1 (task_decompress.c) Add progress report 2015-11-30 10:41:35 -03:00
Higor Eurípedes cf0a493605 Add some task-related localized strings 2015-11-30 10:02:36 -03:00
Higor Eurípedes 7e156584ba (tasks) Add progress metter and task titles 2015-11-30 09:17:46 -03:00
twinaphex d4e88324ac Move driver->osk_enable to input_driver.c 2015-11-30 03:14:26 +01:00
Higor Eurípedes 3bad31e513 (tasks_decompress) Attempt to fix some Android issues 2015-11-28 17:14:07 -03:00
Higor Eurípedes aad63e776b Log some warnings in the decompression code 2015-11-28 16:08:55 -03:00
twinaphex 0bce3a9cec Rename some more input_config functions 2015-11-28 02:26:57 +01:00
twinaphex a6ccc188a8 Rename input_common.c to input_config.c 2015-11-28 02:22:58 +01:00
Higor Eurípedes d28965b9f4 Implement zip decompression task 2015-11-27 19:48:09 -03:00
Twinaphex 36587d99c2 Merge pull request #2463 from heuripedes/master
(task_http) Finish the task on internal error
2015-11-25 03:34:51 +01:00
twinaphex f319916e80 C89_BUILD buildfixes 2015-11-25 03:33:54 +01:00
twinaphex 08ae9df639 Merge input_sensor.c with input_driver.c 2015-11-25 03:29:18 +01:00
Higor Eurípedes 51ee399eac (task_http) Finish the task on internal error 2015-11-24 23:26:34 -03:00
Higor Eurípedes 29e9b87319 (tasks) Make task handles honor task->cancelled 2015-11-24 22:18:09 -03:00
Higor Eurípedes 0496bed76e (tasks) Add wait/cancel functions and some documentation 2015-11-24 22:18:09 -03:00
Higor Eurípedes 5a158a18ce (tasks) Actually implement a task queue 2015-11-24 22:18:09 -03:00
Higor Eurípedes 92683976a5 Add user_data pointer to rarch_task_push_image_load() 2015-11-24 13:50:44 -03:00
Higor Eurípedes 6e43bd4893 (task_overlay) Fix bug introduced by c342bb4 2015-11-24 10:32:18 -03:00
Higor Eurípedes afce03a20e (task_http) Abort task on error 2015-11-23 22:45:36 -03:00
Higor Eurípedes 1d946a1b27 (task_file_transfer) Fix --disable-zlib builds 2015-11-23 20:41:25 -03:00
twinaphex c342bb437a Fix warnings 2015-11-23 23:47:25 +01:00
twinaphex f02258585f Remove unused variable 2015-11-23 23:45:01 +01:00
Higor Eurípedes 280f0fda66 (tasks) Fix behavior in non threaded implementation 2015-11-23 17:45:15 -03:00
Higor Eurípedes 9654fabe77 (overlay) Fix on screen keyboard 2015-11-23 17:42:01 -03:00
Higor Eurípedes 52e3b03546 Remove some uneeded prototypes 2015-11-23 17:42:01 -03:00
Higor Eurípedes a0d2bb4c7c Reimplement overlay loading with tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes 4b8a2ebad7 Fix build 2015-11-23 17:42:01 -03:00
Higor Eurípedes 935e03fa97 Reimplement http transfers using tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes 5d92e9061c Reimplement image loading using tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes c21ffeff71 Reimplement content scanning using tasks 2015-11-23 17:42:01 -03:00
Higor Eurípedes 12fe5a0e18 Create tasks.c 2015-11-23 17:42:01 -03:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex 82f64cbf43 Get rid of is_thread variable for this function 2015-11-23 09:46:53 +01:00
twinaphex dd0a191548 (task_file_transfer.c) Remove some redundant functions 2015-11-23 09:42:00 +01:00