Commit Graph

286 Commits

Author SHA1 Message Date
Ladislav Zezula
b60bc45088 CheckWildCard renamed to SFileCheckWildCard to prevent conflict with CascLib 2020-03-25 16:39:13 +01:00
Ladislav Zezula
468292a0c4 MIX files are now considered Watctaft III maps 2020-03-25 14:19:09 +01:00
Ladislav Zezula
84b1d23457 Fixed Linux test paths 2020-03-21 13:12:30 +01:00
Ladislav Zezula
afaace949c Merge branch 'master' of https://github.com/ladislav-zezula/StormLib 2020-03-21 08:33:35 +01:00
Ladislav Zezula
a3228def1e Paths for test files 2020-03-21 08:32:34 +01:00
Ladislav Zezula
847cc5a634 Merge pull request #164 from SimonMossmyr/master
Thank you for the big finding :-)

Merged.
2019-11-02 08:20:33 +01:00
Simon Mossmyr
4aa2446d78 Fix incorrect CPack description file path 2019-11-01 22:31:28 +01:00
Ladislav Zezula
58c5f5dc82 Merge pull request #163 from glebm/patch-1
Merged. Thank you for your contribution.
2019-10-30 06:01:12 +01:00
Gleb Mazovetskiy
a89706df03 StormPort: Suppress min/max macros from windows
This makes StormLib usable with C++ stdlib (e.g. the <algorithm> header which defines std::min/max)
2019-10-30 00:19:16 +00:00
Ladislav Zezula
c00454ead0 Merge pull request #161 from SimonMossmyr/master
Merged. Thank you for your contribution.
2019-10-29 06:13:16 +01:00
Simon Mossmyr
903a9911f9 Add Linux install instructions and usage 2019-10-28 21:21:43 +01:00
Simon Mossmyr
9f70b5e000 Rename README to README.md 2019-10-28 21:21:24 +01:00
Ladislav Zezula
4f2c5770f6 Merge pull request #160 from niacat/master
Merged. Thanks for the contribution!
2019-10-21 13:37:09 +02:00
nia
8c874cb586 Include strings.h for strncasecmp 2019-10-21 12:22:44 +01:00
Ladislav Zezula
42e4452b47 Removed forgotten debug message 2019-09-21 20:43:35 +02:00
Ladislav Zezula
419daeadd7 Updated Storm.lib test program 2019-09-21 18:33:49 +02:00
Zezula Ladislav
33fd0ed19b Bleh 2019-09-11 15:21:41 +02:00
Zezula Ladislav
0eb09af5fe Added detection of compiled LUA scripts 2019-09-11 15:20:43 +02:00
Ladislav Zezula
2f0e0e69e6 Merge pull request #150 from BogdanW3/sign
Support for mpq not being the last part of a file
2019-05-10 07:09:09 +02:00
Ladislav Zezula
b4e74f6710 Merge pull request #158 from extrowerk/haiku_support_pt2
FileStream.cpp: Add Haiku platform support
2019-05-10 06:41:24 +02:00
Zoltán Mizsei
149b4ec512 Haiku support for tests 2019-05-09 20:39:00 +02:00
Zoltán Mizsei
138adb6004 FileStream.cpp: Add Haiku platform support 2019-05-09 20:03:01 +02:00
Ladislav Zezula
f12d9db778 Merge pull request #157 from extrowerk/haiku_support
SormLib: Haiku support
2019-05-01 12:33:01 +02:00
Zoltán Mizsei
93b5a8b777 Define WORK_PATH for Haiku 2019-05-01 08:53:04 +02:00
Zoltán Mizsei
4474d1cd27 Add Haiku support 2019-05-01 08:47:54 +02:00
Bogdan Gligorijevic
a391c14988 Change QueryMpqSignatureInfo to support the mpq not being the last part of a file 2019-02-20 16:22:07 +01:00
Ladislav Zezula
f2c8d24960 Merge pull request #146 from susnux/master
Merged. Thank you for the contribution.
2019-02-04 09:12:37 +01:00
Ferdinand Thiessen
b190626a47 CMake / Linux: make sure system zlib and bz2 headers are used 2019-02-03 03:34:35 +01:00
Ladislav Zezula
d78935259d Merge pull request #145 from actboy168/patch-1
Merged. Thank you for the contribution.
2019-01-28 23:10:22 +01:00
actboy168
ee4aacdd25 Export SFileCreateArchive2
SFileCreateArchive2 provides more MPQ customization options, such as #5.
2019-01-25 00:28:36 +08:00
Ladislav Zezula
5987f7c5c2 + Added solutions for VS 2017 2018-11-08 19:22:18 +01:00
Ladislav Zezula
17d51a8256 * New feature: Force add listfile 2018-11-08 17:06:12 +01:00
Zezula Ladislav
f35d106059 + Fixed arbitrarily large allocations caused by TQMPHeader::dwBlockTableSize 2018-10-15 11:23:52 +02:00
Ladislav Zezula
4ad0bff21d + When opening a file by special name, the file is first checked whether that file is there. 2018-06-13 15:49:23 +02:00
Ladislav Zezula
7292399efe Merge pull request #131 from nvs/master
Add brackets in SFileSetFilePointer when pointer < 0
2018-05-02 08:01:59 +02:00
nvs
a881bb54bf Add brackets in SFileSetFilePointer when pointer < 0
This addresses a bug introduced in:

- fe652fe4a6

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-05-01 17:36:29 -07:00
Ladislav Zezula
eecbac1689 Merge pull request #129 from nvs/fix-error-negative-seek
I looked at your proposed changes and yes, they are OK.
Thank you for the bugfix.
2018-04-27 13:55:46 +02:00
nvs
fe652fe4a6 Set SFileSetFilePointer error when new pointer < 0
This addresses an apparent oversight in the following commit:

- 951f416398

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-26 15:23:06 -07:00
Ladislav Zezula
8c9992253d Merge pull request #127 from kambala-decapitator/master
Merged. Looks like no one has build StormLib for Mac for years.
2018-04-15 20:53:06 +02:00
Andrey Filipenkov
9d4d986d6d fix macOS build 2018-04-15 20:42:50 +03:00
Zezula Ladislav
b62ad4e24f + Test commit 2018-04-03 15:31:28 +02:00
Zezula Ladislav
67fde87202 + Fixed build warnings in VS 2015 2018-04-03 15:13:41 +02:00
Ladislav Zezula
008a48ed99 + Proper version in CMakeLists.txt 2017-12-23 17:06:31 +01:00
Ladislav Zezula
be4c064ae4 Merge pull request #124 from pali/master
Merged. Thank you for the contribution.
2017-12-23 17:05:31 +01:00
Pali Rohár
4e79ab4ac4 Fix compiling storm_test executable
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-12-22 23:21:55 +01:00
Ladislav Zezula
bd203c036b + Added uncommited file v9.22 2017-11-12 12:47:42 +01:00
Ladislav Zezula
60c3132e2a + All 4 test builds without errors 2017-11-11 16:14:34 +01:00
Ladislav Zezula
40d952839e + missing file 2017-11-11 16:09:05 +01:00
Ladislav Zezula
a7987cdaff + Updated VS 2008 workspace files 2017-11-11 16:06:42 +01:00
Ladislav Zezula
08a362935e + Full support for VS 2015
+ Removed support for VS 2012
+ Fixed bug on ANSI buids (Mac)
2017-11-11 16:00:12 +01:00