Commit Graph

259 Commits

Author SHA1 Message Date
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 7811de1b73 version: Add support for FILE_VER_GET_LOCALISED flag.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-22 16:17:20 +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 8e1335b3a3 version: Ignore flag values in Ex functions.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-13 22:18:42 +01:00
André Hentschel ded403c4f3 version: Remove dead assignments (Clang).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 11:58:36 +01:00
Andrey Gusev d3177504b1 Assorted spelling and typos fixes. 2015-08-31 20:18:46 +09:00
Austin English 324acd5f1e version: Move GetFileVersionInfo(A/W) implementation to GetFileVersionInfoEx(A/W). 2015-05-26 18:45:34 +09:00
Austin English e3ae89e8e2 version: Move GetFileVersionInfoSize(A/W) implemementation to GetFileVersionInfoSizeEx(A/W). 2015-05-26 18:45:33 +09:00
Michael Stefaniuc e8b76b32e6 version: VS_FILE_INFO is already and INTRESOURCE (PVS-Studio). 2015-03-05 21:22:08 +09:00
Austin English 61fc9ac92f version: Add stubs for GetFileVersionInfoExA/W. 2014-12-23 15:30:50 +01:00
Austin English caaf6aafa9 version: Add stubs for GetFileVersionInfoSizeExA/W. 2014-12-22 19:18:21 +01:00
Bruno Jesus 395289a30a version: Handle NULL puLen parameter for VerQueryValueA/W. 2014-11-12 20:07:55 +09: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
André Hentschel fc678b4e11 version: Use boolean return value in boolean function. 2014-01-29 17:30:17 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Alexandre Julliard 2a7cdcf3c5 version: Load the resource that corresponds to the current language first. 2014-01-03 17:25:18 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Frédéric Delanoy b1fd27eb2d version/tests: Constify some character strings. 2013-12-31 12:24:52 +01:00
Frédéric Delanoy 13b9fee833 version: Use BOOL type where appropriate. 2013-11-26 10:16:03 +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
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +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
Francois Gouget 6a8ba3616c version: Fix printing NULL strings. 2011-09-20 16:21:39 +02:00
Alexandre Julliard 702941eae1 version: Check the Windows directory first in VerFindFileA/W. 2011-09-09 13:27:14 +02:00
André Hentschel 87ebfe5d18 version: Return VIF_CANNOTREADSRC if no source path could be generated. 2011-08-30 11:54:20 +02:00
André Hentschel 89beac4719 version: Don't initialize the variable twice (clang). 2011-07-14 14:45:09 +02:00
Marcus Meissner d8ed83e3c1 version: Merge all 3 C source files into one. 2011-05-25 16:35:05 +02:00
Alexandre Julliard 0136bc27d1 version: Allocate the full virtual size of the section when loading PE resources. 2011-03-14 12:13:39 +01: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 deaf2f593d version: Don't bother importing lz32, all the functions are in kernel32. 2010-09-24 15:45:55 +02: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 c94e7645a4 version: Don't include winbase16.h. 2010-05-27 17:04:12 +02:00
André Hentschel 89f3afb012 version: Fix typo in comment. 2010-05-03 17:34:24 +02:00
Alexandre Julliard 81575421a9 version: Support loading resources from both 32-bit and 64-bit PE binaries. 2010-03-25 10:54:50 +01: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
Alexandre Julliard 2b1ff01006 version: Improve detection of builtin libraries. 2010-02-17 09:41:20 +01:00
Alexandre Julliard b4679dc8fd version: Get rid of the 16-bit library loading code for builtins.
We have fake dlls for everything now.
2009-12-29 10:21:06 +01:00
Alexandre Julliard f6fc2dba07 version: Simplify the resource loading since we always load the same type and id now. 2009-10-01 13:58:24 +02:00
Alexandre Julliard 3ed5986dd6 version: Make ver.dll into a stand-alone 16-bit module. 2009-10-01 13:57:08 +02:00
Alexandre Julliard dbbc40affa version: Moved GetFileResourceSize16/GetFileResource16 to ver16.c. 2009-10-01 13:56:13 +02:00