Commit graph

33555 commits

Author SHA1 Message Date
James Tabor 3192a32d97 - Fix bpp count in CreateDIBitmap.
svn path=/trunk/; revision=37437
2008-11-18 14:51:14 +00:00
James Tabor fa0375352f - Fixes bug 3864. While I was at it I fixed most of the gdi max bit max info sizes too.
- Added notes for the SEH abuse in win32k dibobj.c.
- Tested WinMerge 2.10.2, AbiWord 2.4.1, Firefox 1.5.0.3 and wine gdi32 bitmap cross test.
- When testing with gdi cross test in 24 and 32 bit display mode, we have a pixel conversion mismatch. Please fix it!


svn path=/trunk/; revision=37436
2008-11-18 05:36:19 +00:00
Stefan Ginsberg 3595d1c30e - "byte" is defined by the Win32 headers, so define it conditionally
svn path=/trunk/; revision=37423
2008-11-17 22:01:19 +00:00
Stefan Ginsberg 1861d15230 - MSTSC: Don't redefine BOOL
- Regedit: Don't include basetyps.h. Not needed and it just breaks things. Also don't include aclui.h as we...for some reason...implement the required parts of that API locally

svn path=/trunk/; revision=37422
2008-11-17 21:52:55 +00:00
Eric Kohl 1bd1e3126a Sync to wine-1.1.1:
- Alexandre Julliard <julliard@winehq.org> Thu, 26 Jun 2008
widl: [default] is an allowed attribute for union fields.
(Note: This patch was already applied before in order not to break ReactOS.)

- Alexandre Julliard <julliard@winehq.org> Tue, 1 Jul 2008
widl: Add some support for unencapsulated unions that need a conformance descriptor.

- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Increment the buffer offset by 8 for embedded pointers inside varying arrays in varying structures.

The 8 bytes are for the variance and offset and are added just before the array, as seen in the marshalling code in rpcrt4. No offset needs to be added for non-varying structures since the buffer mark is set after the conformance in marshalled or unmarshalled.

- Rob Shearman <robertshearman@gmail.com> Tue, 1 Jul 2008
widl: Check that the structure has been defined in check_remoting_args.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Implement type redefinition checks.

This allows widl to catch type redefinitions and report an error, like MIDL. However, this does a better job than MIDL since it also reports the location of the originial definition, like GCC.

- Dan Hipschman <dsh@linux.ucla.edu> Tue, 1 Jul 2008
widl: Factor a small part of the grammar.

- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the fundamental type and determine whether it needs a top-level parameter conformance/variance expression to be written. Add support for writing top-level parameter conformance/variance expressions for non-encapsulated unions.

- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Rename find_type_helper, find_type and find_type2 to find_type, find_type_error and find_type_error2 respectively.

- Rob Shearman <robertshearman@gmail.com> Fri, 4 Jul 2008
widl: Remove some unnecessary calls to duptype.

- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
widl: Fix a couple of uninitialized variable compiler warnings.

- Alexandre Julliard <julliard@winehq.org> Mon, 7 Jul 2008
Add noinput directive to all lex files to avoid a compiler warning.

