Commit Graph

2172 Commits

Author SHA1 Message Date
Marcus Meissner c5d2f5efeb Handle differently sized structs by using their dwSize parameters. 2001-02-12 03:43:53 +00:00
James Abbatiello 45edb2fcb3 Fix a few compiler warnings. 2001-02-12 03:42:58 +00:00
James Abbatiello 841ef6ebb9 Don't allow comctl32 controls to access their infoPtr before it has
been  allocated or after it has been freed.
2001-02-12 03:42:23 +00:00
Andreas Mohr 14150c1ad5 Make MMIO_Open work with NULL filename again. 2001-02-12 03:41:13 +00:00
Dmitry Timoshkov 91adf0aa4e Added unicode MDI client window proc. 2001-02-12 03:40:41 +00:00
Huw D M Davies a247086cfc Call LoadImage to load the non-standard sized collate icons. 2001-02-12 03:38:14 +00:00
Huw D M Davies 804edb1cec Map 'Courier New' to 'Courier'. 2001-02-12 03:37:52 +00:00
James Hatheway 2fd8388c7b acmDriverEnumW shouldn't return MMSYSERR_ERROR if
acmDriverEnumCallback returns TRUE.
2001-02-12 01:28:12 +00:00
Huw D M Davies d2b850e8aa Implement Set/GetPrinterData[Ex].
Remove ordinals from winspool.drv.spec .
2001-02-12 01:26:47 +00:00
Andreas Mohr ae4f72f5be Take a stab at implementing OleSetAutoConvert. 2001-02-12 01:26:16 +00:00
Marcus Meissner 33c24891b9 Fixed a NULL ptr problem.
Added loading of .afm files from several common locations
(ghostscript, a2ps, enscript, (teTeX), X11).
2001-02-12 01:25:46 +00:00
Andreas Mohr 1ea771c218 Don't touch WAVEHDRs dwLoops variable. 2001-02-12 01:24:18 +00:00
Huw D M Davies 8d50352b66 Spaces do not have to come after the ':' that ends a keyword.
Map bin name ManualEnv to DMBIN_ENVMANUAL.
2001-02-12 01:23:26 +00:00
Huw D M Davies a3fca2a933 Fix ReleaseStgMedium for MetaFilePict types. 2001-02-12 01:22:01 +00:00
Huw D M Davies a83c7c5320 Fix for rotated text when lpDx is specified.
Better handling of cumulative rounding errors.
2001-02-12 01:21:34 +00:00
Susan Farley e527f23865 Handle the CCS_NORESIZE style.
Change the scroll delta only when the app responds to the PGN_NOTIFY msg.
2001-02-12 01:21:13 +00:00
Ove Kaaven c2fd62d0ba Fix DGA2 mode setting to use the correct color depth. 2001-02-12 01:20:04 +00:00
Andreas Mohr b58ebef63e Added DCICloseProvider stub. 2001-02-12 01:18:42 +00:00
James Abbatiello 0da6d5e614 Implement IShellLink<A|W>_fnGetWorkingDirectory,
IShellLink<A|W>_fnGetArguments, IShellLink<A|W>_fnGetIconLocation.
2001-02-12 01:17:39 +00:00
Andreas Mohr b455c75242 A couple of stubs for Terminal Server Client 16 bit. 2001-02-12 01:13:54 +00:00
Marcus Meissner 4b4b462ec5 Added some more 16->32 mappings for ICM* messages. 2001-01-29 00:32:55 +00:00
Marcus Meissner 9bed6988a4 dvideo.dll forgets to set the DDSD_CAPS flag, just assume it set.
Output more debug info on failure.
2001-01-29 00:31:50 +00:00
Marcus Meissner 31052f9946 Implemented VideoCapDriverDescAndVer. 2001-01-28 23:45:43 +00:00
Eric Pouech 982e0ce07f Added a few missing exports. 2001-01-28 23:44:56 +00:00
Ove Kaaven db1f948afb Don't disable keyboard autorepeat, since autorepeat is now detectable. 2001-01-28 23:43:20 +00:00
Marcus Meissner 15a525973b - Siedler3 appears to have rather limited buffers for device/description
strings and crashes with those long strings. Shortened those strings.
- Also driver needs to be "display" for display devices (some other
  programs rely on that info I seem to remember).
- Fixed DSurface::GetSurfaceDesc to not just blindly copy a
  DDSURFACEDESC2 struct over a smaller DDSURFACEDESC one.
