Commit Graph

165 Commits

Author SHA1 Message Date
gblues 6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex 6af5bd01bf Merge retro_stat and file_path 2017-06-16 15:00:11 +02:00
twinaphex 4333e3d5e7 Cleanups 2017-05-20 14:02:16 +02:00
twinaphex 80d9d1f143 Rewrite task_queue 2017-05-14 20:43:48 +02:00
twinaphex 72fe4a1e3c CLeanups 2017-05-13 18:10:26 +02:00
twinaphex 06f5f635ca Cleanups 2017-05-09 20:10:58 +02:00
Brad Parker c31823aa94 add HTTP POST support 2017-03-05 14:19:34 -05:00
twinaphex ee46e427ae Revert "Use task_set_title"
This reverts commit 83b1bbe247.
2017-01-23 14:15:14 +01:00
twinaphex 83b1bbe247 Use task_set_title 2017-01-23 13:29:34 +01:00
twinaphex 96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex faf939856b Rewrite task_queue.c - get rid of messy internal Rarch code 2017-01-03 18:27:09 +01:00
Brad Parker 41f40acfc4 guard task struct read/writes across threads with a mutex, fixes several data races found by ThreadSanitizer and helgrind 2016-12-29 00:54:12 -05:00
twinaphex 2f0c66da34 Use non-C++ comments 2016-12-28 00:14:16 +01:00
twinaphex 89bb4f610d task_http.c - comment this out until we have fixed the threading
errors
2016-12-28 00:11:56 +01:00
twinaphex 141046b45b Add note about race issue 2016-12-27 23:56:32 +01:00
twinaphex 96ffd8e025 Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
This reverts commit 4103b70833.
2016-12-17 12:55:38 +01:00
twinaphex 4103b70833 Remove HAVE_COMPRESSION ifdefs in file_path.c 2016-12-17 12:20:49 +01:00
twinaphex 13cc4787f2 Reduce more char variable sizes 2016-10-27 10:19:04 +02:00
Higor Eurípedes 5f883b7ad1 (task_http) Don't use 100% CPU in threaded mode
This task is network bound and the HTTP functions use non-blocking I/O,
so task_http_iterate_transfer() returns "too fast" and the worker thread
gets no rest.
2016-10-09 14:44:27 -03:00
twinaphex 1388220866 (tasks) Don't do implicit memsets in crucial performance-oriented code 2016-10-08 18:31:43 +02:00
twinaphex 34ad3bd103 Cleanups 2016-06-03 05:24:21 +02:00
twinaphex 7d26034ebe Rename rarch_task_* to task_* 2016-05-27 18:14:47 +02:00
Andre Leiradella d791da9507 undefined debug macros 2016-05-27 00:06:03 -03:00
twinaphex 974d3245d2 Fix logically dead code warnings 2016-05-23 22:04:00 +02:00
twinaphex 824315865f Move http_transfer_info to task_http.c 2016-05-19 00:04:38 +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 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
twinaphex e41127459e Rename 'filestream' functions 2016-03-24 04:09:25 +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 f8b866c8c1 Combine file_ops.c and content.c 2016-02-15 21:49:29 +01:00
twinaphex 5b6d310abd Rename enums 2016-02-09 18:26:27 +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 ce2869b4d8 Create tasks_internal and split up RA-specific task code to outside 2016-02-09 17:12:39 +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 0b1b56214e Try to reduce dependence on general.h 2016-02-07 13:18:48 +01:00
twinaphex c57995b3eb Style nits/cleanups 2016-02-03 17:41:04 +01:00
twinaphex d61eb7a8db Add TASK_CTL_FIND 2016-01-28 09:57:55 +01:00
twinaphex b807b89837 Add TASK_CTL_PUSH 2016-01-28 09:42:55 +01:00
twinaphex 552e78c9bc Rename file_extract to file_archive 2016-01-24 07:29:11 +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 33c47f3d39 Remove TODO 2016-01-21 02:39:06 +01:00
twinaphex 454abdee48 stdstring - create string_is_equal 2016-01-20 04:07:24 +01:00
twinaphex 7a55ae3765 Start updating headers for 2016 2016-01-10 04:06:50 +01:00
Alcaro dddd4d4777 Fix some type derpery. 2015-12-08 20:00:18 +01:00
twinaphex eb9ff0b7f0 Remove unused char extern reference 2015-12-07 13:22:13 +01:00
twinaphex 1e8d666758 (task_http.c) Add FIXME/TODO 2015-11-30 19:36:02 +01: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
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
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 afce03a20e (task_http) Abort task on error 2015-11-23 22:45:36 -03:00
twinaphex c342bb437a Fix warnings 2015-11-23 23:47:25 +01:00
Higor Eurípedes 935e03fa97 Reimplement http transfers using tasks 2015-11-23 17:42:01 -03:00
twinaphex 074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
twinaphex 02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex 0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex cdf597aa89 Add settings->overlay_directory 2015-09-26 19:21:32 +02:00
twinaphex 3db688d477 Create retro_stat.c/retro_stat.h 2015-09-22 01:45:30 +02:00
twinaphex 3564532564 Create retro_write_file 2015-09-19 00:34:24 +02:00
twinaphex 504bea51e0 Cleanups 2015-09-16 10:28:54 +02:00
twinaphex 31e093dadb (Android) Fix Android build 2015-08-29 17:06:39 +02:00
twinaphex 52c2e76ec8 (task_http.c) Cleanups 2015-08-06 04:08:20 +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 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 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 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