ntdll/tests: Add 0-length read tests for a disk file.
kernel32/tests: Add 0-length read tests for a mailslot.
kernel32/tests: Add 0-length read tests for a pipe.
kernel32: Remove a 0-length read optimization from ReadFile.
wininet: Don't assume that end of chunk means end of stream.
winecfg: Use BOOL type where appropriate.
include: Don't redefine _GNU_SOURCE.
ws2_32: ConnectEx should not work on unbound socket.
ddraw/tests: Add a test for render target surface capabilities.
wined3d: Only print a warning about render target usage in wined3d_device_set_render_target().
wined3d: Set the default scissor rect from the swapchain desc in state_init_default().

We always have a swapchain here, even if there are no back buffers.
d3dx9: Avoid CONST.
d3d9: Avoid CONST.
include: Remove CONST from non-pointer parameters.
winex11: Don't trace a garbage value or read past end of caller's array in X11DRV_wglChoosePixelFormatARB().
d3d9: Partial implementation of IDirect3DSwapChain9Ex.
d3d9/tests: Test if IDirect3DSwapChain9Ex is available with IDirect3D9(Ex).
d3d9/tests: Implemented tests for IDirect3DSwapChain9Ex_GetDisplayModeEx.
wined3d: Pass the destination pitch to format conversion functions.

The relation between src and dst pitches is not correct if the source
pitch is padded to match pitch alignment requirements.
winapi: Small tweaks to fix perl warnings.

perl says defined(@array) is deprecated.