wine
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.

23 years agoFixed some problems with scrolling in the edit control.
Dmitry Timoshkov [Fri, 5 Jan 2001 03:40:35 +0000 (03:40 +0000)] 
Fixed some problems with scrolling in the edit control.

23 years agoRemoved the 'fn' prefix (i.e. ICOM_FN).
Francois Gouget [Thu, 4 Jan 2001 22:59:48 +0000 (22:59 +0000)] 
Removed the 'fn' prefix (i.e. ICOM_FN).

23 years agoAuthors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming...
Alexandre Julliard [Thu, 4 Jan 2001 22:44:55 +0000 (22:44 +0000)] 
Authors: Andrew Lewycky <andrew@transgaming.com>, Gavriel State <gav@transgaming.com>, Ove Kaaven <ovek@transgaming.com>
Major DirectDraw restructure/reimplementation, using an improved component
object model hierarchy. The implementation currently supports:
- DirectDraw over GDI/USER in a window (using DIBsections and
  asynchronous updates)
- XVidMode
- XF86DGA2
- All DirectDraw interfaces from versions 1 to 7 (at least in theory)
- Hooks for Direct3D interfaces

23 years agoAdded a few missing parts.
Eric Pouech [Thu, 4 Jan 2001 20:58:05 +0000 (20:58 +0000)] 
Added a few missing parts.

23 years agoFixed the alignment of the MF_RIGHTJUSTIFY menu items.
Francois Gouget [Thu, 4 Jan 2001 20:56:43 +0000 (20:56 +0000)] 
Fixed the alignment of the MF_RIGHTJUSTIFY menu items.

23 years agoRemoved obsolete code.
Alexandre Julliard [Thu, 4 Jan 2001 19:56:29 +0000 (19:56 +0000)] 
Removed obsolete code.

23 years agoFixed dll dependencies.
Alexandre Julliard [Thu, 4 Jan 2001 19:56:13 +0000 (19:56 +0000)] 
Fixed dll dependencies.

23 years agoNow using manifest constant instead of raw values for all the
Eric Pouech [Thu, 4 Jan 2001 19:53:51 +0000 (19:53 +0000)] 
Now using manifest constant instead of raw values for all the
DRV_QUERY??? values.

23 years agoAdded Ulrich Weigand's description of KERNEL32_99.
Mike McCormack [Thu, 4 Jan 2001 19:53:15 +0000 (19:53 +0000)] 
Added Ulrich Weigand's description of KERNEL32_99.

23 years agoSome borken memory monitoring programs divide by dwTotalPageFile,
Mike McCormack [Thu, 4 Jan 2001 19:52:51 +0000 (19:52 +0000)] 
Some borken memory monitoring programs divide by dwTotalPageFile,
which probably isn't zero on windows.

23 years agoAdded spec generation tool specmaker.
Jon Griffiths [Thu, 4 Jan 2001 19:45:49 +0000 (19:45 +0000)] 
Added spec generation tool specmaker.

23 years agoReimplemented "relay=" and "snoop=" suboptions.
Guy L. Albertelli [Thu, 4 Jan 2001 19:37:37 +0000 (19:37 +0000)] 
Reimplemented "relay=" and "snoop=" suboptions.

23 years agoMoved the function pointer types to their rightful headers.
François Gouget [Thu, 4 Jan 2001 19:32:22 +0000 (19:32 +0000)] 
Moved the function pointer types to their rightful headers.
The definition of the function pointer types must be based on STRICT.

23 years agoStarcraft was confused by a wrong FALSE BitBlt return.
Andreas Mohr [Thu, 4 Jan 2001 19:28:33 +0000 (19:28 +0000)] 
Starcraft was confused by a wrong FALSE BitBlt return.

23 years agoSet fragments for wave input to 7 x 1024 byte.
Marcus Meissner [Thu, 4 Jan 2001 19:28:14 +0000 (19:28 +0000)] 
Set fragments for wave input to 7 x 1024 byte.

23 years agoFixed loading of 16 bit drivers.
Eric Pouech [Thu, 4 Jan 2001 19:27:49 +0000 (19:27 +0000)] 
Fixed loading of 16 bit drivers.
Better support for native mappers.

