Commit Graph

2675 Commits

Author SHA1 Message Date
Francois Gouget 27eaac6a34 Convert the socket type (necessary on Solaris). 2001-09-07 15:26:18 +00:00
Huw D M Davies 2356fbce9e Stub implementation for UuidHash(). 2001-09-07 15:25:51 +00:00
Dmitry Timoshkov 29fdbe9f98 Correct .spec file parameters for msvcrt._fullpath and ntdll._splitpath. 2001-09-07 15:25:31 +00:00
Guy Albertelli e100866c88 Replace calls to StrRetToBuf{A|W} with duplicate code to eliminate
problems between native and built-in DLLs.
2001-09-07 15:24:25 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Francois Gouget 9dc5b97b35 Only use winsock2.h in Wine. 2001-08-28 18:39:03 +00:00
Hidenori Takeshima 8eebd2c93d Added some stubs. 2001-08-28 17:25:39 +00:00
Jukka Heinonen c3f2a140cf GrabPointer uses now SetWindowLong to change window procedure instead
of accessing directly WND structure.
2001-08-27 19:04:18 +00:00
Mike McCormack f2e7ce7f6a Implemented GetNamedPipeInfo. 2001-08-27 19:03:42 +00:00
Francois Gouget 14b06d40e6 Added WSASTARTUP16 a 1 byte alignment version of WSASTARTUP for win16. 2001-08-24 21:33:58 +00:00
Alexandre Julliard 9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard 41d6a96a60 Removed inclusion of win.h. 2001-08-24 19:15:52 +00:00
Mike McCormack 4192f9aa29 Add stubs for several named pipe functions. 2001-08-24 19:15:35 +00:00
Francois Gouget 126e6b8175 Rename the regular WS_FD_XXX macros to FD_XXX.
Rename the Wine specific WS_FD_XXX macros to FD_WINE_XXX.
2001-08-24 19:14:56 +00:00
Francois Gouget a0f98f13d9 Made independent from winsock.
Include the needed headers directly in internet.h.
2001-08-24 19:13:36 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Mike McCormack bf55457f24 Implement WaitNamedPipe and DisconnectNamedPipe.
Add a state for each pipe handle in the server.
Create a socket on when the pipe is opened, not before.
2001-08-23 23:29:20 +00:00
Daniel Walker c86517fcb6 - Fix for nonblocking sockets using WSAEventSelect() (patch from Ove
Kaaven).
- Changed WSAEnumNetworkEvents() so it only returns events that the
  application is looking for.
- Changed sock_poll_event() to interpret a POLLIN event with zero
  bytes waiting to be read as a POLLHUP.
