Alibek Omarov
9cb867a7d4
filesystem: wad: print errno if wad can't be opened
2 years ago
Alibek Omarov
9c0c1a802c
filesystem: fix strict order of loading archives
2 years ago
Alibek Omarov
eb0459a045
engine: strip Intel suffixes from server library name, but only on special platforms
...
Remove same code from filesystem, it's not what filesystem should do
2 years ago
Alibek Omarov
34eb258cae
filesystem: dir: remove PATH_SEPARATOR, fix return value when directory is caseinsensitive
2 years ago
Alibek Omarov
b4c0ccbede
filesystem: fix _wstat usage under Windows, remove PATH_SEPARATOR usage, fix listdirectory
2 years ago
Alibek Omarov
15846a8ea8
filesystem: use POSIX funcs for Windows too, where possible, apply wide char conversion for Sys functions
2 years ago
Alibek Omarov
e694081626
filesystem: dir: guarantee file existense in FS_FixFileCase for caseinsensitive directories
2 years ago
Alibek Omarov
cb9605430d
filesystem: bump FS_API_VERSION (removed unused argument from SysFileExists)
2 years ago
Alibek Omarov
409edf5a70
filesystem: zip: use stdint types, use enum for errors
2 years ago
Alibek Omarov
03a3fb83b6
filesystem: write extended fields to gameinfo.txt, as this function is used to write game info when using rodir
2 years ago
Alibek Omarov
e5763e2e9a
filesystem: dir: check dir casesensitivity after dir entries list was properly initialized
2 years ago
Alibek Omarov
42a3c7b059
filesystem: dir: fix dir entry cache init in case of directory was empty previously
2 years ago
Alibek Omarov
339711c3c7
filesystem: dir: check casefold directory flag
2 years ago
Alibek Omarov
2febe632c5
filesystem: add caseinsensitive emulation test
2 years ago
Alibek Omarov
c454e37064
filesystem: allow to init with NULL overrides
2 years ago
Alibek Omarov
fe1aba3561
filesystem: apply caseinsensitivity to file creation
...
Replace fs_writedir with fs_writepath, exposing current writeable searchpath.
Fix caseinsensitive FS_Search
Remove unused argument from listdirectory()
Minor optimizations and refactoring
2 years ago
Alibek Omarov
b36ebc294f
filesystem: dir: exit from loop immediately if directory is caseinsensitive
2 years ago
Alibek Omarov
3d71e5d111
filesystem: dir: fix merging existing cache with new directory entries
2 years ago
Alibek Omarov
ac59f25375
DO NOT MERGE filesystem: add naive FixFileCase
2 years ago
Alibek Omarov
3393e2d95c
filesystem: implement directory entries caching, to avoid excessive directory listing syscalls to emulate case-insensitive filesystems
...
* simplify game directory initialization code
2 years ago
Alibek Omarov
18e68f1ab3
filesystem: fix missing cast
2 years ago
Alibek Omarov
ee218f36e0
filesystem: pak: no need to free files ptr anymore
2 years ago
Alibek Omarov
9397301a73
filesystem: remove excessive filename field from archive structs, use common in searchpath_t. Small optimizations for PAK
2 years ago
Alibek Omarov
f1ec612819
filesystem: hungry
2 years ago
Alibek Omarov
08f834cd82
filesystem: make all archive searchpath functions private
2 years ago
Alibek Omarov
48c17d08d9
filesystem: dir: move searchpath initialization to dir.c, make all DIR functions static
2 years ago
Alibek Omarov
934d9ba69a
filesystem: fix FS_GetDiskPath
2 years ago
Alibek Omarov
eb36fe0155
filesystem: fill searchpath DIR functions only if file was found in direct path
2 years ago
Alibek Omarov
9381a40506
filesystem: check only DLLs for encryption
2 years ago
Andrey Akhmichin
0c4f35e2d0
filesystem: simplify strings operations.
2 years ago
Alibek Omarov
6477f1656e
filesystem: simplify string operation
2 years ago
SNMetamorph
a2971ce939
filesystem: fixed uninitialized pointers in FS_FindFile when fs_ext_path enabled
2 years ago
Velaron
43c6175918
filesystem: dir.c: safer string operations
2 years ago
Velaron
fcd741e2b8
filesystem: fix FS_FixFileCase behavior
2 years ago
Velaron
89807250e5
filesystem: dir.c: optimize string operations
2 years ago
Velaron
24f7db19d8
filesystem: switch file operations to an interface
2 years ago
Alibek Omarov
b1ee27a3f3
filesystem: add new token internal_vgui_support to mark client dlls that have internal VGUI implementation(to support other UI systems)
2 years ago
Alibek Omarov
adb8ec1da8
filesystem: try to normalize linux gamedll path for liblist.gam
2 years ago
Bien Pham
816337a7bb
filesystem: set root directory as static
...
Counter-Strike uses COM_ExpandFileName to get
full path to filesystem_stdio. When reading liblist.gam,
the engine will clear the search path and the root search path
will be cleared. Set it as static so it will be excluded from clearing.
2 years ago
Alibek Omarov
234c843f60
filesystem: integrate inotify for file changes
2 years ago
Alibek Omarov
0ed9391969
filesystem: wscript: add dummy filesystem_includes target that only exposes public filesystem_stdio include paths
2 years ago
Alibek Omarov
fce8afabfb
filesystem: allow acquiring C interface through CreateInterface export
2 years ago
Alibek Omarov
0d449370e0
filesystem: fixes for GCC 3
2 years ago
Alibek Omarov
10ad1c3b38
filesystem: use correct flushing function for file descriptors on Win32
2 years ago
Alibek Omarov
33cbead4a4
filesystem: wscript: fix library name on Android
2 years ago
Alibek Omarov
b7b9c611cf
filesystem: wscript: disable RTTI and exceptions(useful on Android), we don't need it here. Link as C++ library.
2 years ago
SNMetamorph
fd7dba74cd
filesystem: fixed build for Windows
2 years ago
Alibek Omarov
55a29e6e6b
filesystem: implement VFileSystem009 interface
2 years ago
Alibek Omarov
56d7c05b51
filesystem: generated VFileSystem009 from pdwtags output, removed unneeded in C++ this first argument
2 years ago
Alibek Omarov
5e4fc64430
filesystem: introduce new module, based on engine filesystem.
...
The goal is to share filesystem code between engine and
utilities and provide C++ VFileSystem interface in the future
2 years ago