Commit Graph

1656 Commits

Author SHA1 Message Date
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
Marcus Meissner 653d57a22a Dump FourCC correctly, print conversion messages, add reference to
ddraw in DDSurface::GetDDInterface.
2000-06-23 16:50:24 +00:00
Marcus Meissner 398d8b4e9b Restrict nTimeout to 0-32767, since it is a 16bit value in X. 2000-06-23 16:49:46 +00:00
Dave Hawkes 52b6bd95d3 Exception handling for SIGFPE must always clear the FPU interrupt
status.
2000-06-23 16:49:09 +00:00
Alexandre Julliard 4f356e86e4 Moved shared crtdll/ntdll functions into ntdll.
Made crtdll a separate dll.
2000-06-23 16:16:30 +00:00
Alexandre Julliard 917910324f Cleaned up a few inter-dll dependencies. 2000-06-23 16:13:33 +00:00
Patrik Stridvall b167d4b21c Fixed some issues found by winapi_check. 2000-06-23 15:47:36 +00:00
Patrik Stridvall 4710be20fe Fixed some warnings. 2000-06-23 15:47:14 +00:00
Ove Kaaven 353c776a66 Restructure DirectSound. Remove dsound thread, use MM timers
instead. Implemented the DirectSound HEL, with the ability to
prebuffer 300ms of sound, while maintaining play latency of 40ms, and
the exact playposition (Starcraft cinematics are lip-synched).  Some
initial HAL support.
2000-06-23 15:45:05 +00:00
Francois Gouget 105e6adf16 Merged DeviceCapabilities and DeviceCapabilitiesA. 2000-06-23 15:34:52 +00:00
Francois Gouget 7f01aa879c Merged MCIWndCreate and MCIWndCreateA. 2000-06-23 15:34:25 +00:00
Huw D M Davies 2cfb02a575 CLSIDFromString apparently also accepts ProgIDs as an input string. 2000-06-23 15:33:31 +00:00
Alexandre Julliard 2ddd5ce5df Cleaned up a few inter-dll dependencies. 2000-06-20 20:59:27 +00:00
Noomen Hamza 3b3779b260 OleConvertOLESTREAMToIStorage fails (returns REGDB_E_CLASSNOTREG) when
the CLSID of the OLE object is not found in the registry. Fixed.
2000-06-20 20:49:53 +00:00
Gerald Pfeifer e6ba02e57a Fixed format strings. 2000-06-20 20:34:41 +00:00
Alexandre Julliard 6953d6756c For dlls, derive SPEC_SRCS from MODULE and ALTNAMES. 2000-06-20 20:24:14 +00:00
Ove Kaaven df0dd9ab49 Fixed WHDR_DONE race condition. 2000-06-20 20:18:09 +00:00
Huw D M Davies 11ab5b90cc Implemented StrCatBuff. 2000-06-20 20:17:39 +00:00
Gerard Patel d837d9db63 Protect against programs creating parts with negative width. 2000-06-20 20:13:24 +00:00
Stephane Lussier fb949605ba - Fixed a memory corruption in safe arrays when using SafeArrayCopy()
function with a SafeArray created with FADF_FIXEDSIZE.
- Added more FADF flags in the .h file.
- FADF flags were defined twice, corrected the situation.
2000-06-18 19:29:40 +00:00
Francois Gouget 326e2ba5a1 Added some missing prototypes.
Define the HDRAWDIB handle type.
2000-06-18 17:26:44 +00:00
James Hatheway 829405af93 Created an initial Winsock 2 (ws2_32) DLL. Makes use of the Winsock 1
functions already implemented.
2000-06-18 17:23:17 +00:00
Eric Pouech dd15b2fc4b Fixed port status query. 2000-06-18 17:22:13 +00:00
Noomen Hamza 6e027cbbec WM_PAINT should be processed only by the TREEVIEW_Paint function, so
we don't need to call DefWindowProcA function within TREEVIEW_Paint.
2000-06-18 17:20:11 +00:00
James Hatheway 13b1864e97 Added a stub for CoCreateFreeThreadedMarshaler(). 2000-06-18 17:18:53 +00:00
Francois Jacques da15785777 Make IIDFromString point to CLSIDFromString. 2000-06-16 21:53:06 +00:00
Juergen Schmied 3de41ceb42 - better error check when importing functions via GetProcAdress
- replaced SHGetSpecialFolderPath (not aviable in all shell32 versions)
- changed call order when browsing to different folder (crash with native shell)
- removed Move call since IShellview_CreateViewWindow creates it already in
  the right rect
