Commit Graph

1239 Commits

Author SHA1 Message Date
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
Aric Stewart f7a51e1e3a - Wine was not properly reporting back the edited label to the
application in a treeview when the label is a callback.
- Because windows applications assume they get a new edit control
  every time they often subclass that edit box willy-nilly and do not
  clean up. So it is necessary to actually give them a new edit control
  each time.
2000-05-10 21:42:21 +00:00
Aric Stewart 035245c873 - Cleaned up some of the drawing code, specifically dealing with
avoiding trying to draw invalid bitmaps.
- Avoid directly calling drawing functions instead invalidating rects
  and relying on WM_PAINT.
- For the dropdown event check the button style as opposed to the
  toolbar style.
2000-05-10 21:40:49 +00:00
Eric Pouech 8cfea6e292 Make internal buffers size multiple of 4. 2000-05-10 21:39:24 +00:00
Alexandre Julliard 8c8237b756 Specify the service thread timers in ms instead of us. 2000-05-10 04:43:32 +00:00
Gerard Patel a1b2fc2a80 Protect against use of comctl32 private control memory after it has
been freed.
2000-05-10 01:34:53 +00:00
Aric Stewart 7b6ed869db Some programs switch their status bar back and forth from simple mode
while running. This fix corrects drawing and text setting problems that
result from this behavior.
2000-05-10 01:33:20 +00:00
Eric Pouech a1894523b4 Changed WAVEHDR notification heuristic.
Added preliminary support for loops in WAVEHDRs.
Fixed issues when mixing open and getCaps calls.
2000-05-09 22:35:47 +00:00
Aric Stewart 8ee3144a77 Added the ability to use multiline tab controls to wine. 2000-05-09 22:33:48 +00:00
Marcus Meissner b7ed6df279 Number of surface Lock/Unlocks must NOT match, so do NOT use it for
reference counting.
2000-05-09 22:33:12 +00:00
Andreas Mohr 6297451d73 Added some reg temp file clutter check (more than 100 temp files in
~/.wine).
2000-05-09 22:31:43 +00:00
Alexandre Julliard 688c05301a Jean-Claude Batista
Wraps some RichEdit control functionality on an Edit control. It uses
a free implementation of an RTF parser written by Paul DuBois
http://www.primate.wisc.edu/software/RTF/ which I modified a bit to
work with the control.
2000-05-07 20:23:41 +00:00
Alexandre Julliard ebdb9dc7b4 Cleaned up local heap initialisation. 2000-05-07 18:41:15 +00:00
Alexandre Julliard 680919c2e6 Moved Load/FreeLibrary16 definition to winbase16.h. 2000-05-07 18:39:28 +00:00
Dimitrie O. Paun ecd921e551 Separate OLE2NLS out of KERNEL. 2000-05-07 18:30:44 +00:00
Gerard Patel d7cbd7b001 Set the itemID member of the DRAWITEMSTRUCT to the number of the
status part painted.
2000-05-07 18:25:56 +00:00
Dimitrie O. Paun 5f6da6b500 Small debug channel cleanup. 2000-05-07 18:25:04 +00:00
Chris Morgan 53b152f73c Implemented ListView_SetHoverTime(), ListView_GetHoverTime(), initial
support for the LVS_EX_TRACKSELECT flag.  Added code to delete items
in LISTVIEW_SetItemCount().
2000-05-07 18:24:10 +00:00
Aric Stewart 7d6e9a1ab0 Fixed a bug with the processing of HitTest. 2000-05-05 18:22:44 +00:00
Huw D M Davies 2be78d412f Fixed DC leak. 2000-05-05 18:18:31 +00:00
Sheri Steeves 1e0dfb598b Worked around some tooltips hide problems by checking the current tooltip. 2000-05-05 18:16:35 +00:00
Alexandre Julliard 3633d1e806 Fixed typo. 2000-05-03 18:40:18 +00:00
Hidenori Takeshima e75f9fb806 Added stubs for riched32.dll. 2000-05-03 18:12:19 +00:00
Lionel Ulmer 05f0c38043 Call XOpenIM on the large stack. 2000-05-03 18:10:47 +00:00
Lionel Ulmer 25b05b1a2f Remove the assertion when there is no source surface. 2000-05-03 17:43:07 +00:00
Huw D M Davies 3778df140f Map StrChrA to strchr. Fix StrChrW arg list. 2000-05-03 17:42:21 +00:00
Huw D M Davies bdee212058 Allow ISequentialStream_Write to work if access mode is STGM_READWRITE. 2000-05-03 17:39:21 +00:00
Alexandre Julliard 1ca9be85f6 Added DECL_GLOBAL_CONSTRUCTOR macro. 2000-05-01 20:25:13 +00:00
Bertho Stultiens 27337af65c - Implemented a new preprocessor that is (nearly) ANSI-C compliant. The
old parser has been stripped from the old preprocessor-code which
  cleaned up both resource-scanner and -parser.
- Standard defines have been introduced (see README.wrc)
- Both preprocessor- and resource-scanner have been optimized slightly
  so that no backing up is required (one char lookahead is enough).
