Mike McCormack [Thu, 15 Jun 2006 08:30:49 +0000 (17:30 +0900)]
comctl32: Add a short test for the listview.
Mike McCormack [Thu, 15 Jun 2006 07:05:48 +0000 (16:05 +0900)]
comctl32: Arrange the listview after deleting all items so we will place icons at the top again.
Mike McCormack [Thu, 15 Jun 2006 05:23:42 +0000 (14:23 +0900)]
comctl32: Use the listview's background colour when drawing with imagelist.
Mike McCormack [Wed, 14 Jun 2006 14:44:42 +0000 (23:44 +0900)]
msi: Don't define COND_SPACE twice.
Eric Pouech [Wed, 14 Jun 2006 19:35:18 +0000 (21:35 +0200)]
mciwave: Fixed a bogus free.
Vitaly Lipatov [Wed, 14 Jun 2006 17:12:16 +0000 (21:12 +0400)]
user32: Fix character conversion in combo box.
Replace toupper/tolower with CharUpper/CharLower functions.
Louis. Lenders [Wed, 14 Jun 2006 08:58:28 +0000 (09:58 +0100)]
wine.inf: Add fake dll for advpack.dll.
Robert Shearman [Wed, 14 Jun 2006 01:37:43 +0000 (02:37 +0100)]
atl: Add a stub for AtlModuleRegisterWndClassInfoW.
Robert Shearman [Wed, 14 Jun 2006 01:38:34 +0000 (02:38 +0100)]
ntdll: Change the test for no relocation information to use the
IMAGE_FILE_RELOCS_STRIPPED flag instead of a zero sized relocations
section.
This fixes loading of resource-only DLLs that have a load-address of
0x400000.
Robert Shearman [Wed, 14 Jun 2006 01:38:20 +0000 (02:38 +0100)]
msxml: Text nodes with just whitespace should be stripped.
Robert Shearman [Wed, 14 Jun 2006 01:38:09 +0000 (02:38 +0100)]
msxml: Implement IXMLDOMElement for text elements by using
create_element instead of create_basic_node.
Robert Shearman [Wed, 14 Jun 2006 01:37:54 +0000 (02:37 +0100)]
msxml: Allow the element implementation to be aggregatable.
Paul Vriens [Tue, 13 Jun 2006 12:16:58 +0000 (14:16 +0200)]
uxtheme: Add framework and initial tests.
Choe Hwanjin [Wed, 14 Jun 2006 06:52:27 +0000 (15:52 +0900)]
winuser.h: Add some missing virtual key symbols.
Mike McCormack [Tue, 13 Jun 2006 12:34:28 +0000 (21:34 +0900)]
msi: Add a test for reading long strings.
Mike McCormack [Tue, 13 Jun 2006 12:34:16 +0000 (21:34 +0900)]
msi: Add a test for creating a record with a long string.
Mike McCormack [Tue, 13 Jun 2006 12:33:27 +0000 (21:33 +0900)]
msi: Add a test for MsiDatabaseExport.
Mike McCormack [Wed, 14 Jun 2006 02:40:17 +0000 (11:40 +0900)]
mapi: Fix declaration of LPMAPISENDMAIL (spotted by Cho Hwanjin).
Mike McCormack [Wed, 14 Jun 2006 02:16:32 +0000 (11:16 +0900)]
advpack: Remove some dead code. (Coverity)
Mike McCormack [Wed, 14 Jun 2006 01:58:29 +0000 (10:58 +0900)]
dbghelp: Fix the prototype of some callbacks.
Mike McCormack [Wed, 14 Jun 2006 01:58:15 +0000 (10:58 +0900)]
crypt32: Fix a cast for Win64.
Mike McCormack [Wed, 14 Jun 2006 01:58:02 +0000 (10:58 +0900)]
wrc: Remove some tokens declared twice.
Robert Shearman [Tue, 13 Jun 2006 09:59:42 +0000 (10:59 +0100)]
rpcrt4: getaddrinfo returns any non-zero value on failure, not just negative values.
Alexandre Julliard [Tue, 13 Jun 2006 12:16:57 +0000 (14:16 +0200)]
ntdll: Cast termios.c_cflag to avoid a printf format warning.
Alexandre Julliard [Tue, 13 Jun 2006 12:16:06 +0000 (14:16 +0200)]
winedbg: sscanf arguments should be ints, not size_t.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:59 +0000 (14:14 +0200)]
winebuild: Fix a few printf format warnings by casting size_t.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:20 +0000 (14:14 +0200)]
wined3d: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:13 +0000 (14:14 +0200)]
oleaut32: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:06 +0000 (14:14 +0200)]
msvcrt: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:14:00 +0000 (14:14 +0200)]
crypt32: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:13:49 +0000 (14:13 +0200)]
widl: Use unsigned int instead of size_t to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:12:07 +0000 (14:12 +0200)]
winevdm: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:58 +0000 (14:11 +0200)]
rpcss: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:48 +0000 (14:11 +0200)]
wineps.drv: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:36 +0000 (14:11 +0200)]
user32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:28 +0000 (14:11 +0200)]
rpcrt4: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:15 +0000 (14:11 +0200)]
ole32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:11:04 +0000 (14:11 +0200)]
netapi32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:57 +0000 (14:10 +0200)]
msvfw32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:47 +0000 (14:10 +0200)]
mciseq: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:39 +0000 (14:10 +0200)]
kernel32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:32 +0000 (14:10 +0200)]
dsound: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:21 +0000 (14:10 +0200)]
dplayx: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:10:12 +0000 (14:10 +0200)]
dmstyle: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:55 +0000 (14:09 +0200)]
dinput: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:46 +0000 (14:09 +0200)]
d3d9: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:36 +0000 (14:09 +0200)]
d3d8: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:24 +0000 (14:09 +0200)]
comdlg32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:16 +0000 (14:09 +0200)]
comctl32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:09:02 +0000 (14:09 +0200)]
advapi32: Don't use sizeof in traces to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:04:07 +0000 (14:04 +0200)]
winmm/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:59 +0000 (14:03 +0200)]
version/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:51 +0000 (14:03 +0200)]
urlmon/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:44 +0000 (14:03 +0200)]
rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:36 +0000 (14:03 +0200)]
ole32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:19 +0000 (14:03 +0200)]
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:03:01 +0000 (14:03 +0200)]
mshtml/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:52 +0000 (14:02 +0200)]
mlang/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:45 +0000 (14:02 +0200)]
mapi32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:31 +0000 (14:02 +0200)]
kernel32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:13 +0000 (14:02 +0200)]
gdi/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 12:02:03 +0000 (14:02 +0200)]
crypt32/tests: Don't use sizeof in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:58:30 +0000 (13:58 +0200)]
wininet/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:58:12 +0000 (13:58 +0200)]
version/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:59 +0000 (13:57 +0200)]
shlwapi/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:40 +0000 (13:57 +0200)]
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:27 +0000 (13:57 +0200)]
mscms/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:57:12 +0000 (13:57 +0200)]
kernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:56:39 +0000 (13:56 +0200)]
crypt32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Alexandre Julliard [Tue, 13 Jun 2006 11:56:18 +0000 (13:56 +0200)]
advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
Nick Burns [Fri, 9 Jun 2006 02:57:42 +0000 (19:57 -0700)]
include: Use force_align_arg_pointer on MacOS to fix the stack on entry to Wine.
Mike McCormack [Tue, 13 Jun 2006 09:34:27 +0000 (18:34 +0900)]
include: Remove non-ASCII characters in headers for winelib compatibility.
Mike McCormack [Tue, 13 Jun 2006 09:24:11 +0000 (18:24 +0900)]
wingdi: Fix typo in definition of BLTALIGNMENT (spotted by Choe Hwanjin).
Mike McCormack [Tue, 13 Jun 2006 07:58:55 +0000 (16:58 +0900)]
msi: Fix loading of long strings.
Mike McCormack [Tue, 13 Jun 2006 07:58:38 +0000 (16:58 +0900)]
winmm: Undefine SW_MAX defined by linux/input.h to avoid a conflict with winuser.h.
Michael Stefaniuc [Sun, 11 Jun 2006 22:11:36 +0000 (00:11 +0200)]
Yet another round of redundant NULL checks before HeapFree.
Alexandre Julliard [Tue, 13 Jun 2006 09:21:19 +0000 (11:21 +0200)]
msvcrt: Explicitly specify CDECL calling convention on exported functions.
Alexandre Julliard [Tue, 13 Jun 2006 09:18:15 +0000 (11:18 +0200)]
oledlg: Declare varargs functions as WINAPIV instead of cdecl.
Alexandre Julliard [Tue, 13 Jun 2006 09:18:09 +0000 (11:18 +0200)]
avifil32: Declare varargs functions as WINAPIV instead of cdecl.
Mike McCormack [Mon, 12 Jun 2006 04:34:23 +0000 (13:34 +0900)]
userenv: Add profinfo.h.
Ivan Gyurdiev [Mon, 12 Jun 2006 10:58:33 +0000 (06:58 -0400)]
wined3d: Fix params for DP2ADD/TEXLDD.
DP2ADD is valid on pshaders 2.0 and above, has 4 parameters.
TEXLDD is valid on pshaders 2.x and above, has 5 parameters.
Ivan Gyurdiev [Mon, 12 Jun 2006 10:57:04 +0000 (06:57 -0400)]
wined3d: Mark instructions without a destination token.
There are a total of 17 instructions without a destination token. Of
those 9 have num_params != 0, which means that we will not process any
of them correctly, because we assume the first token (if present) is a
destination token.
Those are basically all the flow control instructions, which we plan to
support very soon. They have source tokens, and no destination. Add a
flag that marks them up to the ins table. Use this flag in the trace
pass, and generation pass.
Ivan Gyurdiev [Mon, 12 Jun 2006 07:00:03 +0000 (03:00 -0400)]
wined3d: Keep pshader and vshader constants in GLSL separate.
GLSL uniforms have as scope the entire program.
To prevent conflicts, name pshader and vshader constants differently.
Based on a patch by Jason Green.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:59:16 +0000 (02:59 -0400)]
wined3d: Improve Sampler support on 2.0 and 3.0 shaders.
- track sampler declarations and store the sampler usage in reg_maps structure
- store a fake sampler usage for 1.X shaders (defined as 2D sampler)
- re-sync glsl TEX implementation with the ARB one (no idea why they diverged..)
- use sampler type in new TEX implementation to support 2D, 3D, and Cube sampling
- change drawprim to bind pixel shader samplers
Additional improvements:
- rename texture limit to texcoord to prevent confusion
- add sampler limit, and use that for samplers - *not* the same as texcoord above
Ivan Gyurdiev [Mon, 12 Jun 2006 06:58:09 +0000 (02:58 -0400)]
wined3d: Cast more things.
Anything with a swizzle has to be casted to vec4, or it won't work properly.
There's multiple ways to do this, for the moment pick the easiest one.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:57:07 +0000 (02:57 -0400)]
wined3d: Add support for shader model 3.0 I/O registers.
SM 3.0 can pack multiple "semantics" into 12 generic input/output registers.
To support that, define temporaries called IN and OUT, and use those as
the output registers. At the end of the vshader, unpack the OUT temps
into the proper GL variables. At the beginning of the pshader, pack the
GL variables back into 12 IN registers.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:56:13 +0000 (02:56 -0400)]
wined3d: Trivial cleanups
- compiler warnings and errors should be FIXME
- remove obsolete comment, and change variable type.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:55:30 +0000 (02:55 -0400)]
wined3d: Register map cleanups.
Various cleanups:
- do not use DWORD as a bitmask, that places artificial limit of 32 on
registers
- track attributes that are used and declare only those
- move declarations function call in pshader/vshader to allow us to
insert pixel or vertex specific code between the declarations and
the rest of the code
- remove redundant 0 intializers
- remove useless continue statement
Ivan Gyurdiev [Mon, 12 Jun 2006 06:54:30 +0000 (02:54 -0400)]
wined3d: Share trace pass
Now that the declaration function is out of the way, the tracing pass,
which is very long and 100% the same can be shared between pixel and
vertex shaders.
The new function is called shader_trace_init(), and is responsible for:
- tracing the shader
- initializing the function length
- setting the shader version [needed very early]
Ivan Gyurdiev [Mon, 12 Jun 2006 06:53:32 +0000 (02:53 -0400)]
wined3d: Rework dcl processing.
The new function is called in pass 2 (getister counting/maps), and
it's now in baseshader. It operates on all INPUT and OUTPUT registers,
which, in addition to the old vertex shader input declarations covers
Shader Model 3.0 vshader output and pshader input declarations. The
result is stored into the reg_map structure.
Ivan Gyurdiev [Mon, 12 Jun 2006 06:51:58 +0000 (02:51 -0400)]
wined3d: The namedArrays code path is dead (always FALSE).
Delete the entire namedArrays code path and all its dependencies (one
of which is quite long - storeOrder in drawprim is always FALSE, for
example). Delete declaredArrays, and make its code path the default.
Saulius Krasuckas [Mon, 12 Jun 2006 17:49:31 +0000 (20:49 +0300)]
mscms: Eliminate complex test macro to make source navigation easier.
Michael Stefaniuc [Mon, 12 Jun 2006 22:52:00 +0000 (00:52 +0200)]
include: The visibility attribute is supported only by gcc >= 3.3.
Robert Shearman [Mon, 12 Jun 2006 15:45:40 +0000 (16:45 +0100)]
mlang: Return S_OK from fnIMultiLanguage2_SetMimeDBSource.
The source is largely irrelevant since we are not likely to be wanting
to ship updates to the MIME database as registry updates, instead of
just changing the code.
Robert Shearman [Mon, 12 Jun 2006 15:45:31 +0000 (16:45 +0100)]
mlang: Add us-ascii encoding to the list of supported encodings.
Robert Shearman [Mon, 12 Jun 2006 15:45:24 +0000 (16:45 +0100)]
advapi32: Fix the parsing of string SIDs with multiple sub-authorities.
Robert Shearman [Mon, 12 Jun 2006 15:37:49 +0000 (16:37 +0100)]
advapi32: Replace some mixed tabs with spaces.
Robert Shearman [Mon, 12 Jun 2006 15:37:07 +0000 (16:37 +0100)]
advapi32: Support well-knowns SIDs in string SIDs.
Robert Shearman [Mon, 12 Jun 2006 15:36:54 +0000 (16:36 +0100)]
advapi32: Nul-terminate the domain string in LookupAccountNameW.
Robert Shearman [Mon, 12 Jun 2006 15:36:45 +0000 (16:36 +0100)]
ole32: Print an error if a DLL's DllGetClassObject fails as this is
usually a good indicator of a bug elsewhere in Wine.