Commit Graph

141 Commits

Author SHA1 Message Date
Joachim Bauch 221a470ad1 Merge pull request #50 from fancycode/fix_64bit_warnings
Fix various 64bit issues
2016-09-20 00:39:52 +02:00
Joachim Bauch 097403a8ad Added wrapper to run wine/wine64. 2016-09-20 00:23:29 +02:00
Joachim Bauch 6c2c3e2fee Fix more potential conversion issues on 64bit. 2016-09-20 00:23:29 +02:00
Joachim Bauch 03cd7c91d9 Fixed alignment of values/addresses on 64bit systems. 2016-09-20 00:23:29 +02:00
Joachim Bauch de5dbce770 Error on some type conversion warnings. 2016-09-20 00:23:29 +02:00
Joachim Bauch 89883558fe Merge pull request #48 from fancycode/appveyor-vc9
Also run CI against Visual Studio 2008.
2016-09-19 22:58:32 +02:00
Joachim Bauch b26476ff8d Also run CI against Visual Studio 9. 2016-09-19 22:43:29 +02:00
Joachim Bauch 1d19f9f750 Pass PLATFORM/UNICODE to cmake. 2016-09-19 22:43:01 +02:00
Joachim Bauch d19c62ed82 Fixed detection of x64 platform. 2016-09-19 22:27:02 +02:00
Joachim Bauch cfba548c66 Merge pull request #49 from fancycode/appveyor-script
Move AppVeyor test code to script.
2016-09-19 22:07:25 +02:00
Joachim Bauch af2c521cf2 Added .gitattributes file. 2016-09-19 21:55:22 +02:00
Joachim Bauch 164b21ac07 Move AppVeyor test code to script. 2016-09-19 21:55:22 +02:00
Joachim Bauch c4074afd3e Merge pull request #47 from sakurai-youhei/hotfix/issue-45-remove-stdint_h
Remove stdint.h for VC++9.0 (VS2008)
2016-09-12 18:02:14 +02:00
Youhei Sakurai c174ed1177 Remove stdint.h for VC++9.0 (VS2008) 2016-09-13 00:50:13 +09:00
Joachim Bauch 4b3d2a08d5 Merge pull request #33 from joankaradimov/custom-alloc-and-free
Pass alloc/free functions to MemoryLoadLibraryEx
2016-04-24 15:30:16 +02:00
Joan Karadimov a1fb42d4c5 Add some tests for the custom free and alloc functions 2016-02-14 00:40:30 +02:00
Joan Karadimov bc38a6b01d Extract a ReadLibrary function in DllLoader.cpp 2016-02-13 18:39:40 +02:00
Joan Karadimov d46b74d00d Pass alloc/free functions to MemoryLoadLibraryEx 2016-02-12 11:39:41 +02:00
Joachim Bauch d88817fbf7 Disable C4055 warning (data -> function pointer conversion). 2016-01-27 00:57:06 +01:00
Joachim Bauch d9a6bb9c8f Explicitly include "stdint.h" to make sure "uintptr_t" is defined (fixes #34). 2016-01-27 00:44:43 +01:00
Joachim Bauch 905ad75e82 Expose default callback functions.
This was suggested in #33.
2016-01-27 00:38:37 +01:00
Joachim Bauch 2e193f153a Also build on MSVC 2015. 2015-12-20 22:13:27 +01:00
Joachim Bauch cc562219af Fix C4055 on MSVC. 2015-12-20 22:07:30 +01:00
Joachim Bauch cddc54a671 Fixed syntax error on MSVC. 2015-12-20 21:51:29 +01:00
Joachim Bauch 5bda2104b9 Define "_CRT_SECURE_NO_WARNINGS" when compiling examples/tests. 2015-12-20 21:43:35 +01:00
Joachim Bauch 394fae8d51 Initialize variable (to make MSVC happy). 2015-12-20 21:39:47 +01:00
Joachim Bauch 15983313f4 Removed debug include. 2015-12-20 21:38:30 +01:00
Joachim Bauch 583e1b4a93 Fixed warning about unreferenced parameters. 2015-12-20 21:34:14 +01:00
Joachim Bauch bc04853584 Add some checks to prevent overruns on broken input. 2015-12-20 21:26:53 +01:00
Joachim Bauch 9df6e7dc93 Add more error checking of return values. 2015-12-20 21:26:53 +01:00
Joachim Bauch f02a8e6a38 Merge pull request #30 from kost/fix-deprecated-wcsnicmp
Use _wcsnicmp instead of wcsnicmp
2015-10-22 15:54:08 +02:00
Vlatko Kosturjak 71643ae62b Use _wcsnicmp instead of wcsnicmp
"These POSIX functions are deprecated. Use the ISO C++ conformant"
https://msdn.microsoft.com/en-us/library/ms235324.aspx
2015-10-18 11:13:24 +02:00
Joachim Bauch d19707369a Avoid (re-)allocations when searching for named resources.
Also add tests to load resources by name.
2015-08-23 00:22:42 +02:00
Joachim Bauch 8d5dbf39e8 Show AppVeyor status of master branch. 2015-08-23 00:02:04 +02:00
Joachim Bauch 62e357e515 Added information about build status. 2015-08-22 23:56:52 +02:00
Joachim Bauch b4bf2f7c4a Don't disable warnings about conversions. 2015-08-22 23:53:27 +02:00
Joachim Bauch 422f918c33 Declare variables at start of function. 2015-08-22 23:53:27 +02:00
Joachim Bauch a13ad18e11 Added AppVeyor CI integration. 2015-08-22 23:53:27 +02:00
Joachim Bauch 8c3d253325 Support building with cmake. 2015-08-22 01:00:13 +02:00
Joachim Bauch 70c4977019 Switch to container-based infrastructure. 2015-08-22 00:18:37 +02:00
Joachim Bauch 5a0c512885 Revert 78330cd2f1, package names don't match platform. 2015-08-22 00:02:25 +02:00
Joachim Bauch 78330cd2f1 Simplify package installation. 2015-08-21 23:59:29 +02:00
Joachim Bauch db9c2389f2 Fix compilation of tests with UNICODE defined. 2015-08-21 23:57:15 +02:00
Joachim Bauch 83899ac7f7 Use DWORD directly to avoid cast. 2015-08-21 22:26:50 +02:00
Joachim Bauch 6276f4426d Support imports by ordinal value.
Code based on pull-request #28.
2015-08-21 22:19:28 +02:00
Joachim Bauch e5d42852de Merge pull request #26 from CoolOppo/patch-1
Rename readme.txt to readme.rst
2015-04-07 09:47:41 +02:00
CoolOppo 48d3c5a7f6 Rename readme.txt to readme.rst
Makes GitHub actually render the file correctly 😒
2015-04-06 15:39:48 -04:00
Joachim Bauch 82b11d57db Call "VirtualFree" before setting error (fixes #23). 2015-03-13 16:56:02 +01:00
Joachim Bauch 0ce2454fc3 Merge pull request #24 from Fr0sT-Brutal/patch-1
Zero the memory allocated in the heap
2015-03-13 16:47:51 +01:00
Fr0sT-Brutal 89e02fcd9e Zero the memory allocated in the heap
Using HEAP_ZERO_MEMORY parameter of HeapAlloc function we can fill all the struct contents with zeros thus removing possible bugs with uninitialized members and slightly shortening/speeding up the code
2015-03-12 20:11:05 +03:00