- Filename-scanning has been cleaned up, though not perfect yet.
- User-type resources are compatible now.
- Line-continuation in strings is corrected so that it does not
  introduce a newline in the output.
2000-05-01 20:05:58 +00:00
Lionel Ulmer 51177f96ba Added DGA2 driver to DirectDraw. 2000-05-01 14:25:49 +00:00
Uwe Bonnes 5e65e2dd7a COMDLG32_DllEntryPoint,COMDLG32_SetCommDlgExtendedError: delay
allocation of Tls for CommDlgExtendedError until it is needed.
2000-05-01 14:22:24 +00:00
Gerald Pfeifer 0a89272744 Use <stdlib.h> instead of the deprecated and non-portable <malloc.h>. 2000-05-01 14:21:39 +00:00
Lionel Ulmer 00d5d77ddc - added thread-safety protection to XListPixmapFormats
- moved pixmap / image format matching ERRs to WARNs
2000-04-29 17:16:53 +00:00
Gerald Pfeifer c951060cde FreeBSD compile fix. 2000-04-29 17:14:24 +00:00
Eric Pouech 12222f0d54 Fixed a few compilation warnings. 2000-04-29 14:29:41 +00:00
Patrik Stridvall 95bcd5178a Fixed some warnings. 2000-04-29 14:29:05 +00:00
Patrik Stridvall c77ff5ef67 Fixed issues reported by winapi_check. 2000-04-29 14:26:13 +00:00
Dimitrie O. Paun abdbced4fd Removed some HEAP_xalloc calls. 2000-04-29 14:20:28 +00:00
Eric Pouech d34abdd158 Fixed bug when file doesn't exist in MCI_OPEN handling.
Reduced time spent with crit sect locked.
2000-04-29 14:19:02 +00:00
Guy L. Albertelli 68e0d64d66 - Correct check for minimum buffer length.
- Correct cases where ShowWindow is done/not done.
2000-04-28 20:49:46 +00:00
Alexandre Julliard 2fb5dee6e7 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Implemented TME_QUERY and TME_HOVER flags in _TrackMouseEvent and
TrackMouseEventProc.  Added code to allow addition/cancelation of
tracking flags on existing entries rather than create extra entries.
Fixed timer.  Added check to _TrackMouseEvent to stop timer if the
tracking list is empty.  Fixed TME_CANCEL.  Fixed TME_LEAVE/TME_HOVER
when hwndTrack isn't the current hwnd.
2000-04-28 20:49:20 +00:00
Juergen Schmied 51c74d82a9 Complete cleanup, bugfixes.
New: PathStripPath, PathMakeUniqueName, PathStripToRoot,
PathGetShortPath, PathParseIconLocation, PathRemoveExtension,
PathRemoveArgs, PathAppend, PathBuildRoot, PathCanonicalize,
PathFindNextComponent, PathRemoveFileSpec.
2000-04-28 20:23:46 +00:00
Juergen Schmied 24f4cdc69f Stubs for IQueryAssociations. 2000-04-28 20:22:33 +00:00
Juergen Schmied 85b9293495 Moved policy related functions to shpolicy.c
Moved dialog related functions to dialogs.c
2000-04-28 20:21:49 +00:00
Juergen Schmied 6b266db3c6 Explicit import user32.dll.
Many corrections, exported some functions by name.
2000-04-28 20:19:35 +00:00
Juergen Schmied d650903cec Separated 32 bit functions to shellole.c. 2000-04-28 20:19:03 +00:00
Juergen Schmied 12aae27ae6 Fixed: extract the icon by resource id. 2000-04-28 20:18:15 +00:00
Juergen Schmied 1b4f5bb2ce Small fixes. 2000-04-28 20:17:14 +00:00
Juergen Schmied c17ddc868e Fixes.
Use GetModuleHandleA instead of LoadLibrary for dlls imported by
the spec file.
2000-04-28 20:16:40 +00:00
Lionel Ulmer 48393a762e Added leaving of critical section on all return cases. 2000-04-28 20:00:43 +00:00
Alexandre Julliard a7ca190ac7 Added libkeyboard.so creation. 2000-04-28 14:50:10 +00:00
Martin Fuchs 33bdf53d9d - Return modified rectangle after layouting header control
- Output text in header control when no other Flag specified
- Delay bounding rectangle calculation for header control items
2000-04-28 14:46:36 +00:00
Chris Morgan 980afc9a3d Implemented TOOLBAR_MouseLeave to handle WM_MOUSELEAVE messages.
Added TrackMouseEvent calls to TOOLBAR_MouseMove.  Hot buttons now
look/behave almost exactly the same as native windows.
2000-04-28 14:45:44 +00:00
Patrik Stridvall 2941a2126c Compile fix for --without-x. 2000-04-25 20:34:22 +00:00
Patrik Stridvall 906465f5a7 Link the TTY driver with the standard libs. 2000-04-25 19:58:22 +00:00
Eric Pouech 44af98cb36 Fixed winspool(.drv) loading. 2000-04-25 19:57:27 +00:00
Gerard Patel cc6d2f90bc Don't use the template member unless the corresponding flag is set. 2000-04-25 19:53:04 +00:00
Patrik Stridvall 55ef9a5a68 Fixed issues found by winapi_check. 2000-04-24 18:03:54 +00:00
Alexandre Julliard 5f4c9a0023 Patrick Yang (Corel)
infoPtr sometimes can be NULL.
2000-04-24 18:01:27 +00:00
Gerard Patel 7324295be8 32 bits message processing for color dialog. 2000-04-24 17:35:11 +00:00
Martin Fuchs c37a639e33 Fixed toolbar bitmap size handling. 2000-04-24 17:34:42 +00:00
Dimitrie O. Paun cb18dbf9ce Removed the last xmalloc calls. 2000-04-24 17:33:06 +00:00
Alexandre Julliard e1e75371d9 Implemented on-demand loading of builtin dlls using dlopen(). 2000-04-24 17:17:49 +00:00
Alexandre Julliard 59b0d7b202 Build wineclipsrv as part of the x11drv dll. 2000-04-23 20:41:04 +00:00
Alexandre Julliard a0d9ffdaa1 Removed a few inter-dll dependencies. 2000-04-23 20:40:23 +00:00
Alexandre Julliard 491bc7c751 Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
Redraw toolbar button inside TOOLBAR_EnableButton() only if the state
of the button changes.  Stops flickering in toolbars caused by
excessive redrawing.
2000-04-23 19:56:07 +00:00
Gerard Patel 9d3845c565 Stub for InternetGetConnectedState. 2000-04-23 19:55:26 +00:00
Marcus Meissner dfee49e3ed Also check for empty GUID in DirectDrawCreate. 2000-04-23 19:53:46 +00:00
Alexandre Julliard 84eb8334da Added some missing import directives. 2000-04-19 16:54:02 +00:00
Alexandre Julliard ae7ae694b3 Removed winmm from import list. 2000-04-19 16:52:06 +00:00
Alexandre Julliard 59d99130c5 Use GetProcAddress for mmio* functions to avoid importing winmm.dll. 2000-04-19 16:48:45 +00:00
Stephane Lussier 30316dd5f6 Mousewheel support. 2000-04-19 16:45:30 +00:00
Alexandre Julliard 180a088beb Moved PE header definitions to winnt.h where they belong. 2000-04-18 11:58:24 +00:00
Stephane Lussier 4bdf4af11e Implemented Mousewheel support. 2000-04-18 11:56:33 +00:00
Rein Klazes e9b2f3c0f4 Convert service and protocol names to lowercase before calling
getservby{name|port} and getprotoby{name|port}.
2000-04-18 11:54:59 +00:00
Uwe Bonnes 11dee2b151 fgets: Don't swallow \n, treat EOF
feof: Crude implementation
signal: Return error
2000-04-16 17:06:44 +00:00
Marcus Meissner b2dd2c5cee DSOUND_MixerNorm: do not compare unrelated pointers. 2000-04-16 17:05:06 +00:00
Patrik Stridvall f0deb8a17e Fixed some issues reported by winapi_check. 2000-04-15 20:44:21 +00:00
Martin Fuchs 1d20af694c Implement CCS_NOMOVEY for tool bars. 2000-04-15 20:38:11 +00:00
Serge Ivanov 1db182f20b Added proper handling TVIS_OVERLAYMASK flag and allows to display
overlay images. Fixed off by one error with listitem in
TREEVIEW_InsertItemA (uNumItems is 0 based, cChildren is a count).
2000-04-15 20:36:15 +00:00
Marcus Meissner 35870f95a0 Detypoed X11DRV_EVENT_SetInputMethod. 2000-04-14 14:09:50 +00:00
Francois Gouget aef6b47917 Changed the placement of WINE_UNUSED to make gcc 2.7.2 happy. 2000-04-14 14:06:49 +00:00
Alexandre Julliard 0045def764 Fixed signal stack handling on Linux when sigaltstack is available.
Added a direct sigaltstack syscall to work-around the glibc bug.
2000-04-13 19:25:52 +00:00
Alexandre Julliard 51f6aeb462 Implemented guard pages and stack overflow exceptions. 2000-04-13 17:21:36 +00:00
Stephane Lussier 0debf42208 Fixed AltGr key handling. 2000-04-13 16:00:08 +00:00
Marcus Meissner 8903137cd6 Make DirectDraw compile with DGA2 present. 2000-04-13 15:59:22 +00:00
Andreas Mohr e529d36010 Stub for NtAllocateUuids. 2000-04-13 15:56:40 +00:00
Huw D M Davies 0c3594a9a6 Clear TopRootItem when whole tree is deleted.
Fix off by one lstrcpyn.
Clean up and fix GetNextItem.
2000-04-13 15:56:09 +00:00
Alexandre Julliard 819fa8ce38 Merged urlmon.dll and wininet.dll from the Corel tree (implementation
by Ulrich Czekalla <ulrichc@corel.ca>)
2000-04-11 20:07:00 +00:00
Marcus Meissner 81a84bb387 Free private structure in Xlib_DDS_Release. 2000-04-11 19:37:50 +00:00
Serge Ivanov 39ec6e48f9 TreeView - minor bugfix and optimization:
- GetDC call moved down to avoid possible resource leak.
   - Invariant code is moved out of loop.
