wine
18 years agoshdocvw: Added GetMiscStatus test.
Jacek Caban [Sat, 8 Jul 2006 14:07:30 +0000 (16:07 +0200)] 
shdocvw: Added GetMiscStatus test.

18 years agoshdocvw: Call SetMenu in activate_ui.
Jacek Caban [Sat, 8 Jul 2006 14:09:24 +0000 (16:09 +0200)] 
shdocvw: Call SetMenu in activate_ui.

18 years agomshtml: Added OnFrameWindowActivate implementation.
Jacek Caban [Sat, 8 Jul 2006 14:11:25 +0000 (16:11 +0200)] 
mshtml: Added OnFrameWindowActivate implementation.

18 years agoadvapi32: Fix registry API prototypes to match the PSDK.
Bang Jun-Young [Sat, 8 Jul 2006 13:26:16 +0000 (22:26 +0900)] 
advapi32: Fix registry API prototypes to match the PSDK.

18 years agoinclude/.gitignore: Moved the wine subdir ignore list to the main file.
Alexandre Julliard [Mon, 10 Jul 2006 19:43:21 +0000 (21:43 +0200)] 
include/.gitignore: Moved the wine subdir ignore list to the main file.

18 years agolibs/.gitignore: Added wildcards for libraries.
Alexandre Julliard [Mon, 10 Jul 2006 19:41:34 +0000 (21:41 +0200)] 
libs/.gitignore: Added wildcards for libraries.

18 years ago.gitignore: Added wildcards to ignore lex and bison output files.
Alexandre Julliard [Mon, 10 Jul 2006 19:40:49 +0000 (21:40 +0200)] 
.gitignore: Added wildcards to ignore lex and bison output files.

18 years ago.gitignore: Added wildcards to ignore generated resource files.
Alexandre Julliard [Mon, 10 Jul 2006 19:39:00 +0000 (21:39 +0200)] 
.gitignore: Added wildcards to ignore generated resource files.

18 years agomake_dlls: Recursively ignore .ok files in all tests directories.
Alexandre Julliard [Mon, 10 Jul 2006 19:26:50 +0000 (21:26 +0200)] 
make_dlls: Recursively ignore .ok files in all tests directories.

18 years agomake_dlls: Recursively ignore testlist.c in all tests directories.
Alexandre Julliard [Mon, 10 Jul 2006 19:19:42 +0000 (21:19 +0200)] 
make_dlls: Recursively ignore testlist.c in all tests directories.

18 years agomake_progs: Generate the .gitignore file.
Alexandre Julliard [Mon, 10 Jul 2006 18:59:06 +0000 (20:59 +0200)] 
make_progs: Generate the .gitignore file.

Ignore generated programs from the top-level .gitignore.

18 years agomake_dlls: Ignore generated import libraries from the top-level .gitignore.
Alexandre Julliard [Mon, 10 Jul 2006 18:55:58 +0000 (20:55 +0200)] 
make_dlls: Ignore generated import libraries from the top-level .gitignore.

18 years agomake_dlls: Generate the .gitignore file.
Alexandre Julliard [Mon, 10 Jul 2006 18:52:13 +0000 (20:52 +0200)] 
make_dlls: Generate the .gitignore file.

18 years agoTake advantage of the recursive nature of .gitignore for Makefile entries.
Alexandre Julliard [Mon, 10 Jul 2006 18:47:54 +0000 (20:47 +0200)] 
Take advantage of the recursive nature of .gitignore for Makefile entries.

Prefix other entries with '/' to make them non-recursive.

18 years agoRelease 0.9.17. wine-0.9.17
Alexandre Julliard [Mon, 10 Jul 2006 15:46:42 +0000 (17:46 +0200)] 
Release 0.9.17.

18 years agoquery: Add a skeleton for query.dll.
Mike McCormack [Fri, 7 Jul 2006 09:21:36 +0000 (18:21 +0900)] 
query: Add a skeleton for query.dll.

18 years agoadvpack: Add tests for different configurations of INF filenames and
James Hawkins [Sat, 8 Jul 2006 01:30:46 +0000 (18:30 -0700)] 
advpack: Add tests for different configurations of INF filenames and
working directories for install functions.

18 years agoconfigure: Define _WIN64 when building on a 64-bit platform.
Alexandre Julliard [Mon, 10 Jul 2006 11:05:20 +0000 (13:05 +0200)] 
configure: Define _WIN64 when building on a 64-bit platform.

