Commit Graph

11245 Commits

Author SHA1 Message Date
Alexandre Julliard ada5e6521b Implemented import libraries; on Unix we import the .def file
directly, on Mingw we use it to build the .a library.
2002-12-12 22:03:14 +00:00
Alexandre Julliard b42dc56fce Made stdcall decoration in .def files the default, and added -k option
to switch it off.
2002-12-12 04:06:28 +00:00
Marcus Meissner 3b5e2d1a08 Split out 16bit code into typelib16.c. 2002-12-12 03:56:36 +00:00
Francois Gouget f73e00873c Don't test whether Get{Currency,Date,Number,Time}FormatA writes as
much as possible in the buffer even if it is too small. This is
undocumented and does not match the Win9x behavior.
Skip Unicode tests on Win9x.
Fix usage of memset/sizeof/COUNTOF.
Fix signed/unsigned warnings (in MSVC) by using lstrlenA instead of
strlen.
2002-12-12 03:56:09 +00:00
Francois Gouget 2d4b1b9db0 In Get{Currency,Number}FormatA, SetLastError to
ERROR_INSUFFICIENT_BUFFER if the buffer is too small.
2002-12-12 03:55:45 +00:00
Francois Gouget 4b97e24380 Add stubs for missing APIs. 2002-12-12 03:55:05 +00:00
Francois Gouget 50c433bba9 Skip the Unicode tests on Win9x.
Test Get{System,Windows}Directory{A,W}(NULL, 0). This is a more
standard way to get len_with_null too.
Adapt the error code checks to take into account variations between
Win9x and NT.
2002-12-12 03:54:23 +00:00
Francois Gouget e948ad1fc7 Fix the error codes returned by DeleteFile{A,W} to match NT.
Adapt the DeleteFileA error code checks to take into account variations
between Win9x and NT.
Test DeleteFile(NULL).
Add tests for DeleteFileW.
On NT, calling _lclose on an already closed handle will cause memory
corruption and thus sometimes crash -> removed the relevant test.
Skip the Unicode tests when on Win9x.
2002-12-12 03:54:01 +00:00
Alexandre Julliard 72e1c64345 Added list of symbols to ignore by default in winebuild.
Made the -i option support removing ignored symbols too.
Removed the -noimport flag in spec files.
2002-12-12 02:20:47 +00:00
Alexandre Julliard 93f85cba0c Warning fix. 2002-12-12 02:17:56 +00:00
Robert Shearman 26781acb87 Implemented BindMoniker function. 2002-12-12 02:17:39 +00:00
Rolf Kalbermatter bc5d5d6b3b Fix shell32.ExtractIcon with A->W and 16 -> 32 calls. 2002-12-12 02:17:13 +00:00
Alberto Massari eddf9a02d2 Added stubs for FtpCommand[A|W]. 2002-12-12 02:16:54 +00:00
Francois Gouget 3773035a6d The Win9x platforms support WideCharToMultiByte and
MultiByteToWideChar but not lstrcmpW! So I implemented our own so
that we can have a meaningful test.
2002-12-12 02:16:29 +00:00
Jukka Heinonen 872f945044 Give DOS applications 638k of free conventional memory. 2002-12-12 02:16:02 +00:00
Marcus Meissner 5f9e3ffdb9 Serialize/deserialize all reftypes in VT_USERDEFINED. 2002-12-12 02:15:46 +00:00
Francois Gouget 21d92f8c8a Skip the Unicode tests (effectively all tests currently) on Win9x. 2002-12-12 02:15:28 +00:00
Alexandre Julliard 2a93f8505c Pass the -J option to wrc to avoid including installed headers. 2002-12-11 01:34:51 +00:00
Alexandre Julliard d2b651aed6 Wine internal includes should not be in the include path. 2002-12-11 01:31:56 +00:00
Dimitrie O. Paun 6f264583aa wrc should be aware of the location of the system headers. 2002-12-11 01:31:22 +00:00
Alexandre Julliard 4d9e7036b9 Updated to the latest version. 2002-12-11 01:30:41 +00:00
Alexandre Julliard 184c40a397 Try to open source file in current directory first in case it is a
generated file.
2002-12-11 01:30:14 +00:00
Francois Gouget bc8b8a2221 Generate proper dependencies for testlist.c. 2002-12-11 01:29:36 +00:00
Rok Mandeljc 72a2c37076 Fixed some characters. 2002-12-11 01:29:10 +00:00
Alexandre Julliard 05783b55e0 Added WINE_CHECK_DEFINE macro to factor out some repeated code. 2002-12-11 00:21:55 +00:00
György 'Nog' Jeney 4d6ba25d4b - Implement RtlLocalTimeToSystemTime and RtlSystemTimeToLocalTime.
- Use new time functions to reimplement FileTimeToLocalTime and
  LocalTimeToFileTime.