23 years agoFixed a problem where when deleting an item using index -1 on an empty
Aric Stewart [Thu, 4 Jan 2001 19:27:03 +0000 (19:27 +0000)] 
Fixed a problem where when deleting an item using index -1 on an empty
listbox we would pass through an illegal negative index and cause
problems.

23 years agoPass the application name also when starting a Unix app, and use it to
Alexandre Julliard [Wed, 3 Jan 2001 21:53:33 +0000 (21:53 +0000)] 
Pass the application name also when starting a Unix app, and use it to
load the main exe .so file.
Fixed bug in directory handling in PROCESS_Create.

23 years agoAdded InitializeCriticalSectionAndSpinCount prototype.
Jon Griffiths [Wed, 3 Jan 2001 21:42:07 +0000 (21:42 +0000)] 
Added InitializeCriticalSectionAndSpinCount prototype.

23 years agoConvert HDESK to STRICT.
François Gouget [Wed, 3 Jan 2001 21:39:33 +0000 (21:39 +0000)] 
Convert HDESK to STRICT.

23 years agoRemoved duplicate field in internal structure.
Eric Pouech [Wed, 3 Jan 2001 21:36:56 +0000 (21:36 +0000)] 
Removed duplicate field in internal structure.
Silenced warning for MCI_CONFIGURE message.

23 years agoAdded support for the DRVM_MAPPER_STATUS message.
Eric Pouech [Wed, 3 Jan 2001 21:35:00 +0000 (21:35 +0000)] 
Added support for the DRVM_MAPPER_STATUS message.

23 years agoReplaced pointers to external functions by a DLL import.
Eric Pouech [Wed, 3 Jan 2001 21:33:17 +0000 (21:33 +0000)] 
Replaced pointers to external functions by a DLL import.

23 years agoFixed bitmap size handling.
Andreas Mohr [Wed, 3 Jan 2001 21:30:03 +0000 (21:30 +0000)] 
Fixed bitmap size handling.

23 years agoTurn on detectable autorepeat if the X Keyboard Extension is
Ove Kaaven [Tue, 2 Jan 2001 22:39:14 +0000 (22:39 +0000)] 
Turn on detectable autorepeat if the X Keyboard Extension is
detected.

23 years agoMoved HMETAFILEPICT to wtypes.h. Note, HMETAFILEPICT is always a
François Gouget [Tue, 2 Jan 2001 22:31:07 +0000 (22:31 +0000)] 
Moved HMETAFILEPICT to wtypes.h. Note, HMETAFILEPICT is always a
'void*' unlike regular handles.

23 years agoImplement PrintDlg16 better (adding PrintDlgProc16 and several other
Marcus Meissner [Tue, 2 Jan 2001 22:26:09 +0000 (22:26 +0000)] 
Implement PrintDlg16 better (adding PrintDlgProc16 and several other
16bit dependent functions)
If we are using a template we might not have the default combobox for
printers, use the default printer in those cases.
More error messages and checks.
Added GlobalFlags16 and GlobalReAlloc16 to kernel32.spec.

23 years agoDelayed import thunks for Sparc.
Ulrich Weigand [Tue, 2 Jan 2001 22:22:12 +0000 (22:22 +0000)] 
Delayed import thunks for Sparc.

23 years agoRemoved an '#ifdef STRICT'.
François Gouget [Tue, 2 Jan 2001 22:16:14 +0000 (22:16 +0000)] 
Removed an '#ifdef STRICT'.

23 years agoBugfix for sound dropping out, and workaround for Half-Life's
Ove Kaaven [Tue, 2 Jan 2001 21:02:32 +0000 (21:02 +0000)] 
Bugfix for sound dropping out, and workaround for Half-Life's
braindead secondary sound buffer management.

23 years agoMoved HDROP to shellapi.h.
François Gouget [Tue, 2 Jan 2001 21:00:46 +0000 (21:00 +0000)] 
Moved HDROP to shellapi.h.

23 years agoShould include cguid.h.
François Gouget [Tue, 2 Jan 2001 20:55:40 +0000 (20:55 +0000)] 
Should include cguid.h.