Alexandre Julliard
a518edc3aa
include: Allow 64-bit pointers to pass through LDT functions unmolested.
2008-12-15 13:31:52 +01:00
Alexandre Julliard
f6fa72d770
server: Make async I/O transfer sizes always 32-bit.
2008-12-15 13:30:25 +01:00
Alexandre Julliard
dc7f170495
server: Add an apc_param_t type to store APC client-side parameters.
2008-12-15 13:29:38 +01:00
Francois Gouget
67d5a4de70
port: S_IWUSR and S_IX* are not needed. Remove them.
2008-12-15 12:25:05 +01:00
Henri Verbeet
fb475c7c29
wined3d: Don't reparse the entire shader just to update the sampler types.
2008-12-12 11:40:20 +01:00
Alexandre Julliard
517b2f624d
server: Windows properties are actually generic params, not handles.
2008-12-10 16:21:32 +01:00
Alexandre Julliard
31282b3f63
server: Define an lparam_t type for message parameters that can hold all sorts of data.
2008-12-10 16:01:50 +01:00
Alexandre Julliard
baaaa58b50
include: Fix a few compiler warnings for the Mingw64 build.
2008-12-09 17:56:16 +01:00
Alexandre Julliard
53e165716d
configure: Add a wrapper macro for mkdir on Windows.
2008-12-09 16:15:18 +01:00
Alexandre Julliard
77cf8034e4
server: Don't use size_t for module sizes, they are limited to 2Gb anyway.
2008-12-09 11:50:05 +01:00
Alexandre Julliard
db6e45488d
server: Get rid of the support for module snapshots, it is no longer needed.
2008-12-09 11:49:37 +01:00
Alexandre Julliard
f06d99f67a
include: Implemented inline asm functions for x86_64. Export Interlocked* only on i386.
2008-12-08 19:25:25 +01:00
Alexandre Julliard
7fdadbb377
server: Add functions for conversions between server user handles and pointer-style handles.
2008-12-08 16:58:20 +01:00
Alexandre Julliard
d764107434
server: Make user handles ints instead of pointers.
2008-12-08 16:57:38 +01:00
Alexandre Julliard
d1b3d484f7
server: Add functions for conversions between server object handles and pointer-style handles.
2008-12-08 16:05:17 +01:00
Alexandre Julliard
0d3d456bd0
server: Make object handles ints instead of pointers.
2008-12-08 16:04:20 +01:00
Alexandre Julliard
fea2aa55d0
include: Fix the 64-bit value of magic handle constants.
2008-12-08 15:51:22 +01:00
Alexandre Julliard
5c37788a01
server: The name len in the get_directory_entry request must be a data_size_t.
2008-12-06 17:29:31 +01:00
Alexandre Julliard
3343c408cb
server: Convert the registry key modification time to a win32-style time.
2008-12-06 17:29:01 +01:00
Alexandre Julliard
44162aa21a
libwine: Don't export the selector functions for the Windows build.
2008-12-05 13:25:23 +01:00
Henri Verbeet
5532c990b6
wined3d: Const correctness fixes.
2008-12-02 14:04:15 +01:00
Henri Verbeet
21b8535902
wined3d: Make the lpData member of WineDirect3DStridedData const.
2008-12-01 12:45:23 +01:00
Henri Verbeet
449c219eb0
wined3d: Const correctness fixes for device.c.
2008-11-28 12:53:41 +01:00
Alexandre Julliard
3249b40f70
advapi32: Reimplemented ChangeServiceConfig2W in services.exe.
2008-11-26 14:35:30 +01:00
Henri Verbeet
b4f0b5bdd0
wined3d: Const correctness fixes.
2008-11-25 13:37:39 +01:00
Henri Verbeet
a6917b143d
wined3d: Use IDL to generate wined3d.h.
2008-11-25 13:37:22 +01:00
Stefan Dösinger
ff767f4984
wined3d: Make the shader backend call CompileShader.
...
A number of considerations contribute to this:
1) The shader backend knows best which shader(s) it needs. GLSL needs
both, arb only one
2) The shader backend may pass some parameters to the compilation
code(e.g. which pixel format fixup to use)
3) The structures used in (2) are different in vs and ps, so a
baseshader::Compile won't work
4) The structures in (2) are wined3d-private structures, so
having a public method in the vtable won't work(its a bad idea
anyway).
2008-11-25 13:06:23 +01:00
Alexandre Julliard
af8bb2e922
ntdll: Add support for virtual write watches.
2008-11-25 12:07:35 +01:00
Henri Verbeet
d8f2e16cea
wined3d: Move caps related constants and structures to wined3d_caps.h.
2008-11-24 13:43:04 +01:00
Henri Verbeet
ba78f072e2
wined3d: Remove some unused code.
2008-11-20 14:25:11 +01:00
Henri Verbeet
41de62f71d
wined3d: Don't use the same GUID for IWineD3D and IWineD3DDevice.
2008-11-20 14:25:04 +01:00
Henri Verbeet
8899f3412b
wined3d: wined3d_gl.h should be internal to wined3d.
2008-11-20 14:24:56 +01:00
Alexander Morozov
3a3b75e177
include: Remove declarations of undefined functions.
2008-11-18 11:55:12 +01:00
Alexandre Julliard
e21cbfe7e8
include: Add extern "C" to the exported Wine headers.
2008-11-06 10:43:31 +01:00
Alexandre Julliard
5e2ed6bfe9
ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile.
2008-11-05 20:32:32 +01:00
Alexandre Julliard
cdce50f5be
ntdll: Store the per-page committed status in the server for anonymous file mappings.
2008-11-05 12:31:37 +01:00
Alexandre Julliard
7e94787948
ntdll: Add a noexec flag for memory views where we don't want to force exec permission.
2008-11-04 13:16:01 +01:00
Alexandre Julliard
0b0b6c351a
ntdll: Store the per-view flags in the high word of the page protection bits.
2008-11-04 13:05:37 +01:00
Stefan Dösinger
620a423b22
wined3d: Kill the GL_ATI_envmap_bumpmap code.
...
GL_ATI_envmap_bumpmap provides two things: Signed V8U8 pixel formats,
and bump mapping. The extension is only supported on fglrx, and this
driver also supports GL_ARB_fragment_program. Thus the bump mapping
code is never used on any driver out there. Furthermore, if it is
used, it tends to crash the driver
The signed pixel format is used, as it can be used by pixel shaders or
the ARBfp replacement. However, the format is broken in fglrx, and
negative values are clamped to 0.0. This results in test
failures. WineD3D has an alternative codepath using scale+bias to
enable V8U8 using a standard signed RGB which works correctly on
fglrx.
2008-11-04 11:41:14 +01:00
Stefan Dösinger
93af8d3631
d3d: Do not restore the display mode in ddraw.
2008-11-03 13:34:13 +01:00
Henri Verbeet
092b51e82a
wined3d: Rename CreateAdditionalSwapChain to CreateSwapChain.
2008-10-28 12:46:46 +01:00
Roderick Colenbrander
35f58e92dd
Opengl32: Add defines for WGL_/GLX_ARB_create_context.
2008-10-27 11:43:40 +01:00
Henri Verbeet
7142754820
wined3d: Remove the SDKVersion parameter to WineDirect3DCreate().
2008-10-24 14:24:59 +02:00
Tobias Jakobi
7aef1c7185
wined3d: Add GL_TEXTURE_BINDING_3D to wined3d_gl header.
2008-10-21 11:53:47 +02:00
Alexandre Julliard
ba71579809
server: Added a request to unlink an object from its namespace.
2008-10-20 16:21:06 +02:00
Henri Verbeet
2188aa87d6
wined3d: Add support for EXT_framebuffer_multisample.
2008-10-20 12:23:16 +02:00
Vitaliy Margolen
a2b2a4cf79
wined3d: Add one more FBO error status code.
2008-10-18 19:35:20 +02:00
Alexandre Julliard
750e7e072c
include: Convert source files to utf-8.
2008-10-18 19:22:02 +02:00
Jacek Caban
1715dcbb19
libport: Added isnan.
2008-10-15 12:22:19 +02:00
Eric Pouech
3dc37cbf94
dbghelp: Rewrote the linetab access so that we don't need to allocate intermediate information.
2008-10-01 09:51:44 -05:00
Eric Pouech
ac42ebb5dc
winedump: First stab at dumping the "new" line information out of pdb files.
2008-10-01 09:50:59 -05:00
Eric Pouech
81df3de0fc
dbghelp,winedump: Added support for symbol symbol.
2008-10-01 09:50:02 -05:00
Eric Pouech
028956d1fe
dbghelp,winedump: Added support for symbol 0x113c.
2008-10-01 09:49:54 -05:00
Eric Pouech
82d1845d85
dbghelp,winedump: Added support for 0x113d symbol.
2008-10-01 09:49:45 -05:00
Eric Pouech
cff33cedf5
winedump: Add preliminary dumping of 0x1136 and 0x1137 symbols.
2008-10-01 09:49:24 -05:00
Eric Pouech
076dcc845f
dbghelp,winedump: Added support for symbol 0x1012.
2008-10-01 09:48:32 -05:00
Eric Pouech
ee4aaf7fcd
dbghelp,winedump: Added support for symbol 0x113a.
2008-10-01 09:48:20 -05:00
Henri Verbeet
3a7fcec4d7
wined3d: Handle texture coordinates the same way we handle other vertex attributes.
2008-09-25 11:53:10 +02:00
Henri Verbeet
eaf2474003
wined3d: Split SetGlTextureDesc() up.
...
This creates a function for setting the texture name and one for
setting the texture target. The idea is that the texture target should
get set right after the surface is created, and won't change, while
generating a texture name can wait.
2008-09-25 11:52:42 +02:00
Henri Verbeet
66654cf057
wined3d: Add/update the D3DPRESENTFLAG constants.
2008-09-23 12:25:10 +02:00
Alexandre Julliard
05b4181cac
server: Implemented the server side of Get/SetLayeredWindowAttributes.
2008-09-12 15:30:47 +02:00
Rob Shearman
dc2bee5f42
include: Define sigset_t in pthread.h if HAVE_SIGSET_T isn't defined.
2008-09-09 11:02:26 +02:00
Rob Shearman
0b2e574273
wine_common_ver.rc: Allow the file version number and string to be automatically constructed from major, minor, build and platform ID numbers.
2008-09-08 12:47:20 +02:00
Stefan Dösinger
d5f05c59c7
ddraw: Beware of the surface type when checking for format support.
2008-09-02 14:56:26 +02:00
Stefan Dösinger
3b48660f43
wined3d: Implement YV12 support for emulated overlays.
...
This is the prefered format of many codecs, and for some codecs this
is the only supported output format. As usual I try to handle all the
conversion in the GPU and keep the CPU involvement minimal to gain the
full performance of PBO transfers.
2008-09-02 14:55:50 +02:00
Eric Pouech
f3c071660d
winedump, dbghelp: Correctly name the age field in PDB headers.
2008-09-02 11:57:04 +02:00
Stefan Dösinger
ec4955630e
wined3d: Silence some format spam.
2008-08-28 11:24:49 +02:00
Stefan Dösinger
750973cec5
wined3d: Remove BaseTexture::UnBindTexture.
2008-08-28 11:24:49 +02:00
Stefan Dösinger
97b57931d0
wined3d: Advertise a few line caps.
2008-08-27 13:21:24 +02:00
Stefan Dösinger
3d49e8cd5e
wined3d: Add a swapchain method to set the dest override.
...
DDraw can draw to the front buffer only, thus there's never a Present
call which could pass this window. Due to that a drawing-independent
method is needed.
2008-08-19 12:25:20 +02:00
Stefan Dösinger
376944ebe4
wined3d: Remove the device-global fullscreen flag.
2008-08-19 12:24:57 +02:00
Stefan Dösinger
34b37fe241
d3d: Remove IWineD3DDevice::SetHwnd.
2008-08-19 12:22:05 +02:00
Stefan Dösinger
e178ddd9e1
wined3d: Use a swapchain for GDI surfaces.
...
This is a long-needed cleanup aimed at removing the ddraw_primary,
ddraw_window, ddraw_width and ddraw_height members from
IWineD3DDeviceImpl, which just do not belong there. Destination
window and screen handling is supposed to be done by swapchains.
2008-08-19 12:21:32 +02:00
Stefan Dösinger
66738fbb87
wined3d: Remove unused enum entry.
2008-08-19 12:20:54 +02:00
Rob Shearman
24c5df3dc1
include: Remove superfluous semi-colons from wine/wined3d_gl.h.
2008-08-18 17:34:12 +02:00
Paul Vriens
5136b3a10b
include/wine/svcctl.idl: Remove duplicate define.
2008-08-18 14:34:41 +02:00
Stefan Dösinger
fad3f9ba98
wined3d: Basic overlay emulation with opengl.
2008-08-05 14:09:36 +02:00
Stefan Dösinger
e795d842ec
wined3d: Implement overlay position tracking.
2008-08-05 14:09:36 +02:00
Stefan Dösinger
e9827cc916
wined3d: Always load glFinish and glFlush from opengl32.dll.
2008-08-04 13:12:10 +02:00
Stefan Dösinger
a47e7badb9
ddraw: Set ddraw caps in wined3d.
...
Currently the ddraw capabilities were almost static, except of D3D
support. When overlay support is added, the caps depend on certain
settings in WineD3D or capabilities available from OpenGL and Xv. So
set those caps in wined3d as well.
2008-08-04 13:10:11 +02:00
Alexandre Julliard
b25eb5542a
test.h: Fetch environment variables from the Win32 environment not the Unix one.
2008-08-01 11:18:11 +02:00
Stefan Dösinger
726d9d47af
wined3d: ATI2N support using GL_EXT_texture_compression_rgtc.
2008-07-24 11:56:42 +02:00
Stefan Dösinger
dc25a86cc5
wined3d: Support ATI's D3DFMT_ATI2N format.
...
This is an ATI specific format designed for compressed normal maps,
and quite a few games check for its existence. While it is an
ATI-specific "extension" in d3d9, it is a core part of
D3D10(DXGI_FORMAT_BC5), and supported on Geforce 8 cards.
2008-07-24 11:56:24 +02:00
Ismael Barros
4a4e5f269d
dplayx: Moved dplaysp.h to include/wine.
2008-07-23 11:40:53 +02:00
Stefan Dösinger
c088edeae7
wined3d: Use GL_ARB_texture_non_power_of_two emulation.
...
ATI cards prior to the radeon HD series did not have unconditional non
power of two support. So far we've used texture_rectangle for that, or
created a bigger power of two texture with padding. This had the
disadvantage that we had to correct the coordinates, which causes
extreme problems with shaders(doesn't work, pretty much).
Both the MacOS and the fglrx driver have support for
GL_ARB_texture_non_power_of_two, and run it on the hardware as long as
we stay within the texture_rectangle limitations. This allows us to
have conditional non power of two textures with normalized
coordinates. This patch adds an internal extension, and the code
creates a regular GL_TEXTURE_2D texture with NP2 size, but refuses
mipmapping, filtering and texture_rectangle incompatible
operations. This makes np2 textures work with shaders on fglrx and
macos.
2008-07-18 11:41:09 +02:00
Stefan Dösinger
e5f42f91b6
wined3d: Remove GL_EXT_vertex_weighting stubs.
2008-07-18 11:40:00 +02:00
Andrew Talbot
3e1fad5350
wined3d: Remove const qualifier from output pointers.
2008-07-09 10:44:45 +02:00
Alexandre Julliard
4904c807d8
wine/test.h: Don't allow to use config.h in tests.
2008-07-08 21:29:28 +02:00
Rob Shearman
666b57d62f
include: Remove unused file wine/rpcss_shared.h.
2008-07-07 11:11:02 +02:00
Alexandre Julliard
0f9484a124
server: Set the visible rect in the set_window_pos request again.
...
This essentially reverts 2f69329a37
.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard
94e217891c
exception.h: Make the RtlUnwind wrapper available separately.
...
Also avoid dependency on winternl.h.
2008-07-03 13:08:19 +02:00
Rob Shearman
16849ceba9
rpcss: Implement endpoint-mapper server using DCE/RPC.
2008-06-26 12:16:48 +02:00
Alexandre Julliard
6b36e2131d
server: Also return the top-level message window in the get_desktop_window request.
2008-06-25 14:44:06 +02:00
Roderick Colenbrander
2b2a5d7fbc
wined3d: Fix a usage flags conflict.
...
Both WINED3DUSAGE_OVERLAY and WINED3DUSAGE_QUERY_SRGBBLEND were using
the same value. All usage flags except for OVERLAY are directly mapped
to d3d9, so give OVERLAY its own value.
2008-06-23 12:54:15 +02:00
Roderick Colenbrander
5cc5d8a070
wined3d: Update the d3dusage query mask with 0x100000 (vertextexture).
2008-06-23 12:53:58 +02:00
H. Verbeet
4a4ab5f2ae
wined3d: Add support for ARB_color_buffer_float.
2008-06-19 11:47:34 +02:00
Francois Gouget
e767a2c04d
tests: Add a win_skip() function to allow for missing Windows functionality that must be present in Wine.
2008-06-11 11:26:28 +02:00
Roderick Colenbrander
b73b2eca47
wined3d: Update ATI GPUs.
2008-06-09 12:40:22 +02:00
Roderick Colenbrander
38a98f6789
wined3d: Update nvidia GPUs.
2008-06-09 12:40:10 +02:00
Stefan Dösinger
2173fde722
wined3d: Avoid float->string conversion in arb shaders.
2008-06-06 10:28:24 +02:00
Alexandre Julliard
58b00da312
test.h: Add a space after the file name prefix.
2008-06-04 12:32:48 +02:00
Francois Gouget
812f72410f
tests: Add a broken() function to make it possible to handle Windows misbehaviors that we don't want to reproduce in Wine.
2008-05-30 10:01:18 +02:00
Alexandre Julliard
10e795a091
libport: Move the sigsetjmp replacement to exception.h to make it available for Winelib too.
2008-05-26 19:23:43 +02:00
Alexandre Julliard
33914a1bf4
services: Send the service name in the control requests.
...
Only start a single dispatcher thread for all services.
2008-05-08 18:08:41 +02:00
Rob Shearman
ce42c95a1c
winetest: Detect if an unhandled exception occurred in a child process and print an appropriate message.
...
Avoid getting caught incrementing the failure count in this case, as it
could take a very long time to complete.
2008-05-07 17:48:09 +02:00
Eric Pouech
b0a7c55cde
winedump: Added support for latest versions of Codeview (VC70).
2008-05-01 11:12:06 +02:00
Alexandre Julliard
69c29866c1
exception.h: Preserve registers when calling RtlUnwind.
2008-05-01 11:07:53 +02:00
Alexandre Julliard
c20e8c9005
exception.h: Only push the exception frame after sigsetjmp.
...
Otherwise on Windows longjmp may want to mess with the exception frame.
2008-05-01 11:07:08 +02:00
Alexandre Julliard
0ee44f5e20
ntdll: Make the exception handling functions inline.
2008-05-01 10:57:54 +02:00
Petr Sumbera
4992b6590e
port: Add alternative for isinf.
2008-04-30 13:45:23 +02:00
Roderick Colenbrander
5fe5def3d1
wgl: We were already advertising GL_EXT_framebuffer_sRGB but not the corresponding WGL_FRAMEBUFFER_SRGB_CAPABLE_EXT.
2008-04-30 10:28:59 +02:00
Roderick Colenbrander
628e4eece3
wined3d: Add multisampling support.
2008-04-30 10:23:25 +02:00
Roderick Colenbrander
f0307d9366
wgl: Add a wine specific WGL extension which allows you to change the pixel format multiple times.
2008-04-24 12:32:38 +02:00
Erik de Castro Lopo
fc9f8dac17
include: Fix "warning: cast from pointer to integer of different size".
2008-04-23 12:22:17 +02:00
Austin English
6e59cd2c34
Spelling fixes.
2008-04-22 12:20:12 +02:00
Jeremy White
40c3718d52
include: Add a resource type for scalable font resource (.fot) files.
2008-04-11 12:11:33 +02:00
Stefan Dösinger
67e0943ba3
wined3d: Store the number of aux buffers in the context.
2008-04-09 11:47:24 +02:00
Maarten Lankhorst
70a6495a31
user32: Implement BroadcastSystemMessage.
2008-04-03 12:00:02 +02:00
Rob Shearman
8529a3c404
services: Fill in the functions between implemented functions in svcctl.idl so that it our remoting code is wire-compatible with NT.
...
Add the necessary stubs for these in services.exe.
2008-03-29 11:51:47 +01:00
Rob Shearman
9a6fc01d84
services: Move ControlService and StartServiceW from advapi32.dll to services.exe.
...
This also changes the architecture such that services.exe is the server
end of the control pipe and the service is the client end.
2008-03-29 11:51:34 +01:00
Rob Shearman
7afd9a977a
services: Move LockServiceDatabase and UnlockServiceDatabase from advapi32.dll to services.exe.
2008-03-29 11:51:01 +01:00
Rob Shearman
b48714b148
services: Move SetServiceStatus and QueryServiceStatusEx to services.exe.
2008-03-29 11:50:57 +01:00
Mikołaj Zalewski
010dcb168b
services: Move GetServiceDisplayName to services.exe and implement GetServiceKeyName.
2008-03-29 11:17:33 +01:00
Mikołaj Zalewski
76d4eeebff
services: Move ChangeServiceConfigW implementation from advapi32.dll to services.exe.
2008-03-29 11:17:07 +01:00
Mikołaj Zalewski
a363b9a066
services: Move QueryServiceConfigW from advapi32.dll to services.exe.
2008-03-29 11:16:43 +01:00
Mikołaj Zalewski
a2156fc348
services: Move CreateService, OpenService and DeleteService implementations from advapi32.dll to services.exe.
2008-03-29 11:15:59 +01:00
Mikołaj Zalewski
4275fbf603
services: Start a local RPC server.
2008-03-29 11:15:05 +01:00
Roderick Colenbrander
4eaa424c79
wined3d: Initial post pixelshader blending support. [attempt 2].
...
For each pixel format we store a flag in the table whether it supports
post pixelshader blending. Before applying blending or during a
context switch we verify that blending is turned off for the
format. In case of R32F this gave a 5-6x performance boost (without
filtering and software conversion).
2008-03-28 15:50:24 +01:00
Alexandre Julliard
8505f1429d
libwine: Export functions that return the Wine version number and build id.
2008-03-26 23:38:36 +01:00
Alexandre Julliard
c9f0bea910
libwine: Added a wine_call_on_stack function.
2008-03-26 15:38:00 +01:00
Stefan Dösinger
18e16f4e66
wined3d: Add GL_ATI_fragment_shader.
2008-03-25 19:48:35 +01:00
Stefan Dösinger
8869c0f147
d3d: De-pointerize the WINED3DCAPS structure.
2008-03-25 19:36:38 +01:00
Alexandre Julliard
34fe91bf2b
user32: Implemented EnumDesktopWindows.
2008-03-19 11:13:46 +01:00
Stefan Dösinger
d20768c120
wined3d: Support shininess > 128 if opengl does.
2008-03-05 19:23:06 +01:00
Stefan Dösinger
8b28ca720e
wined3d: Use GL_EXT_gpu_program_parameters if available.
2008-03-04 12:15:32 +01:00
Rob Shearman
e9f5bce333
Add configure check for strtoll and strtoull.
...
Define these to _strtoi64 and _strtoui64 if these are available instead.
2008-03-04 12:01:59 +01:00
Alexandre Julliard
c52d921f34
kernel32: Added a winoldap.mod 16-bit exe to launch 32-bit processes.
...
Based on a patch by Dmitry Timoshkov.
2008-03-03 15:25:50 +01:00
Stefan Dösinger
6269415793
wined3d: Add GL_APPLE_float_pixels.
2008-02-26 11:31:29 +01:00
Stefan Dösinger
825506d5ff
wined3d: General cross format blitting infrastrucutre, R32F->R16F blits.
2008-02-26 11:31:19 +01:00
Roderick Colenbrander
e2d70fff6b
ddraw: Add yv12 detection support.
2008-02-22 12:04:01 +01:00
Rob Shearman
4a4b1269fa
include: Include excpt.h from wine/exception.h.
...
Some files use wine/exception.h without also including excpt.h, but
excpt.h is needed when using native exception handling.
2008-02-21 20:15:56 +01:00
Roderick Colenbrander
c2d978410f
wined3d: Add separate alpha blend support.
2008-02-18 14:19:57 +01:00
Alexandre Julliard
50dea38178
gdi32: Export the DC hook functions as 32-bit functions.
2008-02-17 20:29:55 +01:00
Rob Shearman
8608e895eb
Add a new convenience macro for an exception handler that handles all exceptions.
...
When using native compiler exceptions, the previous method of doing
this, __EXCEPT(NULL), would expand to __except(
(NULL)(GetExceptionInformation())) which doesn't compile as NULL isn't a
function.
So add a new macro, __EXCEPT_ALL, which works correctly both when using
native compiler exceptions and without and which makes the meaning of
code in which it is used clearer.
2008-02-16 14:58:24 +01:00
Rob Shearman
a82f4dd9b7
Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
...
When using native compiler exceptions, it isn't valid to use
GetExceptionCode and GetExceptionInformation anywhere other than in the
filter or handler blocks since it would be very hard for the compiler to
work out where to retrieve the exception information from on the stack.
Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros
which enabled GetExceptionCode, GetExceptionInformation and
AbnormalTermination to be used inside of the functions they declared and
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Francois Gouget
4c8e218252
Assorted spelling fixes.
2008-02-15 12:09:24 +01:00
Alexandre Julliard
b1789fc73f
kernel32: Don't save the signal mask in sigsetjmp.
...
This shouldn't be needed anymore now that exceptions are not handled
on the signal stack, and signal mask handling is broken on Mac OS.
2008-02-12 22:39:54 +01:00
Francois Gouget
2c6cba8eef
tests: Avoid InterlockedExchangeAdd() as it is not supported on Windows 95.
2008-02-11 19:56:16 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01:00
Eric Pouech
aaa2862bf9
dbghelp: Added preliminary support for a strange stack variable object.
2008-02-07 11:59:52 +01:00