Commit Graph

1071 Commits

Author SHA1 Message Date
rh101 3eb42e00c7 Convert return value to what is expected by FileStream::seek 2021-04-26 01:37:15 +10:00
rh101 fa4ed8a975 Initialise member variable 2021-04-26 01:05:06 +10:00
halx99 600e96c54c Update lua script 2021-04-25 22:37:52 +08: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 0867aa48a9 Add function comments to detail the expected parameters and return values of a FileStream 2021-04-25 15:27:25 +10:00
rh101 5cc21f52ba Removed incorrect delete statement 2021-04-25 14:42:42 +10:00
rh101 3dbdd7b5ee Verify the amount of string space we have to replace the zip extension 2021-04-25 12:15:56 +10:00
rh101 8703cad209 Initialise member variable 2021-04-25 02:47:21 +10:00
rh101 84be1fa014 Minor code cleanup 2021-04-25 02:45:04 +10:00
rh101 a819f310b2 Removed redundant code 2021-04-25 02:43:03 +10:00
rh101 cce67f688e Add support for FileStream in ZipUtils and ZipFile 2021-04-25 02:39:47 +10:00
halx99 3129918431 Add CMake macro BUILD_TESTS=OFF to support exclude all tests project 2021-04-24 22:47:37 +08:00
halx99 6f520734c1 Update fairygui runtime [ci build] 2021-04-24 18:53:21 +08:00
halx99 da1038b147 Fix crash from pr: #340 2021-04-24 18:15:54 +08:00
halx99 c40b803244 Update spine runtimes 2021-04-24 18:14:30 +08:00
halx99 9907570bc0 Fix clang-format props 2021-04-24 18:13:28 +08:00
halx99 34c6005316 Update .clang-format 2021-04-24 17:11:04 +08: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 e1ce966be2 Remove redundant std::move 2021-04-23 22:00:33 +10:00
rh101 6502627714 Added getNativeWritableAbsolutePath() which will always return the underlying file system raw path.
Re-enabled memory mapped UserDefault usage, since it now has access to the raw file system path.
2021-04-23 01:00:00 +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 57e2d5dea8 Fixed typo 2021-04-22 03:18:23 +10:00
rh101 2bf12b2226 Add support for virtual file system via custom FileStream and FileUtils implementations. 2021-04-22 03:15:49 +10:00
halx99 473e51cee7 Set cmake min version to 3.10 [ci build] 2021-04-21 14:05:44 +08:00
halx99 569edd09e1 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:35:29 +08:00
halx99 96aea0ae6e Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 22:30:39 +08:00
halx99 3ea8e50d90 Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:39:42 +08:00
halx99 0c87f1d4ef Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 21:02:55 +08:00
halx99 92e0eff6df Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:58:09 +08:00
halx99 98152f235b Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:46:32 +08:00
halx99 76646692fc Use cmdline-tools instead sdk-tools [ci build] 2021-04-20 20:44:12 +08:00
halx99 e7f294adca Ensure build native first before compile java code
3ff5b16
2021-04-20 20:27:38 +08:00
halx99 c2596efd04 Ensure build native first before compile java code 2021-04-20 20:25:32 +08:00
halx99 e6467fac7b Refine somethings & improve command cocos python3 support [ci build]
a. Change android sdk root env var to `ANDROID_SDK`
b. Change android ndk root env var to `ANDROID_NDK`
2021-04-20 16:13:48 +08:00
halx99 366636e861 Update before-install.sh [ci build] 2021-04-08 23:32:34 +08:00
halx99 c14dafcbaa Update before-install.sh [ci build] 2021-04-08 23:28:46 +08:00
halx99 e05c59f7e1 Update before-install.sh [ci build] 2021-04-08 23:08:05 +08:00
halx99 1c2daaf4ae Set gradle-wrapper to 6.8.3 [ci build] 2021-04-08 22:42:15 +08:00