2000-04-11 19:37:01 +00:00
Ulrich Czekalla 40cd846356 _ILGetFileDate should convert the date to local time before generating
the string (_ILGetFileDateTime does not).
2000-04-11 19:36:35 +00:00
Noomen Hamza 50b5c29e26 Fixed other bugs within MMIO implementation. Now, it's possible to
copy/cut from PhotoPaint and paste to CorelDraw.
2000-04-11 19:36:13 +00:00
Marcus Meissner 3873f44505 Use d3dexecutebuffer_create only when compiling with MESA. 2000-04-10 13:45:17 +00:00
Marcus Meissner 01cfbaf46e Two left over HeapValidate assertions removed. 2000-04-09 18:39:52 +00:00
Richard Cohen a4729b0b21 GetItem was returning the item instead of subitem info. 2000-04-09 18:38:23 +00:00
Alexandre Julliard c53ceba478 Improved support for Makefiles that need to recurse in subdirectories. 2000-04-09 18:19:59 +00:00
Marcus Meissner 10ad97c838 Restructured DirectDraw. Split into X11 and DGA driver, and multiple
files/dirs for easier maintenance. Cleaned up structs and include
files. Reindented the code. Started the same for Direct3D.  Driver
inclusion now done by using configure/Makefile/ELF constructor tricks.
2000-04-09 14:30:50 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Yuxi Zhang 2c0f14af3b Stephen Mereu
TabCtrl leftmostVisible is not updated properly. It caused the QP
application bar on the bottom fail to bring back the items when there
is no need to scrolling. Also fixed a bug that when an item is inserted,
setItemBounds should be called first, then it's time to invalidate.
2000-04-08 20:23:00 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Andrew Lewycky eb996b9da8 Fix StringFromGUI2 return value as per documentation. 2000-04-06 19:33:36 +00:00
Marcus Meissner 3347bee15c Make audiodevice blocking directly after the non-blocking open, since
we use the write(2) also for synchronization.
2000-04-06 19:32:33 +00:00
Rein Klazes ce77ea90b5 Corrected error handling for ws_getprotobyname/number.
Made the Async error returns the same as the normal functions.
2000-04-06 19:31:38 +00:00
Alexandre Julliard 8a971bfec0 Fixed file descriptor leaks. 2000-04-04 19:57:23 +00:00
Noomen Hamza 3138738ad5 Fixed two small bugs within MMIO_InstallIOProc and MMIO_Destroy. 2000-04-04 18:56:28 +00:00
Gavriel State 6edc9517a4 OleRegGetUserType did return an unterminated ASCII string instead of an
OLESTR (wide characters).
2000-04-04 18:54:06 +00:00
Marcus Meissner 502e15b6e7 open() the OSS sounddevice non-blocking in case another process has it
open already.
2000-03-30 20:22:12 +00:00
Alexandre Julliard f64c404ea6 Fixed ttydrv compile when using curses. Cleaned up a few #ifdefs. 2000-03-30 19:26:44 +00:00
Niels Kristian Bech Jensen c9742b3204 - Fix some compiler warnings.
- Remove superfluous #include statement.
2000-03-28 20:44:59 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Patrik Stridvall 533d333025 - Added/fixed some documentation reported by winapi_check
- Renamed MapVirtualKeyEx32A to MapVirtualKeyExA
- Renamed CRTDLL__dllonexit to CRTDLL___dllinit
2000-03-28 19:31:18 +00:00
Patrik Stridvall 39fc90a7b2 Fixed some warnings. 2000-03-28 19:30:06 +00:00
Andreas Mohr 3699ef77d4 Do a LoadLibraryA of WINMM upon ANIMATE_Create and a FreeLibrary upon
ANIMATE_Destroy.
2000-03-28 19:28:33 +00:00
Alexandre Julliard e0842daf60 Fixed small bug in WSOCK32_accept 2000-03-28 13:19:21 +00:00
Ove Kaaven cb98a6ed7a Handle POLLHUP better (delay FD_CLOSE notification until all data has
been read). Made WSAEnumNetworkEvents atomic. Convert socket event
error codes properly. Made accept()-ed sockets inherit the listening
socket's WSAAsyncSelect().
2000-03-26 18:21:16 +00:00
Andreas Mohr f15473f5f3 Fixed debug formatting. 2000-03-26 18:18:26 +00:00
Alexandre Julliard 5354417519 Fixed error checking in registry saving. 2000-03-26 18:18:03 +00:00
Uwe Bonnes 260cab4284 SHChangeNotify[A|W]: free only items we allocated. 2000-03-26 18:15:26 +00:00
Marcus Meissner 323af8dbba Stubs for DllRegisterServer/DllUnregisterServer. 2000-03-26 13:36:40 +00:00
Marcus Meissner 12085e9ba0 Fixed return value for SC_GET_DEV_TYPE. 2000-03-26 13:36:16 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard 7f3418fba0 Store monitor size and depth in the generic structure.
Merged monitor driver into USER driver.
2000-03-25 17:30:13 +00:00
Alexandre Julliard 9383eb94a7 A few simplifications and optimizations in the x11 driver. 2000-03-25 14:05:06 +00:00
Alexandre Julliard 77d5ebbb37 Link ttydrv and x11drv objects into their respective dll. 2000-03-25 14:03:50 +00:00
Alexandre Julliard 7b5a051a55 Added missing keyboard.spec. 2000-03-25 11:00:01 +00:00
Alexandre Julliard d6c0d8642c Moved gdi/user thunking functions into their respective dlls.
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Patrik Stridvall 3b233623cc Fixed some warnings. 2000-03-24 21:19:02 +00:00
Patrik Stridvall bbaf0ea799 Made the include files self sufficient. 2000-03-24 21:13:57 +00:00
Patrik Stridvall fcfacb95a7 Added/fixed some documentation reported by winapi_check. 2000-03-24 20:46:04 +00:00
Patrik Stridvall 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Patrik Stridvall d628f43693 Fixed some ANSI C violations. 2000-03-24 20:42:08 +00:00
Lionel Ulmer c287e9fe37 - added some debug code and cleaned-up the mouse warping code
- be ready once mouse will be reported relatively
2000-03-24 19:49:33 +00:00
Huw D M Davies 70e16ad0e1 Fix spec file entries for EnumFontFamiliesEx*. 2000-03-24 19:48:26 +00:00
Marcus Meissner 8cd83a9614 Slightly better REQUEST SENSE dumping, fixed GET_DEV_TYPE returns,
work around EXEC SCSI commands which do not set the host<->target data
flags, ignore errors on DVD REPORT KEY/DVD SEND KEY.
2000-03-24 19:45:47 +00:00
Francois Gouget c9e9e4339d - The ICOM_CMETHODxxx cause problems because the 'const' changes the
signature. There's no such thing on Windows anyway (it's a shame) so
  just remove them altogether.
