Skip to content

Releases: nextgeniuspro/vfspp

v2.1.1

Choose a tag to compare

@nextgeniuspro nextgeniuspro released this 22 Dec 12:39
  • Remove ugly templates for multithreading support
  • Fixed directory path stripping from files
  • Add std::filesystem compatibility layer for system that doesn't support it

v2.1.0

Choose a tag to compare

@nextgeniuspro nextgeniuspro released this 17 Oct 10:07
7fb4d7a

The biggest update for a long time. There are couple issues with backward compatibility but it easy to fix them. Overall this updates brings better performance and clearnes to code. Here are most significant changes:

  • Opening file always create a new IFilePtr object with own position and mode parameters, so that one file can have several opened handles the same time, one opened in read only mode, another in read-write. The main problem to implement this was MemoryFile, it requires to have a shared data object. MemoryFileObject is now representing such data object with copy-on-write logic

  • Each filesystem during initialization doesn't create IFilePtr object for each file withing directory it mounted. Instead, IFIlePtr object is created only during file opening or creating.

  • Removed some legacy C-style casts and functions

  • The concept of using FileInfo was fully revised, now it only contains information of filename, its virtual path and native path (for native file systems). FileInfo as parameter was removed from most of functions that do basic file operations, like opening, reading, copying etc. It created a backward incompatibility but migration would be easy and benefits of switching much better: cleaner code, better performance

  • Zip files now do not allocate a buffer of file size during opening.

  • No need to use preprocessor definitons to control threading model. Use ThreadingPolicies insted.

v2.0.2

Choose a tag to compare

@nextgeniuspro nextgeniuspro released this 15 Aug 11:46

What's Changed

  • Add IsFileExists method proposed by @obfuscate
  • Add ListAllFiles method by @JanSimek in #27
  • Fixed example project on windows platform

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@nextgeniuspro nextgeniuspro released this 23 Jun 17:50

What's Changed

  • Take SeekPos into account for read/write operations
  • Add an opportunity to retrieve the absolute path for a relative path. by @obfuscate in #21
  • cmake: Increase of the minimum required cmake version to 3.5 for comp… by @davidwed in #22

New Contributors

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@nextgeniuspro nextgeniuspro released this 06 Feb 12:50
7bcffe3

Release v2.0.0

What's Changed

New Contributors

Full Changelog: https://github.com/nextgeniuspro/vfspp/commits/v2.0.0