Release 980726

Sat Jul 25 19:45:45 1998  Juergen Schmied <juergen.schmied@metronet.de>

	* [include/shlobj.h][misc/shell.c][misc/shellord.c][ole/folders.c]
	[shell32.spec]
	Added SHFILEOPSTRUCT32[A|W] and constants, prototypes.
	Implemented SHGetSpecialFolderLocation, SHGetPathFromIDList32[A].
	Many IShellFolder, pidl, shell -related changes.

	SHChangeNotifyRegister, SHChangeNotifyDeregister,
	SHShellFolderView_Message, SHMapPIDLToSystemImageListIndex,
	SHAddToRecentDocs32, SHFileOperation, SHChangeNotify, 
	SHCreateShellFolderViewEx stubs.

Sat Jul 25 17:16:25 1998  Huw D M Davies <daviesh@abacus.physics.ox.ac.uk>

	* [files/profile.c]
	Fix return value of PROFILE_GetSection().

Fri Jul 24 22:45:19 1998  Ove Kaaven <ovek@isflak.arcticnet.no>

	* [controls/edit.c]
	Killed the modified flag on WM_SETTEXT. Eudora should no longer
	bother asking whether you want to save an unchanged message.

Fri Jul 24 21:21:35 1998  Andreas Mohr <100.30936@germany.net>

	* [controls/menu.c]
	Fixed bug in GetMenuState32.
	Doesn't fix Free Agent 32 :((

	* [documentation/debugging]
	Hints added.

	* [files/dos_fs.c] [include/msdos.h] [msdos/int21.c]
	Enhanced DOS device support.

	* [if1632/Makefile.in] [if1632/builtin.c] [if1632/rasapi16.spec]
	  [relay32/Makefile.in] [relay32/builtin32.c] [relay32/rasapi32.spec]
	Added RASAPI16/32.DLL.

	* [misc/aspi.c] [relay32/wnaspi32.spec]
	Implemented GetASPI32SupportInfo.

	* [multimedia/mmsystem.c]
	Implemented mmTaskCreate.

Fri Jul 24 20:55:31 1998  Eric Kohl <ekohl@abo.rhein-zeitung.de>

	* [controls/toolbar.c]
	Fixed some bugs and added new features.

	* [controls/tooltips.c][include/tooltips.h]
	Added more messages and started display code.

	* [misc/shell.c][misc/shellord.c][relay32/shell.spec]
	Fixed StrToOleStrN (SHELL32_79) and added OleStrToStrN (SHELL32_78).
	Added some new stubs.

	* [objects/cursoricon.c][misc/imagelist.c][include/windows.h]
	Fixed GetIconInfo and removed the GetIconInfo hack from the
	image list code.

	* [controls/pager.c][include/pager.h][controls/treeview.c]
	  [include/treeview.h]
	Added some messages.

	* [misc/tweak.c][winows/nonclient.c][documentation/win95look]
	Removed unused tweak variables.

	* [documentation/common_controls]
	Updated.

Fri Jul 24 18:36:32 1998  James Moody <013263m@dragon.acadiau.ca>

	* [objects/font.c]
	Fixed a bug in GetTextFace.

Fri Jul 24 17:09:33 1998  Marcus Meissner <marcus@jet.franken.de>

	* [misc/commdlg.c]
	Fixed stacksmashing bug due to invalid specified function
	pointers.

	* [files/dos_fs.c]
	Small change in case handling... be able to create files with
	uppercase in them (like Program Files/).

	* [graphics/ddraw.c]
	XF86DGA support made threadsafe, added more Xlib dependent stuff
	(create Window using CreateWindow(), draw into it). xlib support
	is not satisfying.

	* [scheduler/critsection.c]
	Don't recurse on HeapLock with semaphore id 0.

	* [win32/user32.c][windows/message.c][windows/event.c]
	Moved win32 *Message functions where they belong.
	Removed some potential races between XPending and XNextEvent by
	a bit more locking.