- HeapMinimize returns a void, not a 'void*'
2000-03-24 19:43:49 +00:00
Alexandre Julliard 28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Eric Pouech f8fe366b37 Fixed segmented/linear buffers manipulation.
Better IO buffering.
Added some missing prototypes.
2000-03-19 21:16:37 +00:00
Francois Gouget 98f86fcda4 Explicitly use the TVN_xxxA version of the macros. 2000-03-19 21:16:00 +00:00
Marcus Meissner c0250a504a Fixed memory corruption with CoTaskMemRealloc. 2000-03-19 12:46:20 +00:00
Andrew Lewycky 7315a4b0aa Support loading any presentation aspect. 2000-03-19 12:42:58 +00:00
Gerald Pfeifer db5da8bdd5 Avoid a link error from another DLL on FreeBSD. 2000-03-19 12:42:31 +00:00
Eric Pouech 9aa678ca8a Fixed joystick ID/deviceID/driver handle/instance ID mixup. 2000-03-19 12:41:41 +00:00
Lars Heete e63fdf10f2 Corrected handling of proto==NULL in WINSOCK_getservbyname and
WINSOCK_getservbyport.
2000-03-19 12:40:53 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard fe08568a0d Moved command-line option handling out of the X11 driver.
Added support for "--" prefix on options.
Replaced a few X11 command-line options by wine.conf parameters.
2000-03-18 21:56:10 +00:00
Alexandre Julliard ddce652cae Made ddraw and dinput separate dlls. 2000-03-17 16:58:10 +00:00
Alexandre Julliard ebc32253bc Made MPR a separate dll. 2000-03-17 15:09:48 +00:00
Andrew Lewycky 1529f58467 Rewrite the BIGBLOCKFILE implementation for better performance. 2000-03-17 15:08:25 +00:00
Andrew Lewycky d28ded3d69 Avoid a refcount leak in QueryInterface when delegating.
And a couple of minor bugs.
2000-03-17 15:07:24 +00:00
Waldek Hebisch 78f92898a4 Implemented _read and _lseek. 2000-03-12 21:13:44 +00:00
Rein Klazes 7be99b015c Correct conversion of level parameter if WINSOCK_setsockopt is called
for option WS_SO_DONTLINGER.
2000-03-12 21:12:56 +00:00
Gerald Pfeifer c302f3bd4a Fixed FreeBSD compilation. 2000-03-12 20:19:23 +00:00
Peter Hunnisett e4e61708d4 - Make registry usage a little more correct and modern
- Create home for all dplay name server functionality
- Add the framework for EnumSessions
- Documentation update
2000-03-12 20:18:33 +00:00
Dimitrie Paun 014dccc71e Cleaned up debug channels a bit. 2000-03-12 20:16:51 +00:00
Alexandre Julliard ea0d028a0b Added specific routines for OUTPUT_DEBUG_STRING and EXCEPTION debug events.
Generate a breakpoint event on process attach.
Misc cleanups in request handling.
2000-03-10 22:16:10 +00:00
David Elliott a555ceb87a - Got rid of PROFILE functions.
- Use functionality of aspi.c.
- Automagically read /proc/scsi/scsi (part of aspi.c which is already
  in tree).
