wine
19 years agoUse debugstr_a to prevent a buffer overflow when debugging.
Aric Stewart [Wed, 19 Oct 2005 18:28:35 +0000 (18:28 +0000)] 
Use debugstr_a to prevent a buffer overflow when debugging.

19 years agoAdd a test for SetMetaFileBitsEx, make it pass under Wine.
Dmitry Timoshkov [Wed, 19 Oct 2005 18:28:14 +0000 (18:28 +0000)] 
Add a test for SetMetaFileBitsEx, make it pass under Wine.

19 years agoSet the file_part for \\?\ long file names too.
James Hawkins [Tue, 18 Oct 2005 14:12:25 +0000 (14:12 +0000)] 
Set the file_part for \\?\ long file names too.

19 years agoUse appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
Dmitry Timoshkov [Tue, 18 Oct 2005 14:11:17 +0000 (14:11 +0000)] 
Use appropriate DDE APIs (ANSI or unicode) for ShellExecuteA/W, Excel
2000 depends on that.

19 years agoLoadLibrary should ignore trailing spaces in the library name.
Vitaliy Margolen [Tue, 18 Oct 2005 14:10:56 +0000 (14:10 +0000)] 
LoadLibrary should ignore trailing spaces in the library name.

19 years agoImplement GetContainingTypelib_{Proxy,Stub}.
Huw Davies [Tue, 18 Oct 2005 14:09:58 +0000 (14:09 +0000)] 
Implement GetContainingTypelib_{Proxy,Stub}.

19 years agoWhen a dispinterface isn't dual, we should return
Huw Davies [Tue, 18 Oct 2005 14:09:47 +0000 (14:09 +0000)] 
When a dispinterface isn't dual, we should return
TYPE_E_ELEMENTNOTFOUND when trying to get index -1.

19 years agoMake drive type an advanced option.
Ivan Leo Puoti [Tue, 18 Oct 2005 12:02:51 +0000 (12:02 +0000)] 
Make drive type an advanced option.

19 years agoReturn 0 length line as 0 length line for EM_GETLINE.
Vitaliy Margolen [Tue, 18 Oct 2005 12:01:38 +0000 (12:01 +0000)] 
Return 0 length line as 0 length line for EM_GETLINE.

19 years agoWine's behavior is correct now.
Paul Vriens [Tue, 18 Oct 2005 12:00:59 +0000 (12:00 +0000)] 
Wine's behavior is correct now.

19 years agoAdded a __wine_dbg_set_channel_flags function to allow changing flags
Alexandre Julliard [Tue, 18 Oct 2005 10:49:20 +0000 (10:49 +0000)] 
Added a __wine_dbg_set_channel_flags function to allow changing flags
from inside the code.

19 years agoWhen doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
Frank Richter [Tue, 18 Oct 2005 10:45:18 +0000 (10:45 +0000)] 
When doing A->W WM_GETTEXTLENGTH, use WM_GETTEXT behind the scenes to
obtain an exact length.

19 years agoRevert previous change, OF_EXIST really returns HFILE_ERROR.
Alexandre Julliard [Tue, 18 Oct 2005 10:39:15 +0000 (10:39 +0000)] 
Revert previous change, OF_EXIST really returns HFILE_ERROR.

19 years agoMake sure the component string is nul terminated.
Mike McCormack [Tue, 18 Oct 2005 10:36:38 +0000 (10:36 +0000)] 
Make sure the component string is nul terminated.

19 years agoUse ShellLink_QueryInterface to return the right interface in
Mike McCormack [Tue, 18 Oct 2005 10:36:03 +0000 (10:36 +0000)] 
Use ShellLink_QueryInterface to return the right interface in
IShellLink_Constructor.

19 years agoShow desktop mode disabled if the Desktop registry value exists but
Rein Klazes [Tue, 18 Oct 2005 10:35:41 +0000 (10:35 +0000)] 
Show desktop mode disabled if the Desktop registry value exists but
starts with N,n,F,f or 0. This agrees with the logic in x11drv.

