wine
23 years agoRelease 20010112. wine-20010112
Alexandre Julliard [Sat, 13 Jan 2001 02:43:24 +0000 (02:43 +0000)] 
Release 20010112.

23 years agoAdded missing WIN_ReleaseWndPtr.
Alexandre Julliard [Sat, 13 Jan 2001 01:01:35 +0000 (01:01 +0000)] 
Added missing WIN_ReleaseWndPtr.

23 years agowinmm.dll can now be properly separated.
Alexandre Julliard [Sat, 13 Jan 2001 01:01:00 +0000 (01:01 +0000)] 
winmm.dll can now be properly separated.

23 years agoWarning fix.
Francois Gouget [Sat, 13 Jan 2001 01:00:25 +0000 (01:00 +0000)] 
Warning fix.

23 years agoFixes for various underrun-related problems. Also added a mechanism
Ove Kaaven [Sat, 13 Jan 2001 01:00:00 +0000 (01:00 +0000)] 
Fixes for various underrun-related problems. Also added a mechanism
for the sound driver to request that a Stop should close and reopen
the device.

23 years agoRemove multimedia timers from the service thread, use a separate thread
Ove Kaaven [Sat, 13 Jan 2001 00:27:50 +0000 (00:27 +0000)] 
Remove multimedia timers from the service thread, use a separate thread
instead.

23 years agoIn STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
François Gouget [Sat, 13 Jan 2001 00:27:13 +0000 (00:27 +0000)] 
In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
buffer.
Pass a buffer of sufficient size to TTM_GETTEXTA.

23 years agoWarning fixes.
Gavriel State [Fri, 12 Jan 2001 23:18:22 +0000 (23:18 +0000)] 
Warning fixes.

23 years agoImplemented EnumProtocolA/W.
Stefan Leichter [Fri, 12 Jan 2001 23:15:54 +0000 (23:15 +0000)] 
Implemented EnumProtocolA/W.

23 years agoNetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll.
Andreas Mohr [Fri, 12 Jan 2001 23:07:11 +0000 (23:07 +0000)] 
NetBSD 1.5 is lacking ecvt, fcvt, gcvt for crtdll.

23 years agoWorkaround for SuSE 7 2.2.16 kernel bug.
Andreas Mohr [Fri, 12 Jan 2001 23:02:39 +0000 (23:02 +0000)] 
Workaround for SuSE 7 2.2.16 kernel bug.

23 years agoGuard against incoming string of NULL in WM_SETTEXT.
James Hatheway [Fri, 12 Jan 2001 23:01:41 +0000 (23:01 +0000)] 
Guard against incoming string of NULL in WM_SETTEXT.

23 years agoTurn crtdll into forwards to msvcrt.
Jon Griffiths [Fri, 12 Jan 2001 20:42:06 +0000 (20:42 +0000)] 
Turn crtdll into forwards to msvcrt.

23 years agoAdded some exception handling functions.
Jon Griffiths [Fri, 12 Jan 2001 20:41:03 +0000 (20:41 +0000)] 
Added some exception handling functions.

23 years agoFixed mistyped variable name in MSVCRT__fpclass().
Gerald Pfeifer [Fri, 12 Jan 2001 20:30:41 +0000 (20:30 +0000)] 
Fixed mistyped variable name in MSVCRT__fpclass().

23 years agoAdded flag to differentiate file mappings and VirtualAlloc() blocks,
Alexandre Julliard [Fri, 12 Jan 2001 19:59:42 +0000 (19:59 +0000)] 
Added flag to differentiate file mappings and VirtualAlloc() blocks,
and reject VirtualFree() calls on file mappings.

23 years agoRemoved obsolete get_req_buffer() function.
Alexandre Julliard [Fri, 12 Jan 2001 19:58:52 +0000 (19:58 +0000)] 
Removed obsolete get_req_buffer() function.

23 years agoSwap lpOverlapped parameters in ReadFile and WriteFile.
Mike McCormack [Fri, 12 Jan 2001 19:57:38 +0000 (19:57 +0000)] 
Swap lpOverlapped parameters in ReadFile and WriteFile.
The InternalHigh member should contain the number of
bytes transferred.