18 years agoinclude/msvcrt: Fix all definitions of size_t for Win64.
Alexandre Julliard [Mon, 10 Jul 2006 10:28:25 +0000 (12:28 +0200)] 
include/msvcrt: Fix all definitions of size_t for Win64.

18 years agomsvcrt: Avoid including system headers in msvcrt.h.
Alexandre Julliard [Mon, 10 Jul 2006 09:54:10 +0000 (11:54 +0200)] 
msvcrt: Avoid including system headers in msvcrt.h.

18 years agoquery: Add ntquery.h.
Mike McCormack [Fri, 7 Jul 2006 08:20:59 +0000 (17:20 +0900)] 
query: Add ntquery.h.

18 years agontdll/tests: Added some NULL testing.
Paul Vriens [Fri, 7 Jul 2006 08:36:46 +0000 (10:36 +0200)] 
ntdll/tests: Added some NULL testing.

18 years agoserver: Only accept 0 as registry handle in functions that take a parent key.
Alexandre Julliard [Mon, 10 Jul 2006 09:53:23 +0000 (11:53 +0200)] 
server: Only accept 0 as registry handle in functions that take a parent key.

18 years agoinclude: Add more error codes used by newer versions of COM.
Robert Shearman [Sat, 8 Jul 2006 10:53:32 +0000 (11:53 +0100)] 
include: Add more error codes used by newer versions of COM.

18 years agooleaut32: Make ctl2_hash_guid match the same function in widl, which has likely had...
Robert Shearman [Sat, 8 Jul 2006 10:54:17 +0000 (11:54 +0100)] 
oleaut32: Make ctl2_hash_guid match the same function in widl, which has likely had much wider testing.

18 years agooleaut32: MSFT_DoFuncs: "reclength" of the function information record is stored
Robert Shearman [Sat, 8 Jul 2006 10:54:40 +0000 (11:54 +0100)] 
oleaut32: MSFT_DoFuncs: "reclength" of the function information record is stored

in a 16 bit int and not in a 8 bit int as previously supposed, using a 0x1ff
mask. Upper 16 bits contains the ordinal number of the function.
Allocation of the "recbuf" must be modified, to support larger data
(based on a patch by White Snake <whitesnake78@mail.com>).

18 years agooleaut32: Copying a NULL BSTR should result in an empty BSTR in VariantCopy.
qingdoa daoo [Sat, 8 Jul 2006 06:58:07 +0000 (14:58 +0800)] 
oleaut32: Copying a NULL BSTR should result in an empty BSTR in VariantCopy.

18 years agowinex11: Use correct multiplier for negative relative mouse movements.
Thomas Kho [Sat, 8 Jul 2006 02:05:14 +0000 (21:05 -0500)] 
winex11: Use correct multiplier for negative relative mouse movements.

18 years agocrypt32: Implement revocation check in CertVerifySubjectCertificateContext.
Juan Lang [Fri, 7 Jul 2006 20:19:53 +0000 (13:19 -0700)] 
crypt32: Implement revocation check in CertVerifySubjectCertificateContext.

18 years agoshell32: Updated Korean resource.
Hwang YunSong(황윤성) [Sat, 8 Jul 2006 00:31:19 +0000 (09:31 +0900)] 
shell32: Updated Korean resource.

18 years agowinecfg: Updated Korean resource.
Hwang YunSong(황윤성) [Sat, 8 Jul 2006 08:07:30 +0000 (17:07 +0900)] 
winecfg: Updated Korean resource.

18 years agowinecfg: Nl.rc: Shift Graphics page up to fill the empty place.
Paul Vriens [Sat, 8 Jul 2006 10:13:06 +0000 (12:13 +0200)] 
winecfg: Nl.rc: Shift Graphics page up to fill the empty place.

18 years agowinecfg: Write-strings warnings fix.
Andrew Talbot [Fri, 7 Jul 2006 18:42:27 +0000 (19:42 +0100)] 
winecfg: Write-strings warnings fix.

18 years agourlmon: Register protocol handlers in DllMain.
Jacek Caban [Fri, 7 Jul 2006 18:31:59 +0000 (20:31 +0200)] 
urlmon: Register protocol handlers in DllMain.

