aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-11-08* New feature: Force add listfileLadislav Zezula
2018-10-15+ Fixed arbitrarily large allocations caused by TQMPHeader::dwBlockTableSizeZezula Ladislav
2018-06-13+ When opening a file by special name, the file is first checked whether ↵Ladislav Zezula
that file is there.
2018-05-02Merge pull request #131 from nvs/masterLadislav Zezula
Add brackets in SFileSetFilePointer when pointer < 0
2018-05-01Add brackets in SFileSetFilePointer when pointer < 0nvs
This addresses a bug introduced in: - fe652fe4a6e02041194a0f1b29a0086bd99fb14d Brackets were not properly included, causing `SFILE_INVALID_POS` to be returned whenever `DeltaPos` was less than zero, instead of only when the resulting position was negative.
2018-04-27Merge pull request #129 from nvs/fix-error-negative-seekLadislav Zezula
I looked at your proposed changes and yes, they are OK. Thank you for the bugfix.
2018-04-26Set SFileSetFilePointer error when new pointer < 0nvs
This addresses an apparent oversight in the following commit: - 951f416398b3aa0b32969b4a391a3103443ad99e An error is not actually set, even though the return value now correctly indicates failure. Per the documentation for [`SetFilerPointer ()`][1], this should be set to `ERROR_NEGATIVE_SEEK` on Windows. On Mac/Linux, this would be `EINVAL` as per the documentation for [`fseek ()`][2]. [1]: https://msdn.microsoft.com/en-us/library/windows/desktop/aa365541(v=vs.85).aspx [2]: http://pubs.opengroup.org/onlinepubs/9699919799/functions/fseek.html
2018-04-15Merge pull request #127 from kambala-decapitator/masterLadislav Zezula
Merged. Looks like no one has build StormLib for Mac for years.
2018-04-15fix macOS buildAndrey Filipenkov
2018-04-03+ Test commitZezula Ladislav
2018-04-03+ Fixed build warnings in VS 2015Zezula Ladislav
2017-12-23+ Proper version in CMakeLists.txtLadislav Zezula
2017-12-23Merge pull request #124 from pali/masterLadislav Zezula
Merged. Thank you for the contribution.
2017-12-22Fix compiling storm_test executablePali Rohár
Compile it really only if STORM_BUILD_TESTS is enabled and link it against compiled StormLib library instead of compiling all source files again.
2017-11-12+ Added uncommited filev9.22Ladislav Zezula
2017-11-11+ All 4 test builds without errorsLadislav Zezula
2017-11-11+ missing fileLadislav Zezula
2017-11-11+ Updated VS 2008 workspace filesLadislav Zezula
2017-11-11+ Full support for VS 2015Ladislav Zezula
+ Removed support for VS 2012 + Fixed bug on ANSI buids (Mac)
2017-11-11+ LPCTSTR for Linux+MacLadislav Zezula
2017-11-10+ Pre-release 9.22Zezula Ladislav
2017-11-09+ Fixed Linux buildLadislav Zezula
2017-11-09+ UTF-8 UNICODE name of the listfile directory for the Linux testing folderZezula Ladislav
2017-11-09+ Fixed Linux buildZezula Ladislav
2017-11-08+ Tilde can now be a part of file name in the MPQLadislav Zezula
2017-11-08Merge branch 'master' of https://github.com/ladislav-zezula/StormLibZezula Ladislav
2017-11-08+ SFileAddListFile and SFileCompactArchive now take "const TCHAR *" instead ↵Zezula Ladislav
of "const char *" + Fixed some bugs
2017-11-07+ Fixed small bugLadislav Zezula
2017-10-30Merge branch 'master' of https://github.com/ladislav-zezula/StormLibZezula Ladislav
2017-10-30+ Fixed an AlwaysTrue conditionZezula Ladislav
2017-10-23Merge pull request #115 from Lectem/fix_cmakeLadislav Zezula
CMake: Remove misleading opts add DLL support - fixes #114 Merged. Thank you for the contribution.
2017-10-17Merge branch 'master' of https://github.com/ladislav-zezula/StormLibLadislav Zezula
2017-10-17+ CosmeticsLadislav Zezula
2017-09-19CMake: Remove misleading opts add DLL supportLectem
This commit fixes #114 The options UNICODE and BUILD_DYNAMIC_MODULE were only changing the name of the libraries and not the flags used for compilation. I removed them for now, but if we want to add Unicode/Runtime version to CMake it will be possible later. This fixes #114 as the .lib created by CMake on windows can no more be mistaken for another one. If people need to build a specific version of the library, they can for now use the cmake cache to change the /M(D/T) flag and/or add the UNICODE and _UNICODE defines. I changed the option name for the test executable so that it won't conflict with other projects, and made sure BUILD_TESTING is checked. When BUILD_TESTING (the official option for CTest) is ON, STORM_BUILD_TESTS is by default ON. If BUILD_TESTING is set to OFF, then STORM_BUILD_TESTS can only be set to OFF. I also added the stormlib_dll/StormLib.def file to the source list when using MSVC, which means you can now correctly create StormLib.dll and its associated .lib and .exp by setting BUILD_SHARED_LIBS to ON.
2017-09-18Merge pull request #113 from Lectem/STORMLIB_NO_AUTO_LINKLadislav Zezula
Stormlib no auto link
2017-09-17Add STORMLIB_NO_AUTO_LINK define to disable linking with pragmaLectem
2017-09-17cmake target_* requires v2.8.12Lectem
2017-08-29Merge branch 'master' of https://github.com/ladislav-zezula/StormLibZezula Ladislav
2017-08-29+ Fixed patching bugZezula Ladislav
2017-08-28Merge pull request #110 from Lectem/patch-2Ladislav Zezula
SFileSetFilePointer error when new pointer is <0
2017-08-28SFileSetFilePointer error when new pointer is <0Lectem
The standard behaviour for fseek / SetFilePointer when the new pointed value would be negative is to not move the pointer and return an error. See : https://msdn.microsoft.com/en-us/library/windows/desktop/aa365541(v=vs.85).aspx `If a new file pointer is a negative value, the function fails, the file pointer is not moved, and the code returned by GetLastError is ERROR_NEGATIVE_SEEK.`
2017-08-17+ Fixed issue "Internal Files Creation Settings #96"Zezula Ladislav
2017-08-17+ Fixed bug in processing Huffmann compressionZezula Ladislav
2017-08-07+ Space and tab can both be part of the file nameZezula Ladislav
2017-07-28+ Fixed bug when SFileAddFileEx could add a file with MPQ_FILE_SINGLE_UNIT ↵Zezula Ladislav
to a Warcraft III map
2017-07-26Added support for PG1.11.973 protectorLadislav Zezula
2017-03-31Merge pull request #100 from namreeb/masterLadislav Zezula
Updated CMakeLists.txt to accurately name output file under Windows
2017-03-09Updated CMakeLists.txt to accurately name output file under Windowsnamreeb
2017-03-09+ Removed DEFINE from CMakeLists.txtZezula Ladislav
+ Fixed paths to include files
2017-01-17+ Fixed leaked handle when _stat failsLadislav Zezula