aboutsummaryrefslogtreecommitdiff
path: root/src/FileStream.cpp
AgeCommit message (Collapse)Author
2024-11-02Added functions for conversions between MPQ file name <-> Safe file nameLadislav Zezula
2024-04-21Fixed division by zero in https://github.com/ladislav-zezula/StormLib/issues/334Ladislav Zezula
2024-02-11The flag MPQ_OPEN_NO_LISTFILE is now propagated by SFileOpenPatchArchiveLadislav Zezula
2022-11-10Add support for the Wii U platformDavid Chavez
2021-05-17nError -> dwErrCodeLadislav Zezula
2021-05-01Make nLastError thread-localGleb Mazovetskiy
Before this fix, `Get/SetLastError` on non-Windows behaved incorrectly when used from multiple threads.
2021-04-01munmap as wellLadislav Zezula
2021-03-31TestLadislav Zezula
2021-03-31* Removed the Haiku-specific codeLadislav Zezula
* The Haiku platform is now under STORMLIB_MAC
2021-03-31FileStream: Ensure file handle invalidation on errorGleb Mazovetskiy
If the file fails to open, the file handle must be invalidated. Co-authored-by: Xadhoom <> Co-authored-by: Anders Jenbo <anders@jenbo.dk>
2020-11-23Removed trailing whitespaceLadislav Zezula
2020-10-24Changed PLATFORM_* to STORMLIB_*Ladislav Zezula
2020-08-26* Removed sprintf as source of incompatibilitiesLadislav Zezula
* Fixed bug
2020-05-05Added option to open named sectionLadislav Zezula
2019-05-09FileStream.cpp: Add Haiku platform supportZoltán Mizsei
2018-11-08* New feature: Force add listfileLadislav Zezula
2018-10-15+ Fixed arbitrarily large allocations caused by TQMPHeader::dwBlockTableSizeZezula Ladislav
2017-11-08+ SFileAddListFile and SFileCompactArchive now take "const TCHAR *" instead ↵Zezula Ladislav
of "const char *" + Fixed some bugs
2017-10-30+ Fixed an AlwaysTrue conditionZezula Ladislav
2017-01-17+ Fixed leaked handle when _stat failsLadislav Zezula
2016-11-13use DWORD for get/setlasterrorLectem
2016-11-06+ Reverted include directoriesLadislav Zezula
2016-11-05fix cmake dependency and move headers to includeLectem
2015-12-28+ Make nitpickers like Krakean happy.Ladislav Zezula
2015-05-28+ Fixed bug in SFileReadFileunknown
2015-05-28+ Fixed defects found by Coverity (well, most of them)Ladislav Zezula
2015-04-21+ Defragmenting file table fixedunknown
2014-08-25+ Added support for newest Spazzler protectorLadislav Zezula
2014-06-20+ Test commitv9.00aLadislav
2014-05-15+ Fixed memory leakunknown
2014-05-06+ NULL is not good replacement for INVALID_HANDLE_VALUELadislav
2014-02-08Fix warning in FileStream.cpp.mewmew
StormLib/src/FileStream.cpp:1374:20: warning: converting ‘false’ to pointer type ‘TFileStream*’ [-Wconversion-null] return false; ^ StormLib/src/FileStream.cpp:2266:24: warning: converting ‘false’ to pointer type ‘TFileStream*’ [-Wconversion-null] return false; ^
2014-01-24+ Fixed bug in compacting archiveLadislav Zezula
2014-01-13+ Removed warnings from MINGWLadislav Zezula
+ Fixed Win32 makefile
2014-01-03+ Version 9.00 releasedLadislav
2013-12-27+ Support for master-mirror pairsv9.00Ladislav
+ Support for streaming MPQs + Bug fixes
2013-12-22+ MPQ Bitmap processign was moved to TFileStreamLadislav
+ Preparing for implementation of master-mirror streaming (like Blizzard games do)
2013-12-19+ Bitmap support was moved from archive functions to FileStream functions, ↵Ladislav Zezula
where are more appropriate + Added support for master-mirror streams (like Blizzard games do) + SFileGetArchiveBitmap was moved into SFileGetFileInfo + Fixed bug in SFileCompactArchive + Removed classes SFileMpqBitmapXXX from SFileGetFileInfo
2013-12-15+ static analysis issues fixedLadislav
2013-12-12+ Fixed warningsLadislav Zezula
+ Added SBaseDumpData to the makefiles
2013-12-06+ Bug fixes in SFileGetFileInfo, SAttrFileSaveToMpq, SListFileSaveToMpqLadislav Zezula
+ FileStream now handles files over 2GB properly + Test under Linux
2013-12-05+ StormLib 9.0 BETALadislav Zezula
2013-10-11+ (Perhaps) finally updated ZLIB so the fucking GIT will not downgrade it on ↵Ladislav
next pull + Dmitry Vortex issues
2013-09-01+ Fixed bug in Windows 8Ladislav
+ Minors
2013-07-24+ Lower Windows permissions are now needed for opening MPQ for read-onlyLadislav
2013-04-02+ Fixed build errorsLadislav Zezula
2013-04-02+ Removed mess from project filesLadislav Zezula
+ Project files for VS 2012
2013-03-12Heart of the Swarm ReleaseLadislav
+ Added decryption key for encrypted MPQs from Heart of the Swarm background downloader + Small update of CMakeList.txt (thanks, Pali)
2013-01-11Initial creationLadislav Zezula