18 years agourlmon: Use non heap based objects for class factories.
Jacek Caban [Fri, 7 Jul 2006 18:31:25 +0000 (20:31 +0200)] 
urlmon: Use non heap based objects for class factories.

18 years agowined3d: Fix typo breaking 3.0 pshaders color input.
Ivan Gyurdiev [Fri, 7 Jul 2006 17:01:27 +0000 (11:01 -0600)] 
wined3d: Fix typo breaking 3.0 pshaders color input.

18 years agowinex11.drv: Protect X11 calls by a critical section.
Dmitry Timoshkov [Fri, 7 Jul 2006 14:54:00 +0000 (23:54 +0900)] 
winex11.drv: Protect X11 calls by a critical section.

18 years agouser: Improve SetActiveWindow test, add SetForegroundWindow test, make them pass...
Dmitry Timoshkov [Fri, 7 Jul 2006 14:01:51 +0000 (23:01 +0900)] 
user: Improve SetActiveWindow test, add SetForegroundWindow test, make them pass under Wine.

18 years agoAdd a common fps counter channel to ddraw, opengl and d3d.
Stefan Dösinger [Wed, 5 Jul 2006 16:35:21 +0000 (18:35 +0200)] 
Add a common fps counter channel to ddraw, opengl and d3d.

18 years agomshtml: Create nsWineURI even if we don't have valid nsIURI.
Jacek Caban [Fri, 7 Jul 2006 13:17:27 +0000 (15:17 +0200)] 
mshtml: Create nsWineURI even if we don't have valid nsIURI.

18 years agoshdocvw: Added test of SetClientSite.
Jacek Caban [Fri, 7 Jul 2006 13:16:07 +0000 (15:16 +0200)] 
shdocvw: Added test of SetClientSite.

18 years agoshdocvw: Call GetContainer in SetClientSite.
Jacek Caban [Fri, 7 Jul 2006 13:15:24 +0000 (15:15 +0200)] 
shdocvw: Call GetContainer in SetClientSite.

18 years agoinclude: Added htiframe.idl.
Jacek Caban [Fri, 7 Jul 2006 13:12:56 +0000 (15:12 +0200)] 
include: Added htiframe.idl.

18 years agowined3d: Trace ABS/ABSNEG modifiers.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:29:39 +0000 (00:29 -0600)] 
wined3d: Trace ABS/ABSNEG modifiers.

18 years agowined3d: Create fake input semantics for d3d8 shaders.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:28:30 +0000 (00:28 -0600)] 
wined3d: Create fake input semantics for d3d8 shaders.

Use them to remove the need for loading arrays in two different places.

18 years agowined3d: Reverse semantics maps for shaders.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:27:38 +0000 (00:27 -0600)] 
wined3d: Reverse semantics maps for shaders.

18 years agowined3d: Make WINED3D_ATR macros more flexible.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:25:14 +0000 (00:25 -0600)] 
wined3d: Make WINED3D_ATR macros more flexible.

Make them operate on a type, as opposed to a semantic name.

18 years agowined3d: Simplify primitiveDeclartationConvertToStrided.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:24:24 +0000 (00:24 -0600)] 
wined3d: Simplify primitiveDeclartationConvertToStrided.

Assign fixed indices to declaration inputs.
Then use a common path to load the strided data.

18 years agowined3d: Add position_transformed flag to Strided data format.
Ivan Gyurdiev [Fri, 7 Jul 2006 13:15:20 +0000 (07:15 -0600)] 
wined3d: Add position_transformed flag to Strided data format.

18 years agowined3d: Only link and use GLSL program if at least one GLSL shader is available.
Ivan Gyurdiev [Fri, 7 Jul 2006 06:17:58 +0000 (00:17 -0600)] 
wined3d: Only link and use GLSL program if at least one GLSL shader is available.

18 years agoshell32: Show a confirmation before deleting files with syscalls.
Mikołaj Zalewski [Thu, 6 Jul 2006 18:46:21 +0000 (20:46 +0200)] 
shell32: Show a confirmation before deleting files with syscalls.

18 years agoshell32: If possible use SHFileOperationW to delete in unixfs.
Mikołaj Zalewski [Thu, 6 Jul 2006 18:38:37 +0000 (20:38 +0200)] 
shell32: If possible use SHFileOperationW to delete in unixfs.

This gives confirmation dialogs, recursive directory removal etc.

