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
Stefan Leichter
79cf64681e
Fixed GetFileVersionInfoSizeA tests on NT4 platform.
2004-11-09 20:11:07 +00:00
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
Ulrich Weigand
cc195924a6
Added check whether unaligned memory access is allowed.
...
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
François Gouget
5e5c52d477
DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names.
2000-12-19 23:31:52 +00:00
Ulrich Weigand
975914003b
Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines.
2000-12-19 03:38:53 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
e2222fd8ff
Use libwine and libwine_unicode directly from their build directory
...
instead of using symlinks.
2000-12-06 00:05:14 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
David Elliott
ea186796eb
Remove libXXXX.so.1.0 lines from .cvsignore files.
2000-11-30 19:57:34 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Alexandre Julliard
c95b1aa37f
Avoid linking with ntdll where possible.
2000-11-16 04:15:08 +00:00
Alexandre Julliard
0e44f63c9a
Replaced HEAP_strdup* and lstrcpynAtoW calls by exported functions.
2000-11-16 00:28:52 +00:00
Alexandre Julliard
27939f00fd
Start using import tables for dlls that can already support it.
2000-11-12 03:50:10 +00:00
Francois Gouget
da0acca7d8
Use DUMMYxxxNAME for anonymous struct/unions.
2000-11-10 22:34:39 +00:00
Alexandre Julliard
eb58e1d597
Declare debug channels in all dlls that need them; added imports of
...
ntdll where necessary.
2000-11-05 04:53:07 +00:00
Alexandre Julliard
b85a6adc58
Duplicate resource directory searching routines instead of calling
...
pe_resource.c internal functions.
Made GetFileResource16 and GetFileResourceSize16 callable directly
instead of defining extra internal functions.
2000-10-23 01:38:29 +00:00
Alexandre Julliard
81800b1f6d
Use a binary search to find entries in resource directories.
...
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Alexandre Julliard
83f52d11c1
Moved all Win16 definitions out of the standard Windows headers.
2000-09-26 22:20:14 +00:00
Alexandre Julliard
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00
Andreas Mohr
81f5f5c935
VIF_OUTOFSPACE and VIF_OUTOFMEM were reversed.
2000-08-07 02:34:47 +00:00
Alexandre Julliard
6c9d83aa4c
Added imports of user32/gdi32/kernel32 wherever necessary.
2000-08-03 00:04:24 +00:00
Alexandre Julliard
76d3671bee
Added 'owner' field to 16-bit spec files to specify the name of the
...
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Alexandre Julliard
6953d6756c
For dlls, derive SPEC_SRCS from MODULE and ALTNAMES.
2000-06-20 20:24:14 +00:00
Alexandre Julliard
5ea22474bb
Use the Unicode string functions from wine/unicode.h instead of the
...
crtdll ones.
2000-06-13 01:10:29 +00:00
Alexander Frink
84c28fc1b1
Prevent possible NULL pointer access.
2000-05-11 00:04:36 +00:00
Dimitrie O. Paun
cb18dbf9ce
Removed the last xmalloc calls.
2000-04-24 17:33:06 +00:00
Alexandre Julliard
84eb8334da
Added some missing import directives.
2000-04-19 16:54:02 +00:00
Alexandre Julliard
180a088beb
Moved PE header definitions to winnt.h where they belong.
2000-04-18 11:58:24 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Patrik Stridvall
fcfacb95a7
Added/fixed some documentation reported by winapi_check.
2000-03-24 20:46:04 +00:00
Alexandre Julliard
82a2b186e7
Added support for creating extra symlinks for .so files that contain
...
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard
d0edc5fecd
Moved dll-specific make rules to a separate Makedll.rules file.
2000-03-04 22:31:27 +00:00
Patrik Stridvall
1c57a3ba2d
Made some local functions static.
2000-02-25 20:55:54 +00:00
Alexandre Julliard
383da68cf9
Optimized debugging API to reduce code size.
2000-02-10 22:15:21 +00:00
Alexandre Julliard
318f4cefd2
Build most dlls as separate shared libraries.
2000-01-31 05:02:49 +00:00
Alexandre Julliard
54dc94ebf8
Merged dlls/ver into dlls/version.
2000-01-23 22:56:08 +00:00
Marcus Meissner
bade58f2d2
Added *.spec.c, *.spec.glue.s, *.glue.c to .cvsignore that need them.
2000-01-23 22:00:06 +00:00
Ulrich Weigand
f030d7527a
Fixed alignment problem with VERSION_INFO members.
2000-01-08 22:19:46 +00:00
Alexandre Julliard
6f715732e7
Make use of automatic ordinal allocation.
2000-01-01 22:06:18 +00:00