Commit Graph

73 Commits

Author SHA1 Message Date
Michael Müller 91f96b2827 version: Correctly return VFF_CURNEDEST in VerFindFileA.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-01 11:24:51 +02:00
Michael Stefaniuc 2dc9af8e75 version/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-31 09:24:49 +02:00
Akihiro Sagawa 9af3dffaf3 kernel32: Add localized version resource.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:23:09 +01:00
Akihiro Sagawa e0b4a3527b version/tests: Check the translation resource before testing.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:17:01 +01:00
Akihiro Sagawa b027a7db50 Use CP 1200 (Unicode) for Win32/Win64 version info.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-06 19:49:17 +01:00
Akihiro Sagawa e804e9a5bc version/tests: Add tests for GetFileVersionInfoEx.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 22:18:45 +01:00
Akihiro Sagawa 05b3d7b69b version: Don't convert binary version resource to ANSI texts. 2014-03-14 17:17:04 +01:00
Akihiro Sagawa 66933d71ee version/tests: Add more VerQueryValueA tests. 2014-03-14 17:17:01 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy b1fd27eb2d version/tests: Constify some character strings. 2013-12-31 12:24:52 +01:00
André Hentschel ae206d7517 version/tests: Fix tests compilation with __WINESRC__ defined. 2013-10-24 10:48:23 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Nikolay Sivov f3f81387f1 version: Remove 'return' from void function. 2012-12-19 14:38:58 +01:00
Michael Stefaniuc d8bc018487 version/tests: Check the correct variable. 2012-05-15 16:26:38 +02:00
Francois Gouget 8eef0cc258 dlls: Remove unneeded include directives in resource files. 2011-11-14 15:25:23 +01:00
Alexandre Julliard 702941eae1 version: Check the Windows directory first in VerFindFileA/W. 2011-09-09 13:27:14 +02:00
Austin English 35a39e3cf6 version/tests: Remove win9x hacks. 2011-02-24 15:50:50 +01:00
Austin English 121885dd2d version/tests: Make sure return values are used (LLVM/Clang). 2011-02-09 09:26:23 -06:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Michael Stefaniuc 934ed50d49 version: Remove superfluous pointer casts. 2009-01-13 15:26:16 +01:00
Alistair Leslie-Hughes d026b74d79 version: Stop crash under vista and 2k8. 2008-11-26 12:28:05 +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
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
Paul Vriens d6a8b5024a version/tests: Win98, NT4 and W2K return different errors. 2008-02-25 19:50:19 +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
Francois Gouget 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +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
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 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
Andrew Talbot b40f4c0b17 version/tests: Write-strings warnings fix. 2006-08-10 10:57:17 +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 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