18 years agodinput: map_axis must be able to work with LONG's value range.
Christoph Frick [Fri, 7 Jul 2006 08:01:42 +0000 (10:01 +0200)] 
dinput: map_axis must be able to work with LONG's value range.

18 years agodinput: Remove redundant struct members.
Christoph Frick [Fri, 7 Jul 2006 08:00:01 +0000 (10:00 +0200)] 
dinput: Remove redundant struct members.

18 years agodinput: Implement the GetProperty call for getting the range of an axis.
Christoph Frick [Thu, 6 Jul 2006 11:18:13 +0000 (13:18 +0200)] 
dinput: Implement the GetProperty call for getting the range of an axis.

18 years agodinput: Call fake_current_js_state on the places where it is actually needed in SetPr...
Christoph Frick [Thu, 6 Jul 2006 11:17:31 +0000 (13:17 +0200)] 
dinput: Call fake_current_js_state on the places where it is actually needed in SetProperty.

18 years agodinput: Only fake the current state on axes that are actually there.
Christoph Frick [Thu, 6 Jul 2006 11:16:57 +0000 (13:16 +0200)] 
dinput: Only fake the current state on axes that are actually there.

18 years agodinput: Move the axes and button configs into the JoyDev struct.
Christoph Frick [Thu, 6 Jul 2006 11:16:22 +0000 (13:16 +0200)] 
dinput: Move the axes and button configs into the JoyDev struct.

18 years agodinput: Utilize the offsets and the transform to support the user
Christoph Frick [Thu, 6 Jul 2006 11:15:36 +0000 (13:15 +0200)] 
dinput: Utilize the offsets and the transform to support the user
supplied data format.

18 years agodinput: Adds offset and transform and their basic handling to the joystick implementa...
Christoph Frick [Thu, 6 Jul 2006 11:14:18 +0000 (13:14 +0200)] 
dinput: Adds offset and transform and their basic handling to the joystick implementation.

18 years agodinput: When handling axes, ignore the ABS_HAT.* as they are handled as POV.
Christoph Frick [Thu, 6 Jul 2006 11:13:27 +0000 (13:13 +0200)] 
dinput: When handling axes, ignore the ABS_HAT.* as they are handled as POV.

18 years agodinput: Set the amount of POVs in the caps.
Christoph Frick [Thu, 6 Jul 2006 11:12:43 +0000 (13:12 +0200)] 
dinput: Set the amount of POVs in the caps.

18 years agodinput: Detect more than one /dev/input/event joystick.
Christoph Frick [Thu, 6 Jul 2006 11:12:07 +0000 (13:12 +0200)] 
dinput: Detect more than one /dev/input/event joystick.

18 years agowined3d: Fix D3DSIO_TEXKILL for GLSL.
Jason Green [Fri, 7 Jul 2006 14:13:42 +0000 (10:13 -0400)] 
wined3d: Fix D3DSIO_TEXKILL for GLSL.

18 years agowinecfg: Shift Graphics page up to fill the empty place.
Vitaliy Margolen [Fri, 7 Jul 2006 13:33:13 +0000 (07:33 -0600)] 
winecfg: Shift Graphics page up to fill the empty place.

18 years agod3d8: Fix remaining refcount tests and tighten all tests.
Vitaliy Margolen [Fri, 7 Jul 2006 13:31:56 +0000 (07:31 -0600)] 
d3d8: Fix remaining refcount tests and tighten all tests.

18 years agowininet: Use correct way of determining the password for anonymous ftp.
Paul Vriens [Fri, 7 Jul 2006 11:30:33 +0000 (13:30 +0200)] 
wininet: Use correct way of determining the password for anonymous ftp.

18 years agoshell: Move SHIsFileAvailableOffline from shell.c to shlfileop.c to
Pierre d'Herbemont [Fri, 7 Jul 2006 12:38:18 +0000 (14:38 +0200)] 
shell: Move SHIsFileAvailableOffline from shell.c to shlfileop.c to
ensure the 16/32 bits separation.

18 years agoserver: Fix context_powerpc.c compilation.
Pierre d'Herbemont [Fri, 7 Jul 2006 10:42:53 +0000 (12:42 +0200)] 
server: Fix context_powerpc.c compilation.

18 years agouuid: Add indexsvr's IIDs to libuuid.
Mike McCormack [Fri, 7 Jul 2006 05:18:30 +0000 (14:18 +0900)] 
uuid: Add indexsvr's IIDs to libuuid.

