Commit Graph

316 Commits

Author SHA1 Message Date
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
twinaphex
f806e7b9c1 Don't put overlay code on thread again 2015-11-22 18:25:09 +01:00
Twinaphex
1cd1ecfc5c More C89_BUILD buildfixes 2015-11-19 13:43:48 +01:00
twinaphex
89c262c552 (XBOX) Some build fixes 2015-11-17 11:13:46 +01:00
twinaphex
ed0e5c37e2 (XBOX) Some build fixes 2015-11-17 11:11:41 +01:00
Higor Eurípedes
0e8d65c44e (task_database) Fix serial lookup 2015-11-16 20:49:51 -03:00
Higor Eurípedes
9770bc354c (task_database_cue) Fix memory leak 2015-11-16 20:46:29 -03:00
Higor Eurípedes
dc3a561845 (task_database_cue) Fix buffer overflow 2015-11-16 20:46:29 -03:00
Higor Eurípedes
0ae631078a (task_database) Stop crc lookup on first match 2015-11-14 19:44:08 -03:00
twinaphex
eb33e83eff Some more non-HAVE_MENU buildfixes 2015-10-28 08:02:39 +01:00
twinaphex
df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex
9e2dc0745e Add param to dir_list_new_special 2015-10-26 21:30:58 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
twinaphex
94c3546e71 More static code analysis cleanups 2015-09-28 22:03:16 +02:00
twinaphex
0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex
4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex
1eb80f6c93 More static code analysis fixes 2015-09-28 17:18:48 +02:00
Twinaphex
f44852b35b Fix redefinition of variable 2015-09-28 03:32:05 +02:00
Twinaphex
f2f3374760 Get rid of unused variable 2015-09-28 03:31:09 +02:00
twinaphex
d3792d9f66 (task_database_cue.c) Cleanups 2015-09-28 01:52:56 +02:00
twinaphex
c7fe8922a1 Allow upper-case CUE extension too 2015-09-27 03:50:45 +02:00
twinaphex
1d33bf5db7 Add uppercase 'ISO' extension too 2015-09-27 03:48:58 +02:00
Jean-André Santoni
d2d402ea1b Refactor CD scanning, and detect PSP games before searching serials 2015-09-27 02:14:24 +02:00
Jean-André Santoni
1ffe9eae43 Implement PSP scanning 2015-09-27 00:12:17 +02:00
twinaphex
cdf597aa89 Add settings->overlay_directory 2015-09-26 19:21:32 +02:00
aliaspider
eb10e8b977 (PS1) serial lookup: improve error detection. 2015-09-26 01:27:17 +01:00
aliaspider
bdcc7c81ce (PS1) convert serial to uppercase. 2015-09-26 00:44:47 +01:00
twinaphex
e280ff2767 (PS1) PS1 serial lookup fix 2015-09-26 01:29:17 +02:00
twinaphex
8c87f0bd31 Add alternative PS1 detect game code by aliaspider 2015-09-26 00:05:15 +02:00
Jean-André Santoni
c4450d29f0 Fix psx scanning, thanks to @aliaspider 2015-09-25 02:38:28 +02:00
Jean-André Santoni
938e89562b Search the ps1 serial in the whole binary 2015-09-25 00:36:12 +02:00
Jean-André Santoni
fea95aa4a1 Finish implementing psx scanning 2015-09-24 14:14:42 +02:00
Jean-André Santoni
0e7018c27d Serial lookup for psx scanning 2015-09-22 15:22:15 +02:00
twinaphex
3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex
f75cdd1e97 (Vita) Fix some warnings about possibly uninitialized variables 2015-09-20 22:44:03 +02:00
twinaphex
3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex
432aac58a3 Get rid of more fcntl header includes 2015-09-18 04:03:11 +02:00
twinaphex
d74be88d0a (tasks/database_cue.c) Use RFILE 2015-09-17 20:31:04 +02:00
twinaphex
78185be8bf Build fixes 2015-09-16 22:44:16 +02:00
twinaphex
097da7ca9d Add kivutar to copyrights 2015-09-16 22:40:49 +02:00
twinaphex
fad78d8b81 Split up code to task_database_cue.c 2015-09-16 22:39:47 +02:00
Jean-André Santoni
07f362e88d Start adding ps1 scanning 2015-09-16 22:11:08 +02:00
twinaphex
504bea51e0 Cleanups 2015-09-16 10:28:54 +02:00
twinaphex
8ca8b43545 Take out retro_endianness.h include out of retro_miscellaneous.h 2015-09-14 03:34:05 +02:00
Alcaro
9554597160 Add missing header includes, fixes CXX_BUILD. 2015-09-06 14:46:25 +02:00
Twinaphex
8d2eceaa22 (rpng) Cleanups 2015-09-06 13:02:44 +02:00
twinaphex
f88575633e Cleanups 2015-09-05 20:34:22 +02:00
twinaphex
c259b983de struct definitions now go inside rpng_common.h - move them
away from public headers
2015-09-01 13:08:10 +02:00
twinaphex
2194ab6631 Cleanups 2015-09-01 13:01:16 +02:00
twinaphex
511b2c6d83 Create rpng_set_buf_ptr 2015-09-01 13:00:02 +02:00
twinaphex
d5837f4b7c Don't take in as first argument rpng->buff_data - handle this internally 2015-09-01 12:56:39 +02:00
twinaphex
cd79143038 (rpng) Encapsulate incrementation of buffer position 2015-09-01 12:52:04 +02:00
twinaphex
3762502112 Create rpng_is_valid 2015-09-01 12:41:31 +02:00
twinaphex
09aac8a320 Create rpng_nbio_is_valid 2015-09-01 12:39:17 +02:00
twinaphex
15ba019ea1 Don't make asserts dependent on retro_log.h 2015-09-01 11:59:27 +02:00
twinaphex
31e093dadb (Android) Fix Android build 2015-08-29 17:06:39 +02:00
Alcaro
c05bb6e0c3 Tolerate unset database path. 2015-08-20 19:24:08 +02:00
Alcaro
28b1c9eada Rename this variable, every other instance of it has the same name. 2015-08-20 19:08:07 +02:00
twinaphex
c4ff5e73f1 (task_database.c) Refactor away get_ptr function 2015-08-06 04:14:49 +02:00
twinaphex
52c2e76ec8 (task_http.c) Cleanups 2015-08-06 04:08:20 +02:00
twinaphex
2ea5dda564 Refactor away rarch_main_data_nbio_get_ptr 2015-08-06 04:01:44 +02:00
twinaphex
6b261aad87 rarch_main_data_nbio_iterate_poll - get rid of implicit memset 2015-08-06 03:58:45 +02:00
twinaphex
f967c88ff0 (runloop_data.c) Cleanups 2015-08-06 02:31:50 +02:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
9185d37710 Bump up collection limit 2015-07-26 00:40:24 +02:00
twinaphex
2dbc3c4b56 (Overlays) Cleanups 2015-07-12 07:12:33 +02:00
twinaphex
f58c171428 (task_overlay.c) Cleanups 2015-07-12 01:19:58 +02:00
twinaphex
2121f7a813 Create overlay->alive 2015-07-11 23:45:23 +02:00
twinaphex
1b163e6a5a Cleanup input_overlay.c 2015-07-11 08:07:14 +02:00
twinaphex
51137d5351 Set pending_scan_finished to false in rarch_main_data_db_uninit 2015-07-09 02:33:46 +02:00
twinaphex
1c406bc098 Add rarch_main_data_pending_scan_finished and other mechanisms
so that the call to menu_environment_cb gets made on main thread
2015-07-09 02:31:46 +02:00
twinaphex
701b5609d4 (task_overlay.c) Using rarch_main_is_idle here is not thread-safe 2015-07-09 01:16:03 +02:00
twinaphex
cdf3ce309e Decouple 'overlay' state from driver_t 2015-07-09 01:10:30 +02:00
twinaphex
387d687ef9 (MSVC) Some MSVC buildfixes 2015-07-09 00:24:10 +02:00
twinaphex
51e2a128c5 (runloop data) Don't have to pass around runloop pointer anymore 2015-07-08 23:01:11 +02:00
twinaphex
c90072df55 Move lock to task_overlay.c 2015-07-08 22:42:45 +02:00
twinaphex
04b98bebd9 Cut down on header includes 2015-07-08 22:14:31 +02:00
twinaphex
000f9650d7 (task_http.c) Get rid of header include 2015-07-08 22:11:45 +02:00
twinaphex
52e2fd1689 Refactor task_database.c 2015-07-08 22:03:23 +02:00
twinaphex
c84ddb53fa (task_databse.c) Refactors 2015-07-08 21:48:58 +02:00
twinaphex
3605b97c80 Create rarch_main_data_http_uninit 2015-07-08 21:38:22 +02:00
twinaphex
dcd5a4fdcc Refactor task_http.c 2015-07-08 21:35:24 +02:00
twinaphex
74627d1497 (task_http.c) Some refactors 2015-07-08 21:18:34 +02:00
twinaphex
84066e1a5d Move all sorts of structs over to task_file_transfer.c 2015-07-08 20:12:20 +02:00
twinaphex
664592b354 Use rarch_main_data_nbio_get_handle and rarch_main_data_nbio_image_get_handle 2015-07-08 20:10:18 +02:00
twinaphex
a1a4bc4057 task_file_transfer.c - decouple 'nbio' state from runloop data struct 2015-07-08 20:04:16 +02:00
twinaphex
08b56582b2 (task_file_transfer.c) Add workaround for bogus file transfer requests 2015-07-08 16:52:40 +02:00
twinaphex
039ba91c48 Add mechanism so that task_database informs the menu driver that
we need to refresh the horizontal list. Kivutar; make the icons
work again after we do a horizontal list refresh
2015-07-08 01:01:41 +02:00
Higor Eurípedes
a3aab2f98e (task_database) Dont call zlib_parse_file_iterate_stop so much 2015-07-05 10:40:51 -03:00
Higor Eurípedes
3cc6e07174 (task_database) Fix leaks when scanning zip files 2015-07-05 10:23:21 -03:00
twinaphex
4b118323d4 Add better place to put EVENT_CMD_CORE_INFO_INIT 2015-07-04 06:35:17 +02:00
Twinaphex
f2e5b969a7 Merge pull request #1886 from fr500/master
make info files reload after a successful download/extraction
2015-07-04 06:31:56 +02:00
radius
da7cf5df8e make info files reload after a successful download/extraction 2015-07-03 23:30:01 -05:00
twinaphex
431169d86b Add 'Update Core Info Files' 2015-07-04 06:18:02 +02:00
twinaphex
38839dc8eb Make 'Download Core Content 'work 2015-07-04 04:01:35 +02:00
twinaphex
d20f110a2f Start adding 'Content Downloader' options 2015-07-04 03:37:43 +02:00
radius
a47ff23546 Revert "make shaders unzip on shader_dir instead of a subdirectory for consistency"
This reverts commit c78cf7dde6.
2015-07-03 09:42:32 -05:00
radius
2836eb976f Merge remote-tracking branch 'upstream/master' 2015-07-02 17:45:12 -05:00
twinaphex
d4dcf784c9 Update msg_hash.c 2015-07-01 19:40:50 +02:00
radius
c78cf7dde6 make shaders unzip on shader_dir instead of a subdirectory for consistency 2015-06-30 21:08:45 -05:00
twinaphex
8bf46e4424 Add call to network_init before setting up http connection 2015-06-28 19:10:36 +02:00
twinaphex
52e99f5417 Hook up 'Update Cg Shaders' and 'Update GLSL Shaders' 2015-06-24 17:56:44 +02:00
twinaphex
90a6932b53 Implement 'Update Databases' 2015-06-24 17:42:31 +02:00
twinaphex
9a991e4852 Implement 'Update Overlays' 2015-06-24 17:37:15 +02:00
twinaphex
d88738e28d Hook up 'Update Cheats' - cheats.zip on buildbot needs to be
updated so that it no longer has a rootsubdir 'cht'
2015-06-24 16:55:18 +02:00
twinaphex
badaae7198 (Menu) Hook up 'Update Autoconfig Profiles' 2015-06-24 16:36:29 +02:00
twinaphex
b2e27a452e Create cb_generic_download 2015-06-24 16:21:58 +02:00
twinaphex
f3814c2b02 (Updater) Implement 'Update Assets' 2015-06-24 16:17:29 +02:00
twinaphex
13a2336231 (Core Updater) Start adding the other update options - stub 2015-06-24 15:12:30 +02:00
twinaphex
272063b351 (Core download) Now removes ZIP file after extracting archive 2015-06-24 14:44:21 +02:00
twinaphex
5d576ce61d (task_database.c) Use fill_pathname_join_delim in task_database.c 2015-06-22 19:51:13 +02:00
twinaphex
5f67c53e6a Use fill_short_pathname_representation 2015-06-22 19:39:56 +02:00
twinaphex
2057e0f1d7 (task_file_transfer.c) Cleanup 2015-06-19 07:00:16 +02:00
Jools Wills
83efc830e4 fix compilation with --disable-threads
fixes this error

tasks/task_overlay.c: In function ‘rarch_main_data_overlay_iterate’:
tasks/task_overlay.c:92:1: error: label at end of compound statement
2015-06-17 20:18:15 +01:00
twinaphex
b08c399d3b (task_database.c) Fix some warnings 2015-06-15 22:48:41 +02:00