2001-01-28 23:15:17 +00:00
Alexandre Julliard e81843bb61 Authors: Ove Kaaven <ovek@transgaming.com>, Gavriel State <gav@transgaming.com>
Implemented circular buffering for the dinput mouse device.
Mapped the mouse warp on the center of the cooperative window, which
should make windowed games work better in managed mode.
2001-01-28 23:14:25 +00:00
Huw D M Davies d4b933e7d2 Take into account unprintable margins in psdrv. 2001-01-28 23:13:45 +00:00
Alexandre Julliard 71891e1fd6 Authors: Huw D M Davies <hdavies@codeweavers.com>, Dmitry Timoshkov <dmitry@codeweavers.com>
psdrv's DeviceCapabilities should list DMBIN_AUTO as an available
bin.
2001-01-28 23:13:25 +00:00
Dmitry Timoshkov e1f6dc0dbd Add "OnlyOne" paper source, used by the Acrobat Distiller PPD. 2001-01-28 23:12:52 +00:00
Josh DuBois 62e823c6b1 Fixed typo. 2001-01-28 23:12:19 +00:00
Eric Pouech 5d1892358b Fixed some mci string parsing issues.
Added more mappings 32ATo16.
2001-01-28 23:11:27 +00:00
Eric Pouech 2251fbc3c4 Simplified memory allocation for asynchronous MCI message handling. 2001-01-28 23:10:52 +00:00
Eric Pouech 15a3d774b0 Delay importing user32 (only used for configuration). 2001-01-28 23:10:22 +00:00
Eric Pouech 052b3f1612 Fixed a few oddities. 2001-01-28 23:09:55 +00:00
Eric Pouech 0639d603cc Added a bit more of flags handling in drawdib functions. 2001-01-28 23:09:38 +00:00
Chris Morgan 1b77327515 Put a '\n' at the end of the FIXME to prevent very odd and difficult
to debug crashes due to overflowing of the debug info's output buffer.
2001-01-28 23:09:11 +00:00
Guy L. Albertelli a249595957 - Rewrite WM_CREATE to match native (allocating own Edit control, etc).
- Implement additional WNDPROCs for the Combo and Edit controls to
  handle different functions.