2000-03-09 18:44:02 +00:00
Lawson Whitney a18fc8a7c7 Take type from referenced variant for VT_BYREF && VT_VARIANT. 2000-03-09 18:31:52 +00:00
David Elliott c3bcd6cec5 - Slightly reworked include files (less messy, more straightforward).
- Moved DOS ASPI functionality to msdos/dosaspi.c.
- Got rid using PROFILE to get SCSI info from wine.conf.
- Read scsi info from /proc/scsi/scsi.
- Added setting of a reasonable timeout when opening a SCSI device (5
  minutes, defined in winescsi.h).
- ExecScsiCommand now ALWAYS posts, even on error (which is the correct
  behavior).
2000-03-08 19:41:49 +00:00
Simen Zamecnik 5f3b1b0c83 Added Slovak language support. 2000-03-08 18:59:20 +00:00
Junichi Kuchinishi 51854be791 Added some Japanese resources. 2000-03-08 18:50:45 +00:00
Abey George 21dbb6c085 Implemented OLE clipboard functionality for Embed Source format.
It helps you cut and paste data with Embed Source format between
applications.  It also implements OleCreateFromData and
OleQueryCreateFromData and fixes some bugs in datacache.c.
2000-03-08 18:49:36 +00:00
Patrik Stridvall 6cc47d4924 Removed a lot of unnecessary includes and fixed the compile errors. 2000-03-08 18:26:56 +00:00
Patrik Stridvall 7e9913f463 Fixed some warnings. 2000-03-08 18:25:22 +00:00
Lawson Whitney 51044b3d51 Corrected value for DAYS_IN_ONE_YEAR. 2000-03-08 18:24:03 +00:00
Alexandre Julliard 7d343401d7 Cleaned up CRTDLL__unlink. 2000-03-08 18:23:18 +00:00
Alexandre Julliard 00641d5b1c Removed PDB32_DEBUGGED flag and send all debug events unconditionally.
Implemented IsDebuggerPresent().
2000-03-08 16:41:37 +00:00
Alexandre Julliard 7d0dd5f327 Added DbgBreakPoint. Fixed exception record contents on SIGTRAP. 2000-03-07 13:10:21 +00:00
Rein Klazes 5d3f7a6885 Add a message and fix error code if __ws_getservbyname() and
__ws_getservbyport() cannot find the requested service.
Fix WINSOCK_setsockopt() when called with optval pointing to 16 bit int.
2000-03-07 12:23:51 +00:00
Ulrich Czekalla 1e899dfa2e Check for existence if MMIO_EXIST is passed to MMIO_Open. 2000-03-07 12:23:11 +00:00
Jeff Tranter 7d50ae6f80 The pathname was stored in a string of size 100, which was not always
large enough. It should be set to MAX_PATH (255).
2000-03-07 12:22:51 +00:00
Alexandre Julliard 82a2b186e7 Added support for creating extra symlinks for .so files that contain
multiple dlls.
2000-03-05 13:08:24 +00:00
Alexandre Julliard d0edc5fecd Moved dll-specific make rules to a separate Makedll.rules file. 2000-03-04 22:31:27 +00:00
Ove Kaaven 4ff3b20508 WSACleanup should set last error to WSANOTINITIALISED if failing
because Winsock was not initialized...
2000-03-04 19:29:42 +00:00
Marcus Meissner 09ee5d0a56 CoLoadLibrary gets UNICODE, not ASCII strings. (spotted by Lawson
Whitney), removed the dllName component of the openDlls.  Added some
debugstr_guid().
2000-03-04 19:24:25 +00:00
Dan Scott 4d8d8b5669 Fixed typos in _alldiv() and _allmul(). 2000-03-04 19:22:13 +00:00
Pierre Mageau c9b253940e OleRegGetUserType did query wrong registry key. 2000-03-04 19:20:30 +00:00
Alexandre Julliard d37c1bb570 Vahid Pourlotfali
Trackbar contol did not have proper position value in case of
SB_THUMBTRACK notification message: it was always sending 0.