Fri Jul 24 13:58:19 1998  Alexandre Julliard  <julliard@lrc.epfl.ch>

	* [loader/pe_image.c] [loader/ne/segment.c]
	Use bogus pointer value instead of NULL for unresolved externals.

	* [memory/selector.c]
	Clear saved_fs on selector free.

	* [msdos/cdrom.c] [configure.in]
	Added check for linux/ucdrom.h.

	* [scheduler/client.c] [server/socket.c]
	Fix for missing struct cmsghdr.
	Attempt to support msg_accrights fd passing (completely untested).

	* [windows/event.c]
	Do not grab the pointer in SetCapture (Win32 behavior).

Tue Jul 21 22:28:13 1998  James Juran  <jrj120@psu.edu>

	* [Make.rules.in]
	Changed $(MKDIR) macro to use -p option (make parent directories
	if they don't already exist.  This fixes an error in 'make install'
	if /usr/local/include doesn't already exist.

Tue Jul 21 13:37:04 Rein Klazes <rklazes@casema.net>

	* [include/heap.h]
	Replaced macro SEGPTR_GET by inline function to avoid *lots*
	of wrong use of this macro.

	* [relay32/comdlg32.spec]
	Corrected GetSaveFileNameW entry.

	* [relay32/advapi32.spec] [win32/advapi.c]
	  [relay32/ole32.spec] [ ole/moniker.c]
	Added stubs for SetFileSecurity[AW] and CreateFileMoniker32

	* [graphics/x11drv/graphics.c]
	Finished implementation of bezier drawing code.

Tue Jul 21 11:00:51 1998  Claus Fischer <cfischer@td2cad.intel.com>

	* [files/drive.c]
	Remove label trailing blanks in GetVolumeInformation32A.

	* [documentation/cdrom-labels]
	Added documentation on how to find out a CD-ROM label.

Sun Jul 19 23:16:41 1998  Pascal Cuoq <pcuoq@ens-lyon.fr>

	* [include/windows.h]
	Added some DM_* and DISP_CHANGE_* flags.

	* [relay32/user32.spec] [windows/user.c]
	Added stub for ChangeDisplaySettingA.

	* [ole/ole2nls.c]
	is_punctuation: reuse information from another table.

Sun Jul 19 22:04:46 1998  Douglas Ridgway  <ridgway@winehq.com>

	* [Make.rules.in]
	Updated automatic documentation rules.

	* [graphics/path.c] [misc/aspi.c] [misc/ntdll.c] [misc/winsock_dns.c]
	[ole/ole2dsp.c] [relay32/user32.spec]
	Comment format futzing to keep c2man happy.

	* [documentation/README.documentation]
	Updated description of automatic documentation.

Wed Jul 15 19:10:09 1998   Andrew M. Bishop <amb@gedanken.demon.co.uk>

	* [files/profile.c]
	Cache the 10 most recently used .ini files.

Tue May 20 19:20:23 1997  Pablo Saratxaga <srtxg@chanae.alphanet.ch>

	* [misc/commdlg.c]
	Makes PrintDlg32A() return TRUE even if it is an empty
	stub, so most programs are happy and run anyway instead of
	aborting at startup.

	* [graphics/x11drv/xfont.c]
	Increased the maximum font families as (X11) font aliases
	eated up a lot of families causing wine to stop reading fonts.
diff --git a/tsx11/Makefile.in b/tsx11/Makefile.in
index 2f20d13..d4e6aa6 100644
--- a/tsx11/Makefile.in
+++ b/tsx11/Makefile.in
@@ -6,6 +6,7 @@
 MODULE    = tsx11
 
 C_SRCS = \
+	ts_xf86dga.c \
 	ts_xshm.c \
 	ts_xlib.c \
 	ts_xresource.c \
diff --git a/tsx11/X11_calls b/tsx11/X11_calls
index aeca2b6..3f92e5b 100644
--- a/tsx11/X11_calls
+++ b/tsx11/X11_calls
@@ -76,7 +76,6 @@
 XGetWMSizeHints
 XGetWindowAttributes
 XGetWindowProperty
-XGrabPointer
 XGrabServer
 XInitThreads
 XInstallColormap
@@ -128,6 +127,7 @@
 XSetSelectionOwner
 XSetSubwindowMode
 XSetTransientForHint
+XSetWindowColormap
 XSetWMProperties
 XSetWMProtocols
 XSetWMSizeHints
@@ -146,7 +146,6 @@
 XSynchronize
 XTextExtents
 XTextWidth
-XUngrabPointer
 XUngrabServer
 XUninstallColormap
 XUnionRectWithRegion
@@ -165,3 +164,12 @@
 XrmParseCommand
 XrmUniqueQuark
 _XInitImageFuncPtrs
+XF86DGAQueryExtension
+XF86DGASetViewPort
+XF86DGAInstallColormap
+XF86DGAViewPortChanged
+XF86DGADirectVideo
+XF86DGAQueryVersion
+XF86DGAQueryDirectVideo
+XF86DGAGetVideo
+XF86DGAGetViewPortSize
diff --git a/tsx11/ts_xf86dga.c b/tsx11/ts_xf86dga.c
new file mode 100644
index 0000000..c72586f
--- /dev/null
+++ b/tsx11/ts_xf86dga.c
@@ -0,0 +1,112 @@
+/*
+ * Thread safe wrappers around xf86dga calls.
+ * This file was generated automatically by tools/make_X11wrappers
+ * DO NOT EDIT!
+ */
+#include "config.h"
+#ifdef HAVE_LIBXXF86DGA
+
+#include <X11/Xlib.h>
+#include <X11/extensions/xf86dga.h>
+#include "x11drv.h"
+#include "debug.h"
+
+Bool TSXF86DGAQueryVersion(Display*a0,int*a1,int*a2)
+{
+  Bool r;
+  TRACE(x11, "Call XF86DGAQueryVersion\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAQueryVersion(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAQueryVersion\n");
+  return r;
+}
+
+Bool TSXF86DGAQueryExtension(Display*a0,int*a1,int*a2)
+{
+  Bool r;
+  TRACE(x11, "Call XF86DGAQueryExtension\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAQueryExtension(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAQueryExtension\n");
+  return r;
+}
+
+Status TSXF86DGAGetVideo(Display*a0,int a1,char**a2,int*a3,int*a4,int*a5)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGAGetVideo\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAGetVideo(a0,a1,a2,a3,a4,a5);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAGetVideo\n");
+  return r;
+}
+
+Status TSXF86DGADirectVideo(Display*a0,int a1,int a2)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGADirectVideo\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGADirectVideo(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGADirectVideo\n");
+  return r;
+}
+
+Status TSXF86DGAGetViewPortSize(Display*a0,int a1,int *a2,int *a3)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGAGetViewPortSize\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAGetViewPortSize(a0,a1,a2,a3);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAGetViewPortSize\n");
+  return r;
+}
+
+Status TSXF86DGASetViewPort(Display*a0,int a1,int a2,int a3)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGASetViewPort\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGASetViewPort(a0,a1,a2,a3);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGASetViewPort\n");
+  return r;
+}
+
+Status TSXF86DGAInstallColormap(Display*a0,int a1,Colormap a2)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGAInstallColormap\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAInstallColormap(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAInstallColormap\n");
+  return r;
+}
+
+Status TSXF86DGAQueryDirectVideo(Display*a0,int a1,int *a2)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGAQueryDirectVideo\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAQueryDirectVideo(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAQueryDirectVideo\n");
+  return r;
+}
+
+Status TSXF86DGAViewPortChanged(Display*a0,int a1,int a2)
+{
+  Status r;
+  TRACE(x11, "Call XF86DGAViewPortChanged\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XF86DGAViewPortChanged(a0,a1,a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XF86DGAViewPortChanged\n");
+  return r;
+}
+#endif
diff --git a/tsx11/ts_xlib.c b/tsx11/ts_xlib.c
index 2e163df..40d727f 100644
--- a/tsx11/ts_xlib.c
+++ b/tsx11/ts_xlib.c
@@ -798,17 +798,6 @@
   return r;
 }
 
