Commit graph

1611 commits

Author SHA1 Message Date
Andreas Mohr 4d47ec26b1 Added newer (ASPI 3.0 ?) function stubs to WNASPI32.
Better error messages.
2000-09-06 19:42:19 +00:00
James Hatheway 2c268318ea Systray should keep a copy of its icons. 2000-09-06 19:40:44 +00:00
Patrik Stridvall 6e740b5b46 Fixed some issues found by winapi_check. 2000-09-04 20:21:06 +00:00
Mike McCormack f97b543471 Rewrote quicksort to solve infinite recursions Win98 explorer.exe. 2000-09-04 20:19:07 +00:00
Jean-Claude Batista 34ce34edd5 Use SetDIBits instead of StretchDIBits (in ANIMATE_PaintFrame). 2000-09-02 23:17:04 +00:00
James Abbatiello 26d6c1f557 Don't use copies of critical sections made by memcpy()
Added missing WINAPIs
2000-09-01 01:22:21 +00:00
Stephane Lussier ec6f37bf3e When checking the socket return by the server request, we should do a
"signed" check.
2000-09-01 01:21:42 +00:00
James Hatheway e0849c8a52 Implemented CoGetPSClsid(). 2000-09-01 01:21:08 +00:00
Andreas Mohr 95feebf843 Fixed a string buffer overflow. 2000-08-31 02:06:26 +00:00
Jean-Claude Batista 8bdee6f329 - improved ACS_TRANSPARENT and ACS_CENTER support
- added RLE8 incremental decompression
- each animation is now controlled by its own Windows thread
- added use of Critical Sections in the WM_PAINT handler.
2000-08-31 02:05:53 +00:00
Alexandre Julliard 92643003cf Converted a lot of server requests to the new exception handling
mechanism.
2000-08-31 01:59:51 +00:00
Alexandre Julliard 94074bc224 Fixed non-OpenGL compile. 2000-08-30 01:51:21 +00:00
Alexandre Julliard 9c2370bd75 Added exception handling wrapper to a number of server requests.
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Andreas Mohr 2951862be2 Fixed verbose CD-ROM serial number warnings and some spelling errors. 2000-08-29 23:56:20 +00:00
Peter Hunnisett 5b6bf34067 Newbie friendly error message for 3D creation failure. 2000-08-29 23:55:26 +00:00
Peter Hunnisett 8adbdd7c7b - More implementation
- Should be able to enumerate sessions anywhere with at least tcp/ip
2000-08-29 23:55:06 +00:00
Andreas Mohr 2b5d9c6e50 Always call LISTVIEW_SetSelection() for an item, even if that item
has been selected before, in order to let other items get erased.
2000-08-29 03:52:16 +00:00
Lionel Ulmer 6e408c4f16 - added ARGB 1555 format
- fixed refcount problem for Add/DeleteAttachedSurface
2000-08-28 19:31:18 +00:00
Dmitry Timoshkov fb23f76087 Add missing message to winerr_enu.mc. 2000-08-28 19:30:04 +00:00
James Abbatiello 48a3157953 Increase number of supported args for WOW_CallProc32W16 from 11 to 13
(for CreateService).
2000-08-28 19:29:44 +00:00
James Abbatiello 5f150baea7 Stub support for int2f/ax=1684/bx=0027 (VXDLDR). 2000-08-28 19:29:26 +00:00
Alexandre Julliard 7bbba4f9ce Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal. 2000-08-26 21:18:36 +00:00
Alexandre Julliard f9087e2bfa Simplified root key handling now that the server supports a real root
key. Fixed a few prototypes. Implemented NtDeleteKey/NtDeleteValueKey.
2000-08-26 21:17:42 +00:00
Alexandre Julliard 46487282dd Fixed debugstr_as/us prototypes. 2000-08-26 21:16:36 +00:00
Andreas Mohr 349655636b - made the MIDI sequencer error message much better for confused users
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Andreas Mohr d31c1f6647 Replaced cCurImage by cMaxImage. 2000-08-26 20:28:17 +00:00
Andreas Mohr d511177390 "Fixed" horribly misaligned pages in property sheets of apparently
newer InstallShields.
2000-08-26 20:28:02 +00:00
Dmitry Timoshkov ad9700582b Register Wine Postscript Driver as "WINEPS", "WINEPS.DLL" and
"WINEPS.DRV" to allow an easy configuring for users.
2000-08-26 20:27:28 +00:00
Andreas Mohr 10c3d0f8bd Don't make DDEML mutexes global any more. 2000-08-26 20:25:52 +00:00
Eric Pouech b8ba84590b Implemented most of '*Format*' API.
Improved internal object and messages handling.
Started some '*Filter*' functions.
Fixed standard headers for Winelib.
Fixed acmMetrics.
2000-08-26 04:33:00 +00:00
Alexandre Julliard d2f8bf6f4a Fixed Rtl* string functions for proper MBCS/codepage support. Added a
few more functions.
2000-08-25 22:12:42 +00:00
Alexandre Julliard 973ce4a088 Moved TASK_Create call to KERNEL initialisation routine.
Clear last error code before calling main entry point (reported by
James Juran).
2000-08-25 22:02:14 +00:00
Alexandre Julliard 350c04b516 Fixed a couple of WINAPI issues with 16-bit spec files (thanks to
Marcus Meissner).
2000-08-25 22:00:06 +00:00
Peter Hunnisett ef6dca5c37 - Implemented loading and initialization of service providers
- Created service provider COM object
- Lots of dplay/dplobby implementation/fixes
- Clean up of ole/guid.c
2000-08-25 21:58:05 +00:00
Andreas Mohr 217a682b4f Minor cosmetic changes. 2000-08-25 21:56:19 +00:00
Lionel Ulmer 6cd85a5816 Fixed the displaying of the FOURCC codes in _dump_pixelformat. 2000-08-25 21:34:09 +00:00
Eric Pouech c70082fb22 Fixed recording format settings (16 bit was broken) and reentrancy
issues.
2000-08-25 21:33:45 +00:00
Eric Pouech 125102f54b Improved a bit the folder browsing implementation. 2000-08-25 21:33:23 +00:00
Lionel Ulmer e34191fc6d Change pixel format for 24 BPP surfaces when the DDraw BPP is 32. 2000-08-25 21:31:15 +00:00
Susan Farley 53d40899b1 Large caption icons should end in '...' when they are abbreviated. 2000-08-23 19:12:36 +00:00
Francois Methot 5ee28aebc8 For the transparency issue, implemented a switch-case for the bitcount
(bit per pixel) of the animation files.
2000-08-23 19:12:14 +00:00
Aric Stewart a1c683e9ad Wine was not drawing trackbars with minimum ranges of more than 0
correctly.
2000-08-23 19:11:31 +00:00
Francois Jacques 133d70788a - removed unnecessary recursion
- upon query failure on main primary lcid and secondary lcid,
  attempts a query on system lcid (0)