Jim Aston <jima@corel.ca>
Made the slider control a rect.  It had been trying to draw a notched
slider, but the result didn't look right.
2000-03-04 19:11:54 +00:00
Rein Klazes 20c68be907 Made WINSOCK_setsockopt handle option SO_DONTLINGER correctly. 2000-03-04 19:09:16 +00:00
Alexandre Julliard 7ee3435d5d Renamed libwin32s to use the proper dll name (libw32skrnl). 2000-02-29 22:11:44 +00:00
Niels Kristian Bech Jensen 4eb4380360 Removed superfluous #include statements for header files included twice. 2000-02-29 22:06:06 +00:00
Serge Ivanov a2c87ded53 Make updown control work. UpDown control always sends WM_*SCROLL
message and uses SB_THUMBPOSITION code (not SB_LINE[UP|DOWN]).
2000-02-29 22:04:40 +00:00
Pascal Lessard ce527de51f Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.
2000-02-29 22:04:00 +00:00
Alexandre Julliard 8eba5c2a21 Murali Pattathe
This is the patch for the OleConvertOLESTREAMToIStorage wine API.
This API calls another function called OLECONVERT_LoadOLE10 which
basically read the OLE stream from the file through the callback
function (this is passed by the application).

The reading format was wrong. Still I am not very sure this is 100 %
correct format. I did some reverse engineering and found the format. I
have tried with different OLE object and its worked in paradox. I
haven't tested with any other apps.
2000-02-29 22:03:14 +00:00
Patrik Stridvall 194bd05260 Moved some stubs and added forwards in order to make both winapi_check
and checklink happy.
2000-02-29 22:02:11 +00:00
Patrik Stridvall ba9294111e Fixed some issues found by winapi_check. 2000-02-27 16:38:08 +00:00
Alexandre Julliard a5515e24e4 oleaut32 should not import functions from olepro32. 2000-02-27 14:33:04 +00:00
Pierre Mageau c8212371db Don't display the context menu on a double click.
Ulrich Czekalla <ulrichc@corel.ca>
Set the font on the edit label control to that used by the listview
control. It also uses text metrics to set a more reasonable initial
edit control size.

