Commit Graph

260 Commits

Author SHA1 Message Date
Alexandre Julliard dbbc40affa version: Moved GetFileResourceSize16/GetFileResource16 to ver16.c. 2009-10-01 13:56:13 +02:00
Alexandre Julliard e84c42d92a version: Use the find_resource function instead of the 16-bit entry points to load 16-bit resources. 2009-10-01 13:54:58 +02:00
Alexandre Julliard e04b9984b6 version: Abstract resource finding into a common function. 2009-10-01 13:53:42 +02:00
Michael Stefaniuc 934ed50d49 version: Remove superfluous pointer casts. 2009-01-13 15:26:16 +01:00
Alexandre Julliard b33995eda8 version: Avoid pointer casts in a trace. 2009-01-08 13:13:15 +01:00
Alistair Leslie-Hughes d026b74d79 version: Stop crash under vista and 2k8. 2008-11-26 12:28:05 +01:00
Huw Davies 559112d472 version: Fixed comments. 2008-11-26 12:08:16 +01:00
Francois Gouget 0ee5d57079 version: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:13 +01:00
Alistair Leslie-Hughes 9643411c32 version: VerQueryValueA/W allow blank and NULL strings. 2008-11-21 13:53:12 +01:00
Paul Vriens a7e13f565b version/tests: Use win_skip instead of trace. 2008-10-21 11:43:52 +02:00
Paul Vriens 29360b632f version/tests: Fix a copy-paste mistake. 2008-10-21 11:43:47 +02:00
Lei Zhang 69871bedf1 version: Prevent infinite looping in VersionInfo32_FindChild. 2008-10-14 13:41:55 +02:00
Joris Huizer af08680037 version/tests: Corrected memset placement. 2008-10-08 14:10:50 +02:00
Aric Stewart ea08576820 version: Check for out of memory in VerInstallFileA/W conversion (Coverity 635). 2008-10-06 14:11:04 +02:00
James Hawkins 3550d3bfbc version: Fix tests that fail in win9x and win2k. 2008-04-23 14:29:41 +02:00
Marcus Meissner 0aecedf281 version: LZCopy return value is LONG. 2008-03-24 13:40:57 +01:00
Rob Shearman 48000893f9 makefiles: Simplify the use of the IMPORTLIB variable in the DLL makefiles.
Only specify the root to keep platform-specifics out of the individual 
DLL makefiles.
2008-03-04 20:55:01 +01:00
Paul Vriens d6a8b5024a version/tests: Win98, NT4 and W2K return different errors. 2008-02-25 19:50:19 +01:00
Aric Stewart 1a328d9126 version: Check for 16-bit file format before returning ERROR_RESOURCE_DATA_NOT_FOUND. 2008-02-13 17:25:46 +01:00
James Hawkins 972c61d311 version: Return ERROR_RESOURCE_DATA_NOT_FOUND if the file does not have version information. 2008-02-05 12:19:36 +01:00
Dmitry Timoshkov 09c3d32ff5 version: Use GetModuleHandleEx to increment the module ref count. 2007-11-01 12:41:44 +01:00
Bang Jun-young a290263860 version: Use the official NT macro rather than obsolete one. 2007-10-16 09:38:30 +02:00
Francois Gouget 015dc79cd4 version: Fix some Ver*() prototypes (especially wrt constness).
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Steven Edwards c9a0da51a5 Remove more unneeded wine 16bit header usage. 2007-08-30 12:31:01 +02:00
Steven Edwards e1347ecdc5 version: VerQueryValueA/W NULL pointer check. 2007-07-27 12:21:56 +02:00
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Francois Gouget ab91c21636 version: Fix the VerQueryValueA/W() prototypes. 2007-05-31 14:18:35 +02:00
Andrew Talbot dd9af77062 version: Exclude unused headers. 2007-05-21 13:36:29 +02:00
Alexandre Julliard 96432dfe4b version: Avoid size_t type in traces. 2007-04-23 15:12:19 +02:00
Dmitry Timoshkov 31368dec93 version: Add a VerQueryValue test, make it mostly pass under Wine. 2007-04-17 12:20:41 +02:00
Alexandre Julliard 9dd1f1e341 Added version information for a number of dlls. 2007-03-07 21:25:16 +01:00
Andrew Talbot 96c84497da version: Constify some variables. 2007-03-05 12:08:54 +01:00
Andrew Talbot b940df1408 version: Constify a variable. 2007-02-26 13:38:05 +01:00
Andrew Talbot 19daedffaf version: Constify a variable. 2007-02-23 11:24:01 +01:00
Andrew Talbot 908903b7f1 version: Constify a formal parameter of VerQueryValue{A|W}(). 2007-02-14 14:42:09 +01:00
Francois Gouget f3e7c5380a version/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Andrew Talbot 7eb6815336 version/tests: Write-strings warning fix. 2006-12-16 17:01:57 +01:00
Francois Gouget 65921ad1af version/tests: Replace some '#if 0's with 'if (0)'s.
Fix the code so it compiles without warnings.
2006-12-14 20:24:46 +01:00
Paul Vriens d01e76de05 version/tests: Free memory after use. 2006-12-06 11:26:55 +01:00
Michael Stefaniuc 99de79ad1e version/tests: Win64 printf format warning fixes. 2006-10-10 11:56:38 +02:00
Michael Stefaniuc 54b1c5e0fa version: Win64 printf format warning fixes. 2006-10-09 12:55:55 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrew Talbot b6f190ee42 version: Write-strings warnings fix. 2006-08-11 19:26:33 +02:00
Andrew Talbot b40f4c0b17 version/tests: Write-strings warnings fix. 2006-08-10 10:57:17 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard 55d9045804 version/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:59 +02:00
Alexandre Julliard 298d80c2bd version/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:58:12 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Paul Vriens b3d8be24db version: Translate some German comments. 2006-04-13 11:23:30 +02:00
Stefan Leichter 19b55e8945 Fix version tests on windows 9x/ME. 2005-11-30 12:31:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Stefan Leichter ba190e9af6 Fix version tests on NT, 2K and XP, make some errors more verbose. 2005-11-21 11:57:03 +00:00
Stefan Leichter 22617da27f Added some tests for VerFindFileA. 2005-11-12 19:09:18 +00:00
Ivan Leo Puoti 5b22e4d6ef Fix some wrong prototypes. 2005-11-03 11:35:11 +00:00
Oliver Stieber 946f91103d Correct the way that VerFindFileA checks for a file that is
exclusively locked.
2005-10-28 10:42:09 +00:00
Detlef Riekenberg 2ee26f2145 Updated trace to support VERSIONED_PRINTER. 2005-10-26 12:05:17 +00:00
Paul Vriens 4be0d76397 Wine's behavior is correct now. 2005-10-18 12:00:59 +00:00
James Hawkins 0eddf4341f Check the size of the input buffer so we don't write past the end. 2005-10-04 11:30:20 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard 37871ce3f1 Store the result of the A/W conversions in the extra buffer space. 2005-08-29 15:10:02 +00:00
Paul Vriens 31d0e7421e Reserve extra space for conversions. 2005-08-29 14:17:27 +00:00
Alexandre Julliard cc4da88563 Explicitly import kernel32 in tests that use it. 2005-08-27 09:27:09 +00:00
Mike McCormack f49f36f9eb Fix gcc 4.0 warnings. 2005-08-23 09:37:30 +00:00
Alexandre Julliard e9438a87f6 Add an extra test to show failing behavior. 2005-08-22 18:57:22 +00:00
Alexandre Julliard 2bacc4631c Don't convert the return value on failure in VerQueryValueA/W. 2005-08-03 11:04:13 +00:00
Paul Vriens 5b2810bb2b Remove the no longer used ConvertVersionInfo32To16 function.
Add a (forgotten) RtlFreeUnicodeString.
2005-07-30 19:04:01 +00:00
Paul Vriens 111a913d5e Cleanup whitespace.
Conversion fixes.
2005-07-29 14:15:56 +00:00
Paul Vriens 00d8112196 New function VersionInfo32_QueryValue.
Made functions static.
2005-07-28 18:32:32 +00:00
Paul Vriens 72fba73ada VerQueryValue returns BOOL not DWORD. 2005-07-28 10:47:37 +00:00
Paul Vriens c232ce43e2 Cleanup print_vffi_debug. 2005-07-28 10:14:08 +00:00
Paul Vriens e5503f96c1 Remove 32bit references/checks in VERSION_GetFileVersionInfo_16. 2005-07-27 15:14:33 +00:00
Paul Vriens a16fcbe5ba Remove wrong check. 2005-07-27 12:05:38 +00:00
Paul Vriens 98e33334ae Rename bText to wType. 2005-07-26 18:25:34 +00:00
Paul Vriens b296b04230 Forward GetFileVersionInfoA to GetFileVersionInfoW. 2005-07-26 15:50:17 +00:00
Paul Vriens ef1da879df Cleanup and some additional tests. 2005-07-26 10:33:22 +00:00
Paul Vriens 8e541c8aeb Add tests for VerQueryValue[AW].
Don't convert the struct to a win16 one in GetFileVersionInfoA.
Convert the struct to win16 in VerQueryValueA (for now).
2005-07-20 10:29:29 +00:00
Paul Vriens 2509c06e16 Added a test, specifically for NT/W2K/XP/W2K3. 2005-07-15 16:32:53 +00:00
Stefan Leichter e7425a5b7c Test GetFileVersionInfoSizeA with executables. 2005-05-31 09:33:59 +00:00
Alexandre Julliard 34fa35dc99 Added rules for building import libraries in the individual dll
makefiles, and added support for building a .def.a static import
library too.
2005-05-09 14:42:30 +00:00
Alexandre Julliard d62356aa1e Added rules to build import libraries in the individual dll makefiles.
Generate import libraries with the right name right away instead of
using an intermediate .spec.def file.
2005-05-07 12:39:52 +00:00
Jon Griffiths 1174e64928 Avoid a magic number. 2005-03-19 17:03:43 +00:00
Stefan Leichter d55575e976 Exclude two tests crashing on WinNT4. 2005-02-25 16:19:19 +00:00
Stefan Leichter b8ac580ece Fixed GetFileVersionInfoSizeA tests on Win95. 2005-02-08 13:43:41 +00:00
Stefan Leichter 7ed3f41c98 Fixed GetFileVersionInfoSizeA tests on WinME. 2005-01-19 16:59:35 +00:00
Robert Reif 18a1a6e194 Prevent crash from invalid last parameter in GetFileVersionInfo.
Prevent crash in VerQueryValue when return size not requested.
GetFileVersionInfo and VerQueryValue parameter tests added.
2005-01-04 20:35:46 +00:00
Alexandre Julliard 75f87dd43f Get rid of the ThunkData stubs, these are not functions. 2005-01-03 20:47:48 +00:00
Stefan Leichter 6ab1bc9696 Fixed tests of GetFileVersionInfoSizeA for win2k3. 2004-12-16 14:34:18 +00:00
Eric Pouech 0a258964c2 Const correctness fixes. 2004-11-30 21:38:57 +00:00
Stefan Leichter e75f49209f Fixed GetFileVersionInfoSizeA tests on NT. 2004-11-19 18:19:31 +00:00