2002-12-11 00:19:56 +00:00
Francois Gouget 2837103fec Fix stderr redirection.
Simplify $infile existence test.
2002-12-11 00:18:11 +00:00
Francois Gouget 725b8b7fcf When reporting a test failure, only report the file name, not the full
path.
Merge winetest_set_trace_location with winetest_set_ok_location.
2002-12-11 00:17:42 +00:00
Francois Gouget d705b7c019 '"' is an illegal character on Win9x so we cannot test it.
GetShortPathNameA behaves differently on Win9x and NT: on NT it
succeeds even if not all path components exist, as long as they are
already in the 8.3 format.
Wine apparently implements the NT behavior thus many todo_wine went
away.
Fixed some error code checks to take into account all possible return
values.
GetTempFileNameA appears to only use the lower 16bits of the id on
Win95 (and never returns more than 16 bits on other platforms).
GetLongPathNameA is missing on some Windows versions.
Modified the GetTempPath tests to make sure they return the expected
value. Removed the redundant tests (e.g. if buf[0]==0 then buf!="foo",
no need to test both).
The 'len_with_null - 1' case is not testable as the Windows behavior
varies too much between versions.
We cannot check whether Windows touches the buffer either as this
heavily depends on the Windows version and specific circumstances of
the call.
Finally NT4 sometimes exaggerates the required buffer size.
2002-12-11 00:16:31 +00:00
Sylvain Petreolle 00f5094a57 Implement $V in builtin PROMPT. 2002-12-11 00:15:20 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Alexandre Julliard 3144b3c85d -DSTRICT is now the default behavior. 2002-12-10 22:49:15 +00:00
Steven Edwards 69b6786127 Alpha porting fix. 2002-12-10 22:48:48 +00:00
Alberto Massari 067a981233 Added parameters to NtXxxPort functions prototypes. 2002-12-10 20:04:40 +00:00
Vincent Béron c8e9cd9656 Add a definition for STRICT. 2002-12-10 20:02:17 +00:00
Jeff Smith 9bd21c4a6c Added definitions for REG_QWORD and REG_QWORD_LITTLE_ENDIAN. 2002-12-10 19:59:33 +00:00
Jukka Heinonen be1c6deb18 Move int21 country information handling to winedos.
Improve country information handling.
Move collate table to upper memory.
2002-12-10 19:58:39 +00:00
Dimitrie O. Paun 647c1a33c8 Gracefully degrade to getopt if getopt_long does not exist. 2002-12-10 19:16:24 +00:00
Vincent Béron 9c627aae6b Suppress some signed/unsigned comparison warning. 2002-12-10 19:10:46 +00:00
Rolf Kalbermatter 58c04dafae Change the return value for ExtractIconEx from HICON to UINT and make
the function call directly user32.PrivateExtractIconEx.
2002-12-10 19:10:11 +00:00
Rolf Kalbermatter 2dcb751aa7 - Modify ICO_ExtractIconExW to:
return more compliant values for usage in PrivateExtractIcons and PrivateExtractIconEx
    accept and fill in the icon identifier array correctly if provided
    allow to retrieve both small and large icons together.
- Simplify PrivateExtraxtIcons
- Modify PrivateExtractIconExW to:
   use compatible signature to ExtractIconEx in shell32 which it really is directly
     as tested on W2K by calling both functions with the same parameters
   directly call internal extraction function
   fix error when requesting 1 icon for both sizes
2002-12-10 19:09:45 +00:00
Dimitrie O. Paun 9c50730354 Get rid of generic notification support in comctrl32. The MS docs were
misleading in that all controls send these notifications. They don't.
2002-12-10 19:07:59 +00:00
Dimitrie O. Paun 5720007370 - Plug a bunch of memory leaks.
- Make ranges_destroy behave more like free().
- Fix messed up indentation from tabs set to 4 chars.
- Updated the documentation.
2002-12-10 19:07:27 +00:00
Chris Morgan 50bd40c775 Reset the oss device before we try to close it. Fixes hang on startup
of Starcraft due to oss device being in a bad state.
2002-12-10 19:06:51 +00:00
Jason Edmeades d197d40295 VarAdd support for integers. 2002-12-10 19:06:28 +00:00
Dimitrie O. Paun b459bb8fb3 Update Wine FAQ to latest revision.
- Better Bochs/Plex86 info
  - Add Q&A about upgrading configuration
  - Replace Deneba's Canvas 7 with Ability Office
From entries submitted by Tom Wickline.
2002-12-10 19:06:05 +00:00
Mike Hearn 9ea673a4d8 Make WM_MOUSEHOVER coordinates client relative. 2002-12-10 19:05:12 +00:00
Steven Edwards 31e4629085 Alpha porting fixes. 2002-12-10 19:04:45 +00:00
Alexandre Julliard 2cd4ed2e15 Replaced 'ignore' spec file directive by the -i option. 2002-12-07 23:54:12 +00:00
Alexandre Julliard 9b1df412f4 Don't build tests by default just yet. 2002-12-07 23:52:43 +00:00