Stefan Dösinger
04752991b1
wined3d: Don't DISCARD or NOOVERWRITE non-dynamic buffers.
...
Shaiya locks a non-dynamic buffer with the DISCARD flag and expects
the contents to be retained. The SDK says DISCARD requires dynamic
resources, and Windows 7 returns an error in this situation, crashing
Shaiya. This patch sticks to the Windows XP behavior and allows the
lock, but ignores the DISCARD flag to retain the buffer contents.
2010-03-16 17:02:34 +01:00
Stefan Dösinger
eb355ece4a
d3d9: Fix test failures on Windows 7.
2010-03-16 17:02:23 +01:00
Eric Pouech
8c4f96d232
dbghelp: Store the file map in ELF's module specific data.
2010-03-16 13:31:05 +01:00
Eric Pouech
9d7b6b65ef
dbghelp: Added helper to free module's specific data (ELF, MSC...) upon removal.
2010-03-16 13:30:46 +01:00
Eric Pouech
09a7e2d3d0
dbghelp: Added full support for DW_FORM_data8 attributes, as well as primary support for DW_FORM_block* attributes.
2010-03-16 13:30:31 +01:00
Alexandre Julliard
fbef7217b9
makefiles: Remove the no longer needed explicit dependencies for bison files.
2010-03-16 13:28:24 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
133d4cde26
makedep: Output source dependency for bison files needed for parallel makes.
2010-03-16 13:27:51 +01:00
Alexandre Julliard
5eb4b094a3
makedep: Append the separator if not found in an existing makefile.
2010-03-16 13:14:21 +01:00
Ričardas Barkauskas
1e754f5e2e
d3d9/tests: Test ATI2N pitch and locking offset behaviour.
2010-03-16 13:03:35 +01:00
Ričardas Barkauskas
a7aa4a87e2
wined3d: Fix ATI2N pitch and offset calculations.
2010-03-16 13:03:30 +01:00
Justin Chevrier
818420a378
gdiplus: Basic implementation of GdipImageGetFrameCount with updated tests.
2010-03-16 12:29:14 +01:00
Justin Chevrier
94820ff0a4
gdiplus/tests: Expand GdipImageGetFrameCount test coverage.
2010-03-16 12:29:09 +01:00
Michael Stefaniuc
0bbce793c3
iphlpapi: Don't crash when enumerating PtP interfaces.
2010-03-16 11:49:27 +01:00
Piotr Caban
914472ab81
oleaut32: Set parameter to NULL in GetMops stub.
2010-03-16 11:48:55 +01:00
Piotr Caban
2184674779
oleaut32: Improve ICreateTypeInfo_LayOut implementation.
2010-03-16 11:48:51 +01:00
Piotr Caban
aecd956b7e
oleaut32: Improved ICreateTypeInfo AddFuncDesc implementation.
2010-03-16 11:48:48 +01:00
Piotr Caban
d2f24ed885
oleaut32: Use QueryPathOfRegTypeLib in ICreateTypeInfo2_AddRefTypeInfo.
2010-03-16 11:48:38 +01:00
Piotr Caban
d62534d199
oleaut32: Remove incorrect memid validation.
...
This code was trying to block negative values of memid (incorrectly).
I have run more tests and found that it's possible to set some negative
values (e.g. on TKIND_INTERFACE: -1, -4..-8, -500..?). Unless we know
what values are allowed it's probably better to not check memid.
2010-03-16 11:48:32 +01:00
Piotr Caban
b7c50c7dbf
oleaut32: Fix importinfo flags.
2010-03-16 11:48:26 +01:00
Piotr Caban
e119aceb7c
oleaut32: Fix some reference leaks.
2010-03-16 11:48:22 +01:00
Piotr Caban
3c747fec50
oleaut32: Added ICreateTypeInfo2_SetFuncHelpContext implementation.
2010-03-16 11:48:16 +01:00
Piotr Caban
eb15921ff5
oleaut32: Improve dual interfaces creation in typelib.
2010-03-16 11:48:10 +01:00
Piotr Caban
d9fd33e3a9
oleaut32: Improve TypeInfos with changed TypeKind handling.
2010-03-16 11:48:04 +01:00
Piotr Caban
6b035d25a8
oleaut32: Simplify ICreateTypeInfo2_SetTypeFlags implementation.
2010-03-16 11:47:58 +01:00
Henri Verbeet
78166b0b23
wined3d: Implement SetDestWindowOverride() by simply making the context current on a different window.
2010-03-16 11:45:15 +01:00
Henri Verbeet
cd9a8b74b9
wined3d: Store the device window in the swapchain.
...
The swapchain's current window might be changed by SetDestWindowOverride().
2010-03-16 11:45:11 +01:00
Henri Verbeet
aa819fe888
wined3d: Simplify a comparison in IWineD3DDeviceImpl_Reset().
2010-03-16 11:45:06 +01:00
Henri Verbeet
d6bbe90b85
wined3d: The swapchain should always have a window handle.
2010-03-16 11:45:01 +01:00
Henri Verbeet
0ae49c35fb
wined3d: Use the context's window handle in IWineD3DSurfaceImpl_BltOverride().
2010-03-16 11:44:55 +01:00
Henri Verbeet
7b0b16fafe
wined3d: Use the context's window handle in stretch_rect_fbo().
2010-03-16 11:44:50 +01:00
Henri Verbeet
18ec2525a4
wined3d: Store the swapchain instead of the surface in the context.
2010-03-16 11:44:44 +01:00
Henri Verbeet
b281f23efe
wined3d: Add a separate function to set the pixel format in context_create().
2010-03-16 11:44:38 +01:00
Henri Verbeet
4133a0a4ff
wined3d: Use "gl_info" in some more places in context_create().
2010-03-16 11:44:32 +01:00
Rob Shearman
088c0857c9
rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers.
2010-03-16 11:42:09 +01:00
Rob Shearman
eb4100e91c
widl: Remove a FIXME comment in write_function_stubs.
...
Clean valgrind runs of tested types and comparison with MIDL-generated
code suggests that the existing code written in the finally block for
client code is sufficient.
2010-03-16 11:41:30 +01:00
Rob Shearman
fd96c54641
widl: Simplify write_parameter_conf_or_var_exprs by making use of typegen_detect_type.
...
Remove the difficult manual walking of the alias tree and make the
code easier to read and less likely to break if a new type is added.
2010-03-16 11:41:21 +01:00
Rob Shearman
82ab9443b8
widl: Clean up array case in write_remoting_arg.
...
Use a switch statement instead of multiple if statements and
explicitly write out the fixed array cases.
2010-03-16 11:41:14 +01:00
Rob Shearman
0e6ad1fa85
widl: Remove some FIXME comments and replace them with comments explaining why the current behaviour is correct.
2010-03-16 11:40:20 +01:00
Rob Shearman
9aad144755
widl: Fix the writing of expressions in un-typedef'd structures by using write_type_left to write out the type, which adds the "struct ..." if necessary.
...
Also improve the type comparison code to not crash on unnamed
structures (although further changes need to be made to fix the output
in this case) and make it more efficient by first doing a comparison
on the values of the type pointers.
2010-03-16 11:40:10 +01:00
Rob Shearman
df853f8ed2
widl: error_status_t isn't an allowed conformance type.
...
The FC code requires more than 4 bits to represent it and the
correlation descriptor and union formats only allow 4 bits to
represent the type referred to.
2010-03-16 11:36:41 +01:00
Rob Shearman
5b533c1845
widl: Pass current_structure into write_conf_or_var_desc in write_ip_tfs.
...
This allows write_conf_or_var_desc to have the context enabling it to
write out an appropriate correlation descriptor when iid_is is used
from within a structure.
2010-03-16 11:36:36 +01:00
Rob Shearman
1d1d49b6ab
widl: Use typegen_detect_type to determine which types should be written for the pointer description in write_struct_tfs.
...
Otherwise extra pointers for user types could be written.
2010-03-16 11:36:12 +01:00
Rob Shearman
06e7eb5c98
widl: Merge write_typeformatstring_var and write_embedded_types into one function, write_type_tfs.
2010-03-16 11:36:05 +01:00
Rob Shearman
2fd6be54be
widl: Don't use the return value of write_embedded_types to determine whether a type contains pointers or not.
...
It isn't correct in all situations, so type_has_pointer has to be used
anyway so using the return value of write_embedded_types just clutters
the code.
2010-03-16 11:35:36 +01:00
Rob Shearman
484fe1cff3
widl: Write pointers in write_typeformatstring_var using write_pointer_tfs.
...
Avoid duplicating the pointer writing code.
2010-03-16 11:33:12 +01:00
Rob Shearman
7a69fcabac
widl: Simplify write_typeformatstring_var.
...
The check for whether a pointer is the last one is redundant since
typegen_detect_type does a stricter check on the ref type. Replace one
other instance of last_ptr with a more readable equivalent.
2010-03-16 11:33:04 +01:00
Rob Shearman
08126d7483
widl: Make write_pointer_tfs more readable.
...
Change write_pointer_tfs to rely on the detected type of the type to
determine when to write a simple pointer rather than relying on
typestring_offset not being set anywhere else.
2010-03-16 11:32:58 +01:00
Rob Shearman
5d985a8028
widl: Remove some unused functions, definitions and types.
2010-03-16 11:32:53 +01:00
Juan Lang
51ab77a90a
crypt32: Add support for the anyPolicy certificate policy.
2010-03-16 11:30:12 +01:00