wine
18 years agoInitialize OLE instead of COM only in order to enable Drag and Drop.
Michael Jung [Wed, 23 Nov 2005 14:14:25 +0000 (15:14 +0100)] 
Initialize OLE instead of COM only in order to enable Drag and Drop.

18 years agoDefine DateTime_SetMonthCalColor.
Andrew Webb [Wed, 23 Nov 2005 14:13:59 +0000 (15:13 +0100)] 
Define DateTime_SetMonthCalColor.

18 years agoFix some memory leaks.
Juan Lang [Wed, 23 Nov 2005 14:12:56 +0000 (15:12 +0100)] 
Fix some memory leaks.

18 years agoFixed some broken code that was causing compiler warnings.
Alexandre Julliard [Wed, 23 Nov 2005 13:30:41 +0000 (14:30 +0100)] 
Fixed some broken code that was causing compiler warnings.

18 years agoRelease a stray node.
Huw Davies [Wed, 23 Nov 2005 13:30:22 +0000 (14:30 +0100)] 
Release a stray node.

18 years agoRelease 0.9.2. wine-0.9.2
Alexandre Julliard [Tue, 22 Nov 2005 17:01:24 +0000 (17:01 +0000)] 
Release 0.9.2.

18 years agoFixes for FormatCharDlgProc16:
Rein Klazes [Tue, 22 Nov 2005 16:18:55 +0000 (16:18 +0000)] 
Fixes for FormatCharDlgProc16:
- properly store the ChooseFont pointer, use a window property as the
  A and W functions do;
- handle other messages then WM_INITDIALOG and WM_MEASUREITEM as well.

18 years agoHttpEndRequest does not actually send an extra NULL byte at the end of
Aric Stewart [Tue, 22 Nov 2005 16:18:48 +0000 (16:18 +0000)] 
HttpEndRequest does not actually send an extra NULL byte at the end of
the request. Help from Rob Shearman on this one.

18 years agoDon't try to set the label in the superblock of FAT filesystems, that
Alexandre Julliard [Tue, 22 Nov 2005 15:03:27 +0000 (15:03 +0000)] 
Don't try to set the label in the superblock of FAT filesystems, that
doesn't do the right thing anyway.

18 years agoCorrects an error in the _m3xm3 shader function in pixel and vertex
Oliver Stieber [Tue, 22 Nov 2005 15:01:55 +0000 (15:01 +0000)] 
Corrects an error in the _m3xm3 shader function in pixel and vertex
shaders.

18 years agoAdd a semi-functional ICCompressorChoose implementation.
Dmitry Timoshkov [Tue, 22 Nov 2005 14:56:40 +0000 (14:56 +0000)] 
Add a semi-functional ICCompressorChoose implementation.

18 years agoGetSystemMetrics fixes with corresponding tests.
Rein Klazes [Tue, 22 Nov 2005 14:56:11 +0000 (14:56 +0000)] 
GetSystemMetrics fixes with corresponding tests.

18 years agoAdd name_lookup function in object_ops.
Vitaliy Margolen [Tue, 22 Nov 2005 14:55:42 +0000 (14:55 +0000)] 
Add name_lookup function in object_ops.

18 years agoIn CFn_CHOOSEFONT16to32W fix the conversion of the lpTemplateName and
Rein Klazes [Tue, 22 Nov 2005 14:54:29 +0000 (14:54 +0000)] 
In CFn_CHOOSEFONT16to32W fix the conversion of the lpTemplateName and
the lpszStyle fields.

18 years agoNo need to link against shell32 or user32.
Hans Leidekker [Tue, 22 Nov 2005 14:53:36 +0000 (14:53 +0000)] 
No need to link against shell32 or user32.

18 years agoFix some logic to allow HTTP_ADDREQ_FLAG_ADD to replace existing
Aric Stewart [Tue, 22 Nov 2005 14:53:30 +0000 (14:53 +0000)] 
Fix some logic to allow HTTP_ADDREQ_FLAG_ADD to replace existing
headers. Also adding a test for some header adding flags.

18 years agoUse struct unicode_str instead of null-terminated strings where
Alexandre Julliard [Tue, 22 Nov 2005 12:05:36 +0000 (12:05 +0000)] 
Use struct unicode_str instead of null-terminated strings where
possible, and remove constraints on total key path length.