23 years agoFixes as a result of testing builtin crtdll against builtin msvcrt.
Jon Griffiths [Fri, 12 Jan 2001 19:56:22 +0000 (19:56 +0000)] 
Fixes as a result of testing builtin crtdll against builtin msvcrt.

23 years agoUpdated messages with new config files in mind to keep from confusing
Chris Morgan [Fri, 12 Jan 2001 19:55:19 +0000 (19:55 +0000)] 
Updated messages with new config files in mind to keep from confusing
users.

23 years agoImplemented most functionality. TODO lists whats left.
Susan Farley [Fri, 12 Jan 2001 19:54:48 +0000 (19:54 +0000)] 
Implemented most functionality.  TODO lists whats left.

23 years agoImplemented stubs for IWebBrowser in shdocvw.dll.
John R. Sheets [Thu, 11 Jan 2001 22:32:44 +0000 (22:32 +0000)] 
Implemented stubs for IWebBrowser in shdocvw.dll.

23 years agoRenamed struct option to avoid conflicts with getopt.h.
Nathan Neulinger [Thu, 11 Jan 2001 22:31:04 +0000 (22:31 +0000)] 
Renamed struct option to avoid conflicts with getopt.h.

23 years agoAdded binary compatible __EH_prolog.
Jon Griffiths [Thu, 11 Jan 2001 22:30:19 +0000 (22:30 +0000)] 
Added binary compatible __EH_prolog.

23 years agoAdded a simple usage() function.
Josh DuBois [Thu, 11 Jan 2001 22:28:35 +0000 (22:28 +0000)] 
Added a simple usage() function.

23 years agoNo longer used.
Alexandre Julliard [Thu, 11 Jan 2001 20:32:45 +0000 (20:32 +0000)] 
No longer used.

23 years agoCorrect some cut & paste typos.
John R. Sheets [Thu, 11 Jan 2001 20:21:15 +0000 (20:21 +0000)] 
Correct some cut & paste typos.

23 years agoUpdate for the new config format and location of the default config
Chris Morgan [Thu, 11 Jan 2001 20:18:06 +0000 (20:18 +0000)] 
Update for the new config format and location of the default config
file.  Add a conf_quesion to convert an old user config file, or use
the default Wine config file.  Removed the setting of obsolete
EXTRA_LD_LIBRARY_PATH.  Added a conf_question to give the user the
option to install local config and registry files when the script is
being run by root.

23 years agoCreate the main_target in single-target mode.
François Gouget [Thu, 11 Jan 2001 20:17:42 +0000 (20:17 +0000)] 
Create the main_target in single-target mode.
The defined(@array) construct is said to be deprecated, avoid it.
Simplify the usage reporting.
Add a word of caution to the usage message.

23 years agoFix the return value of WM_GETTEXT in the edit control.
Dmitry Timoshkov [Thu, 11 Jan 2001 20:17:21 +0000 (20:17 +0000)] 
Fix the return value of WM_GETTEXT in the edit control.

23 years agoVarious combobox fixes.
Dmitry Timoshkov [Thu, 11 Jan 2001 20:17:07 +0000 (20:17 +0000)] 
Various combobox fixes.

23 years agoRemoved some unnecessary defines after profile.c cleanup.
Chris Morgan [Thu, 11 Jan 2001 20:16:27 +0000 (20:16 +0000)] 
Removed some unnecessary defines after profile.c cleanup.

23 years agoFixed unnamed union dummy names.
Ulrich Weigand [Thu, 11 Jan 2001 00:54:38 +0000 (00:54 +0000)] 
Fixed unnamed union dummy names.

23 years agoReplaced architecture-dependent configure checks by hardcoded
Ulrich Weigand [Thu, 11 Jan 2001 00:54:21 +0000 (00:54 +0000)] 
Replaced architecture-dependent configure checks by hardcoded
definitions in winnt.h (to avoid config.h dependency).

