Commit Graph

1384 Commits

Author SHA1 Message Date
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