2001-08-23 23:25:33 +00:00
Hidenori Takeshima ffb0d94e3d Added two missing headers.
Implemented AMGetErrorText.
2001-08-22 18:20:36 +00:00
Hidenori Takeshima 615c0e0ca5 Added some stubs for CLSID_FilterGraph. 2001-08-22 18:06:00 +00:00
Dmitry Timoshkov 4bc0b28897 Fixed an incorrect (harmless) memory allocation. 2001-08-22 18:04:00 +00:00
Dmitry Timoshkov 2b81ece365 Replaced PROFILE_ functions by RegQueryValueExA. 2001-08-22 18:02:59 +00:00
Mike McCormack b473a0f0b9 Added stub for CancelIo. 2001-08-22 18:02:39 +00:00
Eugene Mayevski 4252310c92 Fixed DT_RTLREADING flag interpretation. 2001-08-22 18:00:47 +00:00
Alexandre Julliard fa42aa81e4 Removed WIN_GetDesktop(). 2001-08-21 17:13:55 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Gerard Patel a02f3de89e Rect returned by LISTVIEW_GetItemRect should be total size in report
mode.
2001-08-21 17:04:02 +00:00
Francois Gouget 9947b68c3e Add the decVal field to VARIANT.
Fix the VARIANT C layout, i.e. the union/struct names/nesting.
Encapsulate all accesses to VARIANT types with the V_VT and V_UNION
macros.
2001-08-21 17:03:10 +00:00
Mike McCormack 07a8c5402a Store the comm error value in the wineserver, not a global. 2001-08-20 18:01:35 +00:00
Gerard Patel ede9881523 Do not keep the handle of a deleted item as the selectedItem.. 2001-08-20 18:00:54 +00:00
Marcus Meissner f158f541dd Use GetDC(0) instead of CreateCompatibleDC(0). 2001-08-20 18:00:10 +00:00
Marcus Meissner 872097ccd4 We need to make a copy of the fontname and the HFONT handle in
IFont_Clone, otherwise we get memory corruption and bad GDI handles.
2001-08-20 17:59:10 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Eric Pouech a3d3d40506 Started implementing the MCIWnd* functions. 2001-08-18 18:02:34 +00:00
Marcus Meissner d23f0dbea2 Do not pass the high level wFlags from VariantChangeType* down to low
level Variant conversion functions.
2001-08-18 18:00:50 +00:00
Alexandre Julliard e007b98e9b Fixed internal inline function that was declared extern. 2001-08-18 16:11:28 +00:00
Eric Pouech 96c514bdf8 Replaced memset by hand made equivalent to work around some buggy
memset implementations.
2001-08-18 16:09:41 +00:00
Eric Pouech 6360917580 Because of circular dependencies between comctl32 and msvfw32, replace
in comctl32 delay loading of msvfw32 by manual loading.
2001-08-18 16:09:19 +00:00
Gerard Patel 0a5ab16aee Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem. 2001-08-18 16:07:06 +00:00
Marcus Meissner 83e0bac511 Do not hold the GDI lock when the ABORTDOC procedure is called. 2001-08-18 16:06:47 +00:00
Mike McCormack 8fef006fd2 Implemented oleaut32.VarBstrCat. 2001-08-18 16:06:30 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard e811f9c353 Specify sizes for stock fonts again; removed the FixStockFontSize
hack. Ignore mapping modes when selecting stock fonts into a DC.
Removed a few direct accesses to GDI structures from x11drv.
2001-08-16 19:13:52 +00:00
Alexandre Julliard 3954117ce4 Moved undocshell.h to dlls/shell32. Removed shell16.h. 2001-08-16 18:49:56 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Mike McCormack 06abe79037 Partially implement oleaut32.VarBstrCmp. 2001-08-16 18:01:41 +00:00
Alexandre Julliard 2fe7c11014 Fixed win16drv initialisation. 2001-08-15 23:30:15 +00:00
Uwe Bonnes 97ac961214 PathGetExtensionAW has three arguments. 2001-08-15 23:20:21 +00:00
Hidenori Takeshima fb96436931 Added some stubs for quartz dll. 2001-08-15 19:26:52 +00:00
Marcus Meissner 4736cc8cd5 Implemented VarParseNumFromStr, VarNumFromParseNum. 2001-08-15 18:47:28 +00:00
Ian Pilcher 2576513014 Eliminate glyph bounding boxes & other unused font metrics. 2001-08-15 17:41:37 +00:00
Eric Pouech 7321bfa006 Fixed error message and return value in case of bogus 'open all' mci
string command. Minor 32/16 optimizations and cosmetic fixes.
2001-08-15 17:40:03 +00:00
Marcus Meissner 542f775343 DateTimeStringToTm and DateToTm must use dwFlags instead of lcid. 2001-08-15 17:39:24 +00:00
Alexandre Julliard 20bc491dc7 Added mappings for a few messages.
Added unicode messages bit set to shortcut message mapping when
possible.
2001-08-13 20:33:21 +00:00
Guy L. Albertelli d1c46851e1 - Implemented RB_MAXIMIZEBAND for the "ideal=TRUE" case.
- Implemented NM_CUSTOMDRAW notifications for the ITEMPREPAINT and
  ITEMPOSTPAINT only. (Used by IE4 - go figure.)
- Invalidate window rectangles after certain RB_ messages like the
  native. Fixed some painting problems.
- Added UpdateWindow call in _MoveChildWindows to fix other painting
  problems.
- Set the Caption Font as the default font for all bands.
2001-08-13 20:11:34 +00:00
Guy L. Albertelli f617391dad - Implement TBSTYLE_FLAT as "transparent" toolbar and buttons. (Skip
FillRect and BF_MIDDLE on _FLAT toolbars.)
- Issue FIXMEs for unsupported styles.
- If the "hidden" state has changed then recalc the buttons.
- Support TBSTYLE_CUSTOMERASE (used by IE4) ans issue some of the
  necessary NM_CUSTOMDRAW notifies.