Note: Two patches are missing because they implement code to generate MIDL-incompatible SEH support code. Unfortunately I think it is almost time to fork WIDL because later patches implement even more incompatibilities. :-(

svn path=/trunk/; revision=37416
2008-11-17 19:07:03 +00:00
Matthias Kupfer 17ab0467d9 - fix a brace mistake
svn path=/trunk/; revision=37415
2008-11-17 18:40:36 +00:00
Matthias Kupfer f1fcb8e5cb - add summary page to check settings before start installation
- add disabled driver button for future use

svn path=/trunk/; revision=37414
2008-11-17 18:23:06 +00:00
Gregor Schneider 191a64db66 Remove old locations
svn path=/trunk/; revision=37413
2008-11-17 17:28:58 +00:00
Gregor Schneider ce7603048e - Restructure dib related tests, 2nd try.
- Change build files accordingly

svn path=/trunk/; revision=37412
2008-11-17 17:28:14 +00:00
Gregor Schneider 085944a8b2 Moved dib tests remotely
svn path=/trunk/; revision=37411
2008-11-17 16:59:01 +00:00
Aleksey Bragin 6bad7297f7 - Target device to mount may not have VPB, the driver should get the VPB passed in parameters.
- Set target device's VPB to this value. This should not really be done, however our driver heavily depends on target device having this VPB. I don't see any side effects.
- With these changes, Windows 2003 is able to boot up to desktop and cleanly shutdown using this driver.

svn path=/trunk/; revision=37409
2008-11-17 16:09:31 +00:00
Gregor Schneider 4aa4129e6f - Add new directory for some dib related test restructuring, including two new tests:
- bltrop test for well known BitBlt ROPs, highlighted bugs were processed in r37268, r37269, r37372
- vbltest for testing several blit and blend functions, highlighted bugs fixed in r37139, r37168 and some overlay issues still tbd

svn path=/trunk/; revision=37407
2008-11-17 15:05:02 +00:00
James Tabor ab2600780f - Move StretchDIBits out of stubs. Add more notes.
svn path=/trunk/; revision=37404
2008-11-17 13:55:00 +00:00
James Tabor 92b81a8473 - Add note for NtGdiCreateDIBitmapInternal, Should use System Bitmap DC hSystemBM, with CreateCompatibleDC for this.
svn path=/trunk/; revision=37403
2008-11-17 13:51:43 +00:00
Stefan Ginsberg 8def0b5fff - Start deprecating the overabused system_header gcc pragma extension
svn path=/trunk/; revision=37402
2008-11-17 13:49:52 +00:00
Matthias Kupfer 78f5f0f5cc - disable non-working device selection code
- add a missing "break"

svn path=/trunk/; revision=37401
2008-11-17 13:35:59 +00:00
Aleksey Bragin 10d51f11d6 - Remove hack around VFATFS (and CDFS) bugs which were fixed in r37393.
svn path=/trunk/; revision=37400
2008-11-17 13:19:22 +00:00
Aleksey Bragin 354d1e506d - Cleanup 37394, 37396 and 37397:
* PRTL_OVERLAPPED_COMPLETION_ROUTINE is a Wine invention. We already have a type for that, since it's an APC routine, the type will be PIO_APC_ROUTINE.
 * Fix headers, actual stub, and usage in kernel32 respectively.
 * We don't use hungarian notation in RTL ("hFileHandle") .

svn path=/trunk/; revision=37399
2008-11-17 13:16:07 +00:00
Stefan Ginsberg e912efded4 - Remove deprecated header cruft
svn path=/trunk/; revision=37398
2008-11-17 13:03:54 +00:00
Dmitry Chapyshev 29a0430cdd - Fix build
svn path=/trunk/; revision=37397
2008-11-17 12:13:28 +00:00
Dmitry Chapyshev 375eea5424 - Implement BindIoCompletionCallback, ReadFileScatter, WriteFileGather (based on Wine)
- Move DnsHostnameToComputerNameA/W to computername.c

svn path=/trunk/; revision=37396
2008-11-17 11:53:59 +00:00
Ged Murphy 33d335d8e1 - reference the correct data
- set the response info before returning
See issue #2808 for more details.

svn path=/trunk/; revision=37395
2008-11-17 11:51:33 +00:00
Dmitry Chapyshev e415ae53c8 - Add stubs for RtlSetIoCompletionCallback
svn path=/trunk/; revision=37394
2008-11-17 11:44:31 +00:00
Aleksey Bragin 4983dabf35 - FASTFAT: when querying file name information, fill in the whole buffer provided by the caller, even if filename does not fully fit (driver by Microsoft(R) does the same). Also, return the actual amount of data written in IoSb.Information, even in case of buffer overflow result.
- CDFS: Fix a guaranteed buffer overwrite when zero-terminating a filename. Also apply the same fixes described above.

svn path=/trunk/; revision=37393
2008-11-17 11:25:36 +00:00
Aleksey Bragin bc5c507d54 Daniel Zimmerman
- Fix random widl crashes when compiling on Vista x86.

Patch from Wine bugzilla: http://bugs.winehq.org/show_bug.cgi?id=16084 .

See issue #3877 for more details.

svn path=/trunk/; revision=37390
2008-11-16 16:24:23 +00:00
Stefan Ginsberg c729ed5e3b - STDCALL -> NTAPI
svn path=/trunk/; revision=37388
2008-11-16 13:42:56 +00:00
Dmitry Chapyshev 415da61549 - Implement GetCPInfo. Now this function passes all Wine tests
svn path=/trunk/; revision=37387
2008-11-16 12:15:55 +00:00
James Tabor 4e37ce697b - Fix AlphaBlend checks that pass wine bitmap gdi32 crosstests. Tested in 16 and 24 bit mode Qemu and 32 bit mode hardware, with our AlphaBlend rendering demo program.
svn path=/trunk/; revision=37385
2008-11-16 02:19:43 +00:00
James Tabor 132a0cb3b8 - Sorry for the misunderstanding,,, fix typo, see bug report 3863.
svn path=/trunk/; revision=37384
2008-11-16 01:49:23 +00:00
Gregor Schneider 7d34208e7f - DIB_1BPP_BitBlt: Increment source coordinates properly, see bug #2372
- Remove old code
- Enable dprint for DIB_1BPP_StretchBlt

svn path=/trunk/; revision=37382
2008-11-15 22:35:44 +00:00
Eric Kohl e2eef76cbf Sync to wine-1.1.0:
- Simon Richter <Simon.Richter@hogyros.de> Tue, 17 Jun 2008
widl: Write string lengths in host endianness.
Type libraries are currently parsed in host endianness, so byte arrays that are going to be interpreted as integers need to be written in the appropriate byte order.

- Rob Shearman <robertshearman@gmail.com> Fri, 20 Jun 2008
widl: Fix generation of the type format string for conformant-varying structures.
The conformance needs to be added on to the offset in the buffer so set this before calling each the writer of each class of pointer description in write_pointer_description. Pass the passed in offsets to buffer and memory to write_pointer_description_offsets in write_varying_array_pointer_descriptions.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Replace code to round up values and calculate padding with macros to improve readability.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the embedded pointer offsets in generated code when the containing structure has padding.
Do so by calculating the alignment of members when iterating through the structures and adding it onto the buffer and memory offsets. Only call type_memsize once elsewhere in the embedded pointer processing functions since the return value will be the same from the second call.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Factor out the finding of a registered type to reduce code duplication.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Set the type of the type_t node constructured for dispinterfaces to RPC_FC_IP, like we do for interfaces.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.
(Aleksey already applied this patch in rev37378)

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix the types of enums with the v1_enum attribute applied.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix type_memsize to follow aliases so that the correct size is calculated.

- Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008
widl: Fix check_remoting_fields to enumerate the correct list of fields.

svn path=/trunk/; revision=37381
2008-11-15 21:17:09 +00:00
Eric Kohl c43e05155c Sync to wine-1.0-rc11:
- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Add a comment warning when a table must be kept sorted for later use with bsearch().

- Francois Gouget <fgouget@free.fr> Tue, 6 May 2008
Assorted spelling fixes.

- Marcus Meissner <marcus@jet.franken.de> Tue, 6 May 2008
widl: Mark non-returning functions as noreturn.

svn path=/trunk/; revision=37380
2008-11-15 20:18:16 +00:00
Aleksey Bragin 0ba5018676 - Remove duplicate, often conflicting, type definitions from IDL (spotted by new widl).
svn path=/trunk/; revision=37379
2008-11-15 19:32:13 +00:00
Aleksey Bragin a1ba38503c Rob Shearman <robertshearman@gmail.com> Mon, 23 Jun 2008 21:28:56 +0000 (22:28 +0100)
widl: Fix crash in find_array_or_string_in_struct if the structure or union has no fields or cases.

http://source.winehq.org/git/wine.git/?a=commit;h=b3dde47ed760880e323222af9ec7ad30702dec7c

svn path=/trunk/; revision=37378
2008-11-15 18:37:15 +00:00
James Tabor 5a3ad75437 - Fix newest Wine bitmap gdi32 crosstest.
svn path=/trunk/; revision=37375
2008-11-15 15:20:14 +00:00
Aleksey Bragin f1d7651421 - Remove duplicate type definitions.
svn path=/trunk/; revision=37374
2008-11-15 14:04:18 +00:00
Kamil Hornicek ee17e42aa7 use the dmSize we got from caller and fall back to SIZEOF_DEVMODEA_300 in case we got some unexpected value as it's done in Windows
svn path=/trunk/; revision=37373
2008-11-15 13:54:17 +00:00
James Tabor 08d47079cf - Fix dirty bit support for select brush and pen, see bug 3863.
- Hack-plement part of NtGdiExtFloodFill. We need to fix our region and clip support so ReactOS drawing functions do not over write other displayed windows. Open AbiWord than type something and select another desktop, this is just one of them....
- Tested with Qemu and real hardware. 

svn path=/trunk/; revision=37372
2008-11-15 13:37:26 +00:00
Stefan Ginsberg 4760f7b940 - Fix another duplicate
svn path=/trunk/; revision=37369
2008-11-14 23:27:10 +00:00
Stefan Ginsberg aa78c4f6f3 - Remove more duplicate definitions
- Make definitions compatible when they are present in multiple headers

svn path=/trunk/; revision=37368
2008-11-14 23:23:30 +00:00
Stefan Ginsberg 099e8b7530 - Remove duplicate definition
svn path=/trunk/; revision=37367
2008-11-14 23:05:40 +00:00
Johannes Anderwald 6ac60539ec - Improve function stubs
- bug 3829

svn path=/trunk/; revision=37366
2008-11-14 21:03:48 +00:00
Johannes Anderwald 6fe2ea4133 - Make trash properties settings be unvolatile ;)
See issue #3786 for more details.