18 years agoAdd stdarg.h where missing.
Robert Lunnon [Tue, 22 Nov 2005 12:01:05 +0000 (12:01 +0000)] 
Add stdarg.h where missing.

18 years agoEAI_NONAME -> WS_EAI_NODATA, check for EAI_NONAME and EAI_NODATA.
Marcus Meissner [Tue, 22 Nov 2005 12:00:43 +0000 (12:00 +0000)] 
EAI_NONAME -> WS_EAI_NODATA, check for EAI_NONAME and EAI_NODATA.

18 years agoCorrect URL for version infomation database website.
Steven Edwards [Tue, 22 Nov 2005 12:00:23 +0000 (12:00 +0000)] 
Correct URL for version infomation database website.

18 years agoAdd a test showing that SaveDC after GetDC should return 1.
Dmitry Timoshkov [Tue, 22 Nov 2005 12:00:11 +0000 (12:00 +0000)] 
Add a test showing that SaveDC after GetDC should return 1.

18 years agoCreate window in SetClientSite and return it in
Jacek Caban [Tue, 22 Nov 2005 11:59:57 +0000 (11:59 +0000)] 
Create window in SetClientSite and return it in
IOleInPlaceSite::GetWindow.

18 years agoTest the sizes of some of the parameters passed into the callback.
Robert Shearman [Tue, 22 Nov 2005 11:59:16 +0000 (11:59 +0000)] 
Test the sizes of some of the parameters passed into the callback.

18 years agoRename SendAsyncCallback to INTERNET_SendCallback.
Robert Shearman [Tue, 22 Nov 2005 11:59:07 +0000 (11:59 +0000)] 
Rename SendAsyncCallback to INTERNET_SendCallback.

18 years agoFix an incorrect entry in the HTTP header field table causing broken
Robert Shearman [Tue, 22 Nov 2005 11:58:50 +0000 (11:58 +0000)] 
Fix an incorrect entry in the HTTP header field table causing broken
Location field parsing.

18 years agoExit test after first TranslateInfString() failure, which seems to be
Saulius Krasuckas [Tue, 22 Nov 2005 11:58:25 +0000 (11:58 +0000)] 
Exit test after first TranslateInfString() failure, which seems to be
NT3.51 specific.

18 years agoImplement a pixel shader parser and cross compiler. All version of
Oliver Stieber [Mon, 21 Nov 2005 16:27:55 +0000 (16:27 +0000)] 
Implement a pixel shader parser and cross compiler. All version of
shaders up to 3 should be parsed correctly, but only shaders 1-1.4
will be cross compiled.

18 years agoReturn correct error on name collision when creating new named
Vitaliy Margolen [Mon, 21 Nov 2005 16:27:03 +0000 (16:27 +0000)] 
Return correct error on name collision when creating new named
objects.
Check for correct error in affected places.

18 years agoKernel32 should create named objects with OBJ_OPENIF flag set.
Vitaliy Margolen [Mon, 21 Nov 2005 16:26:34 +0000 (16:26 +0000)] 
Kernel32 should create named objects with OBJ_OPENIF flag set.
Handle STATUS_OBJECT_NAME_EXISTS explicitly as it's not mapped with
RtlNtStatusToDosError.

18 years agoUpdate Korean translations.
YunSong Hwang [Mon, 21 Nov 2005 16:25:12 +0000 (16:25 +0000)] 
Update Korean translations.

18 years agoOnly set label and serial number when they are actually changed.
Alexandre Julliard [Mon, 21 Nov 2005 15:25:27 +0000 (15:25 +0000)] 
Only set label and serial number when they are actually changed.

18 years agoFixed handling of mailslot read timeout to avoid compiler warnings.
Alexandre Julliard [Mon, 21 Nov 2005 15:23:49 +0000 (15:23 +0000)] 
Fixed handling of mailslot read timeout to avoid compiler warnings.