23 years agoAdded missing prototypes to avoid compile warnings on Solaris.
Ulrich Weigand [Thu, 11 Jan 2001 00:53:25 +0000 (00:53 +0000)] 
Added missing prototypes to avoid compile warnings on Solaris.

23 years agoWork around problems on Solaris if config.h is not included.
Ulrich Weigand [Thu, 11 Jan 2001 00:53:07 +0000 (00:53 +0000)] 
Work around problems on Solaris if config.h is not included.

23 years agoFixed byteorder problems caused by non-portable code.
Ulrich Weigand [Thu, 11 Jan 2001 00:52:50 +0000 (00:52 +0000)] 
Fixed byteorder problems caused by non-portable code.

23 years ago- Migrate CRTDLL to MSVCRT.
Jon Griffiths [Wed, 10 Jan 2001 23:59:25 +0000 (23:59 +0000)] 
- Migrate CRTDLL to MSVCRT.
- Many fixes and a load of new functions.

23 years agoRemoved all traces of the --config option.
Alexandre Julliard [Wed, 10 Jan 2001 23:56:59 +0000 (23:56 +0000)] 
Removed all traces of the --config option.

23 years agoReenabled DXGrab option.
Gavriel State [Wed, 10 Jan 2001 23:55:56 +0000 (23:55 +0000)] 
Reenabled DXGrab option.

23 years agoSynchronize the sizes of the external and internal buffers at start
Dmitry Timoshkov [Wed, 10 Jan 2001 23:55:02 +0000 (23:55 +0000)] 
Synchronize the sizes of the external and internal buffers at start
and end of message processing in the edit control.

23 years agoFixed returned length for LB_GETTEXT.
Gerard Patel [Wed, 10 Jan 2001 23:54:46 +0000 (23:54 +0000)] 
Fixed returned length for LB_GETTEXT.

23 years agoAdded nls to EXTRASUBDIRS.
Alexandre Julliard [Wed, 10 Jan 2001 22:58:38 +0000 (22:58 +0000)] 
Added nls to EXTRASUBDIRS.

23 years agoRemoved use of outdated WINE_INI environment variable. Removed
Chris Morgan [Wed, 10 Jan 2001 22:57:34 +0000 (22:57 +0000)] 
Removed use of outdated WINE_INI environment variable.  Removed
obsolete --config option.  Removed loading of global wine config file.
Cleaned up some messages.

23 years agoes->buffer_size is not always the length of the text currently in the
James Hatheway [Wed, 10 Jan 2001 22:54:33 +0000 (22:54 +0000)] 
es->buffer_size is not always the length of the text currently in the
editbox, so use -1 instead.

23 years agoAdded a specific debug channel for dll loading (builtin/native).
Gerard Patel [Wed, 10 Jan 2001 22:54:02 +0000 (22:54 +0000)] 
Added a specific debug channel for dll loading (builtin/native).

23 years agoFixed some signed/unsigned warnings.
Joerg Mayer [Wed, 10 Jan 2001 22:45:33 +0000 (22:45 +0000)] 
Fixed some signed/unsigned warnings.

23 years agoImplemented asynchronous ReadFile and WriteFile.
Mike McCormack [Wed, 10 Jan 2001 22:45:03 +0000 (22:45 +0000)] 
Implemented asynchronous ReadFile and WriteFile.

23 years agoRequire that the user specify a work directory. This provides a
François Gouget [Wed, 10 Jan 2001 22:43:21 +0000 (22:43 +0000)] 
Require that the user specify a work directory. This provides a
safeguard against accidental invocations.

23 years agoOnly copy the dwSize bytes really occupied by lpPropSheetPage.
François Gouget [Wed, 10 Jan 2001 22:42:58 +0000 (22:42 +0000)] 
Only copy the dwSize bytes really occupied by lpPropSheetPage.

23 years agoFor the Global*Ptr* set of macros, replace the 16bit version with
Eric Pouech [Wed, 10 Jan 2001 22:42:35 +0000 (22:42 +0000)] 
For the Global*Ptr* set of macros, replace the 16bit version with
their 32 bit equiv.