2000-08-22 20:51:55 +00:00
Marcus Meissner 8c5df7b55d Fixed some warnings. 2000-08-22 20:40:47 +00:00
James Abbatiello ba0a533669 Don't crash when calling DirectDrawSurface::EnumAttachedSurfaces on a
surface with no attached surfaces.
2000-08-22 20:38:00 +00:00
James Abbatiello dbdd94ba4b Allow FormatMessage to load Unicode string resources. 2000-08-22 20:37:44 +00:00
Aric Stewart 59dae22a43 Beginning of some simple optimization of the listview
drawing. Specifically it reduces flicker when selection changes.
2000-08-21 20:16:53 +00:00
Uwe Bonnes fb2f84ec20 Call WriteOutProfiles16 to make sure that last profile gets written. 2000-08-21 03:33:31 +00:00
Gerard Patel f314e5e76b Disable the owner of a modal dialog box just before creating the
dialog window.
2000-08-21 03:31:39 +00:00
Kai Morich 0ad7874bec Fixed bug in repeatedly iconisation, code cleanup. 2000-08-20 18:48:37 +00:00
Chris Morgan afe9bb814d Implemented DuplicateIcon(). 2000-08-20 18:48:05 +00:00
Chris Morgan 33b668095b Removed direct calls to TREEVIEW_Refresh(). 2000-08-20 03:40:21 +00:00
Alexandre Julliard 2a2321bbca Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Marcus Meissner 61cb6ca9fc Fixed STATUS_GetTextW in regard to NULL pointers. 2000-08-18 23:44:12 +00:00
Ed Snow 909b677e83 Clean out the hack on BASS/TREBLE and suppress them in the mask as was
recommended oh so long ago.
2000-08-18 23:42:43 +00:00
Chris Morgan 9f5a8b00c0 - Added a helper function TOOLBAR_GetText() and macro TOOLBAR_HasText() to
determine whether we need to call InvalidateRect() with bErase of TRUE or
  FALSE.  Reduces background erases in non-text toolbars by 80-85%.
- Fixed button state not being updated properly when LBUTTONDOWN and cursor
  leaves the toolbar.
- Removed FIXME() in TOOLBAR_DrawString for btnPtr->iString == -1, replaced
  with a source code comment.
- Removed unecessary call to TOOLBAR_CalcToolbar() in
  TOOLBAR_GetItemRect().  Optimized TOOLBAR_CalcStrings(). Fixes very
  slow responding toolbars in Ultraedit due to processing TB_GETITEMRECT
  messages.
