Mike McCormack
f386950fdd
server: Use unsigned long for request types that are 64bit in win64.
2006-06-07 14:21:12 +02:00
Ivan Gyurdiev
5f5969b3c5
wined3d: Remove constant type field in stateblock.
...
It is wrong to maintain a mapping from a constant index to a type
field, because different constant types do not share an index -
boolean constant 0 is supposed to co-exist with floating point
constant 0, not replace it. Drawprim and other code using the type
array to decide whether to look up a constant in bools, floats, or
ints is wrong - you can't make that decision based on the index.
2006-06-06 11:58:54 +02:00
Troy Rollo
abd8becd0c
wined3d: Add missing GL_VERTEX_SHADER_ARB definition.
2006-05-30 19:29:26 +02:00
Eric Pouech
1d6e2590e0
ntdll/kernel32: Pipe information.
...
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard
5de2eabace
wine_unicode: Add prototypes for inline functions (from a patch by Andrew Talbot).
2006-05-26 12:09:12 +02:00
Roderick Colenbrander
54e5f9c465
wined3d: Dynamicly load GL_ARB_multitexture functions.
2006-05-25 20:17:32 +02:00
Alexandre Julliard
35e59151e9
include: Prevent internal Wine headers from being used in tests.
2006-05-25 20:07:57 +02:00
Jason Green
35ba7fb524
wined3d: Add some more GLSL defines.
2006-05-25 10:45:16 +02:00
Alexandre Julliard
f01d9879c6
libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte.
2006-05-24 14:14:09 +02:00
Alexandre Julliard
a92db320de
libwine_unicode: Define all functions in the library even if they can be inlined.
2006-05-24 14:00:47 +02:00
Stefan Dösinger
e902cd119f
wined3d: Swapchain and back buffer corrections + tests.
2006-05-24 13:56:55 +02:00
Roderick Colenbrander
9c018fd877
wined3d: Fix ARB_imaging abuse.
2006-05-24 10:52:28 +02:00
Jason Green
8cfb84362f
wined3d: Added some GLSL defines and function prototypes.
2006-05-24 10:36:02 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Vitaliy Margolen
f9fc4b86c0
d3d: Add D3DDEVTYPE_NULLREF definition.
2006-05-16 20:21:19 +02:00
Robert Shearman
3396a66ee7
server: Retrieve the groups for a token from the server.
2006-05-15 14:25:43 +02:00
Phil Costin
9413c89c33
wined3d: Add check for GL Shading Language 100 Extension.
2006-05-09 12:39:24 +02:00
Stefan Dösinger
18e95ee969
wined3d: Add IWineD3DSurface::GetPitch.
2006-05-08 14:52:18 +02:00
Stefan Dösinger
a173c8e35a
wined3d: Add IWineD3DDevice::DrawPrimitiveStrided.
2006-05-08 14:51:13 +02:00
Robert Shearman
98facf4d0f
rpcrt4: Use the documented NDR_PROC_HEADER_EXTS structure.
...
Use the documented NDR_PROC_HEADER_EXTS structure instead of the
current NDR_PROC_EXTENSIONS structure currently in ndr_stubless.c.
2006-04-20 15:11:34 +02:00
Robert Shearman
28f494e31a
rpcrt4: Use INTERPRETER_OPT_FLAGS in ndrtypes.h instead of flags on an unsigned char.
2006-04-20 15:11:24 +02:00
Stefan Dösinger
d04f0507cf
wined3d: Implement Init3D and Uninit3D.
2006-04-19 12:43:22 +02:00
Stefan Dösinger
42b9221f51
wined3d: Add the remaining DirectDraw methods to WineD3DSurface.
2006-04-18 11:14:13 +02:00
Stefan Dösinger
80bdb24cad
wined3d: Add the remaining IWineD3DDevice methods.
2006-04-18 11:13:47 +02:00
Stefan Dösinger
cff4e1ea4b
wined3d: Add IWineD3DPalette.
2006-04-18 11:11:49 +02:00
Stefan Dösinger
03b256b16d
wined3d: Add a parameter for surface type selection.
2006-04-18 11:09:17 +02:00
Stefan Dösinger
076fa811af
wined3d: Add a method to change the front and back buffers.
2006-04-17 11:21:22 +02:00
Stefan Dösinger
ffc8e46e76
wined3d: Add IWineD3DSurface::Blt.
2006-04-17 11:19:30 +02:00
Stefan Dösinger
d9cd05db80
wined3d: Add GetHWND and SetHWND methods to IWineD3DDevice.
2006-04-14 10:52:01 +02:00
Stefan Dösinger
29022c49df
wined3d: Add macros for (Un)Init3D and Flip.
2006-04-14 10:51:22 +02:00
Stefan Dösinger
cf27031329
wined3d: Add IWineD3DSurface::Flip.
2006-04-13 11:23:03 +02:00
Stefan Dösinger
d2510847b0
wined3d: Split device creation and opengl initialization.
2006-04-13 11:22:45 +02:00
Alexandre Julliard
959bbf8b75
server: Get rid of alignment requirements in write_process_memory request.
...
All the alignment handling is now done in the write_process_memory
function inside the server.
2006-04-07 18:41:58 +02:00
Stefan Dösinger
0c5a0f244d
wined3d: Allow the inclusion of the wined3d headers when the ddraw headers are included.
2006-04-07 14:57:55 +02:00
Stefan Dösinger
cf4b91f074
wined3d: Add WINED3DBOX to wined3d_types.h.
2006-04-07 14:55:50 +02:00
Stefan Dösinger
9d67b4287e
wined3d: Rename return values from D3D* to WINED3D*.
2006-04-07 14:54:04 +02:00
Stefan Dösinger
e0898f5e0e
wined3d: Add WINED3DPRESENT_INTERVAL_* definitions.
2006-04-07 11:47:00 +02:00
Stefan Dösinger
51067e1e8b
wined3d: Add WINED3DPRESENTRATE_DEFAULT.
2006-04-07 11:46:46 +02:00
Stefan Dösinger
e71468c786
wined3d: Add WINED3DLOCKED_BOX to wined3d_types.h.
2006-04-07 11:46:36 +02:00
Stefan Dösinger
bbe490abcc
wined3d: Add WINED3DLOCKED_RECT to wined3d_types.h.
2006-04-06 22:23:31 +02:00
Stefan Dösinger
63fd9a7a98
wined3d: Add WINED3DTEXTUREFILTERTYPE to wined3d_types.h.
2006-04-06 22:22:35 +02:00
Stefan Dösinger
df7a92f70c
wined3d: Add some type macros to wined3d_interface.h.
2006-04-05 20:15:00 +02:00
Jan Zerebecki
10fc948093
wined3d: Add D3DFMT_L16.
2006-04-04 20:30:53 +02:00
Stefan Dösinger
be720179b6
wined3d: Add WINED3DCUBEMAP_FACES to wined3d_types.h.
2006-04-04 20:01:10 +02:00
Stefan Dösinger
c289b3cc51
wined3d: Define WINED3DGAMMARAMP based on D3DGAMMARAMP / DDGAMMARAMP.
2006-04-04 20:00:41 +02:00
Stefan Dösinger
91a8e2a071
wined3d: Add WINED3DCLIPSTATUS to wined3d_types.h.
2006-04-04 11:51:52 +02:00
Stefan Dösinger
08c38a87e1
wined3d: Add WINED3DRASTERSTATUS to wined3d_types.h.
2006-04-04 11:51:37 +02:00
Stefan Dösinger
f6ed704f96
wined3d: Make use of WINED3DDEVICE_CREATION_PARAMETERS.
2006-04-03 21:35:44 +02:00
Stefan Dösinger
0ad31f819d
wined3d: Add WINED3DBACKBUFFER_TYPE to wined3d_types.h.
2006-04-03 12:17:35 +02:00
Stefan Dösinger
fce54bcc49
wined3d: Add WINED3DDISPLAYMODE to wined3d_types.h.
2006-04-03 12:17:22 +02:00
Stefan Dösinger
6a8578f847
wined3d: Add WINED3DDEVTYPE to wined3d_types.h.
2006-03-30 12:45:57 +02:00
H. Verbeet
1e1a708e8a
wined3d: Create an IWineD3DBaseShader class.
2006-03-29 13:40:45 +02:00
Stefan Dösinger
1d47556195
wined3d: Use WINED3DSWAPEFFECT in the wined3d headers and code.
2006-03-28 17:51:45 +02:00
Stefan Dösinger
d75fd75d48
wined3d: Add WINED3DPOOL to wined3d_types.h.
2006-03-28 17:34:42 +02:00
Stefan Dösinger
b4b295c2a5
wined3d: Add WINED3DMULTISAMPLE_TYPE to wined3d_types.h.
2006-03-27 11:30:49 +02:00
Stefan Dösinger
0f7eb52789
wined3d: Add WINED3DTRIPATCH_INFO to wined3d_types.h.
2006-03-27 11:30:49 +02:00
Stefan Dösinger
6af24c816d
wined3d: Rectpatch code fix.
...
Update the wined3d code to use WINED3DRECTPATCH_INFO, which was added
with an older patch.
2006-03-24 12:13:50 +01:00
H. Verbeet
f716eea3df
wined3d: Initialise WINED3DVERTEXELEMENT's Reg field in
...
IWineD3DVertexDeclarationImpl_ParseDeclaration9.
2006-03-22 21:40:21 +01:00
Roderick Colenbrander
a187ab05c4
wined3d: Don't use OpenGL 2.0.
2006-03-20 22:09:05 +01:00
Stefan Dösinger
7870a5a6a1
wined3d: Add D3DBASISTYPE to wined3d_types.h.
2006-03-17 13:11:14 +01:00
Alexandre Julliard
5ff1004c4d
libwine: Export wine_get_build_dir.
2006-03-16 17:36:19 +01:00
Stefan Dösinger
6cc87406cf
wined3d: Add WINED3DINDEXBUFFER_DESC to wined3dtypes.h.
2006-03-15 11:30:39 +01:00
Stefan Dösinger
9f46792ba2
wined3d: Add WINED3DVERTEXBUFFER_DESC to wined3d_types.h.
2006-03-13 13:32:01 +01:00
Stefan Dösinger
913df5b143
wined3d: Consistently use WINED3DRESOURCETYPE.
2006-03-10 21:43:00 +01:00
Stefan Dösinger
6104c67613
wined3d: Use WINED3DPRESENT_PARAMETERS in IWineD3DSwapChain::GetPresentParameters.
2006-03-09 12:51:26 +01:00
Stefan Dösinger
851bdfb5e0
wined3d: Add D3DLOCK_* types to wined3d_types.h.
2006-03-08 11:33:35 +01:00
Alexandre Julliard
1a4f6e579b
user: Launch explorer to manage the desktop window.
2006-03-07 11:42:35 +01:00
Stefan Dösinger
270afeb5e8
wined3d: Define D3D usage flags in wined3d_types.h.
2006-03-07 10:53:02 +01:00
Stefan Dösinger
2f0c781988
wined3d: Add device caps to wined3d_types.h.
2006-03-07 10:51:34 +01:00
H. Verbeet
07004966a8
wined3d: Fix the relation between volumes and their container.
2006-03-06 20:08:36 +01:00
H. Verbeet
f7356a34c3
wined3d: Fix the relation between surfaces and their container.
2006-03-06 20:08:22 +01:00
Alexandre Julliard
2f026d1694
libwine: Export a function to retrieve the data directory (based on a
...
patch by Dmitry Timoshkov).
2006-03-06 18:50:15 +01:00
Alexandre Julliard
4be3d4c12b
server: Return real parent and owner in the create_window request.
...
Remove computing of parent and owner handles on the client side.
2006-03-06 15:00:37 +01:00
Stefan Dösinger
033769f94d
wined3d: Add d3d7 and d3d8/9 cap flags to wined3d_types.h.
2006-03-06 11:36:28 +01:00
Vitaly Budovski
3832eb7de4
wined3d: Added OpenGL 2.0 function definitions.
2006-03-06 11:12:14 +01:00
Vitaly Budovski
7b55a0cff1
wined3d: Implemented fallback for separate stencil operation in WINED3DRS_CCW_STENCIL*.
2006-03-04 16:15:47 +01:00
Stefan Dösinger
a15280972b
wined3d: Add D3D7 texture stage types.
2006-03-04 16:13:25 +01:00
Stefan Dösinger
ecaf772906
wined3d: Add D3D7 render states.
2006-03-04 16:13:15 +01:00
Roderick Colenbrander
f8ed06ea3d
wined3d: Opengl 2.x compile fix.
2006-03-02 15:50:16 +01:00
Eric Pouech
6b95c0e4b4
kernel32: ClearCommError.
...
ClearCommError should only deal with *communication* errors (are being
seen on the serial interface) rather than API errors (which can be
reported to the caller by the API itself). I then removed all the
stuff related to storing the error status in the server object.
2006-02-27 13:54:43 +01:00
Alexandre Julliard
e27358ea5c
server: Remove no longer needed fields in the init_process_done request.
2006-02-21 20:08:19 +01:00
Mike McCormack
e4faabfa64
server: Track created and removed directories in the tree of inodes for inotify.
...
Add them to or remove them from existing recursive watches.
2006-02-21 11:13:23 +01:00
Alexandre Julliard
9dffd134dd
libwine: Try the current load path in priority before the
...
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Eric Pouech
ca777c090f
tests: Fixed test framework against environment modifications.
2006-02-14 11:38:26 +01:00
Alexandre Julliard
e0330145d8
server: Remove the no longer needed exe_file parameter in the
...
init_process_done request.
2006-02-08 15:25:12 +01:00
Roderick Colenbrander
c7b58749a1
wined3d: Added CopyRects method (based on a patch by Oliver Stieber).
2006-02-07 16:51:39 +01:00
Mike McCormack
0790f95589
kernel32: ReadDirectoryChangesW fixes.
...
ReadDirectoryChangesW remembers whether it's recording changes or not.
Don't initialize overlapped->InternalHigh.
The hEvent is cleared when ReadDirectoryChanges is called.
2006-02-07 16:50:36 +01:00
Mike McCormack
0193211946
server: Fill in NtNotifyChangeDirectoryFile's buffer with change data.
2006-02-06 11:58:55 +01:00
H. Verbeet
e43cfb1a68
wined3d: Fix SetContainer.
...
Add/Release references to the container.
Change the type of the container from IUnknown to IWineD3DBase.
2006-02-06 11:30:48 +01:00
Alexandre Julliard
2a36dd239c
server: Remove no longer used create_flags from get_startup_info request.
2006-02-05 12:33:24 +01:00
H. Verbeet
c72fce011d
wined3d: Use GL_EXTCALL to call OpenGL extension glPointParameterfvARB.
2006-02-05 12:19:22 +01:00
Alexandre Julliard
65424dc3a8
libwine: Added wine_dll_enum_load_path function to allow querying the dll path.
2006-02-04 17:02:05 +01:00
Robert Shearman
7dcc55f4cc
include: Move all of the contiguous FC types together so we can see
...
possible missing constants better.
2006-02-03 18:46:12 +01:00
Robert Shearman
14e4a5453c
widl: Define a value for RPC_FC_WSTRING.
2006-01-31 12:23:59 +01:00
Mike McCormack
08351071fd
server: Fix the file notification interface to use directory handles.
2006-01-27 12:13:56 +01:00
Robert Shearman
368da7dcc2
widl: Added some more constants for conformance descriptors.
2006-01-24 11:08:49 +01:00
Robert Shearman
21a90850cb
widl: Strings.
...
Write out type format strings for string types.
2006-01-24 11:07:39 +01:00
H. Verbeet
7c8a4d2174
wined3d: Create a common WineD3D base class, IWineD3DBase.
2006-01-17 15:58:22 +01:00
Robert Shearman
a40ce39340
user: Fix WM_QUIT message ordering from PostQuitMessage.
...
Added a new server call as PostQuitMessage should set a flag in the
message queue to return the WM_QUIT message when there are no other
pending messages, rather than posting a message to the thread queue as
it does at the moment.
2006-01-17 13:14:31 +01:00
Alexandre Julliard
cfe45cc130
Get rid of the no longer needed DECL_GLOBAL_CONSTRUCTOR macro.
2006-01-14 17:08:52 +01:00
Alexandre Julliard
2878d99216
ntdll: Add debug registers to the context of all exceptions.
...
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
Alexandre Julliard
2654be08d5
ntdll: Handle NtSetContextThread on the client side (as far as
...
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Troy Rollo
b7652d89db
user: Fix return type of EnableMenuItem.
2006-01-10 12:08:48 +01:00
Hans Leidekker
67dd000250
Update copyright info for the new year.
2006-01-06 21:06:53 +01:00
Alexandre Julliard
3215c3ac91
Avoid DECLSPEC_NORETURN on function pointers for MSVC compatibility.
2006-01-04 14:52:43 +01:00
Eric Pouech
b7607aebdc
ntdll: Correct implementation for atom query functions.
2006-01-03 17:34:43 +01:00
Rolf Kalbermatter
97ede2dca8
include: Fix DECLSPEC_NORETURN for compilation with MS C compiler.
2006-01-03 13:33:22 +01:00
Detlef Riekenberg
8827bcfd74
winspool: Add version resource.
2005-12-21 21:11:43 +01:00
H. Verbeet
4e7b2557b5
wined3d: Cleanup shader constants code a little bit.
...
Improved bounds checking.
2005-12-20 11:46:52 +01:00
Alexandre Julliard
324d86a3af
Exception handling: Added a magic __EXCEPT_PAGE_FAULT macro to make it
...
easier to handle the common case of trapping page faults.
2005-12-16 16:58:47 +01:00
Vitaliy Margolen
b05340a523
ntdll: Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
...
Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Modify WaitNamedPipeW to use NtFsControlFile.
Replace struct overlapped with event.
2005-12-14 11:14:02 +01:00
Alexandre Julliard
67505c00af
server: Support for opening devices.
...
Added support for opening devices directly with the server when they
don't correspond to a Unix file.
2005-12-12 14:27:45 +01:00
Alexandre Julliard
03b040c51d
server: Added object attributes to a few more requests.
2005-12-09 14:52:04 +01:00
Alexandre Julliard
d02c4a1b82
Make wine_server_fd_to_handle use attributes instead of inherit flag.
2005-12-09 12:22:35 +01:00
Alexandre Julliard
7b910f40f2
server: Use attributes instead of inherit flag in dup_handle request.
2005-12-09 12:21:35 +01:00
Alexandre Julliard
836d07c369
server: Use attributes instead of inherit flag in token requests.
...
Also use the specified access rights in the open_token request.
2005-12-09 12:17:19 +01:00
Alexandre Julliard
f2d7dd645e
server: Use attributes instead of inherit flag in process and thread requests.
2005-12-09 12:13:11 +01:00
Alexandre Julliard
f11d0a375f
server: Use attributes instead of inherit flag in snapshot requests.
2005-12-09 12:09:44 +01:00
Alexandre Julliard
7a096601e3
server: Use attributes instead of inherit flag in console requests.
2005-12-09 12:05:20 +01:00
Alexandre Julliard
27b1aec925
server: Use attributes instead of inherit flag in file requests.
2005-12-09 12:00:48 +01:00
Alexandre Julliard
bc30303c56
server: Use attributes instead of inherit flag in socket requests.
2005-12-09 11:58:55 +01:00
Oliver Stieber
7c482cb9a1
wined3d: Vertex shader 8 support.
...
Start to add support for DirectX 8 vertex shaders, constants and
registers are now correctly assigned and loaded allowing support for
most basic d3d8 shaders.
2005-12-09 11:23:52 +01:00
Vitaliy Margolen
cf21d4d7ca
Move mailslot devices into directory name space.
2005-12-05 13:30:26 +01:00
Vitaliy Margolen
babfa79436
Move named pipe objects into directory name space.
...
Change tests accordingly.
Add small test for WaitNamedPipe.
2005-12-05 13:09:35 +01:00
Vitaliy Margolen
348a3d912b
Move mapping (section) objects into directory name space.
2005-12-02 16:13:13 +01:00
Vitaliy Margolen
7c5cb7a229
Move timer objects into directory name space.
2005-12-02 16:05:54 +01:00
Vitaliy Margolen
5daae3dfa9
Move semaphore objects into directory name space.
2005-12-02 16:01:17 +01:00
Vitaliy Margolen
f676bc8d85
Move event and mutex objects into directory name space.
2005-12-02 15:55:48 +01:00
Willie Sippel
fbfb971646
Added more Nvidia card IDs.
2005-11-30 19:45:45 +01:00
Vitaliy Margolen
80444dfe51
Implement symbolic link object in wineserver.
...
Implement Nt[Create|Open|Query]SymbolicLinkObject.
Change tests accordingly.
2005-11-30 19:22:57 +01:00
Raphael Junqueira
0e68b671f4
Add support for Intel drivers version string.
...
Update default driver version (nvidia).
2005-11-30 12:02:45 +01:00
Vitaliy Margolen
3c6bdcce53
Implement directory object in wineserver.
...
Implement Nt[Create|Open]DirectoryObject.
Change tests accordingly.
2005-11-29 17:21:05 +01:00
Oliver Stieber
aa9ce3577a
Added support for vertex and pixel shader constants that have no type
...
i.e. they haven't been set yet or are clear.
2005-11-29 17:05:54 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Oliver Stieber
932815d6f0
Implement a pixel shader parser and cross compiler. All version of
...
shaders up to 3 should be parsed correctly, but only shaders 1-1.4
will be cross compiled.
2005-11-21 16:27:55 +00:00
Alexandre Julliard
86397e1d43
Fixed handling of mailslot read timeout to avoid compiler warnings.
2005-11-21 15:23:49 +00:00
Vitaliy Margolen
83ef91ce2d
Replace inherit flag with object attributes in winstation and desktop
...
create & open. Use OBJ_OPENIF flag to create winstation & desktop.
2005-11-21 12:05:38 +00:00
Raphael Junqueira
c4569d9298
Define GL_EXT_framebuffer_object and GL_EXT_pixelbuffer_object openGL
...
specs.
Support Mesa GL_VERSION on parse.
2005-11-10 11:04:59 +00:00
Vincent Béron
a17528cd0d
Fix warning about memmove re#definition.
2005-11-04 11:14:22 +00:00
Alexandre Julliard
73c72390f8
Fixed Get/SetThreadContext to work properly on suspended threads.
...
Added a test case.
2005-11-02 20:54:12 +00:00
Oliver Stieber
d6fcc69ddb
Implement D3DFMT_UNKNOWN surfaces, this seems to be used a lot in d3d8
...
but I haven't found any d3d9 application that uses D3DFMT_UNKNOWN
surfaces yet.
2005-11-02 20:01:54 +00:00
Alexandre Julliard
ff7795ef4c
Don't send an extra signal when waiting for a debug event, just do a
...
normal wait. Return the debug event status directly as return value
of the server call.
2005-11-01 21:47:07 +00:00
Christian Costa
a52a4daa9b
Remove no longer used wine_dbg_parse_options and wine_dbg_add_options
...
prototypes.
2005-10-30 19:05:27 +00:00
Vitaliy Margolen
a996000ad5
- Send whole OBJECT_ATTRIBUTES.Attributes to the server not just an
...
inherit flag.
- Pass DesiredAccess to the server when creating mailslot.
2005-10-27 18:30:37 +00:00
Alexandre Julliard
2058f54300
Added a __wine_dbg_set_channel_flags function to allow changing flags
...
from inside the code.
2005-10-18 10:49:20 +00:00
Alexandre Julliard
36c3199782
Default search path for an include file should be based on the path of
...
the parent source file, not the current directory.
2005-10-10 18:06:50 +00:00
Alexandre Julliard
784c94516b
Export the get_channel_flags function avoid warnings when passing a
...
NULL format to wine_dbg_log.
Removed a few no longer used functions.
2005-09-29 11:16:52 +00:00
Alexandre Julliard
7ddab75619
Declare debug channels as static variables so that we don't need to
...
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
H. Verbeet
f469b6f8de
Fix missing prototypes when using nVidia OpenGL headers.
2005-09-28 18:12:00 +00:00
Alexandre Julliard
cbc38965c0
New scheme for keeping track of debug channels that doesn't require
...
maintaining a list of all loaded dlls.
2005-09-28 15:21:48 +00:00
Eric Pouech
b09582a890
Implemented kernel32 process affinity handling on top on ntdll.
2005-09-27 10:52:10 +00:00
Alexandre Julliard
a443761b8d
Export the temp buffer functionality in the debug functions interface
...
to allow sharing more code between libwine and ntdll.
2005-09-26 16:45:25 +00:00
Alexandre Julliard
43c6396e94
Use int instead of long in interlocked_* functions for 64-bit
...
compatibility.
2005-09-26 13:51:58 +00:00
Eric Pouech
e21aa6a184
- now passing access rights when creating a named pipe in NTDLL
...
- reimplemented Kernel32.CreatePipe purely on top of NTDLL APIs
- anonymous pipe handles should have the SYNCHRONIZE bit set
2005-09-26 11:02:45 +00:00
Alexandre Julliard
75c27e17b6
Defined a proper structure for debug channels.
...
Also put all the function pointers inside a structure and added
__wine_dbg_set_functions to change them instead of exporting the
pointers directly.
2005-09-23 10:52:07 +00:00
Oliver Stieber
5ea96a851f
Implemented occlusion queries using either GL_ARB_occlusion_query or
...
GL_NV_occlusion_query.
2005-09-21 09:43:13 +00:00
Alexandre Julliard
96508ad686
Moved return value handling to the individual relay thunks so that we
...
only need one version of wine_call_from_16.
Patch the wine_call_from_16 address along with the cs value directly
in the 16-bit code segment to avoid the need for special magic in the
import thunks.
2005-09-18 12:25:22 +00:00
Alexandre Julliard
89024a63d3
Make the users of wine_call_from_32_regs save %eax so that we don't
...
need a special hack in the import thunk.
Added a get_pc_thunk_eax function to simplify the code a bit.
2005-09-18 11:13:54 +00:00
Robert Shearman
3d14d01cc1
Define RPC_FC_RANGE.
2005-09-14 10:06:41 +00:00
Alexandre Julliard
7e4c88c6d9
Avoid some warnings on 64-bit platforms.
2005-09-13 11:07:14 +00:00
Marcus Meissner
a42e6aefe1
Added DRAWPATTERNRECT Escape() 16<->32 mapper and stub in WINEPS.
2005-09-06 14:12:17 +00:00
Ivan Leo Puoti
f0db7ab06b
Added FSCTL_PIPE_LISTEN support.
2005-09-06 14:09:42 +00:00
Alexandre Julliard
883d3c52d3
Use explicit function pointers for pthread support instead of relying
...
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Alexandre Julliard
ce20722109
Moved the spec file init function and constructor to winecrt0.
2005-09-02 14:43:03 +00:00
Juan Lang
341ba0f696
Added a LIST_FOR_EACH_ENTRY_SAFE helper macro.
2005-08-29 12:18:15 +00:00
James Hawkins
5a07e6eda1
Moved itss.idl to include/wine.
2005-08-25 10:25:14 +00:00
Alexandre Julliard
f62f6e8fe1
Don't cache file descriptors open on removable devices.
2005-08-24 18:33:50 +00:00
Alexandre Julliard
38502f70eb
Added a separate set_handle_cached_fd request instead of abusing
...
set_handle_info for that.
2005-08-23 18:43:50 +00:00
Kevin Koltzau
7ab2813735
Fix pointer cast warnings in 64bit.
2005-08-23 09:36:34 +00:00
Oliver Stieber
cd159e3a74
Tidy up d3d9 and finalize passing d3d9 calls to wined3d for now.
2005-08-23 09:34:57 +00:00
Oliver Stieber
2c0e97e641
Copy the parser and cross compiler from d3d8 and update everything to
...
vertex shaders 3.0.
The Parser will now display the input shader in DirectX style, and the
cross compiler now generates valid ARB_VERTEX_PROGRAM programs and
outputs the result in ARB_VERTEX_PROGRAM style.
Support for a number of extended attributes has been added, but this
may not be complete, and dereferencing from loop counters isn't
properly parsed yet.
2005-08-17 11:34:03 +00:00
Oliver Stieber
80cbb93163
Tidy up vertex shaders and bring the current code inline with the rest
...
of wined3d.
2005-08-17 09:54:54 +00:00
Alexandre Julliard
628939d567
Use the proper WOW functions everywhere instead of the K32WOW variant.
2005-08-10 10:59:19 +00:00
Mike McCormack
03d46879c4
Fix gcc 4.0 warnings.
2005-08-10 09:47:19 +00:00
Alexandre Julliard
964815bc42
Added an unmount_device request that invalidates all file descriptors
...
open on a given Unix device.
2005-08-08 15:11:03 +00:00
Alexandre Julliard
49b7fdcfc0
Removed the broken mmap64 configure check, and moved the
...
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Robert Shearman
037bbdaf24
Add stubs for NdrMapCommAndFaultStatus, conformant string marshaling
...
and context handle functions.
2005-08-03 14:55:57 +00:00
Mike McCormack
50a6d970f5
gcc 4.0 warning fixes for Interlocked* functions.
2005-08-03 11:03:05 +00:00
Oliver Stieber
bb6f9b022b
Move the setting of states from device to basetexture, states that
...
relate to the opengl texture object will only be updated when they are
out of sync, this reduces the number of texture object state changes
during game play in Axis and allies from several hundreds to 0 or 1.
2005-08-03 11:00:28 +00:00
Alexandre Julliard
4de75b5a6f
Use the new RtlExitUserThread function instead of exporting
...
wine_server_exit_thread.
2005-08-02 09:55:40 +00:00
Oliver Stieber
c93da09265
Changed swapchains held by the device from an array to a linked
...
list. Also provide a notification function that that the swapchain can
be removed when it is released.
2005-07-27 15:33:17 +00:00
Oliver Stieber
7cb748fed2
Makes sure any internal reference counting is passed onto the parent,
...
any objects referenced by the internal stateblock are released when
the stateblock is released (we don't reference count while a
stateblock is recording, so recorded stateblocks have no references to
clean up).
2005-07-26 18:49:30 +00:00
Alexandre Julliard
b8d3075d83
Uncomment the typedef in the DECLARE_INTERFACE macro, and get rid of
...
duplicate typedefs.
2005-07-26 18:32:53 +00:00
Oliver Stieber
ea6189e04b
Implement resource tracking, require for reset and evict managed
...
resources and provides extra sanity checks.
2005-07-26 10:34:15 +00:00
Robert Shearman
91eaea53ae
- Change the default user SID to match what was previously returned by
...
NtQueryInformationToken.
- Implement TokenUser for NtQueryInformationToken.
- Add a function for getting the user's registry path from a SID.
2005-07-18 13:22:55 +00:00
Alexandre Julliard
9ad5628639
Moved the server start time to the init_thread request and got rid of
...
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Alexandre Julliard
11ad6a0ac4
Return the startup info size in the init_thread request, and allocate
...
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Alexandre Julliard
4391be583e
Get rid of the boot_done request.
2005-07-13 14:20:13 +00:00
Alexandre Julliard
0424f38169
Already initialize the process in the first init_thread request
...
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Oliver Stieber
6a032491d3
Added basic memory management and tracking to wined3d.
2005-07-13 11:34:55 +00:00
Alexandre Julliard
01caa5e645
Moved the fields that depends on startup info from the init_process
...
request to get_startup_info.
2005-07-12 20:27:09 +00:00
Alexandre Julliard
e40383699e
Fixed strchrW and strrchrW for a null character (spotted by Aric
...
Stewart).
2005-07-12 19:27:41 +00:00
Alexandre Julliard
6aa0cc5e3c
Load the HKEY_CURRENT_USER branch at server startup too.
2005-07-11 20:44:59 +00:00
Oliver Stieber
13621056db
Move parameters relating to opengl on the surface structure on to a
...
glDesciption member.
Removed Level and Target from LoadTexture, and reduced the dependency
on surface->device.
Fixed a couple of compiler warnings in d3d9.
2005-07-11 20:38:27 +00:00
Oliver Stieber
9b75356fc4
Tidy up the way caps are managed in GetDeviceCaps and FillGlCaps.
2005-07-10 17:48:07 +00:00
Alexandre Julliard
8c518808b8
Put in place the basic infrastructure to allow supporting multiple
...
desktop windows.
2005-07-08 11:37:40 +00:00
Oliver Stieber
3b0b430824
Added support for vertex declarations to wined3d, it's the last patch
...
to give wined3d basic functionality.
2005-07-07 20:45:39 +00:00
Dmitry Timoshkov
86af38c8ca
Make IsWindowUnicode work in the case when window belongs to another
...
process.
2005-07-07 12:02:31 +00:00
Oliver Stieber
abb11f30cd
Implemented stateblocks in wined3d.
2005-07-05 14:05:18 +00:00
Alexandre Julliard
e56d9deac4
Added vararg argument type so that the relay code can distinguish from
...
a normal cdecl function.
Don't rely on the relay thunk preserving the stack pointer.
2005-07-05 11:50:40 +00:00
Alexandre Julliard
07dd5a7e86
Attempt at a better fix for the winsock.h problems on Darwin.
2005-06-30 21:13:00 +00:00
Mike McCormack
f6be23e75b
Don't include winreg.h.
2005-06-25 17:57:29 +00:00
Oliver Stieber
18857f1170
Add support for samplers.
...
Switch from using d3d9 constants to wined3d constants so that there's
no recursive dependencies.
2005-06-24 11:53:07 +00:00
Oliver Stieber
46e7c30a71
Implement swapchains.
2005-06-23 11:05:24 +00:00
Pierre d'Herbemont
321a3e1aa6
Fix winsock.h and stdlib.h collision by including windows.h instead
...
of the previous headers.
2005-06-21 09:43:44 +00:00
Robert Shearman
4bba21643c
Add support for impersonating a token.
2005-06-20 13:18:38 +00:00
Oliver Stieber
e70e3ba0ff
Change the way caps are sent between d3d9/d3d8 and wined3d to make it
...
easier for wined3d to support additional versions of Direct3D.
2005-06-17 09:59:03 +00:00
Alexandre Julliard
efcc2b83d8
Store a relative pointer for registry entry points to avoid some text
...
relocations.
2005-06-16 11:04:41 +00:00
Alexandre Julliard
ac75dcc240
Avoid static forward declaration that doesn't work on MSVC.
2005-06-15 10:22:59 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Robert Shearman
e51dd36453
Implement overlapped I/O with named pipes.
2005-06-08 19:11:46 +00:00
Alexandre Julliard
1bf96e09a9
Beginnings of support for window stations and desktops.
2005-06-08 18:44:50 +00:00
Alexandre Julliard
6d07a9c39c
Moved the server part of the ExitThread functionality to ntdll.
2005-06-05 18:38:48 +00:00
Alexandre Julliard
db412aaf60
Added a from_child parameter to the get_update_region request to allow
...
restarting the search from a given child, in order to avoid looping
forever on windows that don't repaint correctly.
2005-05-31 13:37:16 +00:00
Alexandre Julliard
95b87814e8
Added --list option to the tests and use that in winetest.
2005-05-27 20:10:59 +00:00
Alexandre Julliard
0bfa0b80b0
Better support for building stand-alone tests.
2005-05-25 09:57:07 +00:00
Robert Shearman
4ad93416a8
Implement NtAccessCheck.
2005-05-24 12:32:18 +00:00
Robert Shearman
7bff35428b
- Add new server type "struct security_descriptor".
...
- Add tracing for this new type.
2005-05-23 16:33:00 +00:00
Alexandre Julliard
70d0439905
Moved the generated code segment for 16-bit builtins inside the module
...
structure.
Get rid of the BUILTIN16_DESCRIPTOR structure and directly register
the MZ header instead.
2005-05-23 12:07:15 +00:00
Eric Kohl
071db4ca6e
Define RPC_FC_IGNORE.
2005-05-19 11:14:21 +00:00
Dimi Paun
10d48a9464
Document the more convenient iteration method.
2005-05-18 13:24:46 +00:00
Alexandre Julliard
95086f45a4
Moved data structures for 16-bit relay calls to winbase16.h and
...
removed builtin16.h.
2005-05-16 09:19:18 +00:00
Alexandre Julliard
9e73cdde39
Allow passing a string to the window property server requests instead
...
of an atom to avoid redundant server round-trips.
2005-05-11 19:01:10 +00:00
Alexandre Julliard
63342353bc
Store a bitmap of active hooks on the client side to try to avoid
...
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Eric Pouech
e6267369b2
- changed ATOM support in wineserver to match NTDLL needs
...
- adapted accordingly kernel32 atom support
2005-05-10 15:15:50 +00:00
Alexandre Julliard
26050b49d5
Prefix the internal name of all register functions with __regs_ for
...
better consistency and to make automated checking possible.
2005-05-07 18:10:30 +00:00
Rein Klazes
aecbcac865
Add 16<->32 bit message mappings for WM_COPYDATA messages.
2005-05-05 16:43:17 +00:00
Mike McCormack
abe70f7648
Implemented GetLastInputInfo.
2005-04-28 12:04:14 +00:00
Jeff Latimer
9a6a30141b
Define strncpyW to ensure that users know why it is not present.
2005-04-28 12:01:37 +00:00
Alexandre Julliard
240d4ee9e1
Remove a few more instances of strncpy.
2005-04-25 15:51:45 +00:00
Mike McCormack
f92fff66a2
Implemented NtSignalAndWaitForSingleObject.
2005-04-24 17:35:52 +00:00
Robert Shearman
d2ea92d14e
- Clean up well-known privileges.
...
- Implement checking tokens for privileges in the server.
- Implement NtPrivilegeCheck.
2005-04-22 21:17:15 +00:00
Alexandre Julliard
b965457c4a
Get rid of the remaining calls to strncpyW, and remove that function
...
from wine/unicode.h.
2005-04-21 17:18:50 +00:00
Alexandre Julliard
3e2f2a5265
Allow nested hardware message processing by storing a unique id in
...
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Eric Pouech
0a9f98b9bd
Removed the no longer user APC_ASYNC kind of APC.
2005-04-18 15:38:44 +00:00
Eric Pouech
5a2591d96d
- moved named pipe creation to ntdll
...
- server now handles the named pipe flags as the NTDLL values (not the
KERNEL32 ones)
- named pipes in server now use the async IO mechanism for
connect/wait ops
2005-04-18 14:57:04 +00:00
Alexandre Julliard
bc75f2f6c9
Return the coordinates information needed to setup the DC parameters
...
in the get_visible_region request instead of requiring the client to
compute it again.
2005-03-31 15:36:57 +00:00
Mike McCormack
2ab6a775bd
Implement mailslots.
2005-03-30 19:02:15 +00:00
Oliver Stieber
67f2ad4563
- Volume now inherits Resource. This isn't the way Microsoft implements
...
the interface but it is more correct way (Microsoft even have a
resource type of volume).
- Moved usage, format, allocatedMemory and size onto the resource
class structure.
- Refactored Preload for classes that inherit BaseTexture, preload now
binds the texture instead of bind texture calling preload, bindTexture
allocated a glTexture if there isn't one.
- Added two new class static members BaseTexture_CleanUp and
Resource_CleanUp that should be called by classes that implement
BaseTexture or Resource.
2005-03-29 19:01:00 +00:00
Alexandre Julliard
4d32a475a8
Replace the link_window request by a set_parent request since that is
...
all link_window is used for at this point.
Get rid of the WIN_LinkWindow/UnlinkWindow functions.
2005-03-25 10:38:56 +00:00
Alexandre Julliard
0bc8377bc2
Create a new server request for accepting hardware messages instead of
...
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Alexandre Julliard
5054c79880
Try to always keep the server window Z-order in sync with the X11 one
...
using a heuristic based on mouse and expose events.
2005-03-21 12:37:00 +00:00
Alexandre Julliard
f75609087a
Make the server know about the visible area of a window, which is the
...
window rect minus the caption and borders when they are handled by the
window manager.
2005-03-17 19:10:41 +00:00
Alexandre Julliard
4e47afb36f
Compute the top clipping window directly on the server side.
2005-03-17 14:02:06 +00:00
Oliver Stieber
ba5eb14768
Encapsulate texture, surface encapsulated.
...
Added BindTexture, GetTextureDimensions, UnBindTexture.
Proper GetContainer support for surface.
SetContainer added to surface and volume.
SetInPbufferState added to surface (until gl context management is
implemented).
Minor changes:
- BaseTexture no longer 'holds' a reference to IWineD3DDevice to
prevent circular referencing.
- Better managment of referinging for texture.
- Some TODO's for implementing a context manager.
- Better preload implementation.
- Fix compile warning in device.c Set/GetSamplerState.
- Add QueryInterface support for surface.
- Format X8R8G8B8 added to locking.
2005-03-14 10:12:52 +00:00
Alexandre Julliard
99615021fb
Properly cope with get_message being called recursively while
...
processing a hardware message.
2005-03-10 11:52:25 +00:00
Ulrich Czekalla
5067909587
Create a thread-specific selection window to make sure we receive the
...
selection events in the correct thread.
2005-03-07 19:31:46 +00:00
Oliver Stieber
7b261656fd
Added a stubbed out version of query to d3d9 and wined3d.
...
Update the d3d9 headers and creates wined3d types where d3d9 and d3d8
are incompatible.
2005-03-03 13:57:15 +00:00
Oliver Stieber
16e8689008
Implemented guids for wined3d.
2005-03-02 13:44:58 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00