2000-06-16 21:51:33 +00:00
Juergen Schmied 3e56dbc9a4 - fixed null-pidl from _ILCreateControl
- some more no-name functions in shlwapi
2000-06-16 21:50:59 +00:00
Francois Jacques d1819bf7bd Keep an internal copy of the icon. 2000-06-16 21:48:57 +00:00
Gerard Patel 044acd0ee4 Set the base for the ordinals of olepro32 to 248. 2000-06-14 21:15:22 +00:00
b0c4965427 Added difftime function. 2000-06-14 21:14:35 +00:00
Juergen Schmied 13d74c5f0a - new dll shfolder.dll
- small fixes
2000-06-13 03:45:52 +00:00
Bertho Stultiens 661a94033e - Bugfix: Corrected "off by one" error in the linenumber while parsing
resource.
- Bugfix: A segfault would occur if messagetables were parsed without
  memory options attached. Also added buffer-overflow safeguard while
  converting between byteorders.
- Finished remapping usertype resources onto standars types by tricking
  the parser into accepting a different token. The remapping can be
  disabled with a new commandline option '-m'.
- Resolved some warning about chars used as index on SGI O2 machine
  (the ctype isXXX() routines are macros there).
2000-06-13 03:37:56 +00:00
Alexandre Julliard 5ea22474bb Use the Unicode string functions from wine/unicode.h instead of the
crtdll ones.
2000-06-13 01:10:29 +00:00
Marcus Meissner 9c51c96c6d Added 24->32 packed pixel mapping support to convert.
Slightly rewrote the conversion initialisation.
2000-06-13 01:06:53 +00:00
Juergen Schmied 1f34ce594a Implementation for PrivateExtractIcons, PrivateExtractIconEx. 2000-06-12 22:00:11 +00:00
Juergen Schmied 79d850f2d7 - implemented Get/SetThreadLocale
- added comment about OleErrorInfo field in TEB
2000-06-12 21:56:02 +00:00
Huw D M Davies ec0ceeffc5 If printer only supports level 1 PostScript then complain rather than
trying to use a pattern color space.  Thanks to David Goodenough.
2000-06-12 21:54:52 +00:00
Lionel Ulmer 2babd685a4 replaced a DPRINTF by a TRACE 2000-06-12 21:54:00 +00:00
Lionel Ulmer 83de83e9cf - moved the 'constructor' into a real DLL init function
- make OpenGL32 dependant on the X11 driver
2000-06-12 21:53:46 +00:00
Lionel Ulmer bff705dc23 New OpenGL thunk generation script. 2000-06-12 01:21:18 +00:00
Lionel Ulmer ef275bbb99 Removed the Release in case of error as we do not AddRef anymore. 2000-06-12 01:18:35 +00:00
Alexandre Julliard 261abcd5bc Reimplemented Unicode case mapping in a slightly more efficient way.
Moved case mapping support to the unicode directory.
Some cleanups in cpmap.pl, use WCHAR instead of unsigned short.
2000-06-12 01:16:11 +00:00
Aric Stewart 3054b7625a We were not properly masking the item that was sent with the message
and also we where not sending the notification at the proper times.
2000-06-11 20:39:14 +00:00
Ulrich Czekalla c275724cbf HTTP protocol now supported, InternetCrackUrl fixed, lots of other
fixes.
2000-06-11 20:04:44 +00:00
Patrik Stridvall a831f2a1e7 Fixed some warnings. 2000-06-11 20:03:17 +00:00
Patrik Stridvall ae8760201c Fixed some issues found by winapi_check. 2000-06-11 20:02:45 +00:00
Huw D M Davies 2a99a462e4 Remove second import of winspool.drv. 2000-06-11 20:01:49 +00:00
Huw D M Davies d323f4308d Terminate image data with a '>' [The PSLRM is rather vague about this].
Thanks to Bernd Herd.
2000-06-11 20:00:05 +00:00
James Abbatiello 625653f96d Add a few more flags to those recognized when doing trace+dsound. 2000-06-11 19:59:10 +00:00
Alexandre Julliard f7bf7ef7b4 Rewrote codepage support to use the new codepage tables. 2000-06-10 04:42:33 +00:00
Ove Kaaven 70b699a1a1 Call TSXFlush after setting DGA palette, so it updates immediately. 2000-06-10 04:24:41 +00:00
Dmitry Timoshkov 0072c88111 Implement NTDLL.towupper and NTDLL.towlower using already existing
case conversion tables. Replace all direct calls to towupper/towlower
either to NTDLL for core or to CRTDLL if latter already used in the
non core dll.
2000-06-08 20:05:18 +00:00
Aric Stewart 8b5231df91 Windows must update the right edge (-1) of the last panel upon drawing
instead of relying on WM_SIZE.
2000-06-08 19:22:25 +00:00
Aric Stewart 19f83e2f6a Properly handle InsertItem with an invalid HTREEITEM. Windows handles
these like a TVI_LAST.
2000-06-08 19:21:41 +00:00
Alexandre Julliard be4ccc7f12 Added missing dependency. 2000-06-08 19:05:47 +00:00
Alexandre Julliard 2b5d564e63 Merged mouse dll into USER. 2000-06-08 04:57:22 +00:00
Alexandre Julliard 01e819ad9f Simplified wrc flags handling. 2000-06-08 04:52:11 +00:00
Alexandre Julliard 42cc2bdf46 Setup signal handling and exceptions only after REQ_INIT_PROCESS_DONE
has been sent, to avoid deadlocking the debugger.
2000-06-07 03:49:41 +00:00
Peter Hunnisett ac986830fa - Small update to documentation
- More player/group interface implementation (not tested)
2000-06-07 03:44:36 +00:00
Uwe Bonnes 4c5af80c6a PathFindNextComponent: return pointer to NULL and not NULL. 2000-06-07 03:14:40 +00:00
Aric Stewart d9ac53f15a Added handling of TBSTYLE_AUTOSIZE. 2000-06-07 03:14:12 +00:00
Patrik Stridvall c94e086161 Fixed some warnings. 2000-06-07 02:16:47 +00:00
Patrik Stridvall 7980a50cb7 Fixed issues found by winapi_check. 2000-06-07 02:15:39 +00:00
Uwe Bonnes cf50ffbf0a TOOLBAR_DrawString: catch index== -1 (but not yet handled). 2000-06-07 02:10:51 +00:00
Noomen Hamza 6ce34254d0 The active page should be unchanged when removing an active first page
from a property sheets.
2000-06-07 02:01:28 +00:00
Ulrich Weigand afd6a4b810 Updated support for Solaris/Sparc architecture. 2000-06-04 01:48:05 +00:00
Michael Cardenas c69c954783 Corrected a potential crash. 2000-06-04 01:46:27 +00:00
Chris Morgan 66331a73c0 Finished the implementation of LISTVIEW_SetColumnWidth. Tested
against windows thoroughly.  Fixed bug resulting in unsigned values
being passed into LISTVIEW_SetColumnWidth from the listview window
procedure.  Fixed LISTVIEW_GetItemHeight to disregard the height of
icons if no icons exist.
2000-06-04 01:35:16 +00:00
Chris Morgan 3cbc16854f Replaced calls to HEADER_Refresh with InvalidateRect. 2000-06-04 01:34:31 +00:00
Eric Kohl 02746e8efe Started support for menubar-like toolbars. 2000-06-04 01:34:07 +00:00
Alexandre Julliard b34d66615e Fixed warning. 2000-06-03 21:35:35 +00:00
Eric Kohl b3f681ea8e Updated to dll version 5.81 (IE 5.01). 2000-06-03 21:06:44 +00:00
Eric Kohl b7b4aed3f1 Implemented TVM_GETITEMW. 2000-06-03 21:05:47 +00:00
Jason Mawdsley 84c494bd34 Added support for typing the filename in the listview control and
having the control select it.
2000-06-03 21:04:33 +00:00
Patrik Stridvall 330cd693b0 Fixed some warnings. 2000-06-03 20:43:06 +00:00
Alexandre Julliard 4324b4778b Delay loading of interrupt table functions until they are needed. 2000-06-03 04:52:14 +00:00
Alexandre Julliard 7fe09bce86 Moved kernel initialization to kernel_main.c 2000-06-03 04:49:40 +00:00
Alexandre Julliard 2d8cf500c3 Merged display.dll into USER. 2000-06-03 04:20:19 +00:00
Dimitrie O. Paun 36b5b6b9f4 Start to separate KERNEL out of libwine. 2000-06-03 00:07:44 +00:00
Juergen Schmied e2f4aefb38 - Rewrite of the shell related parts of the dialog to use the already
in shell32implemented functions (ShellFolder/Path*). Eliminated direct
  file access.