18 years agoinclude: Add indexsvr.idl (IWordBreaker).
Mike McCormack [Fri, 7 Jul 2006 05:18:19 +0000 (14:18 +0900)] 
include: Add indexsvr.idl (IWordBreaker).

18 years agoriched20: Replace an if-statement with empty body with a FIXME comment.
Michael Stefaniuc [Thu, 6 Jul 2006 22:29:03 +0000 (00:29 +0200)] 
riched20: Replace an if-statement with empty body with a FIXME comment.

18 years agojanitorial: Put "inline static" at the beginning of a declaration.
Michael Stefaniuc [Thu, 6 Jul 2006 22:26:16 +0000 (00:26 +0200)] 
janitorial: Put "inline static" at the beginning of a declaration.

18 years agojanitorial: Move the storage specifier to the beginning of the declaration.
Michael Stefaniuc [Thu, 6 Jul 2006 22:23:14 +0000 (00:23 +0200)] 
janitorial: Move the storage specifier to the beginning of the declaration.

18 years agonotepad: Change window classname from NPClass to Notepad.
Thomas Kho [Thu, 6 Jul 2006 22:40:47 +0000 (17:40 -0500)] 
notepad: Change window classname from NPClass to Notepad.

18 years agourlmon: Added image/x-png mime filter.
Jacek Caban [Thu, 6 Jul 2006 19:11:04 +0000 (21:11 +0200)] 
urlmon: Added image/x-png mime filter.

18 years agourlmon: Added image/bmp filter.
Jacek Caban [Thu, 6 Jul 2006 18:38:27 +0000 (20:38 +0200)] 
urlmon: Added image/bmp filter.

18 years agourlmon: Added image/gif filter.
Jacek Caban [Thu, 6 Jul 2006 18:04:26 +0000 (20:04 +0200)] 
urlmon: Added image/gif filter.

18 years agourlmon: Added more test of FindMimeFromData.
Jacek Caban [Thu, 6 Jul 2006 18:03:51 +0000 (20:03 +0200)] 
urlmon: Added more test of FindMimeFromData.

18 years agourlmon: Fix handling of proposed mime.
Jacek Caban [Thu, 6 Jul 2006 18:02:49 +0000 (20:02 +0200)] 
urlmon: Fix handling of proposed mime.

18 years agourlmon: Added image/pjpeg mime filter.
Jacek Caban [Thu, 6 Jul 2006 18:02:24 +0000 (20:02 +0200)] 
urlmon: Added image/pjpeg mime filter.

18 years agoregedit: Write-strings warning fix.
Andrew Talbot [Thu, 6 Jul 2006 17:55:19 +0000 (18:55 +0100)] 
regedit: Write-strings warning fix.

18 years agowidl: Add support for the builtin constants "TRUE" and "FALSE".
Robert Shearman [Thu, 6 Jul 2006 11:56:36 +0000 (12:56 +0100)] 
widl: Add support for the builtin constants "TRUE" and "FALSE".

18 years agoole32: Fix the return value of COM_RegReadPath and make it static.
Robert Shearman [Thu, 6 Jul 2006 11:55:13 +0000 (12:55 +0100)] 
ole32: Fix the return value of COM_RegReadPath and make it static.

18 years agooleaut32: ITypeComp_fnBind should do case-insensitive compares on the name passed in.
Robert Shearman [Thu, 6 Jul 2006 11:55:05 +0000 (12:55 +0100)] 
oleaut32: ITypeComp_fnBind should do case-insensitive compares on the name passed in.

18 years agooleaut32: Add a typedef for "boolean".
Robert Shearman [Thu, 6 Jul 2006 11:54:58 +0000 (12:54 +0100)] 
oleaut32: Add a typedef for "boolean".

Fix up an conflict that this type has with jpeglib.h.

18 years agooleaut32: Fix the error code returned by ITypeComp on an interface when the name...
Robert Shearman [Thu, 6 Jul 2006 11:54:48 +0000 (12:54 +0100)] 
oleaut32: Fix the error code returned by ITypeComp on an interface when the name matches, but the flags don't.

18 years agoadvapi32: Get the token type in ImpersonateLoggedOnUser.
James Hawkins [Thu, 6 Jul 2006 02:55:02 +0000 (19:55 -0700)] 
advapi32: Get the token type in ImpersonateLoggedOnUser.