23 years agoOnly call TOOLBAR_CalcToolbar when parameters change.
Ulrich Czekalla [Wed, 10 Jan 2001 22:42:05 +0000 (22:42 +0000)] 
Only call TOOLBAR_CalcToolbar when parameters change.

23 years agoAdded unicode window proc for the listbox control.
Dmitry Timoshkov [Tue, 9 Jan 2001 21:51:04 +0000 (21:51 +0000)] 
Added unicode window proc for the listbox control.
Replaced all ansi calls by their unicode equivalents.
Removed use of the custom local heap.

23 years agoTest for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText.
François Gouget [Tue, 9 Jan 2001 21:50:27 +0000 (21:50 +0000)] 
Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText.

23 years agoFixed some incorrect format strings.
Gerald Pfeifer [Tue, 9 Jan 2001 21:50:01 +0000 (21:50 +0000)] 
Fixed some incorrect format strings.

23 years agoRemoved obsolete file.
Alexandre Julliard [Tue, 9 Jan 2001 20:56:18 +0000 (20:56 +0000)] 
Removed obsolete file.

23 years agoMove HDWP to winuser.h.
François Gouget [Tue, 9 Jan 2001 20:56:06 +0000 (20:56 +0000)] 
Move HDWP to winuser.h.
Convert HWINSTA to STRICT.

23 years agoMake CDROM_GetLabel return 0 in the event of failure, and make the
Ryan Cumming [Tue, 9 Jan 2001 20:54:11 +0000 (20:54 +0000)] 
Make CDROM_GetLabel return 0 in the event of failure, and make the
default label for drives a string of 11 spaces.

23 years agoFixed usage of RegEnumValueA.
David Elliott [Tue, 9 Jan 2001 20:52:53 +0000 (20:52 +0000)] 
Fixed usage of RegEnumValueA.

23 years agoHandle the EnumPrinters() flag PRINTER_ENUM_DEFAULT in the same way
Huw D M Davies [Tue, 9 Jan 2001 20:52:17 +0000 (20:52 +0000)] 
Handle the EnumPrinters() flag PRINTER_ENUM_DEFAULT in the same way
that NT does - that is ignore it and return TRUE.

23 years agoActually call CDROM_Audio_GetTracksInfo when retrieving
Huw D M Davies [Tue, 9 Jan 2001 20:51:59 +0000 (20:51 +0000)] 
Actually call CDROM_Audio_GetTracksInfo when retrieving
MCI_CDA_STATUS_TRACK_TYPE.
WINE_CDA_OPEN maps to MCIERR_HARDWARE.

23 years agoSERVICE_AddObject check for NULL handles in addition to
François Gouget [Tue, 9 Jan 2001 20:51:36 +0000 (20:51 +0000)] 
SERVICE_AddObject check for NULL handles in addition to
INVALID_HANDLE_VALUE.

23 years agoThe last parameter of CreateFile should be 0 (aka NULL), not -1.
François Gouget [Tue, 9 Jan 2001 20:51:19 +0000 (20:51 +0000)] 
The last parameter of CreateFile should be 0 (aka NULL), not -1.
CreateFile returns INVALID_HANDLE_VALUE when it fails, not
HFILE_ERROR.
Added comments.

23 years agopty_handle is a HANDLE, not an int.
François Gouget [Tue, 9 Jan 2001 20:50:51 +0000 (20:50 +0000)] 
pty_handle is a HANDLE, not an int.

23 years ago(configure) Look for the headers in $WINE_ROOT/include/wine and
François Gouget [Tue, 9 Jan 2001 20:50:34 +0000 (20:50 +0000)] 
(configure) Look for the headers in $WINE_ROOT/include/wine and
/opt/wine/include/wine.

23 years agoSend the creation notification to the true owner of the tooltip.
Gerard Patel [Tue, 9 Jan 2001 20:50:13 +0000 (20:50 +0000)] 
Send the creation notification to the true owner of the tooltip.