- Replaced LoadLibraryA with GetModuleHandleA since comdlg32 is imports
  some dlls per *.spec file
- Most OpenFile Flags (OFN_*) should work properly now
- The edit box should work right with all stuff entered in it like
  ..\temp\file.txt or just c: to change a drive
- Optimized DataObject handling
- Some bugs fixed, should work with native shell32 again.
- Stubs for PrintDlgEx
2000-06-02 19:36:53 +00:00
Andreas Mohr 2e011a5243 Lots of spelling fixes that accumulated in my tree again, made several
error msgs more verbose, doc updates.
2000-06-01 23:28:25 +00:00
Juergen Schmied 0d18aad17a - New (some stubs): SHGetFolderLocation, PathAddExtension,
PathIsUNCServer, PathIsUNCServerShare, PathMakePretty,
  SHCreateShellPalette, SHOpenRegStream, SHOpenRegStream2
- Many string functions implemented
- Some stubs for exports by ordinal
2000-06-01 23:25:44 +00:00
Peter Hunnisett f5a1027595 - Added DirectSoundCapture and DirectSoundCaptureBuffer interfaces
- Added some SoundCapture stubs
- Changed REFIID to LPCGUID in a few places as per MS header file
2000-06-01 22:47:35 +00:00
Juergen Schmied cfeb6afda3 Stub for RtlConvertSidToUnicodeString. 2000-06-01 22:47:13 +00:00
Gerald Pfeifer 0a09482460 Fixed warning. 2000-06-01 22:46:20 +00:00
Dimitrie O. Paun 102589953d Add include for LoadLibrary. 2000-05-30 22:47:02 +00:00
Peter Hunnisett 4dce07ea94 - Fixed some initialization/destruction and reference counting
- Added a little more debugging information
2000-05-30 20:49:37 +00:00
Dimitrie O. Paun 84bde6a4a4 Separate wineps out of Wine's core. 2000-05-30 20:27:23 +00:00
Peter Hunnisett 3951ff24ac - Added a little more dll level debugging and small changes
- Start on group and player interfaces
2000-05-30 20:08:32 +00:00
Peter Hunnisett 62f32331dd - Add another way to create a 3d listener interface.
- Fix up some reference counting bugs and interface creation bugs
- Add DirectSoundEnumerateW stub
- Add DirectSoundCaptureEnumerate{A,W} stubs
2000-05-30 20:07:31 +00:00
Chris Morgan 087ba42b02 Added 3D border around control. Fixed monthcal control popup. Added
WM_SIZE support.  Optimized drawing.  Added WM_LBUTTONUP handling.
Handle DTS_RIGHTALIGN style.  Fixed handling of formatting styles,
date is now displayed properly for DTS_SHORTDATEFORMAT.
2000-05-30 20:06:54 +00:00
Chris Morgan 043c3e7977 Removed all direct calls to MONTHCAL_Refresh() and replaced with
either RedrawWindow or InvalidateRect. Optimized drawing using
RedraWindow and update regions.  Fixed "Today" date bug where year was
only one digit.  Fixed drawing of circle drawn next to "Today".  Fixed
moving to previous or next month by clicking on days belonging to
previous or next months.
2000-05-30 20:06:33 +00:00
Lionel Ulmer 0761f537ee Install the colormap only if it was created. 2000-05-30 20:05:05 +00:00
Lionel Ulmer 2f50f0db39 Implemented wglShareLists and wglGetCurrentDC. 2000-05-30 20:04:21 +00:00
Dimitrie O. Paun 7f30083bbe Moved DISPDIB out of the kernel into GDI. 2000-05-30 17:49:47 +00:00
Alexandre Julliard c192ba2468 Exec a separate wine binary for every win32 process so that they run
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Peter Hunnisett e2853822c5 Started local name server framework. 2000-05-26 22:26:30 +00:00
Huw D M Davies b40a9b7f1d Add PrintSetup dialog and support for hooks and templates.
Move 16 bit api definitions out of commdlg.h to cdlg.h
2000-05-26 22:26:06 +00:00
Alexandre Julliard 53f8c60ee9 Francois Methot (Macadamian)
Fixed the blank color palette tooltip bug by triggering a refresh of
the tooltip with UpdateWindow function instead of calling directly the
refresh function.
2000-05-26 01:16:01 +00:00
Huw D M Davies 7aaabc3f14 Move winspool to unicode.
Minor bug fixes.
2000-05-25 23:02:46 +00:00
Aric Stewart f64a59f2fe Reworked the thumb drawing code, thumb calculation code, channel
calculation code, and corrected some bugs in how tics are drawn and
how clicks are handled.
2000-05-25 23:02:18 +00:00
Chris Morgan b70b26709f Use clipping regions to reduce the amount of processing performed when the
toolbar is repainting.  Reduces processing by approximately 85-95% in most
cases.
2000-05-25 23:01:20 +00:00
Gerard Patel bfd5b31a0e Fixes crash when calling Treeview_EndEditLabelNow and no node is
currently edited.
2000-05-25 23:00:46 +00:00
Susan Farley 820da77db3 Defer to standard scrolling APIs for non-flatSB specific functions so
that flatSBs show up and behave properly, just not with flat properties.
2000-05-24 21:05:20 +00:00
Aric Stewart 4b40a7dc8f Added handling for TVS_SINGLEEXPAND. 2000-05-24 21:02:50 +00:00
Aric Stewart 6274a7ab88 Corrected the problem where a tab control marked multiline but has
only one tab was being justified to fill the whole tab space.
2000-05-24 21:02:29 +00:00
Martin Fuchs 0b5642160c Inserted a missing call to SetWindowPos(). With this change the header
control is visible again in list views with report style.
2000-05-24 03:33:05 +00:00
Patrik Stridvall 17d1e9e5e2 Fixed issues found by winapi_check. 2000-05-23 23:38:32 +00:00
Alexandre Julliard 32c8934d8a Abey George (of Macadamian/Corel)
When you open files with Embedded objects, they were not getting drawn
correctly.  When you paste OLE objects with presentation data, they
were not getting drawn correctly.
2000-05-23 23:34:40 +00:00
Gerald Pfeifer 410617fe52 Fix a mismatch between format string and parameter. 2000-05-23 23:32:42 +00:00
Susan Farley 62c5d9f366 SetBuddy no longer overwrites its superclass' WndProc property when
the buddy has already been subclassed, eliminating the infinite loop
that resulted.
2000-05-23 21:22:27 +00:00
Lionel Ulmer 1113706c10 - fixed the OpenGL32 spec file (and the make_opengl_spec tool)
- prevent HalfLife from crashing when it frees three times the same
  rendering context
