Links: I just posted Test 50 to the server development page: http://xfree86.cygwin.com/devel/shadow/
Server Test Series binary and source code releases are now available via the sources.redhat.com ftp mirror network (http://cygwin.com/mirrors.html) in the pub/cygwin/xfree/devel/shadow/ directory. You may wish to note the desired filename in the links below, then download from your closest mirror (http://cygwin.com/mirrors.html). Server binary, direct link: http://www.msu.edu/~huntharo/xwin/shadow/XWin-Test50.exe.bz2 (1067 KB) Server source, direct link: http://www.msu.edu/~huntharo/xwin/shadow/xwin-20011020-1622.tar.bz2 (68 KB) Changes: 1) General - The NativeGDI engine can now create the familiar X background pattern that is used to fill the initial X Server screen. However, an all white pattern, instead of the correct pattern, is being used to fill the server screen. I can't find the mistake in winfillsp.c, wingetsp.c, or winsetsp.c, so I'm making this release to see if anyone can find the mistake. 2) winwndproc.c/winWindowProc () - Replace #if !WIN_NATIVE_GDI_SUPPORT checks with checks for pScreenInfo->dwEngine == WIN_SERVER_NATIVE_GDI. Certain sections of winWindowProc (), such as mouse input, cannot yet be processed by the NativeGDI engine. Prohibiting user input causes the server startup process to be the same every time, which makes debugging possible. 3) win.h/WIN_NATIVE_GDI_SUPPORT - Set to YES, again. This works now because we are no longer omitting sections of winwndproc.c (see above). 4) win.h/DEBUG_MSG () - Make the macro accept a format string and a variable list of data parameters in a similar manner to printf (). DEBUG_MSG () sends a text message to the Win32 API's MessageBox () function. 5) winpixmap.c/winCreatePixmap () - Call winnativegdi.c/winCreateDIBNativeGDI () for device independent bitmap (DIB) creation. 6) winnativegdi.c/winCreateDIBNativeGDI () - Setup a simple black and white color table for monochrome DIBs. 7) win.h - Remove duplicate #include of stdio.h 8) win.h - Move debugging message macros to after stdio.h in included. 9) win.h/winPrivPixmapRec - Change the pixmap bits pointer from void * to BYTE *. 10) winfillsp.c, wingetsp.c, winsetsp.c, wingc.c - Don't select the drawable bitmap in wingc.c, rather, select and deselect the drawable bitmap in the function that operates upon it. A given bitmap can only be selected into one device context (hdc) at a time; selecting bitmaps in wingc.c/winValidateGC () could cause a bitmap to be selected into more than one hdc at a time which would cause graphics operations to fail. 11) winfillsp.c, winsetsp.c - Check for a failure from SelectObject () when selecting bitmaps into a device context; this is a sanity check to make sure that a bitmap was deselected after a previous operation. 12) winwndproc./winWindowProc (), winshaddd.c/winCloseScreenShadowDD (), winshadddnl.c/winCloseScreenShadowDDNL (), winshadgdi.c/winCloseScreenShadowGDI (), winpfbdd.c/winCloseScreenPrimaryDD () - Remove #if 0'd code for clipboard chain functionality that was moved to the xwinclip program (http://xfree86.cygwin.com/devel/xwinclip/). Enjoy, Harold
