wined3d: CheckDeviceMultiSampleType

2006-02-04 Thread Vitaly Budovski
Can I have some feedback on the attached patch? I'm not entirely sure it's correct. Thanks, Vitaly diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 7aa8d5d..8394362 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1245,6 +1245,13 @@ HRESULT WINAPI IWineD3D

Re: dlls/ntdll/tape.c portability

2006-02-04 Thread Gerald Pfeifer
On Sat, 4 Feb 2006, Alexandre Julliard wrote: > Please add configure checks instead of #ifdef __FreeBSD__. Like so? Tested on SUSE Linux 10.0 and FreeBSD 4.10. Gerald ChangeLog: Use struct mtget.mt_blksiz on systems featuring this. Work around using struct mtget.mt_gstat on systems lacking this

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Brian Hill
It's possible to do a rough auto-detect. General rule of thumb : ARB_FRAGMENT_PROGRAM = ~1.4 ARB_SHADER_LANGUAGE_100/GLSL = >= 2.0 This does not, however, take into account vendor specific shader extensions. H. Verbeet wrote: On 04/02/06, Vitaliy Margolen <[EMAIL PROTECTED]> wrote: +

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Brian Hill
GL_ext_blend_func_separate was something else I was working on for EVE Online. I branched off two CVS directories on my hard drive and that accidentally got copied over. H. Verbeet wrote: On 04/02/06, Brian Hill <[EMAIL PROTECTED]> wrote: I'd appreciate if people could test this patch a

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread H. Verbeet
On 04/02/06, Vitaliy Margolen <[EMAIL PROTECTED]> wrote: > > + default : > > + WARN("Invalid Pixel Shader version > > %d",wined3d_settings.ps_mode); > > + break; > Default should be NONE. > > > + if (!strcmp(buffer,"default")) > > +

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Brian Hill
* The copyrights are still in my copy of the altered file. I have no idea why CVS removed them. I'll look into why it did that. Same goes with the formatting. * Will change from WARN to FIXME. * Detecting the amount of texture memory is implementation specific and so we'd have to do differen

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Evil
Brian Hill wrote: > * User-selectable texture memory reporting. The current CVS version > is hardcoded to report 64 megabytes of graphics card texture memory. > I changed the hardcoded variable to be set by a registry setting... Woo hoo! I like this one! -J

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Segin
Vitaliy Margolen wrote: Saturday, February 4, 2006, 3:33:50 PM, Brian Hill wrote: * User-selectable texture memory reporting. The current CVS version is hardcoded to report 64 megabytes of graphics card texture memory. I We still need to make an attempt to detect it. Ov

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread H. Verbeet
On 04/02/06, Brian Hill <[EMAIL PROTECTED]> wrote: > I'd appreciate if people could test this patch and see if it breaks any > games. It compiles and runs fine on my system but I'd like to know > regardless. Sometimes I have a tendency to make silly mistakes in coding :P I had a quick look at the

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Joseph Garvin
Vitaliy Margolen wrote: * User-selectable texture memory reporting. The current CVS version is hardcoded to report 64 megabytes of graphics card texture memory. I We still need to make an attempt to detect it. Overriding it this way doesn't really make it more universal. From what I see

Re: potential (not sure yet) BUG in wine!

2006-02-04 Thread Segin
Operating system: GNU/Linux Distribution: Gentoo glibc Version: 2.3.6 Brian Hill wrote: What operating system are you using? What version of it and what distro (if applicable)? Segin wrote: I have noticed that there is a potential bug in Wine, because complimation for all version since the l

Re: wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Vitaliy Margolen
Saturday, February 4, 2006, 3:33:50 PM, Brian Hill wrote: > Attached is a patch file of the changes I have made to wined3d and it's > config options. > Summary of the changes : > * User-selectable pixel shader version. Default is 1.4. 2.0 is > selectable and if your card has GLSL support it sho

quicktime 7 + itunes install fail

2006-02-04 Thread Dan Kegel
This isn't news to anyone, I'm sure, but today's wine doesn't install quicktime; it hangs while copying files. Log fragment: ... fixme:msi:ACTION_HandleStandardAction unhandled standard action L"RemoveFolders" fixme:msi:ACTION_CustomAction msidbCustomActionTypeNoImpersonate not handled fixme:rpc:R

Re: potential (not sure yet) BUG in wine!

