summaryrefslogtreecommitdiff
path: root/src/fs
AgeCommit message (Collapse)AuthorFilesLines
2017-03-05Fix compilation on windows.Andrei Karas1-0/+7
2017-03-04Add missing include for non linux systems.Andrei Karas1-0/+1
2017-03-04Skip check for file links on windows.Andrei Karas1-0/+2
2017-03-04Fix compilation with old compilers.Andrei Karas4-5/+5
2017-03-04Remove extra include from virtfsphys_unittest.ccAndrei Karas1-1/+0
2017-03-04Add missing include into virtfs.hAndrei Karas1-0/+2
2017-03-04Remove unused files with unit tests.Andrei Karas2-1488/+0
2017-03-04Remove unused functions from virtfs.Andrei Karas4-819/+7
2017-03-04Reimplement VirtFs in correct way. Now all tests should pass.Andrei Karas24-442/+2492
2017-03-02Add VirtFs for mounted zips and dirs order.Andrei Karas1-0/+80
On this test VirtFs without physfs for now failing.
2017-03-02Add another zip archive for future tests.Andrei Karas3-12/+12
2017-03-02Add missing explicit keyword.Andrei Karas1-1/+1
2017-03-02Add missing files.Andrei Karas2-0/+82
2017-03-02Add base class for VirtDirEntry and VirtZipEntry.Andrei Karas11-73/+82
2017-03-02Fix possible leaks on exit and asserts about adding non existing zips and ↵Andrei Karas3-0/+29
directories.
2017-03-02Add ifdefs for prevent compilation by any scripts virtfs/physfs files if ↵Andrei Karas24-0/+59
should be disabled.
2017-03-02Fix some issues in virtfs and update tests.Andrei Karas5-9/+304
2017-03-01Fix style in virtfstools.hAndrei Karas1-1/+1
2017-03-01Add logging info about mount / unmount in physfs.Andrei Karas1-4/+28
2017-03-01Fix closing physfs files.Andrei Karas1-0/+6
2017-03-01Fix tests running without physfs.Andrei Karas2-0/+30
2017-03-01Fix compilation without physfs.Andrei Karas27-131/+452
Also split fs related files to virtfs and physfs.
2017-03-01Impliment some functions in VirtFs with physfs disabled.Andrei Karas5-6/+34
2017-02-28Add configure flag for use physfs.Andrei Karas3-14/+44
New configure option: --without-physfs For now manaplus cant be compiled without physfs.
2017-02-28Add test with zip archives into VirtFs.Andrei Karas2-4/+119
2017-02-28Fix files enumeration in root directory in VirtFsZip.Andrei Karas4-8/+202
Also add tests for same for other VirtFs functions.
2017-02-28Remove destructor from virtfsfuncs.Andrei Karas1-0/+2
2017-02-28Add constructor and final into virtfsfuncs.Andrei Karas1-1/+12
2017-02-28Fix code style.Andrei Karas1-2/+4
2017-02-28Add path sanitization in virtfszip and zip.Andrei Karas4-61/+83
2017-02-28Add path sanitization in virtfsdir.Andrei Karas5-35/+83
2017-02-27Add missing deinit into virtfs.Andrei Karas1-0/+1
2017-02-27Use own base and user dirs in virtfs.Andrei Karas1-2/+4
2017-02-27Use own dir separator in virtfs.Andrei Karas1-1/+5
2017-02-27Add own user dir in VirtFsDir.Andrei Karas2-0/+8
2017-02-27Add function for get home path.Andrei Karas3-0/+36
2017-02-27Add own base dir in VirtFsDir.Andrei Karas3-14/+41
2017-02-27Add functions pointers into VirtFile.Andrei Karas13-15/+171
From VirtFs call if possible pointer from VirtFile.
2017-02-27Move physfs related functions into virtfsphys file.Andrei Karas6-126/+887
2017-02-26Remove extra includes.Andrei Karas2-2/+0
2017-02-25Fix code style.Andrei Karas4-4/+9
2017-02-25Implement basic VirtFsZip for virtual fs based on zip archives.Andrei Karas17-68/+1477
Api similar to VirtFs. For now unused.
2017-02-24Add support for extract files from zip archives.Andrei Karas8-12/+245
2017-02-24Remove default constructor in ZipLocalHeader.Andrei Karas1-0/+2
2017-02-24Fix code style.Andrei Karas2-6/+8
2017-02-23Add support for parsing zip archives.Andrei Karas6-8/+399
Also add unit tests for test it.
2017-02-23Remove extra include.Andrei Karas1-1/+0
2017-02-23Fix code style.Andrei Karas1-3/+2
2017-02-23Impliment basic VirtFsDir for virtual fs based on directories.Andrei Karas12-12/+1509
Api similar to VirtFs. VirtFsDir unused for now.
2017-02-21Move other fs related files into fs directory.Andrei Karas11-2/+1059