18 years agoadvapi32: Add tests for LookupAccountSid.
James Hawkins [Thu, 6 Jul 2006 02:53:52 +0000 (19:53 -0700)] 
advapi32: Add tests for LookupAccountSid.

18 years agowinex11.drv: Add window style and visibility status to the take focus event trace.
Dmitry Timoshkov [Wed, 5 Jul 2006 07:57:44 +0000 (16:57 +0900)] 
winex11.drv: Add window style and visibility status to the take focus event trace.

18 years agowined3d: Fix D3DSIO_M#X# instruction for both ARB and GLSL shaders.
Jason Green [Thu, 6 Jul 2006 02:35:56 +0000 (22:35 -0400)] 
wined3d: Fix D3DSIO_M#X# instruction for both ARB and GLSL shaders.

This instruction was being handled incorrectly in the case where the
2nd src argument contained a relatively addressed constant.

18 years agokernel/tests: More tests for OpenFile.
Saulius Krasuckas [Thu, 6 Jul 2006 08:04:51 +0000 (11:04 +0300)] 
kernel/tests: More tests for OpenFile.

18 years agowininet: Return NULL handle if no connection is established.
Paul Vriens [Tue, 4 Jul 2006 18:06:58 +0000 (20:06 +0200)] 
wininet: Return NULL handle if no connection is established.

18 years agowined3d: Clean up drawPrimitive/drawPrimitiveDrawStrided.
Ivan Gyurdiev [Tue, 4 Jul 2006 09:08:39 +0000 (03:08 -0600)] 
wined3d: Clean up drawPrimitive/drawPrimitiveDrawStrided.

18 years agowined3d: Implement FVF to DECL9 conversion (with tests).
Ivan Gyurdiev [Tue, 4 Jul 2006 08:53:13 +0000 (02:53 -0600)] 
wined3d: Implement FVF to DECL9 conversion (with tests).

18 years agowined3d: Move register count pass to SetFunction.
Ivan Gyurdiev [Tue, 4 Jul 2006 08:01:46 +0000 (02:01 -0600)] 
wined3d: Move register count pass to SetFunction.

Move semantics pointers out of the reg_maps, make them persistent data
in the shader (again, for future software shaders).

18 years agowined3d: Fix STREAM flag override.
Ivan Gyurdiev [Tue, 4 Jul 2006 07:27:25 +0000 (01:27 -0600)] 
wined3d: Fix STREAM flag override.

18 years agowined3d: Add missing PSIZE register for decl8->9 conversion.
Ivan Gyurdiev [Tue, 4 Jul 2006 07:25:11 +0000 (01:25 -0600)] 
wined3d: Add missing PSIZE register for decl8->9 conversion.

18 years agowined3d: Allow mix of SW vertex and GLSL pixel shader.
Ivan Gyurdiev [Tue, 4 Jul 2006 07:23:18 +0000 (01:23 -0600)] 
wined3d: Allow mix of SW vertex and GLSL pixel shader.

Do not attach non-GLSL shaders to the GLSL program, that will cause a
crash. Mix with ARB shaders is never going to happen, because the
selection code will always choose GLSL for both or ARB for both.

18 years agowined3d: Rework shader mode selection.
Ivan Gyurdiev [Tue, 4 Jul 2006 07:21:53 +0000 (01:21 -0600)] 
wined3d: Rework shader mode selection.

- currently half the shader selection code (GLSL vs ARB) is in
fillGLcaps. The parts that check for software shaders are in
GetDeviceCaps. That placement, will work, but is definitely not optimal.
FillGLcaps should detect support - it should not make decision as to
what's used, because that's not what the purpose of the function is.
GetDeviceCaps should report support as it has already been selected.
Instead, select shader mode in its own function, called in the
appropriate places.

- unifying pixel and vertex shaders into a single selection is a
mistake. A software vertex shader can be coupled with a hardware arb or
glsl pixel shader, or no shader at all. Split them back into two and add
a SHADER_NONE variant.

- drawprim is doing support checks for ARB_PROGRAM, and making shader
decisions based on that - that's wrong, support has already been
checked, and decided upon, and shaders can be implemented via software,
ARB_PROGRAm or GLSL, so that support check isn't valid.

- Store the shader selected mode into the shader itself. Different types
of shaders can be combined, so this is an improvement. In fact, storing
the mode into the settings globally is a mistake as well - it should be
done per device, since different cards have different capabilities.