halx99
44677f1a3b
Improve HttpResponse interanlCode set
2021-06-25 18:29:16 +08:00
halx99
3ea793f11e
Simplify code
2021-06-25 08:18:32 +08:00
halx99
d12c614f99
Fix HttpClient compatible issue
...
a. should let user do urlencode manually
b. this behavior is same with previous curl implemented HttpClient
2021-06-25 07:07:59 +08:00
halx99
72d1ba9ea6
Merge: df58dd753c
2397d54daf
...
Merge branch 'dev' into Chipmunk2D
2021-06-24 17:04:04 +08:00
aismann
dbcb5816fe
Add springs (draw), add Copyright, improve Chipmunk2d - Testbed
2021-06-24 09:54:02 +02:00
halx99
14dc7f05f9
Reimplement HttpClient based on yasio ( #390 )
...
* [WIP] Reimplement HttpClient based on yasio
This change will make HttpClient support concurrency request
* [WIP] Reimplement HttpClient based on yasio
a. timeoutForRead support
b. Improve code
* [WIP] Reimplement HttpClient based on yasio [ci build]
* [WIP] Fix ci [ci build]
* [WIP] Reimplement HttpClient based on yasio [ci build]
PUT,DELETE support
* [WIP] Reimplement HttpClient based on yasio [ci build]
HttpClientTest works
* Update HttpClient.cpp
* HttpClientTest: enable sslVerifaction test
* Update HttpResponse.h
* Sync luabindings [ci build]
* Add chrome UA test
* Fix ci [ci build]
* The timer for read timeout should be associated with per channel
* Remove unused function
* Update url
2021-06-24 12:33:07 +08:00
halx99
8d0f8de1f4
Improve Uri parse
2021-06-22 14:19:22 +08:00
halx99
42fdfe5565
Use md5 from openssl [ci build]
2021-06-02 00:44:45 +08:00
halx99
8e6faac1f1
Merge: 3348f10813
3a7bb58045
...
Merge pull request #350 from rh101/fix-cmake-set-property
Fix for CMake error when set_property is called with aliased target
2021-05-05 19:49:30 +08:00
rh101
c3618f8ea6
Extract real target from ALIAS if it exists in order to set property successfully
...
Remove duplicate entries in dependencies lists
2021-05-05 16:04:06 +10:00
halx99
a7577ba4c7
Merge: d8367d9376
3a3c4ed518
...
Merge pull request #348 from c4games/dev
Merge dev to master
2021-04-28 04:47:16 -07:00
halx99
70f8393b8f
Update install-deps-linux.sh
2021-04-28 19:14:44 +08:00
halx99
7cbfd84f95
Enable build curl with openssl [ci build]
2021-04-28 15:10:28 +08:00
halx99
0511520281
Merge: 7f1ca55a97
1efe0091a8
...
Merge pull request #347 from rh101/imgui-fix
ImGUI font crash fix when using virtual file system
2021-04-27 23:29:22 -07:00
rh101
e5fa398c67
Load fonts into IMGUI using memory routines rather than allowing it to use its own file handling in order to support FileStream related implementations.
2021-04-28 15:53:37 +10:00
rh101
b923b1a678
Use reset() to clear unique_ptr.
...
Use value initialization for unique_ptr.
Change AudioDecoderOgg override functions to use FileStream* instead of unique_ptr.
Remove redundant code.
2021-04-26 15:43:33 +10:00
rh101
668e96cadd
Use unique_ptr for FileUtils::openFileStream
...
Fix OGG audio playback due to incorrect tell() method
Fix unzip close() override method not deleting FileStream pointer.
2021-04-26 14:21:56 +10:00
rh101
23301e563e
Minor code clean-up
2021-04-26 10:45:55 +10:00
RH
ba6f6dfcfa
Merge: 85c5705f48
ce6117fa65
...
Merge branch 'master' into vfs-support
2021-04-26 10:40:16 +10:00
RH
5b168e3bb6
Merge: 03bb24f313
85c5705f48
...
Merge branch 'vfs-support' into master
2021-04-26 10:39:09 +10:00
RH
0e2247a2d9
Merge: d1027ab263
ce6117fa65
...
Merge pull request #7 from c4games/master
Sync with primary
2021-04-26 10:32:25 +10:00
rh101
833f27f499
Ensure code uses FileStream::tell() to get size if required after using FileStream::seek(0, SET_END)
2021-04-26 10:28:33 +10:00
rh101
e6990d0b36
Remove unnecessary method call to close FileStream
2021-04-26 08:55:07 +10:00
halx99
be9bd61131
Fix tool script cocos
2021-04-25 09:22:07 -07:00
rh101
fa4ed8a975
Initialise member variable
2021-04-26 01:05:06 +10:00
halx99
87be236932
Merge: 8b8b015b02
b1da56d401
...
Merge pull request #343 from rh101/curl-fix-filestream
Fix for downloader crash due to uninitialised variables
2021-04-25 18:34:29 +08:00
rh101
5509d0f80d
Update usage of createDownloadFileTask
2021-04-25 18:36:20 +10:00
rh101
abb27ce2f3
Fix downloader crash due to uninitialised variables.
2021-04-25 18:20:25 +10:00
RH
c8c4c2d703
Merge: 6fbebe9617
8b8b015b02
...
Merge pull request #6 from c4games/master
Sync with primary
2021-04-25 18:14:50 +10:00
rh101
c26a5e7bd8
Ensure FileStream is used for file access where possible
2021-04-25 17:22:43 +10:00
halx99
964e515f48
Merge: 2a1459b27b
3d8884721f
...
Merge pull request #341 from rh101/vfs-support
Add support for FileStream in ZipUtils and ZipFile
2021-04-25 14:21:19 +08:00
rh101
cce67f688e
Add support for FileStream in ZipUtils and ZipFile
2021-04-25 02:39:47 +10:00
halx99
5484825229
Fix indent with clang-format [ci build]
2021-04-24 16:58:41 +08:00
rh101
155fe98406
openFileStream now returns a nullptr if it fails
2021-04-24 09:22:27 +10:00
rh101
95cf5b5c2b
Merge: 2aa2d69151
b7506fed0c
...
Merge branch 'vfs-support' of https://github.com/rh101/engine-x into vfs-support
2021-04-23 00:01:47 +10:00
rh101
54ffa13dff
Move PosixFileStream class to its own files
...
Update UserDefault to work with FileStream
Fix undefined openFileStream on platforms other than Win32
2021-04-23 00:01:32 +10:00
RH
dd5f77c3d5
Merge: 15c8f2298d
0886473e1b
...
Merge pull request #4 from rh101/master
Sync with master
2021-04-22 21:49:43 +10:00
RH
1e15ed4839
Merge: 2cef9f2e76
844119d162
...
Merge pull request #3 from c4games/master
Sync with master
2021-04-22 21:48:49 +10:00
rh101
7540c06fd3
Use FileStream to write JPG images to disk
2021-04-22 21:36:26 +10:00
halx99
6effb1642f
Fix #339 [ci build]
2021-04-22 18:55:56 +08:00
halx99
8ed6d34234
Explicit set cmake minimum version at app/build.gradle [ci build]
2021-04-22 11:40:53 +08:00
rh101
2bf12b2226
Add support for virtual file system via custom FileStream and FileUtils implementations.
2021-04-22 03:15:49 +10:00
halx99
53bbf7368c
Fix warnings
2021-01-26 19:00:04 +08:00
halx99
958922bf6d
Add setDispatchOnWorkThread support
2020-10-08 00:00:14 +08:00
halx99
3214a76297
Refine HttpClient ( #224 )
2020-10-05 08:32:48 +08:00
halx99
89d80ce24f
Refine HttpClient
2020-10-05 02:40:38 +08:00
halx99
3fadbb3928
fix #223
2020-10-05 00:10:31 +08:00
halx99
79e04aad3c
Add custom hosts support for HttpReuqest
...
refer to: https://curl.haxx.se/libcurl/c/CURLOPT_RESOLVE.html
2020-10-04 23:44:52 +08:00
halx99
ea1cb45ba3
Refine code style
2020-08-27 10:19:21 +08:00
halx99
c9d6c5afdf
Rename PXFileStream to CCFileStream
2020-08-27 00:21:44 +08:00