- Pass the WM_ERASEBKGND to parent if the toolbar is "transparent".
- Invalidate the area 1 bigger than the button rect on a WM_MOUSELEAVE
  so that the edge is "erased" by the parent.
- Support the PGN_CALCSIZE notify since a toolbar can be a child of the
  Pager control.
2001-08-13 20:09:18 +00:00
Guy L. Albertelli be73d10dc5 Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY
message.
2001-08-13 20:08:21 +00:00
Guy L. Albertelli 3554e75cc8 - Make all WM_NOTIFY messages go to the parent.
- Allow WM_WINDOWPOSCHANGING when the control is size 0 to set initial
  size.
- Combine multiple SetWindowPos calls in same processing line and make
  the flags like native.
- Redo WM_NCCALCSIZE to match native.
- Since Pager is a "transparent" control (except for its own buttons),
  the WM_ERASEBKGND needs to be passed to the parent. Also do the window
  offset like the native control does.
2001-08-13 20:07:47 +00:00
Daniel Walker 3e3e230d3b - implemented SystemTimetoVariantTime/VariantTimetoSystemTime
There was another implementation of SystemTimetoVariantTime
    submitted that didn't work for dates prior to 1900.
- implemented VarDateFromUDate/VarUdateFromDate
- implemented VariantTimeToDosDateTime
2001-08-13 20:07:01 +00:00
Jukka Heinonen abdb6d6836 Fixed _control87 return value, use of wrong assembler command to get
fp control word and a bug that inverted _IC_AFFINE flag.
Made _controlfp work as specified in MSDN.
2001-08-13 20:03:29 +00:00
Ian Pilcher 1ea54c608e Remove unused character width array. 2001-08-11 18:23:17 +00:00
Ian Pilcher ec74ea3e98 Make EnumFonts and SelectObject use common font scaling. 2001-08-11 18:22:29 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Jörg Mayer e5b5af9d66 Fixed a few signed/unsigned and "unsigned < 0 always true" warnings. 2001-08-10 22:49:35 +00:00
Ian Pilcher 061cfa80a7 Removed ANSI encoding stuff. 2001-08-10 22:30:16 +00:00
Dusan Lacko 1a74b2abd6 Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
2001-08-10 22:29:48 +00:00
Mike McCormack 0dae258385 Implemented msvcrt._mbspbrk. 2001-08-10 22:24:54 +00:00
Eric Pouech 78a4134e51 - implemented correctly the HSZ as local atoms and added the needed
conversions to global atoms
- enhanced internal handle <=> pointer conversions, as well as
  validity of such objects (life time, destruction, mutual access...)
- fixed a few ANSI/Unicode issues, stores most of the data as Unicode
- started having both Ansi/Unicode DDE window procs for message A/W
  transformation
- fixed a few segmented pointer issues (mainly in DdeInitialize &
  DdeGetData)
- added most of the CBF_ flags handling
- implemented the conversation announcement (XTYP_CONNECT_CONFIRM) on
  server side