- Optimized TOOLBAR_SetIntent(), SetRows() and SetStyle().
2000-08-18 23:42:03 +00:00
Gerard Patel e3bd8d0adf Turns the handling to pure 16 bits, remove references to dialog.h. 2000-08-18 23:05:44 +00:00
Albert den Haan 343dd1a1b9 Remove unused critical section global variable PRINT32_RegistryBlocker. 2000-08-18 23:04:12 +00:00
Gerard Patel 7a50e6bb26 Avoids changing 2 levels when clicking .. in the directory list. 2000-08-18 23:03:44 +00:00
Chris Morgan eca7f9fc71 Stubbed SetConsoleInputExeNameA/W. 2000-08-18 23:03:22 +00:00
Gerard Patel c4bf3a6bbe WM_GETFONT should return a real font handle instead of NULL. 2000-08-18 22:25:46 +00:00
Niclas Karlsson MATE b44af64d30 Implemented ACS_CENTER for animation controls. 2000-08-16 12:53:43 +00:00
Francois Methot 587cc122dc Implemented background transparency on animation control for avi
composed of 8 bpp(or less) image. I added support for 8 bpp or more,
but it has not been tested.
2000-08-16 12:44:52 +00:00
Louis Philippe Gagnon aa04597a91 While dragging, catch keyboard messages between WM_KEYFIRST and
WM_KEYLAST, not just WM_KEYFIRST.
2000-08-16 12:44:04 +00:00
Peter Ganten 391466dd8b If a module cannot be found in LoadLibraryEx32W16, call LoadLibraryEx
anyway, since it might be a builtin module.
2000-08-16 12:43:42 +00:00
Marcus Meissner ce1dc56202 Missed the first character of every argument in CommandLineToArgv. 2000-08-16 12:43:17 +00:00
Gerard Patel aaaee1be84 Add an error message if devmode structure in registry is invalid;
attempt to provide plausible values.
2000-08-16 12:43:00 +00:00
Gerard Patel c987767760 Fix return value to 16 bits for 16 bit hook; remove leading space for
file specification.
2000-08-14 20:53:21 +00:00
Alexandre Julliard dcd247e55f Moved CharUpper* and CharLower* functions to dlls/user. 2000-08-14 17:39:15 +00:00
Niclas Karlsson MATE 0f9d56fde8 LPSTR_TEXTCALLBACK wouldn't work if the application supplied the item
text in its own buffer.
2000-08-14 17:17:57 +00:00
Alexandre Julliard e101f6db3b Cleaned up a few inter-dll dependencies. Added a few imports. 2000-08-14 14:42:41 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Alexandre Julliard d586dc99be Replaced VERSION_* calls by exported API equivalents. 2000-08-14 14:35:01 +00:00
Alexandre Julliard 198746d812 Replaced global Callbacks structure by appropriate glue code
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Aric Stewart 7db0384706 Fixed sending of LVN_ITEMCHANGING and LVN_ITEMCHANGED messages,
cleaned up some of the drawing, implemented the iIndent for LVS_REPORT
and fixed a problem where sub items where not being properly
associated with their item for virtual list views.
2000-08-11 21:14:23 +00:00
Alexandre Julliard c97bb4c5d6 Added Unicode ctype support. 2000-08-11 20:53:40 +00:00
Alexandre Julliard e5fe735d89 Moved NM_UPDOWN definition to commctrl.h. 2000-08-11 12:53:27 +00:00
Dmitry Timoshkov 1effe07983 Initialize lpstrInitialDir to really bogus value to restore original
value later.
2000-08-11 00:40:00 +00:00
Ove Kaaven 9723498034 Implemented fopen() append mode, and a really cheesy fscanf()
implementation...
2000-08-11 00:39:14 +00:00
Dmitry Timoshkov 407916e1a1 1. Make buffer for message large enough to hold very long file names.
2. Pass FORMAT_MESSAGE_ARGUMENT_ARRAY for FormatMessageA to not assume
   implementation specific behaviour.
3. Show actual message to user, not non-formatted one.
2000-08-11 00:38:44 +00:00
Alexandre Julliard 42d20f9dca Merged clipboard driver into USER driver.
Moved all ttydrv source files to dlls/ttydrv.
Load functions pointer for the USER driver from the graphics driver
dll with GetProcAddress.
2000-08-10 01:16:19 +00:00
Alexandre Julliard 5ab9d860f2 Removed some unnecessary #includes and dll dependencies. 2000-08-09 22:35:05 +00:00
Alexandre Julliard 4fef2f1917 Removed obsolete SHMDATA parameter in GLOBAL_CreateBlock. 2000-08-09 22:27:11 +00:00
James Hatheway 044d251980 - Avoid null-pointer exceptions by testing listnodes validity before doing
any work with those.
- TLB_ReadTypeLib now retrieves the length of the TLB and passes it to
  the TLB constructor which initializes TLBContext::length to that
  value.
- For non-standard pointed types, td[3] is always 0. I observed that
  the type is stored at td[2]/8 and not td[3]/8.
- Null-pointer exception occurs when GetRefTypeOfImplType is called on a
  type with no inherited interfaces. If the implemented types linked list
  is empty, set pRefType as 0 and return S_OK.