Pierre Mageau <pierre@macadamian.com>
Handle M_SETREDRAW in ListView.
Fix to EnsureVisible to handle small and large icon correctly.
Add edit label functionnality to the listview and the file open dialog.

Ulrich Czekalla <ulrichc@corel.ca>
RelaseDC in CreateEditLabel.

Pierre Mageau <pierre@macadamian.com>
Add functionnality to create new folder in the open dialog.
Add support for right click menu in common file dialog.
LISTVIEW_EndEditlabel is now handling NONLPSTR_TEXTCALLBACK listview items.

Serge Ivanov <sergei@corel.ca>
LISTVIEW_GetColumnA fix (do not copy string, pass pointers).

Luc Tourangeau <luc@macadamian.com>
Preventing a divide by zero when handling LVW_ENSUREVISIBLE message.

Don Kelly
-Implemented the sorting on insert of items into a ListView control
 with either LVS_SORTASCENDING or LVS_SORTDESCENDING set.
-(helping evil applications): sometimes not so well structured apps
 (PFPI90, in this case) will not fully initialize structs.  In the case
 of the LVM_GETITEM message the app may have only initialized the mask
 and iItem members of the struct.  Added processing of the LVIF_PARAM
 mask in the case that iSubItem was set but is invalid/uninitialized.

Pierre Mageau <pierre@macadamian.com>
Fix for handling correctly the cancelling mode of the Edit label.
Fix width calculation of the edit label.

Pascal Lessard <pascal@macadamian.com>
Implemented the behavior of sending WM_CONTEXTMENU when receiving a
WM_RBUTTONUP.

Ulrich Czekalla <ulrichc@corel.ca>
Fixed a painting problem with listview when the view changes and an
edit label is active.

Ulrich Czekalla <ulrichc@corel.ca>
Fixed a notification problem with listview. On creation if the user
specifies an item with focus and/or selection we should send the
proper notification. Insert was preventing LISTVIEW_SetItem from
seeing the changes and sending the notification.

Make the draw item rectangle consistent with the selection
rectangle. This allows us to click on the folders and icons in the
file open dialog box and the item actually gets selected.
2000-02-27 14:03:06 +00:00
Juergen Schmied 9f50d049ea Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
2000-02-26 19:35:50 +00:00
Hidenori Takeshima 0f36ec47c9 ArrangeCtrlPositions: fix for user-defined template with no stc32. 2000-02-26 19:32:44 +00:00
Alexandre Julliard fc6d940424 ErrorInfo functions need to be in ole32, not oleaut32. 2000-02-26 19:11:25 +00:00
Alexandre Julliard c3feebb67e More portable CRTDLL_iswctype. 2000-02-26 18:48:56 +00:00
Juergen Schmied 93e99127f5 Moved file functions to shlfileop.c
New SHELL_DeleteDirectoryA
Use shell notifications.
Enabled file manipulation functions.
2000-02-26 18:48:16 +00:00
Juergen Schmied d52e04781b Fix for OpenIcon. 2000-02-26 18:47:23 +00:00
Juergen Schmied 2ff02949c6 Stub PathIsDirectory. 2000-02-26 18:46:03 +00:00
Juergen Schmied eabe82b1d3 Fixes for ShellExecuteEx. 2000-02-26 18:45:09 +00:00
Juergen Schmied 50f067b726 Basic implementation of shell notifications. 2000-02-26 18:44:08 +00:00
Juergen Schmied 56c2c553c5 Added icon no 4 (open folder). 2000-02-26 18:36:29 +00:00
Patrik Stridvall a9855b5122 Added stubs for {Create,Get,Set}ErrorInfo. 2000-02-26 18:33:21 +00:00
Abey George 453e2dcf3a Return an error instead of a success code in OleCreate stub function. 2000-02-26 18:32:38 +00:00
Alexandre Julliard 047513f3de Don Kelly
In Windows Property Sheet can have any mix of icon-less tabs and tabs
with icons.  Adds a check to see if the icon we're adding is non-NULL
(otherwise random junk from memory can be rendered) when the application
has specified the PSP_USEICONID flag is set.  Changes to the Tab control
to only render icons for tabs that have the TCIF_IMAGE flag set
(previously, if the flag was set the entire image list of icons was
rendered).

