Commit Graph

88 Commits

Author SHA1 Message Date
twinaphex cd9ca691ca (libretro-common) Update copyright 2020-01-31 15:43:42 +01:00
Jamiras d0d1c5bb37 allow characters other than / to follow port 2020-01-23 07:00:50 -07:00
Jamiras 59302e816c fix parsing of port in net_http_connection_done 2020-01-17 20:22:49 -07:00
Jamiras 67e9fba9d7 generate User-Agent for retroachievement API calls 2019-11-02 21:52:30 -06:00
Twinaphex 419eb5a6c0 Remove unused variables 2019-10-04 16:06:34 +02:00
twinaphex 3b057d9605 Start using STRLCAT_CONST_INCR and STRLCPY_CONST 2019-09-20 23:33:17 +02:00
twinaphex 8fa6230426 Cleanups 2019-09-18 02:16:47 +02:00
twinaphex 6f6b1a8333 (Net HTTP) Avoid unnecessary snprintf 2019-09-17 05:26:00 +02:00
Brad Parker c7c7d0988e initial network video driver, sends raw frames over TCP 2019-09-17 04:18:44 +02:00
twinaphex d01ae6929d Don't use strlcat for basic concatenation of characters
except when absolutely necessary
2019-09-17 02:00:04 +02:00
Brad Parker 0ecac5c8ff http: fix memory leak and potential null pointer argument to strlen 2019-07-04 16:27:51 -04:00
Twinaphex 29e4b8e2c1 Get rid of warning 2019-06-22 15:48:42 +02:00
Twinaphex 68085af944 (net http) Cleanups 2019-05-27 14:40:38 +02:00
Twinaphex d0707437c9 Remove some unused variables 2019-05-18 21:26:29 +02:00
Barry Rowe 8745333892 OCR Translation feature finaliziation. (#8738) 2019-05-11 07:15:39 +02:00
twinaphex 3e72c502a8 strlen optimizations :
- use STRLEN_CONST for constant strings, translates to sizeof
which should be computed at compile-time
- found some places where we are needlessly calling strlen two
times instead of just once
2019-04-27 04:21:10 +02:00
Brad Parker e7dbac7eb0 prevent null derefs found by scan-build 2019-04-18 11:46:53 -04:00
twinaphex 768ebbfdb5 Merge commit 'ce9ce1d35387ef8144e53bf071396fa075bfb6c5' as 'libretro-common' 2018-05-12 17:56:34 +02:00
twinaphex 0548349991 Remove libretro-common 2018-05-12 17:56:14 +02:00
twinaphex dd8a2df253 Cleanup 2018-05-03 19:17:13 +02:00
Brad Parker 05404f9104 fix buffer overflow in url encoding (affecting msvc2010/2013) 2018-05-03 12:57:23 -04:00
twinaphex be7eb4de1c Update libretro-common 2018-04-16 08:57:17 +02:00
twinaphex 360bea85b9 (PS3) Silence more warnings 2018-04-08 01:09:31 +02:00
twinaphex cf4ab13281 Revert "Silence some Clang static analyzer warnings"
This reverts commit 2c882a01c1.
2018-03-30 19:28:37 +02:00
twinaphex 2c882a01c1 Silence some Clang static analyzer warnings 2018-03-29 14:11:52 +02:00
twinaphex f597fd7a11 Add HAVE_CHEEVOS support for MSVC 2010 2018-03-22 20:42:06 +01:00
twinaphex c318d05803 Fix buffer overlap - pointed out by @leo150, thanks 2018-03-22 15:22:17 +01:00
radius c52fdc469f remove task_push_http_transfer_raw, encode before sending data to the task 2018-03-16 22:38:21 -05:00
radius b01e63e2cd make sure to always encode urls, also change the PS3 default urls 2018-03-14 23:04:50 -05:00
aliaspider 5549b136c2 (msvc) CXX_BUILD + griffin fixes. 2018-02-05 00:25:03 +01:00
aliaspider 5db96f35fa (WIN32) various build fixes. 2018-01-20 20:05:32 +01:00
twinaphex 61ff51be2f Start using string_is_equal predominantly 2018-01-16 22:53:38 +01: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
Alcaro dc4c2cd6d9 Wipe out a buncha warnings and pointless ifdefs (some warnings will remain until #5497 is fixed) 2017-10-03 00:26:29 +02:00
Brad Parker 02381aabef add SSL/TLS support 2017-07-26 09:18:17 -04:00
Ken edc64991f3 Fall back to IPv4 when IPv6 connections fail 2017-07-01 08:21:09 -04:00
twinaphex 126a5bf121 Use string_is_equal_fast/string_is_not_equal_fast 2017-05-16 04:00:37 +02:00
twinaphex 6ebd4e139e Rewrite more string_is_equal call invocations as memcmp 2017-04-22 08:51:16 +02:00
twinaphex c9c0621076 Try to fix some Coverity bugs 2017-03-19 02:27:07 +01:00
Brad Parker 1fc7a50f3e fix non-ascii URL encoding 2017-03-05 14:19:37 -05:00
Brad Parker 7aca744635 URL encode non-ascii characters 2017-03-05 14:19:37 -05:00
Brad Parker 79899e6b71 silence linux warning 2017-03-05 14:19:36 -05:00
Brad Parker ad6733b519 add full urlencoder and encode lobby announcement POST data 2017-03-05 14:19:36 -05:00
Brad Parker fb3393eb3a add user agent to http requests 2017-03-05 14:19:35 -05:00
Brad Parker 101475c2f6 fix POST handling 2017-03-05 14:19:34 -05:00
Brad Parker c31823aa94 add HTTP POST support 2017-03-05 14:19:34 -05:00
Twinaphex b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex 64bb848daf Update headers (pt. 2 - libretro-common) 2017-01-22 13:58:20 +01:00
twinaphex 481ebced22 Prevent implicit memsets 2016-10-09 09:56:03 +02:00
twinaphex f395e851c4 Use stdstring.h 2016-09-16 17:25:47 +02:00