1
0
Fork 0
forked from suyu/suyu
suyu/src/core/file_sys
Morph 065867e2c2
common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270)
* common: fs: fs_types: Create filesystem types

Contains various filesystem types used by the Common::FS library

* common: fs: fs_util: Add std::string to std::u8string conversion utility

* common: fs: path_util: Add utlity functions for paths

Contains various utility functions for getting or manipulating filesystem paths used by the Common::FS library

* common: fs: file: Rewrite the IOFile implementation

* common: fs: Reimplement Common::FS library using std::filesystem

* common: fs: fs_paths: Add fs_paths to replace common_paths

* common: fs: path_util: Add the rest of the path functions

* common: Remove the previous Common::FS implementation

* general: Remove unused fs includes

* string_util: Remove unused function and include

* nvidia_flags: Migrate to the new Common::FS library

* settings: Migrate to the new Common::FS library

* logging: backend: Migrate to the new Common::FS library

* core: Migrate to the new Common::FS library

* perf_stats: Migrate to the new Common::FS library

* reporter: Migrate to the new Common::FS library

* telemetry_session: Migrate to the new Common::FS library

* key_manager: Migrate to the new Common::FS library

* bis_factory: Migrate to the new Common::FS library

* registered_cache: Migrate to the new Common::FS library

* xts_archive: Migrate to the new Common::FS library

* service: acc: Migrate to the new Common::FS library

* applets/profile: Migrate to the new Common::FS library

* applets/web: Migrate to the new Common::FS library

* service: filesystem: Migrate to the new Common::FS library

* loader: Migrate to the new Common::FS library

* gl_shader_disk_cache: Migrate to the new Common::FS library

* nsight_aftermath_tracker: Migrate to the new Common::FS library

* vulkan_library: Migrate to the new Common::FS library

* configure_debug: Migrate to the new Common::FS library

* game_list_worker: Migrate to the new Common::FS library

* config: Migrate to the new Common::FS library

* configure_filesystem: Migrate to the new Common::FS library

* configure_per_game_addons: Migrate to the new Common::FS library

* configure_profile_manager: Migrate to the new Common::FS library

* configure_ui: Migrate to the new Common::FS library

* input_profiles: Migrate to the new Common::FS library

* yuzu_cmd: config: Migrate to the new Common::FS library

* yuzu_cmd: Migrate to the new Common::FS library

* vfs_real: Migrate to the new Common::FS library

* vfs: Migrate to the new Common::FS library

* vfs_libzip: Migrate to the new Common::FS library

* service: bcat: Migrate to the new Common::FS library

* yuzu: main: Migrate to the new Common::FS library

* vfs_real: Delete the contents of an existing file in CreateFile

Current usages of CreateFile expect to delete the contents of an existing file, retain this behavior for now.

* input_profiles: Don't iterate the input profile dir if it does not exist

Silences an error produced in the log if the directory does not exist.

* game_list_worker: Skip parsing file if the returned VfsFile is nullptr

Prevents crashes in GetLoader when the virtual file is nullptr

* common: fs: Validate paths for path length

* service: filesystem: Open the mod load directory as read only
2021-05-25 19:32:56 -04:00
..
system_archive Merge pull request #6070 from Morph1984/sysver-11.0.1 2021-03-16 18:13:12 -07:00
bis_factory.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
bis_factory.h file_sys/bis_factory: Eliminate usage of the global system accessor 2020-09-16 18:16:04 -04:00
card_image.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
card_image.h core: loader: Implement support for loading indexed programs. 2020-11-24 15:16:24 -08:00
common_funcs.h file_sys: Consolidate common Title ID operations 2020-12-08 08:19:05 -05:00
content_archive.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
content_archive.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
control_metadata.cpp pctl: Rework how pctl works to be more accurate 2021-03-27 02:03:18 +11:00
control_metadata.h pctl: Rework how pctl works to be more accurate 2021-03-27 02:03:18 +11:00
directory.h file_sys/directory: Make EntryType an enum class 2019-11-27 05:11:02 -05:00
errors.h service: filesystem: Return proper error codes for CreateFile 2021-05-01 09:33:00 -04:00
fsmitm_romfsbuild.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
fsmitm_romfsbuild.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
ips_layer.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
ips_layer.h ips_layer: Add missing includes 2018-10-09 14:10:13 -04:00
kernel_executable.cpp Revert "core: Fix clang build" 2020-10-20 19:07:39 -07:00
kernel_executable.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
mode.h common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
nca_metadata.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
nca_metadata.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
nca_patch.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
nca_patch.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
partition_filesystem.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
partition_filesystem.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
patch_manager.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
patch_manager.h patch_manager: Remove usages of the global system instance 2020-11-18 09:36:48 -05:00
program_metadata.cpp program_metadata: Set a default resource size when a NPDM is not present 2021-04-23 12:47:31 -04:00
program_metadata.h Merge pull request #6230 from Morph1984/default-resource-size 2021-04-24 02:55:20 -07:00
registered_cache.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
registered_cache.h main: Prevent installing base titles into NAND 2021-05-16 04:13:57 -04:00
romfs.cpp file_sys: fix LayeredFS error when loading some games made with… (#3602) 2020-04-07 02:03:32 +02:00
romfs.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
romfs_factory.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
romfs_factory.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
savedata_factory.cpp hle: kernel: Rename Process to KProcess. 2021-05-05 16:40:52 -07:00
savedata_factory.h core: Silence Wclass-memaccess warnings 2021-01-15 16:31:19 -03:00
sdmc_factory.cpp file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
sdmc_factory.h file_sys: Replace inclusions with forward declarations where applicable 2020-08-23 17:02:55 -04:00
submission_package.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
submission_package.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00
vfs_concat.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_concat.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_layered.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_layered.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_libzip.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_libzip.h vfs: Add function to extract ZIP file into virtual filesystem 2019-09-30 17:18:38 -04:00
vfs_offset.cpp file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
vfs_offset.h file_sys: Resolve cases of variable shadowing 2021-05-02 02:59:57 -04:00
vfs_real.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_real.h common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
vfs_static.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_types.h vfs: Move forward declarations to separate file 2018-10-07 13:15:11 -04:00
vfs_vector.cpp core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
vfs_vector.h core: Make variable shadowing a compile-time error 2021-05-16 03:43:16 -04:00
xts_archive.cpp common: fs: Rework the Common Filesystem interface to make use of std::filesystem (#6270) 2021-05-25 19:32:56 -04:00
xts_archive.h vfs: Use existing type aliases consistently 2020-12-10 01:44:43 -05:00