Commit Graph

109 Commits

Author SHA1 Message Date
Dmitry Timoshkov
55cc226d82 Set last error values compatible with Win9x implementation
of GetFileVersionInfoSize, Quicken installer depends on it.
2004-08-31 17:31:40 +00:00
Dmitry Timoshkov
97551bcef5 Try to avoid loading 16-bit DLLs into memory for accessing version
info, this might lead to undesired side effects like loading a bunch
of other 16-bit DLLs.
2004-08-26 18:10:24 +00:00
Alexandre Julliard
b459952144 Avoid some non-portable makefile constructs, and get rid of the
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Stefan Leichter
ec596c06e9 Fixed tests of GetFileVersionInfoSizeA for win98 / XP. 2004-06-28 23:51:35 +00:00
Eric Pouech
df93f2eeee GetModuleFileName[AW] doesn't terminate the string if the buffer is
too small.
2004-05-19 03:22:55 +00:00
Alexandre Julliard
82398e10c1 Set last error to 0 on success in VERSION_GetFileVersionInfo_PE now
that LoadLibraryW doesn't do this anymore.
2004-04-12 23:33:08 +00:00
Hans Leidekker
eabafe779c Link to ntdll. 2004-04-09 19:05:47 +00:00
Stefan Leichter
09733db5c5 Added tests for GetFileVersionInfoSizeA. 2004-04-05 22:54:03 +00:00
Stefan Leichter
1ce19853c1 Moved implementation of GetFileVersionInfoSize from ascii to unicode,
fixed failing, crashing test cases.
2004-04-05 22:51:37 +00:00
Alexandre Julliard
9e4ed6460c .spec.c files are no longer used for 32-bit dlls. 2004-03-24 03:36:44 +00:00
Robert Shearman
bcc80032ab Allow VerQueryValueW to query 16-bit resources. 2004-01-28 20:06:14 +00:00
Alexandre Julliard
402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Rolf Kalbermatter
76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Dimitrie O. Paun
fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Dimitrie O. Paun
b99ab2dd18 Merge documentation/status/version into the version code. 2003-09-27 02:22:21 +00:00
Alexandre Julliard
e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Steven Edwards
e426e9a785 Fix for building lzexpand with Mingw or MS_VC++ includes 2003-04-30 17:15:06 +00:00
Alexandre Julliard
e048adab83 List 16-bit spec files explicitly to avoid problems with some versions
of make.
2003-03-23 20:00:02 +00:00
Alexandre Julliard
114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
a9c51cb60b Replaced forwards by normal function declarations. 2003-03-17 00:17:00 +00:00
Tony Lambregts
2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Dimitrie O. Paun
297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Alexandre Julliard
dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard
c728efc3c9 Added --disable-win16 configure option. 2002-10-02 02:34:09 +00:00
Patrik Stridvall
d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
François Gouget
1dc62b7ebf NT sets the error code to ERROR_RESOURCE_DATA_NOT_FOUND if the file
exists but does not contain version information.
2002-08-14 21:04:54 +00:00
Alexandre Julliard
d1b43b8da3 Removed workaround for 16-bit loader bug. 2002-07-08 19:44:53 +00:00
Alexandre Julliard
77afd6c47e Made some more spec file entries optional or unnecessary.
Fixed a few DLLName/DLLFileName mismatches.
2002-06-21 19:15:45 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
2ab7625934 Removed most imports of ntdll since we no longer import Wine internal
functions from there.
2002-05-17 03:37:12 +00:00
Alexandre Julliard
ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard
67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard
32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Dmitry Timoshkov
0ca9bba60b Always call LoadLibrary.
Workaround a broken behaviour of the 16-bit loader.
2002-04-02 02:45:09 +00:00
Alexandre Julliard
c1bfca04e1 Changed builtin dlls file names to make it clear they are not normal
Unix libraries, and install them in $libdir/wine instead of $libdir to
avoid name conflicts in /usr/lib.
2002-03-20 22:19:06 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Patrik Stridvall
74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Patrik Stridvall
33929be46f - Made sure that the files that contains the declarations
of implementated functions are included.
- Corrected mismatching prototypes.
- Cleaned up the include section.
2001-07-18 21:04:23 +00:00
Patrik Stridvall
044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall
8b216b3d02 Documentation ordinal fixes. 2001-06-19 18:20:47 +00:00
Andreas Mohr
bc35c50661 Remove unneeded WINAPI. 2001-06-06 21:06:12 +00:00
Francois Gouget
e76218dd61 Add '\n' at the end of traces. 2001-05-09 17:31:31 +00:00
Francois Gouget
a7580c53c7 ConvertVersionInfo32To16: the end of the child list may also be marked
by a 0-byte child.
2001-03-23 19:07:35 +00:00
Dmitry Timoshkov
f7e7cd4aec Truncate version data if provided buffer is not large enough. 2001-03-19 19:15:36 +00:00
Dmitry Timoshkov
07b6e6e62e Fixed prototype of GetFileVersionInfoA/W. 2001-03-16 16:42:20 +00:00
Dmitry Timoshkov
4868e715a7 Return from GetFileVersionInfo(Size) if specified file found, but
VS_VERSION_INFO resource not.
2001-03-14 17:26:16 +00:00
Dmitry Timoshkov
8f73cd14ce Add version information (16 and 32 bit) to core built-in dlls:
krnl386.exe/kernel32.dll, user.exe/user32.dll, gdi.exe/gdi32.dll.
Provide a way for reading version information using standard API:
GetFileVersionInfoSize -> GetFileVersionInfo -> VerQueryValue.
2001-02-23 20:37:13 +00:00
Lawson Whitney
3437915594 If VerQueryValueA is called with a PE resource, translate the call to
VerQueryValueW.
2001-02-15 21:26:29 +00:00
Andreas Mohr
50ea1101c8 Code was checking for 0 or HFILE_ERROR instead of negative error
values.
2001-01-02 19:56:21 +00:00