- enhanced DdeQueryConfig and implemented DdeReconnect
- implemented conversation termination (including XTYP_UNREGISTER)
- several others code clean up
- added transaction support on server side too
2001-08-09 22:07:22 +00:00
Mike McCormack 7b3495ac93 Implemented multibyte string reverse. 2001-08-09 21:37:19 +00:00
Ian Pilcher c4e40d8f9e Remove previously disabled code. 2001-08-09 21:36:56 +00:00
Patrik Stridvall a2afd5b8ad Documentation fixes. 2001-08-09 21:36:39 +00:00
Patrik Stridvall ad9cab82a4 Fixed issue found by winapi_check. 2001-08-09 21:35:59 +00:00
Alexandre Julliard e994d5036e Added Interlocked*Pointer functions.
Fixed InterlockedCompareExchange prototype.
2001-08-09 21:21:13 +00:00
Andreas Mohr da920ee9b9 Spelling fixes. 2001-08-09 21:16:55 +00:00
Alexandre Julliard e6533a6b71 Fixed DrawState16 callback support. 2001-08-08 23:26:32 +00:00
Alexandre Julliard fa7ae72060 Fixed loop termination check in PathIsExeW. 2001-08-08 23:24:15 +00:00
Ian Pilcher 625bef463f Rewrite and separate AFM parsing code (no more [afmfiles]). 2001-08-08 23:22:06 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +00:00
Marcus Meissner 252b0fe099 Implemented OleLoadPicture.
Added support for loading JPEG, Bitmap and Icons from persistant
streams.
Implemented JPEG support using libjpeg, added necessary configure.in
options.
Added IConnectionPoint style notifications to the IPicture iface.
Implemented several of the stubs already there, added some more.
2001-08-06 18:52:14 +00:00
Jukka Heinonen 822ab45314 XGrabPointer is now called from the correct thread context and it is
made sure that we have keyboard focus when using DirectX.
2001-08-06 18:47:25 +00:00
Alexandre Julliard bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Andreas Mohr c457fbdde6 Fixed tab control index handling. 2001-08-06 17:51:09 +00:00
Marcus Meissner 99f54153f5 SetCommConfig has 3 arguments, not 2. 2001-08-06 17:50:42 +00:00
Marcus Meissner f7c69ede9e First (partial) implementation of ITypeInfo::Invoke.
Fixed buffer len passing to snprintf().
2001-08-06 17:46:18 +00:00
Malte Starostik b91c3ca7d1 Implemented RegisterTypeLib. 2001-08-03 18:13:24 +00:00
Andreas Mohr 0ab0704822 Only add "." separator in case a default file name extension does
exist.
2001-08-03 18:11:49 +00:00
Guy L. Albertelli 9a1a35e489 - Add debugging dumps of bar and buttons, and trace entry for each
message.
- Organize WM_NOTIFY processing in preparation for Unicode
- Implement TBN_GETDISPINFO and I_IMAGECALLBACK for bitmaps.
- Implement drawing of separator for TBSTYLE_DROPDOWN similar to native.
- Change drawing of buttons to support TBSTYLE_LIST and make match
  native pixel layout (with and without bitmaps).
- Change TOOLBAR_MeasureString to measure with DrawText like native.
  This eliminates extra space due to prefix char ("&").
- Speed up TOOLBAR_CalcStrings by doing the HDC and FONT selection once.
- Change calc of buttons to match drawing for TBSTYLE_LIST and
  separators.
2001-08-03 18:10:30 +00:00
Jukka Heinonen cce6dd0033 Include device name in call to CreateIC. 2001-07-31 17:25:47 +00:00
Alexandre Julliard 8f4c007ff5 Fixed desktop window structure initialization. 2001-07-31 01:00:50 +00:00
Alexandre Julliard 502d83b1d2 Fixed a few problems with DCX_* flags handling. 2001-07-31 00:14:06 +00:00
Nog 111ec8d6c2 Don't enable the 'hot' state of a toolbar button when it's not
enabled.
2001-07-31 00:10:06 +00:00
Lionel Ulmer 7fc3a3bf20 - added support for the SGIS multitexture extension.
- misc. other fixes
2001-07-31 00:08:05 +00:00
Alexandre Julliard 9208301d16 Rewrote Escape to avoid calling down to Escape16.
Replaced Escape by ExtEscape in the DC function table.
2001-07-29 20:25:14 +00:00
Patrik Stridvall 6ad988eb2d Fixed some warnings. 2001-07-29 20:19:51 +00:00
Alexandre Julliard 99bb9f9775 Added GetDeviceCaps to the DC driver interface. Removed devCaps
pointer in the generic DC structure.
2001-07-28 00:18:02 +00:00
Alexandre Julliard 4c5b35d6e9 Removed unused DC_FUNCS pointers. 2001-07-28 00:09:07 +00:00
Andreas Mohr 0ce0bef9c1 Don't crash if DeviceCapabilities(DC_PAPERNAMES) fails. 2001-07-27 23:55:51 +00:00
Alexandre Julliard 9dd5b16382 Added missing ntdll imports. 2001-07-27 19:49:49 +00:00
Alexandre Julliard 3dd63eb2ad Build the DC function table by using GetProcAddress on the graphics
driver module. Moved driver support to dlls/gdi.
2001-07-27 19:37:31 +00:00
Alexandre Julliard e9dd63ef16 Removed import of x11drv from ddraw. 2001-07-26 21:48:17 +00:00