2000-08-09 22:24:04 +00:00
Huw D M Davies 363a75f63a Fix some remaining problems with tooltips. 2000-08-09 22:21:32 +00:00
Alexandre Julliard a007f3364a Moved a few non-standard headers into their respective dlls. 2000-08-09 00:54:58 +00:00
Alexandre Julliard 70c9e095ef Removed all non-standard common control headers from the include
directory.
2000-08-09 00:41:17 +00:00
Alexandre Julliard 691171b8e6 Small dll interfaces cleanups. 2000-08-08 20:49:16 +00:00
Aric Stewart 773efce76b Reworked how selections are kept track of in the list view. Selections
are now listed as a sorted range of paired integers.
2000-08-08 20:46:07 +00:00
Louis Philippe Gagnon 94f74144fd When unsubclassing tools, use toolPtr->hwnd instead of toolPtr->uId if
toolPtr->flags does not contain TTF_IDISHWND (meaning uId is not a
valid window handle).
2000-08-08 20:45:16 +00:00
Andreas Mohr eb38129297 Prevent endless looping in linebreak handling. 2000-08-07 17:09:58 +00:00
Marcus Meissner 9bc9f5e6df If we are looking for an existing pixmap format, we do not need the
same bitsperpixel (fixes depth 15/bitspixel 16 mode).
2000-08-07 17:09:37 +00:00
Peter Ganten c845ad8843 LoadLibraryEx32W16 should use the search algorithm of 16-bit libraries. 2000-08-07 04:18:00 +00:00
Andreas Mohr 81f5f5c935 VIF_OUTOFSPACE and VIF_OUTOFMEM were reversed. 2000-08-07 02:34:47 +00:00
Marcus Meissner 11ec0a58ac Fixed CharNextW. 2000-08-07 02:33:50 +00:00
Alexandre Julliard e514103971 Added imports of kernel32.dll where necessary. 2000-08-06 03:47:29 +00:00
Alexandre Julliard 1d0d244e68 Link USER resources into libuser.so. 2000-08-06 03:46:24 +00:00
Chris Morgan 5c66684850 Converted all calls to RedrawWindow to InvalidateRect. Previously
RedrawWindow was being used for the RDW_UPDATENOW flag which forced an
immediate WM_PAINT message.  Moving to InvalidateRect should let
WM_PAINTs occur normally.
2000-08-06 03:36:09 +00:00
Alexandre Julliard 3850c1ae16 Moved most USER string functions to dlls/user.
Cleaned up a few more inter-dll dependencies.
2000-08-06 02:42:46 +00:00
Alexandre Julliard cb10fdab99 Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
to trap exceptions.
2000-08-06 02:41:16 +00:00
Patrik Stridvall 11ca9b9eb7 Fixed issues found by winapi_check. 2000-08-04 21:08:28 +00:00
Patrik Stridvall b4c7499883 Fixed some warnings. 2000-08-04 21:08:01 +00:00
Alexandre Julliard 93652e1a68 Moved a bunch of functions out of libwine/kernel/gdi into USER. 2000-08-04 04:21:02 +00:00
Alexandre Julliard b0efe28f6c Removed a few dependencies on GDI internals from USER dll. 2000-08-04 04:18:04 +00:00
Alexandre Julliard 74cc65a940 Added a few missing imports. 2000-08-04 04:12:08 +00:00
Alexandre Julliard 09ddb59142 Make USER and GDI separate dlls. 2000-08-03 22:22:42 +00:00
Andreas Mohr ae50941ae5 Fixed the Win16/Win32 structure size/alignment differences of
ws_hostent, ws_protoent, ws_servent, ws_netent.
2000-08-03 22:19:09 +00:00
Huw D M Davies 4e095e6e2b Redo the show/hide logic and add a comment to explain what's going on.
Fix TTM_{S|G}ETDELAYTIME to use the double click time as default.
Fix handling of TTDT_AUTOMATIC.
Relayed mouse messages should extract the position from lParam not
msg.pt
SubclassProc now unified with TTM_RELAYEVENT.
Change all lstrcpyxtox to use win32 APIs.
2000-08-03 22:18:15 +00:00
Alexandre Julliard 87194855a1 Changed the AFM metrics structure to use an array instead of a linked
list. This avoids doing two heap allocations for every character, and
reduces the metrics parsing time by approx 25%.
2000-08-03 22:17:45 +00:00
John R. Sheets 66b4dd28cd Added "Mime-Version" to standard MIME headers parsed in
HTTP_GetStdHeaderIndex().
2000-08-03 22:16:39 +00:00
Juergen Schmied ec85c6be75 Implemented the ErrorInfo interfaces. 2000-08-03 04:34:59 +00:00
Alexandre Julliard 9d3f93d965 Added explicit dependency on message files for people who don't run
make depend.
2000-08-03 04:23:06 +00:00
Alexandre Julliard bea617be47 Moved GUID definitions to their respective dll. 2000-08-03 04:22:35 +00:00
Alexandre Julliard 08aad6ac25 Fixed IShellLinkA/W definitions. 2000-08-03 04:21:23 +00:00
Alexandre Julliard b08cb175de Added guiddef.h and moved a few GUID definitions to the correct file. 2000-08-03 04:19:24 +00:00
Alexandre Julliard 17904173a0 Fixed IsEqualGUID definition. 2000-08-03 04:16:34 +00:00
Aric Stewart 559692a5e5 - Fixed bug where InitSubItem was doing a ZeroMemory on the item.
- Cleaned up a sit of extra blue at the end of a FULLROWSELECT list view
  if there is only one column.
- Corrected a bug I introduced with an earlier patch which caused
  problems with multiple selections.