2000-05-23 21:15:06 +00:00
Ove Kaaven 76ba037559 Made WINE_DirectDraw a decorationless popup window. Fixes mouse
coordinates previously offset by the invisible decorations.
2000-05-23 21:13:33 +00:00
Chris Morgan e2099dc987 Fixed tooltips. 2000-05-23 21:12:03 +00:00
Chris Morgan 7030c5f78a Reduce toolbar redrawing and flicker by calling RedrawWindow() in
TOOLBAR_MouseMove() only if hot effect applies to the current hot
button.  Restore bHot flag of hot button in TOOLBAR_LButtonUp() to
restore hot effect properly.
2000-05-23 21:11:06 +00:00
Aric Stewart 9700b7fa55 Corrected a problem of when oldHit is negative and we try to use it as
an index into the buttons array.
2000-05-23 04:10:45 +00:00
Lionel Ulmer 75f98cfc4c Remove the PRIMARYSURFACE attribute from back buffers. 2000-05-23 04:03:48 +00:00
Aric Stewart 9a3dd5b249 If a listview is created with LVS_NOCOLUMNEHEADER then wine creates the
header like normal but just sets it not visible. This fix lays out
those supposedly nonexistent headers to size 0,0. So that even if they
become visible they are not drawn.
2000-05-23 01:24:24 +00:00
Gerard Patel 85f5832bad Remove the direct call into core (DIALOG_DoDialogBox). 2000-05-23 01:22:35 +00:00
Lionel Ulmer 79457d818c Initialize the back-buffer with the correct VTable. 2000-05-23 01:21:47 +00:00
Lionel Ulmer 7e5c2c042a - added option to get double-buffered desktop
- implemented wglUseFontBitmapsA and wglDeleteContext
2000-05-23 01:20:08 +00:00
Peter Hunnisett 7f84723bba - Small fixes/updates
- Add support for the DPCONNECTION_DIRECTPLAYLOBBY flag
2000-05-23 01:16:36 +00:00
Chris Morgan 9a171b8e3e Update nItemWidth in LISTVIEW_SetItem() if LVS_LIST or LVS_SMALLICON
mode and item text is wider than the current nItemWidth.
2000-05-19 03:44:46 +00:00
Uwe Bonnes 1c1e125349 StgOpenStorage16: correct arguments to the CreateFile call. 2000-05-19 03:38:22 +00:00
Francois Gouget 7b217a67f5 Replace the calls to malloc by calls to HeapAlloc and friends. 2000-05-19 03:37:21 +00:00
Aric Stewart cbf9395a66 Fixes the line of garbage at the bottom of images and the fact that
the buttons in the open dialog box where too tall.
2000-05-19 03:36:53 +00:00
Dimitrie O. Paun 525e646814 Moved if1632/ole2{conv,prox,thk}.spec into dlls/ole32. 2000-05-19 03:35:58 +00:00
Patrik Stridvall e4174d5d57 GetRelAbs for some reason takes 2 parameters, even though the second
one is ignored at least on Windows NT 3.51 according to Marcus Meissner.
2000-05-18 00:51:52 +00:00
Patrik Stridvall c654c7edcb Fixed issues found by winapi_check. 2000-05-18 00:07:53 +00:00
Francois Gouget 244ad84f50 Convert C++ comments to regular C comments. 2000-05-18 00:05:10 +00:00
Ove Kaaven 561895a937 Made IDirectDrawSurface::SetPalette set the surface's DIBSection color
map to point to the IDirectDrawPalette's own depth conversion color map.
2000-05-18 00:04:10 +00:00
Ove Kaaven 9d0abdbcca Initialize an identity mapping in CreatePalette if no depth conversion
is necessary. Also fixed a warning.
2000-05-18 00:03:36 +00:00
Alexandre Julliard 8e3e6b5452 Make sure all Wine processes share the same X display.
Inherit --managed option across processes.
Add support for specifying display and managed mode in config file.
2000-05-15 02:46:44 +00:00
Ove Kaaven d8ba1268b4 Use unsigned int instead of unsigned short in DirectDraw
depth-conversion color map.
2000-05-15 02:34:41 +00:00
David Black 2b44191367 Implemented TVM_EDITLABELA, plus some improvements to EndLabelEditNow. 2000-05-14 23:50:00 +00:00
Andreas Mohr 7aa70d3397 More verbose errors. 2000-05-14 23:45:03 +00:00
Dimitrie O. Paun 81eafedaf1 Moved DDEML into dlls/user. 2000-05-14 23:34:41 +00:00
Alexandre Julliard a01004d828 Added support for registry values larger than the server buffer.
When loading a registry file, automatically determine overlap between
key name and file contents based on the first key name.
Removed v1 saving code.
Save USER\.Default separately into ~/.wine/userdef.reg.
2000-05-14 22:57:57 +00:00
Ove Kaaven 270c9fb109 Improved DIBSection support for IDirectDrawSurface::GetDC. 2000-05-14 22:53:51 +00:00
Lionel Ulmer 61e4283585 - set debug messages after a TRACE_ON test
- prevent crash when making the NULL context current
2000-05-14 22:53:17 +00:00
Peter Hunnisett 8c735b9bdb - Added ability to create 3D3 interfaces for Xlib
- Changed DD_OK to D3D_OK in some places for consistency
- Cleaned up some compiler warnings present without DGA2
- Changed order for DirectDrawEnumerateExA to enumerate at least
  what abilities are known rather than bailing on unsupported flags
