Commit Graph

108 Commits

Author SHA1 Message Date
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