- Implement CBEM_SETCURSEL and CBEM_HASEDITCHANGED.
2001-01-26 21:00:10 +00:00
Alexandre Julliard e939eae00b Made exception_event_request non-blocking, and added
get_exception_status to retrieve the exception result returned by the
debugger.
2001-01-26 20:45:41 +00:00
James Juran f4d5fefb0a Add <string.h> to files that needed it. 2001-01-26 20:43:40 +00:00
Andreas Mohr c9cf70d448 Some more cleanups. 2001-01-26 20:40:50 +00:00
Ove Kaaven 36d3aa3d10 Check that the linux 2.4 event interface is available before creating
a dinput device based on it.
2001-01-26 20:39:07 +00:00
Huw D M Davies 8a65170c37 Handle the lpDx array properly. 2001-01-26 20:38:11 +00:00
Guy L. Albertelli 8673f91b9e - make hidden bands have valid (0 width) child window areas
- when hiding a band, don't show the window, hide it.
2001-01-26 20:36:53 +00:00
Alexandre Julliard e9936d96e1 Changed wait_process and wait_debug_event requests to never block;
waiting is always done through WaitForSingleObject().
2001-01-26 00:22:26 +00:00
Andreas Mohr 819bff4d33 Don't open the comm handle with GENERIC_WRITE via FILE_GetUnixHandle. 2001-01-26 00:20:05 +00:00
Alexandre Julliard 4d77fc44bc Got rid of WPRINTF_ExtractVAPtr. 2001-01-25 22:24:26 +00:00
Patrik Stridvall d5f824b482 Fixed some issues found by winapi_check. 2001-01-25 22:23:08 +00:00
Patrik Stridvall 0c61028734 Documentation ordinal fixes. 2001-01-25 22:22:21 +00:00
Gerard Patel 09d64c83cf Don't send notifications for the initial display of the first tab of
the control.
2001-01-25 21:48:01 +00:00
Eric Kohl 08936ff97a Partial implementation of world transform support. 2001-01-24 19:38:11 +00:00
Jon Griffiths 2b77ea0441 Implemented __dllonexit. 2001-01-22 19:28:07 +00:00
Gerard Patel c0ca077f0b Misc fixes in LISTVIEW_SetImageList, LISTVIEW_SetItemCount,
LISTVIEW_UpdateSize.
2001-01-22 19:27:43 +00:00
James Juran d537d09b9c Use int instead of WCHAR in va_arg() (fixes gcc-current compilation
problem).
2001-01-22 19:26:42 +00:00
Josh DuBois 87a9ddaa9a Include 'options.h' for a needed prototype. 2001-01-22 19:24:20 +00:00
Josh DuBois a57eb65548 Changed VarCyFromI1 to take a signed char. 2001-01-22 19:23:54 +00:00
Francois Gouget 05fc3cdf9a Typo fixes in comments. 2001-01-22 02:22:26 +00:00
Jon Griffiths 34c786b2db - New msvcrt unicode functions, winapi_check/-Wall/-W clean.
- Forward to ntdll where possible.
- Fix some .spec entries with incorrect parameters.
2001-01-22 02:21:54 +00:00
Jon Griffiths 94ba450f75 Made SpinCount FIXME into a TRACE. 2001-01-22 02:18:13 +00:00
Jon Griffiths 4ab1558d8a - Remove <string.h> from winnt.h.
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +00:00
Jon Griffiths 7a6bad8f10 - Fix a typo in TBSAVEPARAMS A/W declaration.
- Use 16 bit Unicode constants for wc strings.
- Make some string constants available as Unicode.
2001-01-22 02:13:58 +00:00
Alexandre Julliard e052744e61 Fixed the size of the file dialog icons. 2001-01-21 21:11:28 +00:00
Huw D M Davies 0aebee9825 Escape any spaces in lpszObjectName passed to HttpOpenRequest. 2001-01-21 21:09:00 +00:00
Alexandre Julliard 8bb7fb960c Fixed a number of incompatibilities in OEM icons/cursors handling. 2001-01-20 02:48:30 +00:00
Ulrich Czekalla ebc5fe96c6 Prevent buffer overflow in TEXT_NextLineW. 2001-01-20 02:16:52 +00:00
Marcus Meissner 74f2b4b2ae Added configure check for old linux/input.h. 2001-01-19 21:09:07 +00:00
Andreas Mohr 0005e81fe1 Implemented SHELL32.IsNetDrive and SHELL32.ILSaveToStream needed for
IE 5.
2001-01-18 23:04:19 +00:00
Alexandre Julliard 16cbf4022c Store USER icons and cursors as resources instead of xpm bitmaps. 2001-01-18 20:32:01 +00:00
Huw D M Davies 53cb7cecc5 Fix off by one error in buffer length check. 2001-01-18 20:29:41 +00:00
Alexandre Julliard 556d8b5ecb Replaced some GetProcAddress() imports by the standard dll import
mechanism.
2001-01-17 22:05:24 +00:00
Alexandre Julliard 0618746265 Cleaned up dll startup routines now that we have separate address
spaces.
2001-01-17 22:03:18 +00:00
Andreas Mohr 18a9d7417d Cosmetics. 2001-01-17 21:52:42 +00:00
Josh DuBois 46fb7e0057 Make some noise in a few cases where the X11drv doesn't load, but used
to fail silently.
2001-01-17 21:51:07 +00:00
Alexandre Julliard 598412ed6a Cleaned up the various errno location tests in configure.
Added (h_)errno_location pointers in the library that allow remapping
the calls in higher level dlls.
Moved X11DRV_CritSection out of sysdeps.c and into x11drv.dll.
2001-01-17 20:22:22 +00:00
James Hatheway 4bed8266e0 In WsControl, don't mix Linux and Wine socket calls. Always use Wine calls.
Added hack for missing WINAPI in Unix socket() definition.
2001-01-17 20:19:14 +00:00
James Juran c85144b0d9 Added some stubs needed for IE 5.5 setup. 2001-01-17 20:17:46 +00:00
Jeremy White a6166e174e Revised shell link process to treat empty (e.g. "") strings
identically to NULL strings. Makes many more installers take useful
action. Added many trace messages.
2001-01-17 01:48:52 +00:00
Ulrich Czekalla 0255c8f0df Only adjust item rect by horizontal scrollbar offset in report view. 2001-01-17 01:48:14 +00:00
Gerard Patel 4756b088c1 Change WSACleanup - wsinfo is a static structure now. 2001-01-17 01:47:47 +00:00
Alexandre Julliard 8efd454067 Removed CALL_LARGE_STACK support. 2001-01-15 22:30:50 +00:00
Alexandre Julliard a90797d09d Updated debug channels. 2001-01-15 20:23:05 +00:00
Alexandre Julliard d8e9a09d9b Removed unnecessary headers. 2001-01-15 20:22:30 +00:00
Marcus Meissner 50af4a381c Fixed an interface cast in DD2->DD7 thunk. 2001-01-15 20:20:50 +00:00
Alexandre Julliard a41b2cfdd0 Moved tweak support to USER dll. Removed tweak.h and cache.h. 2001-01-15 20:12:55 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Alexandre Julliard ea6a10def8 Fixed toupper/_toupper mixup. 2001-01-15 19:57:48 +00:00
Alexandre Julliard 472d410c8b Added missing WIN_ReleaseWndPtr. 2001-01-13 01:01:35 +00:00
Alexandre Julliard 728702e6ef winmm.dll can now be properly separated. 2001-01-13 01:01:00 +00:00
Francois Gouget b9521038ec Warning fix. 2001-01-13 01:00:25 +00:00
Ove Kaaven 62510ddbf6 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.
2001-01-13 01:00:00 +00:00
Ove Kaaven 0a01fbdacb Remove multimedia timers from the service thread, use a separate thread
instead.
2001-01-13 00:27:50 +00:00
François Gouget 72828e0080 In STATUSBAR_GetTipText{a,W, always put a terminating '\0' in the
buffer.
Pass a buffer of sufficient size to TTM_GETTEXTA.
2001-01-13 00:27:13 +00:00
Gavriel State ba3c18df69 Warning fixes. 2001-01-12 23:18:22 +00:00
Stefan Leichter 73db900aae Implemented EnumProtocolA/W. 2001-01-12 23:15:54 +00:00
Jon Griffiths 0b47b289a8 Turn crtdll into forwards to msvcrt. 2001-01-12 20:42:06 +00:00
Jon Griffiths 5f308d3cb0 Added some exception handling functions. 2001-01-12 20:41:03 +00:00
Gerald Pfeifer e884cc2b08 Fixed mistyped variable name in MSVCRT__fpclass(). 2001-01-12 20:30:41 +00:00
Jon Griffiths a91a28cf5a Fixes as a result of testing builtin crtdll against builtin msvcrt. 2001-01-12 19:56:22 +00:00
Susan Farley d4c6485390 Implemented most functionality. TODO lists whats left. 2001-01-12 19:54:48 +00:00
John R. Sheets bc80a3b4c7 Implemented stubs for IWebBrowser in shdocvw.dll. 2001-01-11 22:32:44 +00:00
Jon Griffiths e5348e27b3 Added binary compatible __EH_prolog. 2001-01-11 22:30:19 +00:00
Alexandre Julliard 67d39034b9 No longer used. 2001-01-11 20:32:45 +00:00
Ulrich Weigand d4be9197f1 Added missing prototypes to avoid compile warnings on Solaris. 2001-01-11 00:53:25 +00:00
Jon Griffiths 1db20bfd33 - Migrate CRTDLL to MSVCRT.
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +00:00
Gavriel State 3f3e8d2957 Reenabled DXGrab option. 2001-01-10 23:55:56 +00:00
Alexandre Julliard 3b603ec551 Added nls to EXTRASUBDIRS. 2001-01-10 22:58:38 +00:00
Gerard Patel a77fd7df9d Added a specific debug channel for dll loading (builtin/native). 2001-01-10 22:54:02 +00:00
François Gouget 16baace694 Only copy the dwSize bytes really occupied by lpPropSheetPage. 2001-01-10 22:42:58 +00:00
Ulrich Czekalla 8b562997d5 Only call TOOLBAR_CalcToolbar when parameters change. 2001-01-10 22:42:05 +00:00
Dmitry Timoshkov 7462099847 Added unicode window proc for the listbox control.
Replaced all ansi calls by their unicode equivalents.
Removed use of the custom local heap.
2001-01-09 21:51:04 +00:00
François Gouget bde6ae0c19 Test for NULL and LPSTR_TEXTCALLBACK before using lpColumn->pszText. 2001-01-09 21:50:27 +00:00
Gerald Pfeifer ab75b89a55 Fixed some incorrect format strings. 2001-01-09 21:50:01 +00:00
François Gouget 54300e592c Move HDWP to winuser.h.
Convert HWINSTA to STRICT.
2001-01-09 20:56:06 +00:00
David Elliott 8767ee3e24 Fixed usage of RegEnumValueA. 2001-01-09 20:52:53 +00:00
Huw D M Davies 87f98a5831 Handle the EnumPrinters() flag PRINTER_ENUM_DEFAULT in the same way
that NT does - that is ignore it and return TRUE.
2001-01-09 20:52:17 +00:00
Huw D M Davies c18391a003 Actually call CDROM_Audio_GetTracksInfo when retrieving
MCI_CDA_STATUS_TRACK_TYPE.
WINE_CDA_OPEN maps to MCIERR_HARDWARE.
2001-01-09 20:51:59 +00:00
Gerard Patel d834e4c858 Send the creation notification to the true owner of the tooltip. 2001-01-09 20:50:13 +00:00
Ulrich Czekalla e5786e3be6 Adjust item rects by horizontal scrollbar offset. 2001-01-09 20:49:38 +00:00
Gerard Patel ea241dcdbd Fixed TCM_GetRowCount. 2001-01-09 20:49:17 +00:00
Alexandre Julliard eafd59e997 Need to import user32 even though we don't use symbols from it yet. 2001-01-07 21:53:46 +00:00
Gerard Patel 29fe7e85f5 Changed string pointer calculation. 2001-01-07 21:52:08 +00:00
Huw D M Davies 62519abbaf Moved all the documented shlwapi functions out of undocshell.h into
shlwapi.h.  Nothing but files in dlls/shell32 will now include
undocshell.h.
2001-01-07 21:50:52 +00:00
Marcus Meissner b904063b54 Removed one &, now CoCreateInstance() of ddraw objects works again. 2001-01-07 21:49:00 +00:00
Alexandre Julliard 105b0f4e64 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.
2001-01-06 01:55:49 +00:00
François Gouget da2b6a9f26 Fixed some HFILE vs. HANDLE mismatches.
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Eric Pouech c4c7324c45 Forced loading of msacm32 when msacm is loaded.
Added msacm DLL pair in config files.
Added some dumb calls from 16 to 32.
2001-01-06 01:23:11 +00:00
Huw D M Davies fc7f6071ff Implement InternetCanonicalizeUrl. 2001-01-06 00:36:43 +00:00
Johan Gill d8dea427c1 Added a more truthful message about what really is wrong. 2001-01-06 00:36:14 +00:00
Marcus Meissner 268b5555ac Don't call QueryAbort16() in WriteSpool16(), since it might be called
with locks held (and we do not need to call it here).
2001-01-06 00:35:37 +00:00
Huw D M Davies f6c7222fce Implemented a few Url* functions. 2001-01-05 22:22:57 +00:00
Mike McCormack dcd9c37a9a Returning success for unknown WSCNTL_TCPIP_QUERY_INFO code makes win98
winipcfg work.
2001-01-05 22:16:11 +00:00
Andreas Mohr abade021fe Mouse events fix. 2001-01-05 22:15:20 +00:00
Alexandre Julliard 8081e5a1e5 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.
2001-01-05 04:08:07 +00:00
François Gouget c583b68565 We must cast the return value of GetProcAddress. 2001-01-05 03:44:40 +00:00
Francois Gouget a1d23f5da6 Removed the 'fn' prefix (i.e. ICOM_FN). 2001-01-04 22:59:48 +00:00
Alexandre Julliard d6c0f9f784 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
2001-01-04 22:44:55 +00:00
Eric Pouech 28b8ac8343 Added a few missing parts. 2001-01-04 20:58:05 +00:00
Alexandre Julliard 44ff9760e7 Fixed dll dependencies. 2001-01-04 19:56:13 +00:00
Eric Pouech ad250aac34 Now using manifest constant instead of raw values for all the
DRV_QUERY??? values.
2001-01-04 19:53:51 +00:00
Mike McCormack 97c781aac2 Added Ulrich Weigand's description of KERNEL32_99. 2001-01-04 19:53:15 +00:00
Marcus Meissner f7e09367bf Set fragments for wave input to 7 x 1024 byte. 2001-01-04 19:28:14 +00:00
Eric Pouech 40e9217523 Fixed loading of 16 bit drivers.
Better support for native mappers.
2001-01-04 19:27:49 +00:00
Eric Pouech 0478059b46 Removed duplicate field in internal structure.
Silenced warning for MCI_CONFIGURE message.
2001-01-03 21:36:56 +00:00
Eric Pouech 8bdba1ba6c Added support for the DRVM_MAPPER_STATUS message. 2001-01-03 21:35:00 +00:00
Eric Pouech 95064364a8 Replaced pointers to external functions by a DLL import. 2001-01-03 21:33:17 +00:00
Andreas Mohr 0529c8bf33 Fixed bitmap size handling. 2001-01-03 21:30:03 +00:00
Marcus Meissner ad37850024 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.
2001-01-02 22:26:09 +00:00
François Gouget 84d72a9a14 Removed an '#ifdef STRICT'. 2001-01-02 22:16:14 +00:00
Ove Kaaven 865cf3752c Bugfix for sound dropping out, and workaround for Half-Life's
braindead secondary sound buffer management.
2001-01-02 21:02:32 +00:00
François Gouget dea3d786e4 Moved HDROP to shellapi.h. 2001-01-02 21:00:46 +00:00