Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Alexandre Julliard
ff986a5a93
Converted the timer list to use standard list functions.
...
Allocate a timer id when the window is 0 instead of relying on the
client to do it.
Allow setting timers on windows belonging to other threads (found by
Mike McCormack).
2004-11-29 18:08:18 +00:00
Jason Edmeades
0a944ae319
Implement Material, Clip plane and Light support plus
...
MultiplyTransform.
2004-11-29 17:53:42 +00:00
Jason Edmeades
eba27af4f1
Add Get/Set Transform support, plus BeginScene (does nothing).
2004-11-28 15:04:41 +00:00
Jason Edmeades
73e8baffd2
Add indexbuffer support into wined3d.
2004-11-24 18:13:41 +00:00
Jason Edmeades
289562eeb5
- Implement SetStreamSource
...
- Ensure wined3d objects maintain a reference count of at least that
of the d3dx version.
2004-11-23 13:52:46 +00:00
Mike Hearn
4328ec4180
Document the linked list support code.
2004-11-06 03:45:49 +00:00
Jason Edmeades
447d5ed048
Implement the beginnings of the stateblock class, and a first method
...
to use it.
2004-10-21 20:59:12 +00:00
Hans Leidekker
c3de6ef38f
Add ffs() to porting library, needed by MinGW.
2004-10-19 23:53:26 +00:00
Vincent Béron
1f504141b7
Use a new DLLDEFS variable in configure/Makefiles to actually remove
...
all the debug messages (minus ERRs) if the user decides so.
2004-10-19 23:06:11 +00:00
Jason Edmeades
db7a50582c
- Add support (as far as was previously) for the VertexBuffer and
...
Resource classes in wined3d and use when called from d3d9.
- Reduce the header includes in all the d3d9 interface to one common
set in the private header.
2004-10-14 00:32:04 +00:00
Alexandre Julliard
1da3b41093
Added forward declaration of struct timeval for futimes.
2004-10-11 20:22:06 +00:00
Jason Edmeades
b9e2bedac1
Copy and tidy up the code from dx8 create device into wined3d. Call
...
from wined3d and d3d8, but short term only use the code for real from
d3d9.
2004-10-08 20:52:33 +00:00
Alexandre Julliard
efb8be7e82
Added a fallback implementation of futimes.
2004-10-07 04:25:05 +00:00
Jason Edmeades
ac490fabac
Add a IWineD3DDevice object type (empty for now), and create one when
...
an IDirect3DDevice object is created.
2004-10-07 04:22:21 +00:00
Jason Edmeades
b519893e41
Move the GetDeviceCaps into the wined3d library and call from d3d9.
2004-10-06 00:05:29 +00:00
Martin Fuchs
895129eec2
Don't use ".previous" for Cygwin build.
2004-10-05 18:31:21 +00:00
Alexandre Julliard
739e5b06da
Avoid depending on the non-standard IUnknown_METHODS macro in Wine
...
internal headers.
2004-10-05 04:16:21 +00:00
Jason Edmeades
c579fa6213
Move the Check* type functions into wined3d and copy from d3d9, and
...
flag that they are mostly stubs.
2004-10-05 02:14:06 +00:00
Francois Gouget
6be32f7edc
Don't use COBJMACROS on internal interfaces.
2004-10-04 20:38:32 +00:00
Jason Edmeades
c3421ea434
Move into wined3d and call from d3d9 the GetAdapterId function and
...
copy all the gl declarations into the more global wined3d_gl header
file.
2004-09-29 21:26:47 +00:00
Jason Edmeades
ae5a436873
- Make d3d8 know about the wined3d device and start using it.
...
- Move some of the screen mode related functions into wined3d and add
untested support for the new d3d9 options of providing the format to
some of the calls.
- Move other functions from the directx interface into the common
library and implement the calls from d3d9 as well.
- Copy across the first of the functions used to make traces more readable,
creating utils.c to store them in. Eventually the ones in d3d8 will be
removed but for now just duplicate the code.
2004-09-28 02:12:12 +00:00
Jason Edmeades
24ab49e250
Create a wined3d interface, and generate a wined3d object in the d3d9
...
create method. Make the first (simple) call implementation into the
new wined3d interface.
2004-09-23 04:34:27 +00:00
Alexandre Julliard
b6f53e3710
Get rid of the assembly code, it doesn't really improve anything
...
(reported by Rein Klazes).
2004-09-21 20:13:03 +00:00
Alexandre Julliard
60a8fcf4b0
Avoid using socklen_t.
2004-09-16 20:34:27 +00:00
Mike McCormack
f024a838f7
Added missing rpc type.
2004-09-14 17:44:25 +00:00
Alexandre Julliard
754e7aa788
Added configure check for socklen_t.
2004-09-03 18:30:28 +00:00
Alexandre Julliard
b0394dea42
Get rid of the WINE_UNUSED macro.
2004-09-01 17:36:04 +00:00
Alexandre Julliard
3c39a9912e
Get rid of the non-standard CONV_POINT and CONV_RECT functions.
2004-08-31 00:02:02 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Eric Pouech
1ffddb4d0c
- better support for non-blocking COMM and socket read/writes:
...
+ added necessary semantics to fd flags
+ no longer uses fd type (but fd flags) read/write semantic behavior
- fixed socket code to use the proper manifest constants
- fixes for kernel32.GetOverlappedResult without hEvent set
- in ntdll.Nt{Read|Write}File
+ always reset the event
+ added support for longlong offsets
+ better object disposal in error handling code paths
2004-08-17 23:37:55 +00:00
Alexandre Julliard
4616dcb9a7
Moved the WindowFromPoint functionality to the server so that we can
...
properly take into account the window region.
2004-07-20 22:17:38 +00:00
Alexandre Julliard
c4ec2108b1
Pass the environment for a child process through the server instead of
...
relying on the Unix environment.
2004-07-16 03:54:35 +00:00
Alexandre Julliard
618a7e5813
Added support for window regions in the server.
2004-06-29 03:53:25 +00:00
Alexandre Julliard
e8d86b7cd4
Moved visible region calculation to the server.
2004-06-23 20:44:58 +00:00
Alexandre Julliard
9af2bd4803
Yet another fix for the MacOS X environ brain damage.
2004-06-14 17:07:30 +00:00
Eric Pouech
b0fd2ade62
- Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess.
...
- Make use of it in kernel32.
2004-06-14 17:02:00 +00:00
Pierre d'Herbemont
552b06a0a4
Don't use .previous instruction on Darwin.
2004-06-14 17:00:38 +00:00
Hans Leidekker
dc61a30bcc
MinGW portability fix.
2004-06-03 00:09:54 +00:00
Alexandre Julliard
910234eafb
Pass the environ variable from main to try to avoid Darwin's
...
_NSGetEnviron() ugliness.
2004-05-29 00:26:03 +00:00
Alexandre Julliard
b1abca8a5d
Initial version of the Wine preloader, used to reserve memory
...
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard
a8877ba6dc
Make sure __ASM_GLOBAL_FUNC generates code in the text segment.
2004-05-28 19:30:25 +00:00
Ivan Leo Puoti
3e42f6953e
Changed my name, so update copyright info.
2004-05-27 02:25:13 +00:00
Alexandre Julliard
2dff1fe1e5
Moved environ definition to port.h.
2004-05-25 18:05:39 +00:00
Alexandre Julliard
94d74b5fed
Added support for managing reserved memory areas in libwine and ntdll.
...
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Alexandre Julliard
eb04fd22f8
Converted the memory views list to use the standard functions from
...
wine/list.h.
Restructured some functions to always return proper NT status codes.
A couple of optimizations.
Added a few tests for file mappings.
2004-05-21 20:58:44 +00:00
Alexandre Julliard
8c29b5f0cc
Removed the no longer used SMB file I/O support, we can't do reliable
...
file I/O in user space anyway.
2004-05-14 22:24:48 +00:00
Alexandre Julliard
c07ce0571e
Moved loading of the home registry files to the server, there's no
...
real need to make these configurable.
2004-05-07 04:13:21 +00:00
Ferenc Wagner
c0c6c4d8c7
Disable buffering of test output to keep more information in case of a
...
crash.
2004-05-03 20:19:13 +00:00
Alexandre Julliard
72f87b8c06
Use pread/pwrite everywhere to avoid changing the file position while
...
the client is using it.
Get rid of the no longer used truncate_file request.
2004-05-01 02:50:06 +00:00
Dmitry Timoshkov
d996f60c0d
Add some compatibility macros.
2004-04-22 23:45:47 +00:00
Alexandre Julliard
18c08d307a
Removed the get_file_info request.
2004-04-08 19:09:04 +00:00
Alexandre Julliard
db4517010b
Handle the set_file_pointer request on the client side.
2004-04-07 22:02:09 +00:00
Steven Edwards
2d0413012f
Fix compiling under MS_VC 6.
2004-04-07 21:59:15 +00:00
Alexandre Julliard
49b2f6d964
Get rid of the removable media handling in the server.
2004-04-06 23:41:01 +00:00
Alexandre Julliard
e77c9be0dc
Added support for fstatvfs.
2004-04-06 03:33:25 +00:00
Eric Pouech
30dbb04998
- implemented MCI_SOUND command
...
- fixed MCI command table in resource
- added a TODO list on MCI handling
2004-04-05 20:16:11 +00:00
Alexandre Julliard
5333206978
Added memicmpW.
2004-04-02 19:40:31 +00:00
Ivan Leo Murray-Smith
1480809714
In resource info allow OriginalFilename and InternalName to be
...
different.
2004-03-30 04:33:08 +00:00
Mike McCormack
23d036719d
Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API.
2004-03-29 23:04:11 +00:00
Alexandre Julliard
a1fe8b4f24
Use futimes() instead of utime() to implement SetFileTime, so that it
...
can be done on the client side.
2004-03-27 01:48:52 +00:00
Alexandre Julliard
adc0610db7
Make the standard create_file request handle serial ports too, and
...
remove the create_serial request.
2004-03-18 04:08:48 +00:00
Dmitry Timoshkov
21fc3c8067
CreateDIBSection takes a const pointer to BITMAPINFO.
2004-03-12 19:46:12 +00:00
Alexandre Julliard
014099caf5
Changed the create_file server request to take NtCreateFile flags
...
instead of CreateFileW ones (based on a patch by Eric Pouech).
2004-03-12 01:56:49 +00:00
Alexandre Julliard
63fae64558
Added definitions for S_IXUSR, S_IXGRP and S_IXOTH.
2004-03-10 01:54:39 +00:00
Alexandre Julliard
f8c24212ae
Added statvfs prototype.
2004-03-09 19:22:08 +00:00
Alexandre Julliard
13af489103
Use statvfs instead of statfs, and provide a default implementation in
...
libwine_port if necessary.
2004-03-05 21:03:46 +00:00
Alexandre Julliard
db692c8f39
Open a real file handle for drive devices, and get rid of the server
...
device hacks (based on a patch by Eric Pouech).
2004-03-04 23:00:18 +00:00
Robert Shearman
bea0b25554
- Add more RPC format characters.
...
- Add some NDR functions and structures.
2004-03-03 05:25:37 +00:00
Uwe Bonnes
9ffce00940
Pass inherit handle flag properly for CreateNamedPipe.
2004-02-24 01:06:30 +00:00
Steven Edwards
ae9ce86324
Windows porting fix - Define O_NONBLOCK if not defined.
2004-02-12 22:39:18 +00:00
Francois Gouget
7b6935c2ae
Remove the winetest_ok() hack that adds a trailing '\n' if it is
...
missing.
2004-02-10 20:09:26 +00:00
Alexandre Julliard
5fdc57ef5c
Added memchrW and memrchrW to the exported Unicode functions.
2004-02-07 02:24:15 +00:00
Alexandre Julliard
163396b955
Revert the thread exit race fix for now, it doesn't work right on
...
pthreads.
2004-02-05 17:45:31 +00:00
Alexandre Julliard
4fac95df3d
Fixed a couple of race conditions in the wine_pthread routines at
...
thread startup and exit.
2004-02-05 02:01:35 +00:00
Alexandre Julliard
55d72b792f
lpCreateParams should be a SEGPTR in 16-bit code.
2004-01-28 21:41:56 +00:00
Rein Klazes
f20ce3b816
Fix MultiByteToWideChar and WideCharToMultiByte when called with code
...
page CP_SYMBOL.
Remove the symbol font from the code page table, so it is not reported
as a valid/supported/installed code page.
Remove workarounds for the badly behaved MultiByteToWideChar and co.
in a few places.
2004-01-20 22:39:06 +00:00
Alexandre Julliard
6ec42c0c3b
Moved a bunch of definitions from gdi.h into a new gdi_private.h to
...
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Ivan Leo Murray-Smith
07c0653b7d
Updated copyright information.
2004-01-14 05:10:45 +00:00
Alexandre Julliard
e8283089cb
Get rid of no longer needed WINE_PACKED define.
2004-01-09 22:18:49 +00:00
Alexandre Julliard
4e4460eaef
There's no need for DUMMYUNIONNAME in private headers.
2004-01-08 05:27:23 +00:00
Alexandre Julliard
e293074100
Added configure check for readlink.
2004-01-08 05:07:05 +00:00
Mike Hearn
43cb03be3a
Implemented RegFlushKey and NtFlushKey.
2004-01-03 00:38:30 +00:00
Alexandre Julliard
7984ded712
Added wine_dll_get_owner function that retrieves the 32-bit dll
...
containing a given 16-bit dll by reading the symlink, so that we don't
need to dlopen it.
2004-01-02 21:08:05 +00:00
Ge van Geldorp
6ba2226f2c
When building a PE DLL (MinGW), variables exported from a DLL must be
...
explicitly marked as dllimport when using them.
2003-12-13 00:02:31 +00:00
Alexandre Julliard
bd13ab8d78
Store a pointer to the client-side class structure in the server and
...
return it on create_window and destroy_class.
Only create a single instance of the desktop class for the whole
session.
Added some missing locking in the client-side class management.
2003-12-11 05:34:53 +00:00
Alexandre Julliard
bfce151ae5
Added window classes in the server, and support for inter-process
...
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Alexandre Julliard
ebf1243ec1
Added support for inter-process GetWindowWord.
...
Do better range checking on the window extra bytes.
2003-12-10 01:34:51 +00:00
Alexandre Julliard
e85491274d
Moved the DEFINE_REGS_ENTRYPOINT macros to include/wine/port.h.
...
Removed the C fallback code, do that in the callers instead.
2003-12-04 05:48:03 +00:00
Alexandre Julliard
f3f435ffa1
Added wine_server_release_fd function to release the fd returned by
...
wine_server_handle_to_fd. Fixed a couple of potential fd leaks.
2003-12-01 23:01:12 +00:00
Dmitry Timoshkov
2964888d05
A general cleanup of the version resources in Wine DLLs.
2003-11-30 05:59:29 +00:00
Stefan Leichter
ee33c001ac
Changed the version resource to be created in the common way.
2003-11-30 01:42:26 +00:00
Alexandre Julliard
402b79a1e8
Porting fixes.
2003-11-27 00:59:36 +00:00
Alexandre Julliard
97903d260b
Added support for inter-process GetWindowLong on the window extra
...
bytes.
2003-11-26 22:15:41 +00:00
Alexandre Julliard
436eda3071
Removed task.h.
2003-11-25 00:42:26 +00:00
Alexandre Julliard
c6d44be3e5
Create a huge array in bss to reserve the memory area we need for PE
...
binaries, to prevent exec shield from mapping system libraries there.
2003-11-22 00:08:26 +00:00
Dmitry Timoshkov
33f9dcb1f9
Move CompareString implementation to libwine_unicode, add a bunch of
...
CompareString tests.
2003-11-22 00:00:53 +00:00
Robert Shearman
d6254fcb43
- AVI Splitter implementation.
...
- Add new debugging function wine_dbstr_longlong.
2003-11-18 20:47:48 +00:00
Alexandre Julliard
8fb98a41e0
Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
...
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Raphael Junqueira
0196861349
Add the wined3d dll for beginning a cleaner d3d architecture that will
...
contain the shared openGL code needed for all wine direct3d
implementations.
2003-11-14 03:50:35 +00:00