23 years agoEnsure there is an edit control when we reset contents.
Ulrich Czekalla [Tue, 9 Jan 2001 20:49:53 +0000 (20:49 +0000)] 
Ensure there is an edit control when we reset contents.

23 years agoAdjust item rects by horizontal scrollbar offset.
Ulrich Czekalla [Tue, 9 Jan 2001 20:49:38 +0000 (20:49 +0000)] 
Adjust item rects by horizontal scrollbar offset.

23 years agoFixed TCM_GetRowCount.
Gerard Patel [Tue, 9 Jan 2001 20:49:17 +0000 (20:49 +0000)] 
Fixed TCM_GetRowCount.

23 years agoNeed to import user32 even though we don't use symbols from it yet.
Alexandre Julliard [Sun, 7 Jan 2001 21:53:46 +0000 (21:53 +0000)] 
Need to import user32 even though we don't use symbols from it yet.

23 years agoReference $(SRCDIR) when installing the perl script (it doesn't exist
Leonard Norrgård [Sun, 7 Jan 2001 21:52:39 +0000 (21:52 +0000)] 
Reference $(SRCDIR) when installing the perl script (it doesn't exist
in the build directory).

23 years agoChanged string pointer calculation.
Gerard Patel [Sun, 7 Jan 2001 21:52:08 +0000 (21:52 +0000)] 
Changed string pointer calculation.

23 years agoMoved all the documented shlwapi functions out of undocshell.h into
Huw D M Davies [Sun, 7 Jan 2001 21:50:52 +0000 (21:50 +0000)] 
Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.

23 years agoRemoved one &, now CoCreateInstance() of ddraw objects works again.
Marcus Meissner [Sun, 7 Jan 2001 21:49:00 +0000 (21:49 +0000)] 
Removed one &, now CoCreateInstance() of ddraw objects works again.

23 years agoCalculate the timeout time once when the async is created.
Mike McCormack [Sun, 7 Jan 2001 21:46:17 +0000 (21:46 +0000)] 
Calculate the timeout time once when the async is created.

23 years agoImplemented HasOverlappedCompleted macro.
Mike McCormack [Sun, 7 Jan 2001 21:45:18 +0000 (21:45 +0000)] 
Implemented HasOverlappedCompleted macro.

23 years agoAdd missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard
Dmitry Timoshkov [Sun, 7 Jan 2001 21:44:50 +0000 (21:44 +0000)] 
Add missing mapping for LB_FINDSTRINGEXACT message (thanks to Gerard
Patel for reporting the bug).

23 years agoCombobox should clear its current selection on response to
Dmitry Timoshkov [Sun, 7 Jan 2001 21:43:49 +0000 (21:43 +0000)] 
Combobox should clear its current selection on response to
CB_SETCURSEL(-1) message.

23 years agoUse the exe name and file handle we got from the server also when
Alexandre Julliard [Sat, 6 Jan 2001 01:55:49 +0000 (01:55 +0000)] 
Use the exe name and file handle we got from the server also when
starting Win16 or DOS programs, to avoid depending on the contents of
the command-line.

23 years agoAdded separate queue for "system" APCs that get called even when the
Alexandre Julliard [Sat, 6 Jan 2001 01:48:51 +0000 (01:48 +0000)] 
Added separate queue for "system" APCs that get called even when the
thread is not in an alertable state.
Specify the select_request timeout as absolute value so that we can
restart the request when interrupted.

23 years agoRemoved old format config file.
Alexandre Julliard [Sat, 6 Jan 2001 01:46:13 +0000 (01:46 +0000)] 
Removed old format config file.

23 years agoModify the look of bitmap menu items to match Win95 and Win98
François Gouget [Sat, 6 Jan 2001 01:45:51 +0000 (01:45 +0000)] 
Modify the look of bitmap menu items to match Win95 and Win98
Fix the sunken edge/bitmap overlap in the Win98 look
Introduce an IS_MAGIC_ITEM macro to test if the item is 'magic'

23 years agoFixed some HFILE vs. HANDLE mismatches.
François Gouget [Sat, 6 Jan 2001 01:29:18 +0000 (01:29 +0000)] 
Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.

23 years agoForced loading of msacm32 when msacm is loaded.
Eric Pouech [Sat, 6 Jan 2001 01:23:11 +0000 (01:23 +0000)] 
Forced loading of msacm32 when msacm is loaded.
Added msacm DLL pair in config files.
Added some dumb calls from 16 to 32.

23 years agoImplement InternetCanonicalizeUrl.
Huw D M Davies [Sat, 6 Jan 2001 00:36:43 +0000 (00:36 +0000)] 
Implement InternetCanonicalizeUrl.

23 years agoAdded a more truthful message about what really is wrong.
Johan Gill [Sat, 6 Jan 2001 00:36:14 +0000 (00:36 +0000)] 
Added a more truthful message about what really is wrong.

23 years agoDon't call QueryAbort16() in WriteSpool16(), since it might be called
Marcus Meissner [Sat, 6 Jan 2001 00:35:37 +0000 (00:35 +0000)] 
Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).