-int  TSXGrabPointer(Display* a0, Window a1, int a2, unsigned int a3, int a4, int a5, Window a6, Cursor a7, Time a8)
-{
-  int  r;
-  TRACE(x11, "Call XGrabPointer\n");
-  EnterCriticalSection( &X11DRV_CritSection );
-  r = XGrabPointer(a0, a1, a2, a3, a4, a5, a6, a7, a8);
-  LeaveCriticalSection( &X11DRV_CritSection );
-  TRACE(x11, "Ret XGrabPointer\n");
-  return r;
-}
-
 int  TSXGrabServer(Display* a0)
 {
   int  r;
@@ -1150,6 +1139,17 @@
   return r;
 }
 
+int  TSXSetWindowColormap(Display* a0, Window a1, Colormap a2)
+{
+  int  r;
+  TRACE(x11, "Call XSetWindowColormap\n");
+  EnterCriticalSection( &X11DRV_CritSection );
+  r = XSetWindowColormap(a0, a1, a2);
+  LeaveCriticalSection( &X11DRV_CritSection );
+  TRACE(x11, "Ret XSetWindowColormap\n");
+  return r;
+}
+
 int  TSXStoreColor(Display* a0, Colormap a1, XColor* a2)
 {
   int  r;
@@ -1205,17 +1205,6 @@
   return r;
 }
 