19 years agoAdd a test for CopyMetaFile, make it pass under Wine.
Dmitry Timoshkov [Tue, 18 Oct 2005 10:35:14 +0000 (10:35 +0000)] 
Add a test for CopyMetaFile, make it pass under Wine.

19 years agoCorrect AtlModuleAddTermFunc prototype.
Vincent Béron [Tue, 18 Oct 2005 10:34:21 +0000 (10:34 +0000)] 
Correct AtlModuleAddTermFunc prototype.

19 years agoInclude winuser.h so the code compiles cleanly on windows using
Robert Reif [Mon, 17 Oct 2005 09:24:50 +0000 (09:24 +0000)] 
Include winuser.h so the code compiles cleanly on windows using
windows headers.

19 years agoRemove unspecific FIXME.
Uwe Bonnes [Mon, 17 Oct 2005 09:23:22 +0000 (09:23 +0000)] 
Remove unspecific FIXME.

19 years agoFix one test failing on all windows versions.
Vitaliy Margolen [Mon, 17 Oct 2005 09:23:11 +0000 (09:23 +0000)] 
Fix one test failing on all windows versions.

19 years agoIgnore empty environment strings.
Alexandre Julliard [Mon, 17 Oct 2005 08:56:41 +0000 (08:56 +0000)] 
Ignore empty environment strings.

19 years agoRemove "Automatically detect windows version". Default to win2k.
Vitaliy Margolen [Mon, 17 Oct 2005 08:55:45 +0000 (08:55 +0000)] 
Remove "Automatically detect windows version". Default to win2k.

19 years agoEnumerate only requested modes by taking into account surface desc
Christian Costa [Mon, 17 Oct 2005 08:55:27 +0000 (08:55 +0000)] 
Enumerate only requested modes by taking into account surface desc
when present.

19 years agoFix installable driver removal.
Christian Costa [Mon, 17 Oct 2005 08:55:05 +0000 (08:55 +0000)] 
Fix installable driver removal.

19 years agoMSDN states that the pszDisplayName member of BROWSEINFO is assumed to
Aric Stewart [Mon, 17 Oct 2005 08:54:53 +0000 (08:54 +0000)] 
MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.

19 years agoioctl 440F only returns non mapped drives (for now).
Eric Pouech [Mon, 17 Oct 2005 08:54:28 +0000 (08:54 +0000)] 
ioctl 440F only returns non mapped drives (for now).

19 years agoIn parse_mount_entries return the loop device instead of the mounted
Alexandre Julliard [Thu, 13 Oct 2005 14:32:22 +0000 (14:32 +0000)] 
In parse_mount_entries return the loop device instead of the mounted
file for loop mounts.

19 years agoReport the correct version in the About dialog.
Alexandre Julliard [Thu, 13 Oct 2005 14:24:52 +0000 (14:24 +0000)] 
Report the correct version in the About dialog.

19 years agoFix "Remove application" for applications that had some custom
Vitaliy Margolen [Thu, 13 Oct 2005 13:44:38 +0000 (13:44 +0000)] 
Fix "Remove application" for applications that had some custom
settings.

19 years agoFix unnecessary (and harmful) repeated statement.
Krzysztof Foltman [Thu, 13 Oct 2005 13:44:14 +0000 (13:44 +0000)] 
Fix unnecessary (and harmful) repeated statement.

19 years agoAllow cube textures to be updated.
Oliver Stieber [Thu, 13 Oct 2005 13:44:03 +0000 (13:44 +0000)] 
Allow cube textures to be updated.

19 years agoRemoved incorrect process queue check in wait_input_idle.
Alexandre Julliard [Wed, 12 Oct 2005 21:10:52 +0000 (21:10 +0000)] 
Removed incorrect process queue check in wait_input_idle.

19 years agoChanged the way that 24bit and 32bit Adapter and Buffer formats are
Oliver Stieber [Wed, 12 Oct 2005 21:07:27 +0000 (21:07 +0000)] 
Changed the way that 24bit and 32bit Adapter and Buffer formats are
reported allowing EVE online to get past the startup screen and
allowing the Fur demo (amongst others) to run in a window, as under
windows, instead of in fullscreen mode.

