104 Commits

Author SHA1 Message Date
Steveice10
82b82a752c Fix reporting cancellation in xfer info callback, hide HTTPC functions. 2019-01-01 12:00:59 -08:00
Steveice10
4d29abe43e Set CURLOPT_MAXREDIRS to 50. 2019-01-01 11:37:15 -08:00
Steveice10
9aeac8294d Move running check to xfer info callback. 2019-01-01 11:27:46 -08:00
Steveice10
2a223f08aa Use cURL xfer info callback for progress reporting. 2019-01-01 11:19:32 -08:00
Steveice10
2fead09671 Improve response time to cancellation in cURL downloads. 2019-01-01 10:53:01 -08:00
Steveice10
6a5f6adafa Refine cURL options (thanks @mariohackandglitch for the reference) 2019-01-01 10:12:07 -08:00
Steveice10
4c00b67169 Fix buffering of cURL download data. 2019-01-01 10:01:54 -08:00
Steveice10
077bf4eddd Change cURL timeout to connection timeout. 2019-01-01 09:54:15 -08:00
Steveice10
0b259d900e Initial work on cURL-based download fallback.
* Old GitHub-based update function has been restored.
* http:C path seems to be working as intended.
* cURL path currently works to check for updates, but fails at the end with an AM error.
2018-12-23 14:08:51 -08:00
Steveice10
58c7dd0d17 Pass file list filter through to multi-file actions. 2018-08-30 11:52:19 -07:00
Steveice10
e09bb54fab Add support for HTTP relative redirects. 2018-08-27 12:27:30 -07:00
Steveice10
6a4a446df0 Correct use of string_copy when building strings. 2018-08-26 00:09:05 -07:00
Steveice10
faabb9ec62 Add validity checks to CIA/TMD/Ticket parsing code. 2018-05-15 18:54:39 -07:00
Steveice10
8ad4fc4be5 Update stb_image, fix compiler warnings. 2018-05-15 18:15:57 -07:00
Steveice10
9025a49a27 Add bounds checks to font sheet binding, update code for latest citro3d. 2018-05-15 00:13:14 -07:00
Steven Smith
0f4031d256 Add version and update date to local TitleDB cache, display on screen. 2018-02-24 15:02:59 -08:00
Steven Smith
20a56f89b0 Remove curl code. 2018-02-22 16:46:04 -08:00
Steven Smith
36c4ca784c Wrap text by word, properly truncate lengthy TitleDB headlines. 2018-02-18 16:07:19 -08:00
Steven Smith
25105346ab Clean up line wrapping logic. 2018-02-18 15:41:30 -08:00
Steven Smith
599c631b11 Add sorting and filtering options to TitleDB list. 2018-02-17 20:28:32 -08:00
Steven Smith
0404a33a58 Add compression support to HTTPC code. 2018-02-17 12:01:24 -08:00
Steven Smith
9fc47a1941 More reorganization work. 2018-02-06 17:52:34 -08:00
Steven Smith
52a2dbbf0f Finish splitting up util. 2018-02-06 13:57:55 -08:00
Steven Smith
6c355a0786 Separated error codes and HTTP from util. 2018-02-06 13:30:13 -08:00
Steven Smith
33a97577c9 Move QR decoding back to UI thread. 2018-02-06 12:30:12 -08:00
Steven Smith
2c982d85ec Revert threading changes, disable curl code for now. 2018-02-06 12:16:24 -08:00
Steven Smith
1539c55ec5 Add task for downloading using curl, experiment with running the UI thread on the syscore. 2018-02-06 12:04:44 -08:00
Steven Smith
0b1f6cd2fd Begin cleaning up core code. 2018-02-03 17:23:11 -08:00
Steven Smith
4e49914e11 Revamp TitleDB support, replace json library with jansson, initial work
on replacing httpc with curl.
2018-02-03 16:03:14 -08:00
Steveice10
45e2a0e0fc Fix font size on CHN/KOR/TWN devices. 2018-01-14 12:01:30 -08:00
Steveice10
598b56906b Clean up text color loading, remove TitleDB update code. 2017-11-29 14:44:15 -08:00
Steveice10
a49af523ba Add support for installing 3DSX files remotely. 2017-09-30 22:51:30 -07:00
Steveice10
5be2bc0694 Remove automatic URL encoding.
URL encoding should only be performed on parameters, and thus should be
done by the provider of the URL ahead of time.
2017-09-08 09:33:40 -07:00
Steveice10
8d917542fb Set texture data pointer to NULL when unloading a texture. Fixes duplicate icons in title list. 2017-08-16 09:38:51 -07:00
Steveice10
4bada77420 Update ticket use status after CDN installation. 2017-08-15 11:05:12 -07:00
Steveice10
c004695469 Fix user agent string. Closes #381 2017-08-07 14:04:20 -07:00
Steveice10
b37b3492ae Cut HTTP timeout in half. 2017-07-21 15:19:40 -07:00
Steveice10
19e0eaac80 Display as many URLs as can fit on the top screen when installing from URLs. 2017-07-15 13:25:00 -07:00
Steveice10
b3370c97af Fix reused texture IDs not being reinitialized. 2017-07-15 12:35:56 -07:00
Steveice10
edf6a20618 Clean up texture functions. 2017-07-15 12:33:45 -07:00
Steveice10
5ba133f3ca Revert addition of Accept-Encoding header to HTTP requests.
Breaks checking for updates and doesn't seem to have any effect on
TitleDB.
2017-07-13 21:12:30 -07:00
Steveice10
c636cab6b8 Fix QR code camera image. 2017-07-08 10:58:33 -07:00
Stéphane Lesimple
782605f2d1 add ETA in read/write tasks 2017-07-07 21:52:41 +02:00
Steveice10
fb67c9eab2 Revise texture loading functions. 2017-07-07 10:55:58 -07:00
Cayce House
79414ea1a3 Enabled gzip/deflate compression, issue #319 2017-04-27 17:36:36 -07:00
Steveice10
33a61872c0 Various fixes.
* Allow more than three choices in prompts.
* Allow specifying a title version when installing CDN titles outside of the ticket list.
* Fix titles displayed during TitleDB update.
* Update title version and install status after TitleDB install/update.
2017-04-27 17:35:34 -07:00
Jerry
1203fda832 Escape some characters in URL 2017-04-17 11:48:38 +08:00
Steveice10
ce26e53712 Fix HTTP downloading. 2017-03-19 15:35:41 -07:00
Steveice10
c319a07f29 Add HTTP timeout, use while loop for redirects, use constant for user agent. 2017-03-19 13:45:56 -07:00
Steveice10
dbe6b992e5 Remove unnecessary bounds check. 2017-03-08 15:13:17 -08:00