Stephane Lussier <stephane@macadamian.com>
Fixes for some tab control bugs

Henning Hoffmann
Fixed some width problem with OWNERDRAW tab.

Luc Tourangeau <luc@macadamian.com>
TCM_ADJUSTRECT is now returning consistant compare to Windows.

Serge Ivanov <sergei@corel.ca>
Fixed problem with tab selection. When you select tab it becames first
visible tab. Now leftmost visible tab is calculated properly.
- Added code for correct handling of updown control.
- Forced recalculation of tabs' coordinates when:
a) all items are deleted,
b) window style is canged
2000-02-26 18:31:01 +00:00
Jim Aston fd018cc9da This reverts Matts patch. The messaging needs double checking. 2000-02-26 18:28:38 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Alexandre Julliard e1d78899ea Made winmm a separate shared library. 2000-02-26 13:45:34 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Eric Pouech 2a3b0a1dad Moved hardware related handling to dlls/winmm/joystick driver.
Got rid of joySendMessages() hack (now implementation with a timer).
2000-02-26 13:14:04 +00:00
Alexandre Julliard 23ce7f10a9 Added import of olepro32. 2000-02-25 21:41:26 +00:00
Ulrich Czekalla 6a80c8a260 This patch initializes the return buffer used in GetPrinterDriverA to
zeros. This prevents buffer overruns caused by accessing garbage data.
Some improvements to the NULL check patch.

Gautam Jain
EnumPrinters is not returning the number of printers found in case the
parameter dwLevel is 1.
2000-02-25 21:38:17 +00:00
Dmitry Timoshkov 6fdfd53eaa Do not overwrite the valid ObjectAttributes->RootDirectory.
Perform case insensitive comparison for the registry paths.
2000-02-25 21:37:21 +00:00
Hidenori Takeshima 031aef9a91 Fix for toolbar button size. 2000-02-25 21:35:18 +00:00
James Abbatiello 1758f2d81a Misc. fixes for compiler warnings. 2000-02-25 21:01:50 +00:00
Pierre Mageau 89aa86165f Implementation of OleConvert routines.
Thuy Nguyen <thuy@macadamian.com>
Don't allow to resize stream open in read only mode
Allow write access for stream/storage open with STGM_READWRITE.
StgOpenStorage return values are now more detailed.
Don't rely on STGM_CREATE flag in the Storage constructor.
Preventing to write out of date property.

Owen Wang <owenw@corel.ca>
Allow both positive & negative 32-bit integers as with MFC assumption.
This patch improves the 32bit limit on IStream::*_Seek operations.

John Li <johnl@corel.ca>
When WP opens a linked file, the malloc function in
OLECONVERT_LoadOLE10(...) returns a NULL. This causes a later Wine
crash. The actual problem is the function reading a large data length.
2000-02-25 20:58:25 +00:00
Patrik Stridvall 1c57a3ba2d Made some local functions static. 2000-02-25 20:55:54 +00:00
Patrik Stridvall 49bcb93262 Fixed some issues found by winapi_check. 2000-02-25 20:55:33 +00:00
James Abbatiello ce829bdc8c Better thread safety for WarpPointer hack. 2000-02-25 20:53:34 +00:00
Juergen Schmied 605325683f Added AddAccessAllowedAce. 2000-02-25 20:52:38 +00:00
Juergen Schmied 52bd50fb85 For unicode: give the selected filename back. 2000-02-25 20:51:33 +00:00
Serge Ivanov c0b824d7de In Windows, if PropertySheet can't create some page it just skips it. This
patch adds similar behaviour to Wine. It also adds some NULL checks.

<yuxi@corel.com>
Fix property sheet initialization bugs.

Matthew Robertson
The template was calling GetActiveIndex which was not being set in the
propsheet code, and the call was moved before we call SetActive -
because that's where we query for the Active Index.

Noomen Hamza
Resize property sheet to the largest dialog size.

Don Kelly
In the WM_INITDIALOG handler for the prop sheet, there is a call to
PROPSHEET_IsTooSmall() which, if it returns TRUE, calls
PROPSHEET_AdjustSize().  Contrary to its comment, .._AdjustSize() actually
aligns the sizes of the "largest" prop. sheet dialog template and the tab
control.  The IsTooSmall() call doesn't properly catch this mismatch.
Modified the function to return TRUE if the sizes mismatch and renamed it to
PROPSHEET_SizeMismatch() to reflect its proper use.
2000-02-25 20:49:49 +00:00