- Added DirectDrawCreateEx stub
2000-05-13 01:28:49 +00:00
Lionel Ulmer bedf40b58b Added support for OpenGL. 2000-05-12 20:18:14 +00:00
Eric Pouech 6f93bb4fea Fixed absolute path to pidl generation. 2000-05-12 20:12:13 +00:00
Alexandre Julliard 70eabdedd5 Fixed buffer overflow. 2000-05-11 21:49:54 +00:00
Patrik Stridvall b905023c74 Fixed some debug messages. 2000-05-11 21:48:28 +00:00
Patrik Stridvall 5ca73ac93a Fixed issues found by winapi_check. 2000-05-11 21:46:51 +00:00
Eric Pouech 3de3cad9ce Fixed division by zero. 2000-05-11 21:42:52 +00:00
Eric Pouech 051cccee06 Fixed some quirks (range is 32 bit, page up/dn mismatch on HZ trackbars). 2000-05-11 21:42:12 +00:00
Ken Thomases da2cd4d070 Implemented tab control style TCS_HOTTRACK (tabs are highlighted on
mouse-over).
2000-05-11 21:40:36 +00:00
Aric Stewart 031793e7f9 Remove the background from the new image when it is being replaced
with a ReplaceImage.
2000-05-11 21:39:45 +00:00
Alexandre Julliard 077239414e Jean-Claude Batista
PrintDialog now creates a DC when receiving a PD_RETURNDC flag.
2000-05-11 00:09:29 +00:00
Aric Stewart 0406a08cdc Clean up the drawing code after a label update. There were problems if
the new label is shorter that the old label fragments of the old label
were left drawn.
2000-05-11 00:07:44 +00:00
Alexander Frink 84c28fc1b1 Prevent possible NULL pointer access. 2000-05-11 00:04:36 +00:00
Aric Stewart ebf34ae4ba Allow the user to cancel label editing with esc and confirm with return. 2000-05-10 21:53:19 +00:00
Ken Thomases f9e280aab3 Restore accidentally undone changes. 2000-05-10 21:42:53 +00:00