18 years agoChoose what window styles to dump (WS_GROUP/WS_TABSTOP vs.
Dmitry Timoshkov [Mon, 21 Nov 2005 15:18:32 +0000 (15:18 +0000)] 
Choose what window styles to dump (WS_GROUP/WS_TABSTOP vs.
WS_MINIMIZEBOX/WS_MAXIMIZEBOX) based on the WS_CHILD style set.

18 years agoMore Object Manager tests.
Vitaliy Margolen [Mon, 21 Nov 2005 15:18:10 +0000 (15:18 +0000)] 
More Object Manager tests.

18 years agoImplement HttpSendRequestEx and HttpEndRequest. Restructure, breaking
Aric Stewart [Mon, 21 Nov 2005 15:17:55 +0000 (15:17 +0000)] 
Implement HttpSendRequestEx and HttpEndRequest. Restructure, breaking
some things out of HTTP_SendRequestW to avoid duplicate code.

18 years agoDon't redefine ASN_OCTETSTRING, it's already defined in snmp.h.
Ge van Geldorp [Mon, 21 Nov 2005 13:35:26 +0000 (13:35 +0000)] 
Don't redefine ASN_OCTETSTRING, it's already defined in snmp.h.

18 years agoSHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
Martin Fuchs [Mon, 21 Nov 2005 13:35:06 +0000 (13:35 +0000)] 
SHGetFileInfoW(): handle SHGFI_LINKOVERLAY and SHGFI_OVERLAYINDEX.
SHMapPIDLToSystemImageListIndex(): determine overlay flag for
PidlToSicIndex() and return -1 in error cases.
Read shell overlay icon settings from registry to allow icon
overrides.

18 years agoFix bogus unreal code page messages in _setmbcp().
Rein Klazes [Mon, 21 Nov 2005 13:34:37 +0000 (13:34 +0000)] 
Fix bogus unreal code page messages in _setmbcp().

18 years agoDo not forward _mbccpy to strcpy.
Rein Klazes [Mon, 21 Nov 2005 13:34:29 +0000 (13:34 +0000)] 
Do not forward _mbccpy to strcpy.
Remove the error message in _mbccpy, it is not an error.

18 years agoImproved word wrapping and tab key handling.
Thomas Weidenmueller [Mon, 21 Nov 2005 13:34:06 +0000 (13:34 +0000)] 
Improved word wrapping and tab key handling.

18 years agoAdd/correct prototypes for some already defined functions in advpack.
Vincent Béron [Mon, 21 Nov 2005 13:33:52 +0000 (13:33 +0000)] 
Add/correct prototypes for some already defined functions in advpack.

18 years agoImplement ldap_create_vlv_control{A,W},
Hans Leidekker [Mon, 21 Nov 2005 13:33:37 +0000 (13:33 +0000)] 
Implement ldap_create_vlv_control{A,W},
ldap_encode_sort_control{A,W}.
Add a stub for ldap_create_page_control{A,W}.

18 years agoAdd/correct prototypes for some already defined functions in
Vincent Béron [Mon, 21 Nov 2005 12:06:00 +0000 (12:06 +0000)] 
Add/correct prototypes for some already defined functions in
advapi32. Correct spec file entry for GetSecurityInfoExW.

18 years agoReplace inherit flag with object attributes in winstation and desktop
Vitaliy Margolen [Mon, 21 Nov 2005 12:05:38 +0000 (12:05 +0000)] 
Replace inherit flag with object attributes in winstation and desktop
create & open. Use OBJ_OPENIF flag to create winstation & desktop.

18 years agoFix _mbsspn() with conformance tests.
Rein Klazes [Mon, 21 Nov 2005 12:03:18 +0000 (12:03 +0000)] 
Fix _mbsspn() with conformance tests.

18 years agoAdded Dutch translations.
Hans Leidekker [Mon, 21 Nov 2005 12:02:17 +0000 (12:02 +0000)] 
Added Dutch translations.

18 years agoUpdate Korean translations.
YunSong Hwang [Mon, 21 Nov 2005 12:01:19 +0000 (12:01 +0000)] 
Update Korean translations.

18 years agoPrint scroll and clip rectangles on the ScrollDC entry.
Dmitry Timoshkov [Mon, 21 Nov 2005 12:00:31 +0000 (12:00 +0000)] 
Print scroll and clip rectangles on the ScrollDC entry.

18 years agoDon't try waiting for the service process to start if the
Rob Shearman [Mon, 21 Nov 2005 12:00:16 +0000 (12:00 +0000)] 
Don't try waiting for the service process to start if the
CreateProcess call failed.

18 years agoLoop around calling RegQueryValue until we have a big enough string
Mike McCormack [Mon, 21 Nov 2005 11:59:54 +0000 (11:59 +0000)] 
Loop around calling RegQueryValue until we have a big enough string
for both the name and the value.

18 years agoAdded GetHostInfo implementation.
Jacek Caban [Mon, 21 Nov 2005 11:59:39 +0000 (11:59 +0000)] 
Added GetHostInfo implementation.

18 years agoFix some prototypes to match the PSDK.
Ge van Geldorp [Mon, 21 Nov 2005 11:59:27 +0000 (11:59 +0000)] 
Fix some prototypes to match the PSDK.

18 years ago- ANSI SCSI revision is a hex number.
Saulius Krasuckas [Mon, 21 Nov 2005 11:59:03 +0000 (11:59 +0000)] 
- ANSI SCSI revision is a hex number.
- Be more verbose with parser ERRs.

18 years agoMark some functions as implemented in the spec files.
Vincent Béron [Mon, 21 Nov 2005 11:58:49 +0000 (11:58 +0000)] 
Mark some functions as implemented in the spec files.

18 years agoCreate new drives with autodetect type.
Vitaliy Margolen [Mon, 21 Nov 2005 11:58:29 +0000 (11:58 +0000)] 
Create new drives with autodetect type.

18 years agoMinor MSVCRT test changes:
Saulius Krasuckas [Mon, 21 Nov 2005 11:58:11 +0000 (11:58 +0000)] 
Minor MSVCRT test changes:
- add two invalid parameter checks for fopen(),
- rearrange test sequence into two parts (low-level and stream I/O),
- break long line.

18 years agoFix the build without openldap.
Hans Leidekker [Mon, 21 Nov 2005 11:57:52 +0000 (11:57 +0000)] 
Fix the build without openldap.

18 years agoAdd prototypes for some already defined functions in crypt32.
Vincent Béron [Mon, 21 Nov 2005 11:57:46 +0000 (11:57 +0000)] 
Add prototypes for some already defined functions in crypt32.

18 years agoImplement the use of NETCON_send for HTTP connections when in
Aric Stewart [Mon, 21 Nov 2005 11:57:33 +0000 (11:57 +0000)] 
Implement the use of NETCON_send for HTTP connections when in
InternetWriteFile.

18 years agoFix version tests on NT, 2K and XP, make some errors more verbose.
Stefan Leichter [Mon, 21 Nov 2005 11:57:03 +0000 (11:57 +0000)] 
Fix version tests on NT, 2K and XP, make some errors more verbose.

18 years agoBreak from the SNDCTL_DSP_CHANNELS loops on first error instead of
Rein Klazes [Mon, 21 Nov 2005 11:56:55 +0000 (11:56 +0000)] 
Break from the SNDCTL_DSP_CHANNELS loops on first error instead of
continuing with even higher channels numbers.

18 years agoFixed typo in ws_sockaddr_u2ws().
Marcus Meissner [Mon, 21 Nov 2005 11:56:42 +0000 (11:56 +0000)] 
Fixed typo in ws_sockaddr_u2ws().

19 years agoAvoid using deprecated openldap functions.
Hans Leidekker [Fri, 18 Nov 2005 16:56:44 +0000 (16:56 +0000)] 
Avoid using deprecated openldap functions.
Implement ldap_sslinit{A,W}, improve cldap_open{A,W}.
Add stub implementation for ldap_startup and ldap_stop_tls_s.

19 years agoNative dbghelp doesn't provide names for basic type, so added relevant
Eric Pouech [Fri, 18 Nov 2005 16:53:32 +0000 (16:53 +0000)] 
Native dbghelp doesn't provide names for basic type, so added relevant
basic type names in winedbg.

19 years agoThere is no need to resize our own fake dialog to match the parent, it
Dmitry Timoshkov [Fri, 18 Nov 2005 16:52:35 +0000 (16:52 +0000)] 
There is no need to resize our own fake dialog to match the parent, it
doesn't have controls anyway.

19 years agoDon't call unicode functions of file API as they fail on Win9x.
Saulius Krasuckas [Fri, 18 Nov 2005 16:51:30 +0000 (16:51 +0000)] 
Don't call unicode functions of file API as they fail on Win9x.

19 years agoAdded a struct unicode_str to encapsulate object names.
Alexandre Julliard [Fri, 18 Nov 2005 16:31:18 +0000 (16:31 +0000)] 
Added a struct unicode_str to encapsulate object names.

19 years agoAvoid using deprecated openldap functions.
Hans Leidekker [Fri, 18 Nov 2005 16:29:32 +0000 (16:29 +0000)] 
Avoid using deprecated openldap functions.
Correct some return values.

19 years agoCentralized calls for SymSetContext, we only do it when we change the
Eric Pouech [Fri, 18 Nov 2005 16:27:55 +0000 (16:27 +0000)] 
Centralized calls for SymSetContext, we only do it when we change the
current stack frame, and no longer every time we look up local symbols
on current stack

19 years agoAvoid setting the context before the thread has started running, it's
Alexandre Julliard [Fri, 18 Nov 2005 15:06:38 +0000 (15:06 +0000)] 
Avoid setting the context before the thread has started running, it's
broken on most Windows versions.

19 years agoRef count the xmlDocPtr.
Huw Davies [Fri, 18 Nov 2005 15:05:26 +0000 (15:05 +0000)] 
Ref count the xmlDocPtr.
If two nodes refer to the same xmlNodePtr don't return same object.

19 years agoAvoid using deprecated openldap functions.
Hans Leidekker [Fri, 18 Nov 2005 15:05:01 +0000 (15:05 +0000)] 
Avoid using deprecated openldap functions.
Correct some return values.

19 years agoMove print_func_and_args to stack.c, where it belongs.
Eric Pouech [Fri, 18 Nov 2005 15:04:44 +0000 (15:04 +0000)] 
Move print_func_and_args to stack.c, where it belongs.

19 years agoFix vertical text alignment in static controls.
Kieran Clancy [Fri, 18 Nov 2005 15:04:25 +0000 (15:04 +0000)] 
Fix vertical text alignment in static controls.

19 years agoAdded header control tests.
Vijay Kiran Kamuju [Fri, 18 Nov 2005 12:33:10 +0000 (12:33 +0000)] 
Added header control tests.

19 years ago- now storing frames information in thread structure
Eric Pouech [Fri, 18 Nov 2005 12:33:03 +0000 (12:33 +0000)] 
- now storing frames information in thread structure
- frames are cached after each thread stops execution
- reimplemented backtrace on top of this

19 years agoAdded a few more Unicode digits from Unicode version 4.1.
Alexandre Julliard [Fri, 18 Nov 2005 12:15:59 +0000 (12:15 +0000)] 
Added a few more Unicode digits from Unicode version 4.1.

19 years agoUpdated codepage tables to Unicode version 4.1.
Alexandre Julliard [Fri, 18 Nov 2005 12:15:04 +0000 (12:15 +0000)] 
Updated codepage tables to Unicode version 4.1.

19 years agoUpdate Korean translations.
YunSong Hwang [Fri, 18 Nov 2005 12:07:42 +0000 (12:07 +0000)] 
Update Korean translations.

19 years agoAdd another test for Z order of child windows.
Dmitry Timoshkov [Fri, 18 Nov 2005 12:07:19 +0000 (12:07 +0000)] 
Add another test for Z order of child windows.

19 years agoUse case insensitive comparison to check file extensions.
Dmitry Timoshkov [Fri, 18 Nov 2005 12:06:57 +0000 (12:06 +0000)] 
Use case insensitive comparison to check file extensions.

19 years agoFix wrong use of the PFD_GENERIC_ACCELERATED flag. It indicates that
Peter Beutner [Fri, 18 Nov 2005 12:06:45 +0000 (12:06 +0000)] 
Fix wrong use of the PFD_GENERIC_ACCELERATED flag. It indicates that
the selected pixel format lacks full hardware acceleration and only a
few parts are accelerated. So don't always set it but only if the X
server actually reports that the selected pixel format is not fully
accelerated.

19 years agoFree ConnectionPoint objects (fix memory leak).
Jacek Caban [Fri, 18 Nov 2005 12:06:12 +0000 (12:06 +0000)] 
Free ConnectionPoint objects (fix memory leak).

19 years agoEnsures, when we cannot demangle the string, to return the mangled
Eric Pouech [Fri, 18 Nov 2005 12:06:00 +0000 (12:06 +0000)] 
Ensures, when we cannot demangle the string, to return the mangled
name instead of a NULL pointer.

19 years agoNow returning correct symbol flags (as native does) for function pmts
Eric Pouech [Fri, 18 Nov 2005 12:05:44 +0000 (12:05 +0000)] 
Now returning correct symbol flags (as native does) for function pmts
& locals in dbghelp.
Modified winedbg accordingly.

19 years agoIf SANE returns empty device list treat it as an error.
Dmitry Timoshkov [Fri, 18 Nov 2005 12:05:05 +0000 (12:05 +0000)] 
If SANE returns empty device list treat it as an error.

19 years agoFix parsing '{' char.
Jacek Caban [Fri, 18 Nov 2005 12:04:53 +0000 (12:04 +0000)] 
Fix parsing '{' char.

19 years agoHandle failure on Windows 95 properly.
Robert Reif [Fri, 18 Nov 2005 12:04:36 +0000 (12:04 +0000)] 
Handle failure on Windows 95 properly.
Make two functions available to all files.
Make format_string() const correct.

19 years agoImplemented getaddrinfo(), including full mapping of struct addrinfo
Marcus Meissner [Thu, 17 Nov 2005 12:58:35 +0000 (12:58 +0000)] 
Implemented getaddrinfo(), including full mapping of struct addrinfo
between UNIX and Windows. Based on a patch by Mike Hearn.

19 years agoDbghelp describes the types of function arguments with a specific
Eric Pouech [Thu, 17 Nov 2005 12:53:41 +0000 (12:53 +0000)] 
Dbghelp describes the types of function arguments with a specific
symbol-type (symt) which links both to arguments' type and to function
prototype
- added this new type to dbghelp
- implemented its use in winedbg

19 years agoSymGetType(...,TI_GET_LENGTH,...) requires a 64 bit parameter, not a
Eric Pouech [Thu, 17 Nov 2005 11:51:53 +0000 (11:51 +0000)] 
SymGetType(...,TI_GET_LENGTH,...) requires a 64 bit parameter, not a
32 bit one.

19 years agoOnly update modified files.
Alexandre Julliard [Thu, 17 Nov 2005 11:43:10 +0000 (11:43 +0000)] 
Only update modified files.

19 years agoImprove IConnectionPoint handling.
Jacek Caban [Thu, 17 Nov 2005 11:40:55 +0000 (11:40 +0000)] 
Improve IConnectionPoint handling.

19 years agoDisable support for creation FMT_Unknown textures. This gets most of
Oliver Stieber [Thu, 17 Nov 2005 11:40:43 +0000 (11:40 +0000)] 
Disable support for creation FMT_Unknown textures. This gets most of
the d3d8 demos from www.codesampler.com working.

19 years agoRemove some incompatibilities in the wctype table by updating the
Robert Shearman [Thu, 17 Nov 2005 11:07:04 +0000 (11:07 +0000)] 
Remove some incompatibilities in the wctype table by updating the
space, blank and cntrl exceptions and fixing the type given to
characters in the "Zl" and "Zp" classes.

19 years agoReturn false if index is out of bounds in GetItemT.
Vitaliy Margolen [Thu, 17 Nov 2005 11:06:18 +0000 (11:06 +0000)] 
Return false if index is out of bounds in GetItemT.

19 years agoFixed invalid C syntax.
Alexandre Julliard [Thu, 17 Nov 2005 11:06:06 +0000 (11:06 +0000)] 
Fixed invalid C syntax.

19 years agoThe BOM doesn't need a DWORD sized variable, only a WCHAR one.
Robert Shearman [Thu, 17 Nov 2005 11:05:46 +0000 (11:05 +0000)] 
The BOM doesn't need a DWORD sized variable, only a WCHAR one.
Don't increment the szFile pointer since we removed the BOM earlier
and it will cause the first real character of the INI file to be
skipped.

19 years agoUse command line for initial directory selection.
Martin Fuchs [Thu, 17 Nov 2005 11:05:35 +0000 (11:05 +0000)] 
Use command line for initial directory selection.
Remove useless hwndParent variable.

19 years agoClear the z and stencil buffers at the end of the scene, this fixes a
Oliver Stieber [Thu, 17 Nov 2005 11:05:12 +0000 (11:05 +0000)] 
Clear the z and stencil buffers at the end of the scene, this fixes a
problem with the solid node bsp demo from www.codesampler.com as well
as a lot of blank screens in some other demos.