-int  TSXUngrabPointer(Display* a0, Time a1)
-{
-  int  r;
-  TRACE(x11, "Call XUngrabPointer\n");
-  EnterCriticalSection( &X11DRV_CritSection );
-  r = XUngrabPointer(a0, a1);
-  LeaveCriticalSection( &X11DRV_CritSection );
-  TRACE(x11, "Ret XUngrabPointer\n");
-  return r;
-}
-
 int  TSXUngrabServer(Display* a0)
 {
   int  r;
@@ -1281,3 +1270,4 @@
   LeaveCriticalSection( &X11DRV_CritSection );
   TRACE(x11, "Ret _XInitImageFuncPtrs\n");
 }
+
diff --git a/tsx11/ts_xpm.c b/tsx11/ts_xpm.c
index cb252b4..ca5e334 100644
--- a/tsx11/ts_xpm.c
+++ b/tsx11/ts_xpm.c
@@ -29,3 +29,4 @@
   TRACE(x11, "Ret XpmAttributesSize\n");
   return r;
 }
+
diff --git a/tsx11/ts_xresource.c b/tsx11/ts_xresource.c
index 6aee90d..5bb5e8b 100644
--- a/tsx11/ts_xresource.c
+++ b/tsx11/ts_xresource.c
@@ -70,3 +70,4 @@
   LeaveCriticalSection( &X11DRV_CritSection );
   TRACE(x11, "Ret XrmParseCommand\n");
 }
+
diff --git a/tsx11/ts_xshm.c b/tsx11/ts_xshm.c
index dfe9434..b6705aba 100644
--- a/tsx11/ts_xshm.c
+++ b/tsx11/ts_xshm.c
@@ -63,3 +63,4 @@
   TRACE(x11, "Ret XShmPutImage\n");
   return r;
 }
+
diff --git a/tsx11/ts_xutil.c b/tsx11/ts_xutil.c
index 9556c82..0f17ea3d 100644
--- a/tsx11/ts_xutil.c
+++ b/tsx11/ts_xutil.c
@@ -357,3 +357,4 @@
   TRACE(x11, "Ret XUniqueContext\n");
   return r;
 }
+