19 years agoInitialize a bunch of dc values to their default before enumerating an
Huw Davies [Wed, 12 Oct 2005 21:06:20 +0000 (21:06 +0000)] 
Initialize a bunch of dc values to their default before enumerating an
enhmetafile.
Add tests for these and for some values that don't get reset.

19 years ago- Style trace information is written to different debug channel (it's
Krzysztof Foltman [Wed, 12 Oct 2005 21:05:52 +0000 (21:05 +0000)] 
- Style trace information is written to different debug channel (it's
  not very useful anymore, reference counting looks correct for now).
- The document dump contains the character position of the end-of-text
  mark.

19 years agoDisable depth test when there is no Z buffer attached.
Christian Costa [Wed, 12 Oct 2005 21:05:40 +0000 (21:05 +0000)] 
Disable depth test when there is no Z buffer attached.
Initialise texture states at creation instead of when tex name is
generated.

19 years agoAdd checks for ARB_vertex_program before allowing vertex shaders to
Oliver Stieber [Tue, 11 Oct 2005 20:27:54 +0000 (20:27 +0000)] 
Add checks for ARB_vertex_program before allowing vertex shaders to
use ARB_vertex_program.

19 years agoMake user test loadable on NT4.
Stefan Leichter [Tue, 11 Oct 2005 20:27:27 +0000 (20:27 +0000)] 
Make user test loadable on NT4.

19 years agoNT3.51 returns ERROR_MORE_DATA.
Detlef Riekenberg [Tue, 11 Oct 2005 19:58:38 +0000 (19:58 +0000)] 
NT3.51 returns ERROR_MORE_DATA.

19 years agoTests commented out and FIXME-ed long ago now pass.
Mike O'Regan [Tue, 11 Oct 2005 19:57:17 +0000 (19:57 +0000)] 
Tests commented out and FIXME-ed long ago now pass.

19 years agoFixed encoding of non-ASCII chars.
Phil Krylov [Tue, 11 Oct 2005 19:56:03 +0000 (19:56 +0000)] 
Fixed encoding of non-ASCII chars.

19 years agoAdd a safety check for number of control points in PolyBezierTo.
Dmitry Timoshkov [Tue, 11 Oct 2005 19:55:24 +0000 (19:55 +0000)] 
Add a safety check for number of control points in PolyBezierTo.

19 years agoRename struct option in order to avoid a conflict with wine/port.h.
Dmitry Timoshkov [Tue, 11 Oct 2005 19:55:11 +0000 (19:55 +0000)] 
Rename struct option in order to avoid a conflict with wine/port.h.

19 years agoIf the meta/clip intersection (Rao) region doesn't exist, return
Huw Davies [Tue, 11 Oct 2005 19:55:01 +0000 (19:55 +0000)] 
If the meta/clip intersection (Rao) region doesn't exist, return
either the meta or clip region if they do exist.
Remove the wine_todo's.

19 years agoUpdate German and Hungarian keyboard layouts to better match X11
Dmitry Timoshkov [Tue, 11 Oct 2005 19:27:22 +0000 (19:27 +0000)] 
Update German and Hungarian keyboard layouts to better match X11
ones.

19 years agoMake sure not to strcpy from a NULL default value pointer.
Mike McCormack [Tue, 11 Oct 2005 19:27:03 +0000 (19:27 +0000)] 
Make sure not to strcpy from a NULL default value pointer.

19 years agoTest that the FO_COPY action creates output directories if they don't
James Hawkins [Tue, 11 Oct 2005 19:26:47 +0000 (19:26 +0000)] 
Test that the FO_COPY action creates output directories if they don't
exist.

19 years agoFix PrimaryBufferImpl pointer to deleted DirectSoundImpl.
Robert Reif [Tue, 11 Oct 2005 19:26:37 +0000 (19:26 +0000)] 
Fix PrimaryBufferImpl pointer to deleted DirectSoundImpl.

19 years ago- fix first two arguments to 'FindExecutableA' (input strings instead
Lionel Ulmer [Tue, 11 Oct 2005 19:26:20 +0000 (19:26 +0000)] 
- fix first two arguments to 'FindExecutableA' (input strings instead
  of pointers)
- fix last argument to 'FindExecutableW' (it's an output string)

19 years agoRemoved non-portable ldconfig invocation and misleading
Alexandre Julliard [Mon, 10 Oct 2005 20:08:09 +0000 (20:08 +0000)] 
Removed non-portable ldconfig invocation and misleading
warning. People who need the extra hand-holding should use
wineinstall.

19 years agoAdd an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal.
Lionel Ulmer [Mon, 10 Oct 2005 19:53:37 +0000 (19:53 +0000)] 
Add an assert if both arguments to DD_STRUCT_COPY_BYSIZE are equal.

19 years agoGetRandomRgn only returns the SYSRGN in screen coordinates.
Huw Davies [Mon, 10 Oct 2005 19:53:22 +0000 (19:53 +0000)] 
GetRandomRgn only returns the SYSRGN in screen coordinates.
Add a bunch of tests for GetRandomRgn.

19 years agoRemoved buffer overrun error (incrementing output pointer one time too
Krzysztof Foltman [Mon, 10 Oct 2005 19:52:59 +0000 (19:52 +0000)] 
Removed buffer overrun error (incrementing output pointer one time too
much in non-CRLF mode) making KeyNote fail to install.

19 years agoReport unrecognized opcodes as FIXMEs instead of TRACEs so that they
Oliver Stieber [Mon, 10 Oct 2005 19:52:49 +0000 (19:52 +0000)] 
Report unrecognized opcodes as FIXMEs instead of TRACEs so that they
are easier to spot and fix.

19 years agoAdd current directory to default include path.
Alexandre Julliard [Mon, 10 Oct 2005 18:07:34 +0000 (18:07 +0000)] 
Add current directory to default include path.

19 years agoDefault search path for an include file should be based on the path of
Alexandre Julliard [Mon, 10 Oct 2005 18:06:50 +0000 (18:06 +0000)] 
Default search path for an include file should be based on the path of
the parent source file, not the current directory.

19 years agoAdded PHT time zone.
Vijay Kiran Kamuju [Mon, 10 Oct 2005 18:03:56 +0000 (18:03 +0000)] 
Added PHT time zone.

19 years agoDon't create old unlocalized directories in wineprefixcreate.
Richard Cohen [Mon, 10 Oct 2005 18:03:25 +0000 (18:03 +0000)] 
Don't create old unlocalized directories in wineprefixcreate.

19 years agoThe previous implementation was a workaround for off-by-one bug in
Krzysztof Foltman [Mon, 10 Oct 2005 18:00:52 +0000 (18:00 +0000)] 
The previous implementation was a workaround for off-by-one bug in
ME_RunOfsFromCharOfs, this one relies on correct behavior of that
function introduced by the previous patch.

19 years agoFix _ismbblead test to pass on windows.
Vitaliy Margolen [Mon, 10 Oct 2005 18:00:20 +0000 (18:00 +0000)] 
Fix _ismbblead test to pass on windows.

19 years agoIn case of failure and OF_EXIST is specified, return FALSE instead of
Maxime Bellengé [Mon, 10 Oct 2005 11:19:31 +0000 (11:19 +0000)] 
In case of failure and OF_EXIST is specified, return FALSE instead of
HFILE_ERROR.

19 years agoFixed changing console's windows.
Eric Pouech [Mon, 10 Oct 2005 11:18:46 +0000 (11:18 +0000)] 
Fixed changing console's windows.

19 years agoFixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
Krzysztof Foltman [Mon, 10 Oct 2005 11:18:29 +0000 (11:18 +0000)] 
Fixed EOL detection in ME_RunOfsFromCharOfs in 1.0 emulation mode
(necessary for a non-workaround version of EM_POSFROMCHAR).

19 years agoMake window uses black brush for background.
Christian Costa [Mon, 10 Oct 2005 10:44:54 +0000 (10:44 +0000)] 
Make window uses black brush for background.
Check format type of video stream.

19 years agoAdd trace to DefineDosDevice.
Christian Costa [Mon, 10 Oct 2005 10:44:35 +0000 (10:44 +0000)] 
Add trace to DefineDosDevice.

19 years ago- do not pass private data to the application but a copy of it
Lionel Ulmer [Mon, 10 Oct 2005 10:44:23 +0000 (10:44 +0000)] 
- do not pass private data to the application but a copy of it
- add some more traces

19 years agoFix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
Krzysztof Foltman [Mon, 10 Oct 2005 10:44:01 +0000 (10:44 +0000)] 
Fix a bug in 1.0 emulation mode in EM_LINELENGTH (which broke PTE
installer).

19 years agoSet the version we report in wmc and wrc from the global Wine
Alexandre Julliard [Mon, 10 Oct 2005 10:43:41 +0000 (10:43 +0000)] 
Set the version we report in wmc and wrc from the global Wine
version.

19 years agoFix 1.0 emulation mode in ME_GetTextW.
Krzysztof Foltman [Mon, 10 Oct 2005 10:30:25 +0000 (10:30 +0000)] 
Fix 1.0 emulation mode in ME_GetTextW.

19 years agoDon't hardcode "windows" directory.
Richard Cohen [Mon, 10 Oct 2005 10:29:53 +0000 (10:29 +0000)] 
Don't hardcode "windows" directory.
Make "My Pictures" etc. point to $HOME.

19 years agoFix an error message.
Richard Cohen [Mon, 10 Oct 2005 10:29:24 +0000 (10:29 +0000)] 
Fix an error message.

19 years agoDirectSoundDevice reference count cleanup.
Robert Reif [Mon, 10 Oct 2005 10:29:13 +0000 (10:29 +0000)] 
DirectSoundDevice reference count cleanup.

19 years agoUpdate the Bulgarian resource file.
Milko Krachounov [Mon, 10 Oct 2005 10:28:59 +0000 (10:28 +0000)] 
Update the Bulgarian resource file.

19 years agoPass characters to get_file_name() helper, not bytes.
Marcus Meissner [Mon, 10 Oct 2005 10:28:48 +0000 (10:28 +0000)] 
Pass characters to get_file_name() helper, not bytes.

19 years ago- pass a copy of the surface description to the application
Lionel Ulmer [Mon, 10 Oct 2005 10:28:05 +0000 (10:28 +0000)] 
- pass a copy of the surface description to the application
- increase the surface reference count when giving the surface pointer
  to the caller

19 years agoFix dsound8 test to deal with an installed but unregistered
Robert Reif [Mon, 10 Oct 2005 10:27:50 +0000 (10:27 +0000)] 
Fix dsound8 test to deal with an installed but unregistered
IDirectSound8.

19 years agoEnsure we always have a title for the .hlp file.
Eric Pouech [Mon, 10 Oct 2005 10:27:37 +0000 (10:27 +0000)] 
Ensure we always have a title for the .hlp file.

19 years agoHandle error conditions for print.
Eric Pouech [Mon, 10 Oct 2005 10:27:22 +0000 (10:27 +0000)] 
Handle error conditions for print.

19 years agoFixed mmioOpenW flags for playback.
Eric Pouech [Mon, 10 Oct 2005 10:27:05 +0000 (10:27 +0000)] 
Fixed mmioOpenW flags for playback.

19 years ago- fixed mouse double click and wheeling
Eric Pouech [Mon, 10 Oct 2005 10:26:46 +0000 (10:26 +0000)] 
- fixed mouse double click and wheeling
- also handling third mouse button (if any)
- full support for control/shift modifier

19 years agoAdd a --windows option for converting a Unix path to a long Windows
Francois Gouget [Mon, 10 Oct 2005 10:24:53 +0000 (10:24 +0000)] 
Add a --windows option for converting a Unix path to a long Windows
path.
Fix the description of --long and --short. They are only garanteed to
work on Windows paths though they will often successfully convert Unix
paths to Windows paths too.

19 years agoSet the widl version to be the same as the global package version.
Alexandre Julliard [Sat, 8 Oct 2005 10:37:09 +0000 (10:37 +0000)] 
Set the widl version to be the same as the global package version.

19 years agoSet the winepath version to be the same as the global package
Alexandre Julliard [Sat, 8 Oct 2005 10:36:50 +0000 (10:36 +0000)] 
Set the winepath version to be the same as the global package
version.

19 years agoIn DIALOG_FixChildrenOnChangeFocus make sure the button is a push
Alexandre Julliard [Sat, 8 Oct 2005 10:36:10 +0000 (10:36 +0000)] 
In DIALOG_FixChildrenOnChangeFocus make sure the button is a push
button before making it the default.

19 years agoFunction keys now work in curses mode.
Eric Pouech [Sat, 8 Oct 2005 10:35:16 +0000 (10:35 +0000)] 
Function keys now work in curses mode.

19 years agoAdd a few tests that fail under wine.
Vitaliy Margolen [Sat, 8 Oct 2005 10:34:58 +0000 (10:34 +0000)] 
Add a few tests that fail under wine.

19 years agoForward the functions DllRegisterServer and DllUnregisterServer of
Stefan Leichter [Sat, 8 Oct 2005 10:34:41 +0000 (10:34 +0000)] 
Forward the functions DllRegisterServer and DllUnregisterServer of
rsabase.dll to rsaenh.dll.

19 years agoMove all Unicode and Ansi string types to the %str and %wstr
Francois Gouget [Sat, 8 Oct 2005 10:33:54 +0000 (10:33 +0000)] 
Move all Unicode and Ansi string types to the %str and %wstr
sections.

19 years agoSend verbose info to different debug channels (richedit_check for
Krzysztof Foltman [Sat, 8 Oct 2005 10:33:44 +0000 (10:33 +0000)] 
Send verbose info to different debug channels (richedit_check for
output from offset checker, richedit_lists for the document list
dumps).

19 years agoPagesetup dialog fix.
Jonathan Ernst [Fri, 7 Oct 2005 15:02:03 +0000 (15:02 +0000)] 
Pagesetup dialog fix.

19 years agoFirst creation of registry entries missed AppData.
Jonathan Ernst [Fri, 7 Oct 2005 15:01:32 +0000 (15:01 +0000)] 
First creation of registry entries missed AppData.

19 years agoFix initial position for files opened with O_APPEND flag.
Vitaliy Margolen [Fri, 7 Oct 2005 15:01:15 +0000 (15:01 +0000)] 
Fix initial position for files opened with O_APPEND flag.

19 years agoDon't crash if pDDSD is NULL on DirectDrawSurface::Lock.
Raphael Junqueira [Fri, 7 Oct 2005 15:01:02 +0000 (15:01 +0000)] 
Don't crash if pDDSD is NULL on DirectDrawSurface::Lock.

19 years agoPut Wine version information in all the man pages.
Alexandre Julliard [Thu, 6 Oct 2005 16:10:01 +0000 (16:10 +0000)] 
Put Wine version information in all the man pages.

19 years agoAdded global rules for man pages.
Alexandre Julliard [Thu, 6 Oct 2005 16:06:04 +0000 (16:06 +0000)] 
Added global rules for man pages.

19 years agoAdded a critical section around the fd cache until the race conditions
Alexandre Julliard [Thu, 6 Oct 2005 12:31:36 +0000 (12:31 +0000)] 
Added a critical section around the fd cache until the race conditions
can be fixed properly.

19 years agoAdded AtlModuleAddTermFunc implementation.
Jacek Caban [Thu, 6 Oct 2005 12:29:02 +0000 (12:29 +0000)] 
Added AtlModuleAddTermFunc implementation.

19 years agoAdded security.h.
Peter Lemenkov [Thu, 6 Oct 2005 12:28:46 +0000 (12:28 +0000)] 
Added security.h.

19 years agoIgnore the gasp table when we have no hinter.
Huw Davies [Thu, 6 Oct 2005 12:28:19 +0000 (12:28 +0000)] 
Ignore the gasp table when we have no hinter.