Alexandre Julliard [Mon, 20 Aug 2001 18:04:09 +0000 (18:04 +0000)]
Create a color bitmap in CreateDIBitmap even with a black&white DC.
Nikolas Zimmermann [Mon, 20 Aug 2001 18:03:28 +0000 (18:03 +0000)]
Removed struct UDATE forward declaration.
Mike McCormack [Mon, 20 Aug 2001 18:01:35 +0000 (18:01 +0000)]
Store the comm error value in the wineserver, not a global.
Mike McCormack [Mon, 20 Aug 2001 18:01:17 +0000 (18:01 +0000)]
Read data immediately in overlapped ReadFile if possible.
Gerard Patel [Mon, 20 Aug 2001 18:00:54 +0000 (18:00 +0000)]
Do not keep the handle of a deleted item as the selectedItem..
Marcus Meissner [Mon, 20 Aug 2001 18:00:10 +0000 (18:00 +0000)]
Use GetDC(0) instead of CreateCompatibleDC(0).
Marcus Meissner [Mon, 20 Aug 2001 17:59:10 +0000 (17:59 +0000)]
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.
Alexandre Julliard [Sat, 18 Aug 2001 18:10:04 +0000 (18:10 +0000)]
Added proper support for 32-bit WM_NEXTMENU.
Alexandre Julliard [Sat, 18 Aug 2001 18:08:26 +0000 (18:08 +0000)]
Removed a number of direct accesses to the window structure.
Eric Pouech [Sat, 18 Aug 2001 18:02:34 +0000 (18:02 +0000)]
Started implementing the MCIWnd* functions.
Marcus Meissner [Sat, 18 Aug 2001 18:00:50 +0000 (18:00 +0000)]
Do not pass the high level wFlags from VariantChangeType* down to low
level Variant conversion functions.
Alexandre Julliard [Sat, 18 Aug 2001 16:11:28 +0000 (16:11 +0000)]
Fixed internal inline function that was declared extern.
Alexandre Julliard [Sat, 18 Aug 2001 16:10:52 +0000 (16:10 +0000)]
Explicitly check for CS_PARENTDC in WM_ERASEBKGND handling.
Eric Pouech [Sat, 18 Aug 2001 16:09:41 +0000 (16:09 +0000)]
Replaced memset by hand made equivalent to work around some buggy
memset implementations.
Eric Pouech [Sat, 18 Aug 2001 16:09:19 +0000 (16:09 +0000)]
Because of circular dependencies between comctl32 and msvfw32, replace
in comctl32 delay loading of msvfw32 by manual loading.
Gerard Patel [Sat, 18 Aug 2001 16:08:27 +0000 (16:08 +0000)]
Test for invalid large handles in GDI_GetObjPtr and GDI_FreeObject.
Gerard Patel [Sat, 18 Aug 2001 16:07:06 +0000 (16:07 +0000)]
Fix FillRect calls in FILEDLG95_LOOKIN_DrawItem.
Marcus Meissner [Sat, 18 Aug 2001 16:06:47 +0000 (16:06 +0000)]
Do not hold the GDI lock when the ABORTDOC procedure is called.
Mike McCormack [Sat, 18 Aug 2001 16:06:30 +0000 (16:06 +0000)]
Implemented oleaut32.VarBstrCat.
Alexandre Julliard [Fri, 17 Aug 2001 00:08:20 +0000 (00:08 +0000)]
Made the Interlocked*Pointer functions static inline since they aren't
exported by the Windows API.
Alexandre Julliard [Fri, 17 Aug 2001 00:07:42 +0000 (00:07 +0000)]
Use the passed hdc in CreateDIBitmap instead of creating a new one.
Alexandre Julliard [Fri, 17 Aug 2001 00:07:13 +0000 (00:07 +0000)]
Create GDI stock objects as normal objects instead of using magic
handle values.
Alexandre Julliard [Thu, 16 Aug 2001 19:13:52 +0000 (19:13 +0000)]
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.
Alexandre Julliard [Thu, 16 Aug 2001 19:01:23 +0000 (19:01 +0000)]
Release GDI lock before calling DeleteDC from RestoreDC.
Alexandre Julliard [Thu, 16 Aug 2001 18:49:56 +0000 (18:49 +0000)]
Moved undocshell.h to dlls/shell32. Removed shell16.h.
Alexandre Julliard [Thu, 16 Aug 2001 18:14:22 +0000 (18:14 +0000)]
Moved user lock to user.c. Added USER_CheckNotLock function.
Alexandre Julliard [Thu, 16 Aug 2001 18:12:56 +0000 (18:12 +0000)]
Added names to standard critical sections (suggested by Andreas
Mohr).
Mike McCormack [Thu, 16 Aug 2001 18:01:41 +0000 (18:01 +0000)]
Partially implement oleaut32.VarBstrCmp.
Alexandre Julliard [Wed, 15 Aug 2001 23:33:20 +0000 (23:33 +0000)]
Make sure we don't hold the GDI lock when loading drivers.
Alexandre Julliard [Wed, 15 Aug 2001 23:32:47 +0000 (23:32 +0000)]
Implemented _CheckNotSysLevel.
Alexandre Julliard [Wed, 15 Aug 2001 23:30:15 +0000 (23:30 +0000)]
Fixed win16drv initialisation.
Uwe Bonnes [Wed, 15 Aug 2001 23:20:21 +0000 (23:20 +0000)]
PathGetExtensionAW has three arguments.
Uwe Bonnes [Wed, 15 Aug 2001 23:19:45 +0000 (23:19 +0000)]
Don't call Dosvm functions when Dosvm isn't initialized.
Hidenori Takeshima [Wed, 15 Aug 2001 19:26:52 +0000 (19:26 +0000)]
Added some stubs for quartz dll.
Jeremy White [Wed, 15 Aug 2001 18:52:48 +0000 (18:52 +0000)]
Normalize the display name used to build the cached metric filename so
that ':0', ':0.0', and 'unix:0.0' all resolve to the same file.
Marcus Meissner [Wed, 15 Aug 2001 18:47:28 +0000 (18:47 +0000)]
Implemented VarParseNumFromStr, VarNumFromParseNum.
Ian Pilcher [Wed, 15 Aug 2001 17:41:37 +0000 (17:41 +0000)]
Eliminate glyph bounding boxes & other unused font metrics.
Eric Pouech [Wed, 15 Aug 2001 17:40:31 +0000 (17:40 +0000)]
Fixed the parsing of id1.id2 which could be either access to field id2
of struct id1, or the identifier id2 in dll id1.
Enhanced some error reporting as well as 'info local' display layout.
Minor cosmetic changes.
Eric Pouech [Wed, 15 Aug 2001 17:40:03 +0000 (17:40 +0000)]
Fixed error message and return value in case of bogus 'open all' mci
string command. Minor 32/16 optimizations and cosmetic fixes.
Marcus Meissner [Wed, 15 Aug 2001 17:39:24 +0000 (17:39 +0000)]
DateTimeStringToTm and DateToTm must use dwFlags instead of lcid.
Hidenori Takeshima [Wed, 15 Aug 2001 17:38:54 +0000 (17:38 +0000)]
Include GUIDs in strmif.h and uuids.h.
Hidenori Takeshima [Wed, 15 Aug 2001 17:38:28 +0000 (17:38 +0000)]
Added some dshow headers.
Hidenori Takeshima [Wed, 15 Aug 2001 17:36:14 +0000 (17:36 +0000)]
Added IGraphBuilder, IFilterGraph2, IMediaSeeking interfaces.
Eric Pouech [Wed, 15 Aug 2001 17:34:07 +0000 (17:34 +0000)]
Modified the debugger launching code so that only one instance of the
debugger is created per process.
Alexandre Julliard [Mon, 13 Aug 2001 20:33:21 +0000 (20:33 +0000)]
Added mappings for a few messages.
Added unicode messages bit set to shortcut message mapping when
possible.
Alexandre Julliard [Mon, 13 Aug 2001 20:30:31 +0000 (20:30 +0000)]
Fixed some message names.
Guy L. Albertelli [Mon, 13 Aug 2001 20:11:34 +0000 (20:11 +0000)]
- 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.
Guy L. Albertelli [Mon, 13 Aug 2001 20:09:18 +0000 (20:09 +0000)]
- 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.
Guy L. Albertelli [Mon, 13 Aug 2001 20:08:21 +0000 (20:08 +0000)]
Add support to respond to the PGN_CALCSIZE version of the WM_NOTIFY
message.
Guy L. Albertelli [Mon, 13 Aug 2001 20:07:47 +0000 (20:07 +0000)]
- 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.
Daniel Walker [Mon, 13 Aug 2001 20:07:01 +0000 (20:07 +0000)]
- implemented SystemTimetoVariantTime/VariantTimetoSystemTime
There was another implementation of SystemTimetoVariantTime
submitted that didn't work for dates prior to 1900.
- implemented VarDateFromUDate/VarUdateFromDate
- implemented VariantTimeToDosDateTime
Jukka Heinonen [Mon, 13 Aug 2001 20:03:29 +0000 (20:03 +0000)]
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.
Josh Thielen [Sat, 11 Aug 2001 18:24:01 +0000 (18:24 +0000)]
Wrong handle was being closed.
Ian Pilcher [Sat, 11 Aug 2001 18:23:17 +0000 (18:23 +0000)]
Remove unused character width array.
Ian Pilcher [Sat, 11 Aug 2001 18:22:29 +0000 (18:22 +0000)]
Make EnumFonts and SelectObject use common font scaling.
Alexandre Julliard [Fri, 10 Aug 2001 22:51:42 +0000 (22:51 +0000)]
Removed a number of direct accesses to the WND structure, replacing
them by API calls.
Jörg Mayer [Fri, 10 Aug 2001 22:49:35 +0000 (22:49 +0000)]
Fixed a few signed/unsigned and "unsigned < 0 always true" warnings.
Ian Pilcher [Fri, 10 Aug 2001 22:30:16 +0000 (22:30 +0000)]
Removed ANSI encoding stuff.
Dusan Lacko [Fri, 10 Aug 2001 22:29:48 +0000 (22:29 +0000)]
Fix ExtractFromEXEDLL for nIndex != 0.
Prefer 8bit icons.
Eric Pouech [Fri, 10 Aug 2001 22:29:21 +0000 (22:29 +0000)]
Fixes for Solaris X86.
Mike McCormack [Fri, 10 Aug 2001 22:24:54 +0000 (22:24 +0000)]
Implemented msvcrt._mbspbrk.
Eric Pouech [Thu, 9 Aug 2001 22:07:22 +0000 (22:07 +0000)]
- 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
Mike McCormack [Thu, 9 Aug 2001 21:37:19 +0000 (21:37 +0000)]
Implemented multibyte string reverse.
Ian Pilcher [Thu, 9 Aug 2001 21:36:56 +0000 (21:36 +0000)]
Remove previously disabled code.
Patrik Stridvall [Thu, 9 Aug 2001 21:36:39 +0000 (21:36 +0000)]
Documentation fixes.
Patrik Stridvall [Thu, 9 Aug 2001 21:35:59 +0000 (21:35 +0000)]
Fixed issue found by winapi_check.
Patrik Stridvall [Thu, 9 Aug 2001 21:35:38 +0000 (21:35 +0000)]
- Begun implementation of a C statements parser.
- More reorganizations and fixes.
Alexandre Julliard [Thu, 9 Aug 2001 21:22:33 +0000 (21:22 +0000)]
Don't create the WINEPREFIX directory if it doesn't exist.
Alexandre Julliard [Thu, 9 Aug 2001 21:21:13 +0000 (21:21 +0000)]
Added Interlocked*Pointer functions.
Fixed InterlockedCompareExchange prototype.
Andreas Mohr [Thu, 9 Aug 2001 21:16:55 +0000 (21:16 +0000)]
Spelling fixes.
Andreas Mohr [Thu, 9 Aug 2001 21:15:19 +0000 (21:15 +0000)]
Small winecheck update (DGA check is bogus).
Andreas Mohr [Thu, 9 Aug 2001 21:14:42 +0000 (21:14 +0000)]
Added more STATUS_ codes.
Alexandre Julliard [Wed, 8 Aug 2001 23:28:42 +0000 (23:28 +0000)]
Replace SendMessage16 by SendMessageW where possible.
Alexandre Julliard [Wed, 8 Aug 2001 23:26:32 +0000 (23:26 +0000)]
Fixed DrawState16 callback support.
Alexandre Julliard [Wed, 8 Aug 2001 23:24:15 +0000 (23:24 +0000)]
Fixed loop termination check in PathIsExeW.
Alexandre Julliard [Wed, 8 Aug 2001 23:23:36 +0000 (23:23 +0000)]
Fixed in_data/out_data mixup in Escape16 (thanks to Ladislav Sladecek).
Ian Pilcher [Wed, 8 Aug 2001 23:22:06 +0000 (23:22 +0000)]
Rewrite and separate AFM parsing code (no more [afmfiles]).
Marcus Meissner [Wed, 8 Aug 2001 23:21:16 +0000 (23:21 +0000)]
Change libGLU check to look for gluLookAt instead of glBegin.
Eric Pouech [Tue, 7 Aug 2001 19:32:14 +0000 (19:32 +0000)]
Now tries to print the symbol name of a crst when it times out.
Andreas Mohr [Tue, 7 Aug 2001 19:31:43 +0000 (19:31 +0000)]
Don't crash if send_thread_wakeup() fails.
Ove Kaaven [Tue, 7 Aug 2001 19:30:35 +0000 (19:30 +0000)]
Added some registry entries related to COM interface marshaling.
Alexandre Julliard [Tue, 7 Aug 2001 19:19:08 +0000 (19:19 +0000)]
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.
Marcus Meissner [Mon, 6 Aug 2001 18:52:14 +0000 (18:52 +0000)]
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.
Jukka Heinonen [Mon, 6 Aug 2001 18:47:25 +0000 (18:47 +0000)]
XGrabPointer is now called from the correct thread context and it is
made sure that we have keyboard focus when using DirectX.
Alexandre Julliard [Mon, 6 Aug 2001 18:05:47 +0000 (18:05 +0000)]
Replaced MSG_InternalGetMessage calls by equivalent exported APIs.
Alexandre Julliard [Mon, 6 Aug 2001 17:57:55 +0000 (17:57 +0000)]
Fixed return value for WM_NOTIFY and WM_ACTIVATEAPP mappings.
Alexandre Julliard [Mon, 6 Aug 2001 17:52:41 +0000 (17:52 +0000)]
Added SMTO_* defines.
Eric Pouech [Mon, 6 Aug 2001 17:51:52 +0000 (17:51 +0000)]
Extended bt command to display backtrace of another thread.
Enhanced process & thread display with process name.
Andreas Mohr [Mon, 6 Aug 2001 17:51:09 +0000 (17:51 +0000)]
Fixed tab control index handling.
Marcus Meissner [Mon, 6 Aug 2001 17:50:42 +0000 (17:50 +0000)]
SetCommConfig has 3 arguments, not 2.
Lawson Whitney [Mon, 6 Aug 2001 17:49:11 +0000 (17:49 +0000)]
Reconciled the wine man pages to the absence of wine.conf.
Eric Pouech [Mon, 6 Aug 2001 17:48:17 +0000 (17:48 +0000)]
Fixed image name value sent to server upon process creation.
Marcus Meissner [Mon, 6 Aug 2001 17:46:18 +0000 (17:46 +0000)]
First (partial) implementation of ITypeInfo::Invoke.
Fixed buffer len passing to snprintf().
Marco Bizzarri [Fri, 3 Aug 2001 18:17:14 +0000 (18:17 +0000)]
GetControlBrush16: avoid potentially releasing the same pointer
twice.
Malte Starostik [Fri, 3 Aug 2001 18:13:24 +0000 (18:13 +0000)]
Implemented RegisterTypeLib.
Pierre Beyssac [Fri, 3 Aug 2001 18:13:00 +0000 (18:13 +0000)]
Force DPL 3 when setting entries on BSD.
Andreas Mohr [Fri, 3 Aug 2001 18:11:49 +0000 (18:11 +0000)]
Only add "." separator in case a default file name extension does
exist.
Andreas Mohr [Fri, 3 Aug 2001 18:11:23 +0000 (18:11 +0000)]
DIB_GetBitmapInfo didn't recognize BITMAPV4/5HEADER.
Marcus Meissner [Fri, 3 Aug 2001 18:11:00 +0000 (18:11 +0000)]
Check for -1 as the undefined value for handles before CloseHandle.
Guy L. Albertelli [Fri, 3 Aug 2001 18:10:30 +0000 (18:10 +0000)]
- 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.