svn path=/trunk/; revision=37365
2008-11-14 20:58:27 +00:00
Johannes Anderwald bcddcfdd02 - Display Provider and Version in driver details dialog
svn path=/trunk/; revision=37364
2008-11-14 19:57:22 +00:00
Johannes Anderwald 0c5b1ec2bc - Create IDataObject from the selected pidl
- Check if drop target is the desktop
- fixes bug 3763

svn path=/trunk/; revision=37363
2008-11-14 19:48:46 +00:00
Stefan Ginsberg 782931f369 - Optimize DebugService -- patch from Alex
svn path=/trunk/; revision=37362
2008-11-14 19:14:00 +00:00
Johannes Anderwald aaeebbb670 - Pass the parent to PropertySheetW
See issue #3597 for more details.

svn path=/trunk/; revision=37361
2008-11-14 19:08:29 +00:00
Johannes Anderwald 1331dc5c45 - Implement IShellExecuteHookW
- Free NETCON_PROPERTIES on cleanup
- Show status dialog when clicking on startmenu->settings->network connections item
- Fixes bug 3782

See issue #3782 for more details.

svn path=/trunk/; revision=37360
2008-11-14 18:47:00 +00:00
Stefan Ginsberg 6a4fcf71eb - PAGE_SIZE fix 2.0
svn path=/trunk/; revision=37359
2008-11-14 15:24:08 +00:00
Stefan Ginsberg 2fcfb97eec - Don't define PAGE_SIZE in typedefs.h as -- "this value is target specific, host tools MUST not use it and this line has to be removed". Instead, define it locally for cmlib.
- Also correct TRUE definition in this header

svn path=/trunk/; revision=37358
2008-11-14 14:49:11 +00:00