2000-08-03 00:24:09 +00:00
Marcus Meissner 28816705c6 One of the 24/32 convert color masks was wrong. 2000-08-03 00:22:59 +00:00
Marcus Meissner 4ade3b8b6f GetPropA/W have string args. 2000-08-03 00:22:46 +00:00
Alexandre Julliard 6c9d83aa4c Added imports of user32/gdi32/kernel32 wherever necessary. 2000-08-03 00:04:24 +00:00
Marcus Meissner 80d62c7888 PE_MESSAGE_HEADER.Length contains the header itself too. 2000-08-02 00:56:28 +00:00
Gerard Patel d8cb43c78e Changed the win31 style file dialog to 32 bits structures and
messages.
2000-08-01 23:33:37 +00:00
Alexandre Julliard 15d9a60246 Serge Ivanov
Andrew Lewycky
Improved drawing of item text, added SHOWSELALWAYS capability.
2000-08-01 23:31:17 +00:00
Matthew Lake efd796743d Fixed a segfault problem using the standard file open dialog box. 2000-08-01 23:30:25 +00:00
Susan Farley 1da10fdca8 More consistent calculation of line height, scrolls a full item on
line up/down.
2000-08-01 22:01:11 +00:00
Aric Stewart 176cee7e1d Fixed a few bugs including one with setting extended styles and
editing labels.
Implemented the LVS_EX_FULLROWSELECT extended style.
Begin an implementation of virtual list views (LVS_OWNERDATA style
set).
2000-08-01 20:58:33 +00:00
Aric Stewart 9e38c64985 Implemented InternetCheckConnectionA. 2000-08-01 20:53:42 +00:00
Marcus Meissner e6abd34cdd Fixed 2 forward entries. 2000-08-01 20:51:14 +00:00
Marcus Meissner f961dab48f Removed some flicker by detecting if we set the same value again. 2000-08-01 20:50:33 +00:00
Alexandre Julliard 646c562f9c Cleaned up some more USER dependencies. 2000-07-31 23:32:47 +00:00
Alexandre Julliard 6b141176be Moved toolhelp implementation into kernel32 dll. 2000-07-31 21:01:05 +00:00
Dave Pickles 28bbdb777c Added text for all messages included in win95 and winNT. 2000-07-31 20:58:00 +00:00
Marcus Meissner 5c18f69c80 Added { } around stuff in ADD_TO_T macros. 2000-07-31 20:56:52 +00:00
Alexandre Julliard 58d5a0a786 Removed some unnecessary inclusions of wingdi.h and winuser.h 2000-07-29 21:58:17 +00:00
Alexandre Julliard 0aa6cc298e Removed a few external dependencies from ntdll. 2000-07-29 21:56:59 +00:00
Marcus Meissner e5c1b9dded Added CreateTypeLib,LHashValOfNameSys stubs.
Check for correct struct magic before reading out of it.
2000-07-29 21:54:58 +00:00
Marcus Meissner f06555a34e Implemented SmoothScrollWindow. 2000-07-29 21:54:38 +00:00
Marcus Meissner 62f059f6fe Get rid of USER32 functions in KERNEL32. 2000-07-29 14:35:32 +00:00
Uwe Bonnes 6e5f3c759f We always have strerror, so no need to ifdef HAVE_STRERROR. 2000-07-29 11:32:07 +00:00
Marcus Meissner 9cb1870fe9 Implemented OleGetAutoConvert. 2000-07-29 11:29:26 +00:00
Marcus Meissner 77e3cd8cd0 No longer crash when running with DirectDraw with a DDClipper in
-desktop mode.
2000-07-29 00:01:30 +00:00
Francois Jacques 5b6879c5c0 - implementation of SetWindowsRgn and GetWindowRgn
- X11DRV and TTYDRV updated with new API SetWindowRgn
2000-07-28 23:04:54 +00:00
Dmitry Timoshkov 90c0ccef03 Added stub for OLE32.OleSetAutoConvert needed by Adobe Photoshop 4.0. 2000-07-28 20:20:20 +00:00
Huw D M Davies e8d4268a9f Add Connection Point support to OLE font objects.
Add some more TRACE()s.
2000-07-28 20:17:21 +00:00
Alexandre Julliard 76d3671bee Added 'owner' field to 16-bit spec files to specify the name of the
32-bit dll that contains it.
2000-07-28 00:07:18 +00:00
Alexandre Julliard a3502ccf93 Merged setupx.dll into setupapi.dll.
Merged sound.dll into winmm.dll.
Merged stress.dll into kernel32.dll.
2000-07-26 19:51:37 +00:00
Alexandre Julliard ac3ff1a82e Added a few empty source files so that each dll has at least one C
file.
2000-07-26 18:30:38 +00:00
Eric Pouech 731e9f5309 - removed (now obsolete) driver.h file (it's content is now in mmsystem.h)
- upgraded vfw.h content
2000-07-26 18:07:04 +00:00
Alexandre Julliard 6430d93aa6 Moved shlwapi routines from shell32.dll to shlwapi.dll. 2000-07-26 17:51:32 +00:00
Alexandre Julliard 7e495e1d66 Make unicode.o into a separate ELF library so that we can use it from
the wineserver too.
2000-07-25 21:01:59 +00:00
Dave Pickles a64603d3d6 Improved FormatMessage:
- Added full support for FORMAT_MESSAGE_FROM_SYSTEM
- Implemented language search as documented
- Illegal combinations of options trapped.
- Message table for system messages added.
2000-07-25 17:53:58 +00:00
James Hatheway bf3e2e9fb0 Portability fixes. 2000-07-25 17:45:50 +00:00
Patrik Stridvall 315b00e861 Fixed issues found by winapi_check. 2000-07-25 17:45:14 +00:00
Alexandre Julliard d5041fc45a Moved thunking functions off to kernel32.dll. 2000-07-25 16:42:25 +00:00
Alexandre Julliard cd770eafcd Temporarily moved advapi32 registry support back into libwine.so, and
made advapi32 a separate dll.
2000-07-25 15:10:52 +00:00
Alexandre Julliard 78547774cc Merged wing.dll into gdi32.dll. 2000-07-25 12:28:20 +00:00
Aric Stewart d778da2fbe Prevent the attempt to draw invalid image indexes.
Provide the two pixel buffer between the image and the label.
2000-07-25 12:26:59 +00:00
Huw D M Davies 2e67f9bc44 A generic implemention of IConnectionPoint/IEnumConnections. 2000-07-25 12:26:12 +00:00
Alexandre Julliard 37b51f4acc Merged msacm and msacm32 dlls.
Merged win87em and windebug into kernel32.dll.
2000-07-24 18:30:00 +00:00
James Hatheway c9d258274d Adds an initial WSAIoctl function with support for only the
SIO_GET_INTERFACE_LIST command.  Adds initial code to WsControl
function to support the WSCNTL_TCPIP_QUERY_INFO command.
2000-07-23 19:28:24 +00:00
Eric Pouech 67247b2b1d Compilation fixes for OpenGL. 2000-07-23 19:27:21 +00:00
Lionel Ulmer 1434d875ea Detect broken glext.h headers. 2000-07-23 14:23:31 +00:00
Gerard Patel 7f392f5e1b Focus handling, visual changes + misc fixes. 2000-07-23 14:21:38 +00:00
Mike McCormack 8fc00076b9 Implemented lineGetCountry. (works with HyperTrm.exe) 2000-07-23 14:20:58 +00:00
Andreas Mohr cf80f0ab11 Added InstallHinfSection stub. 2000-07-23 14:20:34 +00:00
Aric Stewart 9024c107bf Handle the case where the function SetItem is called to select an item
or set its focus.
2000-07-23 14:19:42 +00:00
Ove Kaaven fddc3e15d8 Added a few C++ operators to Direct3D structures, and made some unions
'nameless'.
2000-07-23 14:19:19 +00:00
Eric Pouech 37f5c11118 Insured that all parameters of async functions are copied before
returnig from request.
2000-07-23 14:17:51 +00:00
Marcus Meissner bfae5c8382 IDirectDraw,IDirectDraw2,IDirectDraw4 fixed up in regard to COM usage. 2000-07-23 13:39:52 +00:00
Ove Kaaven 9b2060afab Change the V86BASE macro to call DOSMEM_MemoryBase() instead of using
the ugly Dr7 hack.
2000-07-23 13:36:41 +00:00
Eric Pouech eef1fb8f41 Fixed first seek on MEM mmio files. 2000-07-23 13:35:39 +00:00
Gerard Patel 9239ddd245 Remove calls to DIALOG_DoDialogBox and DIALOG_CreateIndirect. 2000-07-23 13:35:14 +00:00
John R. Sheets 646d2a2aaf Add a few more fields to HTTP_GetStdHeaderIndex() and fix some typos. 2000-07-23 13:34:43 +00:00
John R. Sheets 4d2bd36442 Put the URL parameter list in with the URL path if the ExtraInfo
buffer isn't specified.
2000-07-23 13:34:21 +00:00
Ove Kaaven 6713541db9 Added stub for RasHangUpA(). 2000-07-23 13:32:57 +00:00
David Elliott 17b341270a - Changed the temporary buffer for loading resources from 256 to 512
- Define MAX_RESOURCE_STRING_LENGTH instead of using it magically throughout
  the function
- Use lstrcpynW instead of lstrcpyW
2000-07-23 13:31:41 +00:00
Andreas Mohr 2caee712a2 Spelling fixes. 2000-07-16 15:44:22 +00:00
Lionel Ulmer a8cc5f543e - fix Direct3D support and a lot of warnings
- add support for DDraw in a window (not optimized yet)
- cleans up OpenGL extensions handling for D3D
2000-07-16 14:40:35 +00:00
Mike McCormack a341a96789 Hook serialui dll into existing comm functions. 2000-07-15 21:36:31 +00:00
Mike McCormack dc2461e804 Implemented serialui dll containing CommConfigDialog,
GetDefaultCommConfig and SetDefaultCommConfig.
2000-07-15 21:35:55 +00:00
Patrik Stridvall 6314ad696b Fixed some warnings. 2000-07-15 21:33:38 +00:00
Patrik Stridvall e03fe5a420 Fixed some issues found by winapi_check. 2000-07-15 21:32:26 +00:00
Ed Snow 276495e3af Fixes unmuting when unmuted.
Unifies scale reported with scale used for volume control.
Hack for Bass/Treble until better fix is complete.
2000-07-15 21:28:51 +00:00
Huw D M Davies 10b1b23d40 Create rpcrt4.dll.
Implement UuidCreate (using existing code from CoCreateGuid).
CoCreateGuid calls UuidCreate.
2000-07-15 19:53:50 +00:00
Rob Farnum e63a40ee96 Ignore iBitmap width when drawing flat toolbar. 2000-07-15 19:45:43 +00:00
David Elliott 8466fc34de - New function in aspi.c SCSI_Fix_CMD_LEN which determines if Linux is
guessing the command length correctly, and if not, tell's it what's up.
- Changed strcat to strcpy in SendASPI32Command to avoid requiring the
  caller to clear the fields.
- Added a new field to HA_Unique content to fix some applications.  Will
  fix this for good at a later date.
- Added TRACE to GetASPI32DLLVersion (and FIXME when not running under
  Linux)
- Added some constants to winescsi.h
(with the help of Bernd Bernie Meyer <bmeyer@cs.monash.edu.au>)
2000-07-15 15:15:31 +00:00
Peter Ganten ae3716d690 Stubs for CreateDesktopA and EnumDesktopWindows. 2000-07-15 15:13:56 +00:00
Andreas Mohr 3c4e031dd9 Added WSAWaitForMultipleEvents (alias to WaitForMultipleObjectsEx). 2000-07-15 15:12:18 +00:00
Huw D M Davies 74b98116c6 OLE picture object implementation. 2000-07-15 14:59:11 +00:00
Alexandre Julliard 6ce257067a Set ansi/oem/mac code pages from current locale. 2000-07-11 22:08:43 +00:00
James Hatheway e940b8c993 Stub for the ACM_METRIC_MAX_SIZE_FORMAT command of acmMetrics. 2000-07-11 22:05:47 +00:00
Marcus Meissner 5d760b1ca8 Check for NULL flipchain and just return the current surface if it
happens.
2000-07-11 22:05:21 +00:00
Marcus Meissner fb2273be7e Implemented _vsnprintf by calling wvsnprintfA. 2000-07-11 22:05:03 +00:00
Chris Morgan a319a9784e Fixed TOOLBAR_DrawString() to offset button text if infoPtr->himlDef
is non-zero.  Better fix than my previous patch.
2000-07-11 22:03:44 +00:00
Peter Hunnisett 4da59ea6dd - Make ref counting a little more efficient
- Correct suspended process resumption
- Don't use sys/queue.h anymore
- Properly initialize the global semaphore across processes
- Create a mapped file for shared data structures
- Change some trace messages
- Allocate dynamic shared data from the mapped file
- Rework setting and retrieving lobby settings from shared memory
- Add infrastructure for syncronization after app launch
- Small documentation update
- Include some stuff missing from header
- Start on dp and dpl message infrastructure
- Unicode versions of player/group commands added
- Combined Connect/ConnectEx and Open/SecureOpen
- More implementation
2000-07-10 13:19:28 +00:00
Dmitry Timoshkov 961053fd2f Moved all NLS dependent data to the KERNEL resources. 2000-07-10 13:11:27 +00:00
Francois Jacques 13ae2f5b8c Prevent SysAllocString and SysAllocString16 to perform any processing
on NULL strings.
2000-07-10 13:04:45 +00:00
Marcus Meissner 521c0e4afa Stub for RegisterDeviceNotificationA. 2000-07-10 10:58:16 +00:00
Gerard Patel 0b42d3ce5b Fakes a negotiation of the winsock version. 2000-07-10 10:57:46 +00:00
Juergen Schmied e3b8640c77 - better loading of *.tlb files
- seperated code for loading tlb resource into memory from code for
  parsing the tlb resource.
2000-07-10 10:57:28 +00:00
Juergen Schmied 4d67892358 Implemented OleCreate. 2000-07-10 10:56:19 +00:00
Huw D M Davies 2cbda2ef92 Stub implementation of LHashValOfNameSysA.
Don't crash if we encounter a BSTR with length <= 0.
Fix typos in ITypeLib::GetDocumentation.
2000-07-09 12:17:52 +00:00
Dave Hawkes 4fb5ab4765 With some apps a fault was possible in ExtractAssociatedIcon. 2000-07-09 12:17:23 +00:00
Alexandre Julliard c607532ae4 Created separate libraries for dplay, shfolder, shlwapi, wow32 and
wsock32 so that we have at most one Win32 dll in each .so library.
2000-07-09 11:19:35 +00:00
Francois Jacques e81b63fc9c Implemented SafeArrayGetVarType.
Added a VT_RECORD variant type definition.
2000-07-08 18:30:41 +00:00
Stefan Leichter 00e7c3346d Started implementation of the functions GetDefaultCommConfigA/W. 2000-07-08 18:29:54 +00:00
Marcus Meissner 14a842761d Corrected 24->32 conversion. Still only correct for little endian. 2000-07-08 18:28:57 +00:00
Chris Morgan 6647ef4d71 Fixed TOOLBAR_DrawString() to offset button text if the himl parameter
is non-zero or the default himl, himlDef, is non-zero.  Fixes a bug in
WinZip 8.0 where text is not shifted down by the height of the button
image.
2000-07-08 18:27:44 +00:00
Francois Jacques df5e579254 Added setupapi shared library and SetupIterateCabinet stub. 2000-07-08 18:27:03 +00:00
Bradley Baetz a1491dea90 Implemented a large number of the msvideo dll routines. 2000-07-08 12:50:26 +00:00
Gerard Patel 19cef6ca10 Allow the size of bitmaps to be changed after toolbar buttons have
been added.
2000-07-08 12:48:37 +00:00
Slava Monich 5b0ace1c24 On Windows property sheet has DWL_USER dword pointing to a structure
that starts with HWND and PROPSHEETHEADER fields.
2000-07-08 12:48:13 +00:00
Slava Monich fb8934d4bd Implementation of Get/SetThreadPriorityBoost. 2000-07-08 12:47:30 +00:00
James Hatheway 1fb3298e7b Only use the column headers to calculate the width of a
LDS_REPORT-type listbox if it actually has column headers.
(ie. LVS_NOCOLUMNHEADER bit is not set.)
2000-07-08 12:45:21 +00:00
Andreas Mohr 679226ff19 Added semi-stub. 2000-07-08 12:43:34 +00:00
Bradley Baetz d74e446c7c Handle mciSendString("open <mcitype>",...) 2000-07-08 12:43:09 +00:00
Huw D M Davies 5d83a6576e Fix SysStringByteLen to really return the length in bytes. 2000-07-08 11:47:38 +00:00
Slava Monich 9b6082f0a3 Changed the size of property sheet template to be the same as the
original one (was 292x159, now 220x140).
2000-07-08 11:47:19 +00:00
Huw D M Davies 5b9a7cbf3a Implement IDataAdviseHolder. 2000-07-08 11:46:54 +00:00
Huw D M Davies cd136c1256 Fix typo in ITypeLib::IsName. 2000-07-08 11:46:33 +00:00
Huw D M Davies 9bc7912e32 CreateStreamOnHGlobal should alloc a shared memory block if supplied
handle is 0.
2000-07-08 11:46:16 +00:00
Dmitry Timoshkov 14264c0fd6 Do not crash if there was no files selected and OK button was pressed. 2000-07-08 11:45:58 +00:00
Ove Kaaven 9405793109 Fix a couple of problems with underruns and stopping/restarting. 2000-07-08 11:45:39 +00:00
David Elliott 837d66e15a Map each channel on every host to an ASPI controller number.
Store map in HKEY_DYN_DATA.
2000-07-08 11:44:48 +00:00
Andreas Mohr fd79ce05c3 DSA_InsertItem returns nIndex, not nItemCount. 2000-07-08 11:44:20 +00:00
Chris Morgan b43639e76e Fixed background redrawing when control is covered. Fixed a really
dumb mistake I made with border drawing many patches ago.  Fixed
offset by 1 alignment issues.
2000-07-08 11:43:57 +00:00
Marcus Meissner 62eedafb4a Removed another bad assert and two no longer needed ones. 2000-07-08 11:43:34 +00:00
Marcus Meissner 12298c5cad Return "no debugger attached" in NtQueryInformationProcess to satisfy
some copy protection mechanisms.
2000-06-25 12:51:55 +00:00
Eric Pouech 9a5b0d4fbf Fixed crash when lpTemplateName is gotten from MAKEINTRESOURCE. 2000-06-25 12:51:14 +00:00
Marcus Meissner cbe749f16a Fixed two asserts in Blt(). 2000-06-25 12:50:54 +00:00
Gerald Pfeifer 67263a3ec8 Properly cast arguments to printf to match the intended output. 2000-06-25 12:50:31 +00:00
Eric Pouech 737db5fce2 Several fixes spotted by Corel (Jean-Claude Batista & Sean Langley).
Seeking from SEEK_END was wrong.
Seeking on empty buffer was wrong.
Some installed ioProcs had uninitialized fields.
A few more bits for rename functions.
2000-06-25 12:50:11 +00:00
Mike McCormack 4b4e978106 Add workarounds for null strings in TOOLBAR_InsertButtonA and calling
TOOLBAR_SetButtonSize after button added to the toolbar (latter for
WINZIP32.EXE)
2000-06-25 12:48:41 +00:00
Eric Pouech b4905d2241 Cleaned up loading/init code in OSS.
Cleaned up getDevCaps in midi part.
Implemented asynchronous waveIn recording using a thread.
2000-06-24 17:54:43 +00:00
Eric Pouech c32169c1c8 A few missing console stubs. 2000-06-24 17:54:07 +00:00
Eric Pouech ed56845afe Fixed animation loading for RLE encoding. 2000-06-24 17:53:40 +00:00
Juergen Schmied 07b143ed4d - removed hack to find the right resource
- updated to use the ICOM macros
- cleaned up use typelib and typelib2 (was mixed up)
2000-06-24 13:50:52 +00:00
Juergen Schmied 5370930a8a - fixed reported bugs
- fixed default extensions
- implemented "browse to desktop" button
2000-06-24 13:39:53 +00:00
Andreas Mohr 20b87c06eb CallProcEx32W should be named _CallProcEx32W. 2000-06-24 13:34:07 +00:00
Juergen Schmied 1dbf403db4 - many new Path* stubs
- many bugfixes
- class functions expanding environments variables now
2000-06-24 12:56:08 +00:00
Ove Kaaven fd92ebdb4c Implemented the DirectSound HAL in winmm's wineoss (Open Sound System)
driver, and winmm's interface for DirectSound to access it. It
requires the ability to mmap /dev/dsp, to trigger playback, and
sample-accurate position readouts. (If the soundcard's device driver
does not report these capabilities, wineoss will report the HAL as
unavailable and force DirectSound to use its HEL instead.)
2000-06-24 12:55:33 +00:00
Ove Kaaven 849c930481 Implemented the DirectSound HAL mode for DMA primary buffers, with a
10ms latency (not noticeable), and about 300ms of prebuffering. Fixed
a few bugs. Added a Wine-only WINMM flag for waveOutOpen for
DirectSound to use (so drivers like wineoss have some way of knowing
what to prepare itself for).
2000-06-24 12:54:49 +00:00
Andreas Mohr 1f0c216e8f Implemented/stubbed IconSize() and ControlPanelInfo() needed for Win
2.0 control.exe and paint.exe.
2000-06-24 12:54:00 +00:00
Gerald Pfeifer e384fa6b6d Added missing #include <math.h>. 2000-06-24 12:50:56 +00:00
Marcus Meissner 05fce2cf62 Create xlib ddsurfaces with correct reference counts. 2000-06-24 12:50:08 +00:00
Alexandre Julliard 42acc339ed Split bidi16.c and network.c out of misc/ into their respective dlls. 2000-06-24 12:41:05 +00:00
Andreas Mohr 22752323c5 Added more ordinals to KERNEL, GDI, USER and system drivers
(Windows 1.1, 2.0).
2000-06-23 17:10:50 +00:00
Peter Ganten 3020d1b0be _common_depth_to_pixelformat() returns -1 and not zero, if a mode is
supported.
2000-06-23 16:54:23 +00:00
Dave Hawkes 5f5fb12420 Avoid gratuitously changing the ZORDER. 2000-06-23 16:53:52 +00:00
Marcus Meissner 968580c136 Use correct bpp for the X side of the surface XImages.
Cleaned up Xlib_Surface_Release so it is a bit more readable.
use VirtualAlloc for conversion-programside buffer to simplify
handling.
2000-06-23 16:52:53 +00:00