23 years agoTook a stab at implementing LBS_NOSEL.
Andreas Mohr [Sat, 6 Jan 2001 00:34:14 +0000 (00:34 +0000)] 
Took a stab at implementing LBS_NOSEL.

23 years agoSend the exe file handle in init_process_done request.
Alexandre Julliard [Fri, 5 Jan 2001 22:24:15 +0000 (22:24 +0000)] 
Send the exe file handle in init_process_done request.

23 years agoAvoid crashing on invalid lines during config file conversion.
Alexandre Julliard [Fri, 5 Jan 2001 22:23:37 +0000 (22:23 +0000)] 
Avoid crashing on invalid lines during config file conversion.

23 years agoImplemented a few Url* functions.
Huw D M Davies [Fri, 5 Jan 2001 22:22:57 +0000 (22:22 +0000)] 
Implemented a few Url* functions.

23 years agoAdded unicode window proc for combobox control.
Dmitry Timoshkov [Fri, 5 Jan 2001 22:21:18 +0000 (22:21 +0000)] 
Added unicode window proc for combobox control.
Replaced ansi calls by their unicode equivalents.

23 years agoAdded unicode window proc for the static control.
Dmitry Timoshkov [Fri, 5 Jan 2001 22:20:57 +0000 (22:20 +0000)] 
Added unicode window proc for the static control.
Replaced ansi calls by their unicode equivalents.

23 years agoReturning success for unknown WSCNTL_TCPIP_QUERY_INFO code makes win98
Mike McCormack [Fri, 5 Jan 2001 22:16:11 +0000 (22:16 +0000)] 
Returning success for unknown WSCNTL_TCPIP_QUERY_INFO code makes win98
winipcfg work.

23 years agoMouse events fix.
Andreas Mohr [Fri, 5 Jan 2001 22:15:20 +0000 (22:15 +0000)] 
Mouse events fix.

23 years agoAdded handle_t type to server interface so that we can make handles
Alexandre Julliard [Fri, 5 Jan 2001 04:08:07 +0000 (04:08 +0000)] 
Added handle_t type to server interface so that we can make handles
pointers later on.
Always use 0 to signal invalid handle in server requests.

23 years agoI triple checked but yes, CHOOSECOLOR.hInstance is an HWND...
François Gouget [Fri, 5 Jan 2001 03:45:40 +0000 (03:45 +0000)] 
I triple checked but yes, CHOOSECOLOR.hInstance is an HWND...

23 years agoWe must cast the return value of GetProcAddress.
François Gouget [Fri, 5 Jan 2001 03:44:40 +0000 (03:44 +0000)] 
We must cast the return value of GetProcAddress.

23 years agoThe WndProc function was missing the CALLBACK modifier.
François Gouget [Fri, 5 Jan 2001 03:43:40 +0000 (03:43 +0000)] 
The WndProc function was missing the CALLBACK modifier.

23 years agoThe first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.
François Gouget [Fri, 5 Jan 2001 03:42:54 +0000 (03:42 +0000)] 
The first 2 parameters of WinMain are HINSTANCEs, not HANDLEs.