Commit Graph

140 Commits

Author SHA1 Message Date
twinaphex
408f40f413 Cut down on some callocs 2020-06-27 16:36:08 +02:00
twinaphex
de36ff20fb Create string_ends_with_size 2020-06-25 14:38:06 +02:00
twinaphex
f5940ed188 Use malloc instead of calloc where possible 2020-06-24 19:27:02 +02:00
twinaphex
eaba575c9e Replace strstrs where possible 2020-05-22 21:11:35 +02:00
Jamiras
4b8f3ec5b5 default rich presence on; better handling of special characters 2020-02-14 20:12:49 -07:00
Jamiras
a96672c0fc improve accuracy of progress for smaller payloads; prevent divide by zero for very small payloads 2020-01-22 17:42:55 -07:00
twinaphex
fe9022afe0 More CXX_BUILD fixes 2020-01-18 05:48:19 +01:00
Jamiras
7325147d83 add task_push_http_transfer_file 2020-01-17 19:48:40 -07:00
Jamiras
67e9fba9d7 generate User-Agent for retroachievement API calls 2019-11-02 21:52:30 -06:00
twinaphex
b94b9e2adb Go back to plain strlcpy/strlcat - probably best to look at
opportunities to reduce these calls vs. replacing them with
unsafe macros
2019-09-23 00:19:01 +02:00
twinaphex
3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex
db624a7c99 Start cleaning up the rather messy manual assignment 2019-09-20 02:03:26 +02:00
twinaphex
8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex
65aa939296 task_push_http_transfer_generic - rewrite snprintf usage 2019-09-17 06:10:15 +02:00
twinaphex
0264cd815a (HTTP/on-demand thumbnails) Mute error output when task is set to mute 2019-08-23 16:52:30 +02:00
twinaphex
d9d1c13612 (task_http.c) Cleanups 2019-05-22 09:55:10 +02:00
twinaphex
ccbb3f0960 (HTTP Task) Fix progress indicator on 32bit systems 2019-05-06 03:45:58 +02:00
natinusala
c20ab3864d First version of menu widgets (gl only) 2019-02-06 20:48:24 +01:00
twinaphex
0083e10926 Some header include changes - create task_file_transfer.h 2019-01-20 02:17:43 +01:00
radius
fd9d8c9512 fix potential crash on task_push_http_transfer 2018-03-18 12:52:04 -05:00
radius
c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
meleu
eb5a69ded3 fixing cheevos (broken after #6389) 2018-03-16 01:03:57 -03:00
radius
b01e63e2cd make sure to always encode urls, also change the PS3 default urls 2018-03-14 23:04:50 -05:00
twinaphex
3528923507 Fix crash with Linux HTTP tasks - null pointer dereference 2018-01-02 13:41:59 +01:00
Brad Parker
e62e0c83da win32: Show progress meter on taskbar for downloads (Windows 7 and up) 2018-01-01 02:08:09 -05:00
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