2006-02-04 Thread Brian Hill
What operating system are you using? What version of it and what distro (if applicable)? Segin wrote: I have noticed that there is a potential bug in Wine, because complimation for all version since the last date-versioned alpha release (didn;'t try anything older than 20050930) fail to comp

wined3d PS 2.0/TexMem/Config Window Patch

2006-02-04 Thread Brian Hill
Attached is a patch file of the changes I have made to wined3d and it's config options. Summary of the changes : * Cleaned up graphics tab on winecfg to make room for more DirectX related options. In an ideal world, options would be automagically detected but due to the amount of difference

Re: dlls/ntdll/tape.c portability

2006-02-04 Thread Gerald Pfeifer
On Sat, 4 Feb 2006, Alexandre Julliard wrote: >> ChangeLog: >> Take into account that FreeBSD and others have MTSETBSIZ instead of >> MTSETBLK and that struct mt_blksiz is laid out somewhat differently. > Please add configure checks instead of #ifdef __FreeBSD__. I considered that, but am not real

Re: game "Knights and Merchants" deadlocks

2006-02-04 Thread Jesse Allen
On 2/4/06, Joris Huizer <[EMAIL PROTECTED]> wrote: > Hello, > > I have this question: I have a game called "Knights and Merchants" which > I sometimes play; I find it deadlocks each time after playing for an > hour or so > it seems it isn't a complete deadlock, sometimes some of sound comes > thr

Re: New wined3d configuration window

2006-02-04 Thread Brian Hill
Francois Gouget wrote: On Fri, 3 Feb 2006, Brian Hill wrote: Ok, after working on the winecfg program for a bit, this is what I have : http://img434.imageshack.us/my.php?image=winecfg17nf.png Would it make sense to have a separate tab for DirectX? A new tab is a possibility however the

Re: gethostbyname call with 0 length arg

2006-02-04 Thread James Hawkins
On 2/3/06, Phil Goss <[EMAIL PROTECTED]> wrote: > This is what seems to have worked for me > > if(!name || !strlen(name)) { > > The shortest way to do this is: if (!name || !*name) { -- James Hawkins

Fix for server/change.c breakage (and request for help)

2006-02-04 Thread Gerald Pfeifer
The following change to server/change.c revision 1.32 date: 2006-01-30 18:46:00 +; author: julliard; state: Exp; lines: +223 -15 Mike McCormack <[EMAIL PROTECTED]> server: Initial inotify support. broke (all?) systems without pnotify support: The second set of errors is addressed

Re: d3d8: Fixed point sprite scaling when size < 1.0f

2006-02-04 Thread Pedro Maia
Vitaly Budovski wrote: > d3d8: Fixed point sprite scaling when size < 1.0f Sorry to say but your patch is probably the wrong one, because it's exactly the same as wined3d patch, and also it doesn't apply cleanly to the cvs source. Great work. Pedro Maia

Visual C++ 6

2006-02-04 Thread Jason Kraftcheck
I've been trying to get Visual C++ 6 to work under Wine. It does seem to work for trivial programs with wine 0.9.6. It fails to compile anything with floating-point constants in the source because _atoldbl in msvcrt.dll is not implemented. I've attached a patch with a trivial implementation of t

Re: crypt32: implement W versions of string routines

2006-02-04 Thread Juan Lang
Stefan Leichter wrote: in mlang there is always a #ifdef in front of wine_dbgstr_w. So it is exclude from compile. Roger that, I didn't notice. Sending a patch.. --Juan

Re: New wined3d configuration window

2006-02-04 Thread Francois Gouget
On Fri, 3 Feb 2006, Brian Hill wrote: Ok, after working on the winecfg program for a bit, this is what I have : http://img434.imageshack.us/my.php?image=winecfg17nf.png Would it make sense to have a separate tab for DirectX? -- Francois Gouget [EMAIL PROTECTED]http://fgouget

Re: Fwd: game "Knights and Merchants" deadlocks

2006-02-04 Thread James Trotter
On 2/4/06, Joris Huizer <[EMAIL PROTECTED]> wrote: James Trotter wrote:> On 2/4/06, *Joris Huizer* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote: >> Hello,>> I have this question: I have a game called "Knights and Merchants" which>   I sometimes play; I find it deadlocks each time after

Re: dlls/ntdll/tape.c portability

2006-02-04 Thread Alexandre Julliard
Gerald Pfeifer <[EMAIL PROTECTED]> writes: > ChangeLog: > Take into account that FreeBSD and others have MTSETBSIZ instead of > MTSETBLK and that struct mt_blksiz is laid out somewhat differently. Please add configure checks instead of #ifdef __FreeBSD__. -- Alexandre Julliard [EMAIL PROTECTED]

Re: Fwd: game "Knights and Merchants" deadlocks

2006-02-04 Thread Joris Huizer
James Trotter wrote: On 2/4/06, *Joris Huizer* <[EMAIL PROTECTED] > wrote: Hello, I have this question: I have a game called "Knights and Merchants" which I sometimes play; I find it deadlocks each time after playing for an hour or so it seems it

Fwd: game "Knights and Merchants" deadlocks

2006-02-04 Thread James Trotter
On 2/4/06, Joris Huizer <[EMAIL PROTECTED] > wrote: Hello,I have this question: I have a game called "Knights and Merchants" which  I sometimes play; I find it deadlocks each time after playing for anhour or soit seems it isn't a complete deadlock, sometimes some of sound comes through between inte

game "Knights and Merchants" deadlocks

2006-02-04 Thread Joris Huizer
Hello, I have this question: I have a game called "Knights and Merchants" which I sometimes play; I find it deadlocks each time after playing for an hour or so it seems it isn't a complete deadlock, sometimes some of sound comes through between intervals of minutes or so; harddisk activity se

Re: msftedit.dll

2006-02-04 Thread Stefan Leichter
Am Samstag, 4. Februar 2006 03:21 schrieb Dmitry Timoshkov: > On Sat, 2006-02-04 at 02:26 +0300, Phil Krylov wrote: > > Could this be done another way? E.g., symlink msftedit.dll.so to > > riched20.dll.so? Or copy riched20.dll.so as msftedit.dll.so, which would > > resemble MS approach more. > > I'

potential (not sure yet) BUG in wine!

2006-02-04 Thread Segin
I have noticed that there is a potential bug in Wine, because complimation for all version since the last date-versioned alpha release (didn;'t try anything older than 20050930) fail to compile at server/mailslot.c, saying that uint32_t is not defined. While I cannot figure out if this is a pro