Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread Jason Green
Well, we discussed a few different ways of handling this, and here are the results: 1) We can flip the texture we get from the framebuffer in Device_LoadTexture. Getting images from the back framebuffer always are upside down, so we'll need to manually flip it before setting it as the next rende

Re: msi: Always load all the components. (resend)

2006-07-25 Thread Dan Kegel
On 7/25/06, Mike McCormack <[EMAIL PROTECTED]> wrote: (better) Fix for bug #3590 (Python 2.4.2). Remember to set component->Enabled. Update some test cases that now pass. Sweet -- Python now installs! Or, as we say around these parts, LGTM.

Re: Drive mapping of Z:

2006-07-25 Thread Joseph Garvin
Molle Bestefich wrote: > > Point taken. > I like KDE better than Gnome, so Ubuntu is a bad fit. > And the 5.04 installation CD completely hung my workstation when I > tried it. > Kubuntu is the same distro just using KDE as the default desktop, and the latest version of Ubuntu/Kubuntu, Dapper, has

Re: msvcrt: _getmaxstdio and _setmaxstdio

2006-07-25 Thread Chris
On Tuesday 25 July 2006 11:54, Phil Lodwick wrote: > Greetings, > > I have an application that requires these functions which are currently > stubs in wine. These functions set/retrieve the number of files that can > be simultaneously open at the stdio level. As of now the Win32 platform > has a

msvcrt: _getmaxstdio and _setmaxstdio

2006-07-25 Thread Phil Lodwick
Greetings, I have an application that requires these functions which are currently stubs in wine. These functions set/retrieve the number of files that can be simultaneously open at the stdio level. As of now the Win32 platform has a default of 512 and can be set as high as 2048. There is prob

Re: [RSAENH] CPGetHashParam / Bug 5639 part 2

2006-07-25 Thread Vijay Kiran Kamuju
Hi Karl, Send a copy of both the patches to wine-patches also. Thanks, VJ On 7/25/06, Karsten Elfenbein <[EMAIL PROTECTED]> wrote: Hi, Same question for this one. It fixes the case when CryptGetHashParam is called with pbData=NULL to determine the needed buffer size for the hash value. It f

[RSAENH] CPGetHashParam / Bug 5639 part 2

2006-07-25 Thread Karsten Elfenbein
Hi, Same question for this one. It fixes the case when CryptGetHashParam is called with pbData=NULL to determine the needed buffer size for the hash value. It fixes the http://bugs.winehq.org/attachment.cgi?id=3024&action=view testcase in http://bugs.winehq.org/show_bug.cgi?id=5639 Karsten rs

[RSAENH] CPEncrypt / Bug 5639

2006-07-25 Thread Karsten Elfenbein
Hi, I wonder if the attached patche would make in into git? It fixes the case when CryptEncrypt is called with pbData=NULL to determine the needed buffer size after encryption. It fixes the http://bugs.winehq.org/attachment.cgi?id=3023&action=view testcase in http://bugs.winehq.org/show_bug.cgi?

Re: Debian and Notes for Linux

2006-07-25 Thread Stefan Siebert
David Goodenough btconnect.com> writes: > Good news. One possible "market" for this is in the Debian world > as currently the Linux Notes client will not install as it can not > work out what version of Mozilla is installed. IBM have never really > make any of their stuff easy to install on De

vartest.c contains varformat.c tests

2006-07-25 Thread Benjamin Arai
Hi,A bug was submitted (http://bugs.winehq.org/show_bug.cgi?id=5306) that vartest.c was getting too large and that it needs to be smaller.  I don't think to much can be done about the size but I did notice that all the tests for varformat.c are being put into vartest.c as opposed to making a new t

Aw: Re: Drive mapping of Z:

2006-07-25 Thread schollsky
Michael Stefaniuc wrote: > Molle Bestefich wrote: > > Stefan Dösinger wrote: > > > >> Disabling the Z:\ drive won't help security > > > > > > in THEORY... > > > >> because windows applications can still do Linux syscalls > >> (int 0x80) which they can use do do anything native > >> apps do, l

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread H. Verbeet
On 25/07/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: lot of them already :-| ). The tricky part is to actually flip it around when drawing because we have to modify the vertices. This could be a case for drawStridedSlow or VBO vertex fixups. Or do the texture matrices help here? Well yes, you

Re: Freetype configure checks are backward

2006-07-25 Thread Gerald Pfeifer
Mike, I just saw your change to Wine's configure scripts to implement a change along the lines I raised below. Thank you very much!! Gerald On Fri, 2 Jun 2006, Gerald Pfeifer wrote: > I believe the Freetype configure checks are backward. > > First we check for the library being present, and on

Re: Lotus Notes 7 success!

2006-07-25 Thread David Goodenough
Dan Kegel wrote: > Thanks to a few targeted patches written by > Stefan Siebert and James Hawkins, > and of course decades of effort by the whole Wine team, > Lotus Notes 7 trial version now installs and runs! > See http://wiki.winehq.org/LotusNotes for details. > > I just spent an hour or so pla

Re: wine's fullscreen code has no effect on metacity

2006-07-25 Thread Havoc Pennington
Dmitry Timoshkov wrote: "Havoc Pennington" <[EMAIL PROTECTED]> wrote: Dmitry Timoshkov wrote: It's OK that a WM constrains windows to be placed inside of its work area but still allows to place them into a fullscreen state on request. How would you suggest to properly inform a WM that a win

Re: WineD3D: DDS file writer

2006-07-25 Thread Stefan Dösinger
Am Dienstag 25 Juli 2006 16:39 schrieb H. Verbeet: > On 25/07/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > > I have written this function while debugging the font issue in > > Battlefield 1942. It writes the surface contents unmodified in a .dds > > file which can be read by the dxtex utility i

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread Stefan Dösinger
Am Dienstag 25 Juli 2006 11:54 schrieb H. Verbeet: > On 25/07/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: > > Can we flip around the y axis in the shader? > > Well, that is essentially what Jason's hack does :-) > > > Or can we flip around the texture > > coords when drawing from the offscreen t

Re: WineD3D: DDS file writer

2006-07-25 Thread H. Verbeet
On 25/07/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: I have written this function while debugging the font issue in Battlefield 1942. It writes the surface contents unmodified in a .dds file which can be read by the dxtex utility in the DirectX sdk, and a few Linux applications. It doesn't hav

Re: Win64 patch 3/6 (resend)

2006-07-25 Thread Alexandre Julliard
"Ge van Geldorp" <[EMAIL PROTECTED]> writes: > The current request_max_size is > > struct request_max_size > { > int pad[16]; > }; > > which is only 64 bytes. I'm not sure what you want changed in > request_send_message to make it fit in 64 bytes? Some fields like type and flags could be made

RE: Win64 patch 3/6 (resend)

2006-07-25 Thread Ge van Geldorp
> From: Alexandre Julliard [mailto:[EMAIL PROTECTED] > > The best way would be to fix the few offending requests so > that we don't need to make every single request larger. Not sure I understand what you mean. If I look at struct send_message_request, it's current 64-bit layout is: struct sen

Re: Drive mapping of Z:

2006-07-25 Thread Tom Booker
On 7/25/06, Molle Bestefich <[EMAIL PROTECTED]> wrote: (Point taken about the list noise, btw.  I'm trying to be polite andanswer people's questions, and at the same time not expand the subjectsince I know we're deeply off-topic by now.  I do feel bad about that,but there's no way right now to both

Re: Repetitve fixme for each file accessed.

2006-07-25 Thread Kuba Ober
> > > > > fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program > > > > > Files\\GeneXproTools 4\\SampleRuns\\XOR.gep") stub > > > > > > Please turn it into a TRACE instead of a FIXME. > > > > If it's a stub isn't it a FIXME? > > That is standard practice for extremely intrusive and frequent FIXME's,

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread Jason Green
On 7/25/06, H. Verbeet <[EMAIL PROTECTED]> wrote: Can't we just correct the texture coordinates / start writing the surface contents at the bottom? Also, if we use EXT_framebuffer_object instead, we probably won't have to use glCopyTexImage in the first place. No idea, but that's the type of a

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread Jason Green
On 7/25/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: Can we flip around the y axis in the shader? It's not quite so easy. At the moment in the case w/o shaders, we multiply the WORLDVIEW and/or PROJECTION matrices by a matrix that flips the y axis on the whole matrix, like so: 1 1 1 1 1

Re: oleaut32: Adding a NULL to a safearray is supposed to crash

2006-07-25 Thread Andreas Mohr
Hi, On Tue, Jul 25, 2006 at 10:39:56AM +0100, Robert Shearman wrote: > Neil Skrypuch wrote: > > >diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c > >index 0eb92da..d3dd5e1 100644 > >--- a/dlls/oleaut32/safearray.c > >+++ b/dlls/oleaut32/safearray.c > >@@ -843,12 +843,6 @@ HRESUL

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread H. Verbeet
On 25/07/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: Can we flip around the y axis in the shader? Well, that is essentially what Jason's hack does :-) Or can we flip around the texture coords when drawing from the offscreen texture? If I understand it correctly this only affects offscreen r

Re: Drive mapping of Z:

2006-07-25 Thread Stefan Dösinger
Hi, > > What distro do you run? > > Gentoo. I am a Gentoo user too, and I never had problems with running as non-root. the system starts up kdm at startup and I can log in there as a normal user which I use for everyday work, wine development, running windows apps and everything else. I never ha

Re: [oleaut32 2/3] Removes stub for varformat:VarWeekdayName

2006-07-25 Thread Robert Shearman
Benjamin Arai wrote: diff --git a/dlls/oleaut32/oleaut32.spec b/dlls/oleaut32/oleaut32.spec index ad110c7..9e1f1db 100644 --- a/dlls/oleaut32/oleaut32.spec +++ b/dlls/oleaut32/oleaut32.spec @@ -124,7 +124,7 @@ 125 stdcall VarBoolFromStr(wstr long long ptr) 126 stdcall VarBoolFromDisp(ptr long pt

Re: [oleaut32 1/3] Implements function varformat:VarWeekdayName

2006-07-25 Thread Robert Shearman
Benjamin Arai wrote: /** + * VarWeekdayName [OLEAUT32.128] + * + * Print the specified month as localized name. + * + * PARAMS + * iWeekday [I] day number of week 0 = sys default, 1 = Monday, etc + * fAbbrev [I

Re: oleaut32: Adding a NULL to a safearray is supposed to crash

2006-07-25 Thread Robert Shearman
Neil Skrypuch wrote: diff --git a/dlls/oleaut32/safearray.c b/dlls/oleaut32/safearray.c index 0eb92da..d3dd5e1 100644 --- a/dlls/oleaut32/safearray.c +++ b/dlls/oleaut32/safearray.c @@ -843,12 +843,6 @@ HRESULT WINAPI SafeArrayPutElement(SAFEA if (!psa || !rgIndices) return E_INVALIDARG;

Re: Win64 patch 2/2 (winedbg)

2006-07-25 Thread Alexandre Julliard
Ge van Geldorp <[EMAIL PROTECTED]> writes: > case AddrModeFlat: > -dbg_printf("0x%08lx", addr->Offset); > +dbg_printf("0x%08llx", addr->Offset); %ll formats are not portable, please avoid them. -- Alexandre Julliard [EMAIL PROTECTED]

Re: usp10: Resend - Add funtionality for ScriptStringAnalyse

2006-07-25 Thread Alexandre Julliard
Jeff L <[EMAIL PROTECTED]> writes: > +psssa = HeapAlloc( GetProcessHeap(), HEAP_ZERO_MEMORY, > sizeof(Scriptstringanalysis)); > +*pssa = (Scriptstringanalysis*)psssa; Please try to find better names for your variables, don't name everything pssa or psssa or pssap etc. Also please use un

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread Stefan Dösinger
Am Dienstag 25 Juli 2006 04:21 schrieb Jason Green: > I've spent a couple of days researching the issue of > broken/upside-down character/object models in Wine in almost all newer > games when you have vertex shaders enabled (Civ4, Half Life 2, > Oblivion, Max Payne 2, etc.). I think I've boiled i

Re: Drive mapping of Z:

2006-07-25 Thread Molle Bestefich
Dimi Paun wrote: Fixing your X installation would do you a lot more good. Not sure how much it would help though - I'm secretly also slightly hateful towards the concept of configuring and switching between two user accounts just to do daily work. It seems such a conceptually broken solution (

Re: Win64 patch 3/6 (resend)

2006-07-25 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > "Ge van Geldorp" <[EMAIL PROTECTED]> wrote: > >> --- a/include/wine/server_protocol.h >> +++ b/include/wine/server_protocol.h >> @@ -33,6 +33,9 @@ struct reply_header >> struct request_max_size >> { >> int pad[16]; >> +#ifdef _WIN64 >> +int

Re: Broken character models in dx8/9 games in wined3d

2006-07-25 Thread H. Verbeet
On 25/07/06, Jason Green <[EMAIL PROTECTED]> wrote: current renderTarget is not on the current swapchain. The comments in the source say that the upside-downedness is produced by glCopyTexImage, so it sets a flag to flip everything over. I don't think it's so much that glCopyTexImage flips the

RE: Win64 patch 3/6 (resend)

2006-07-25 Thread Ge van Geldorp
> From: Dmitry Timoshkov [mailto:[EMAIL PROTECTED] > > What exactly size is required then to avoid an assert? This is the assert: assert( sizeof(union generic_request) == sizeof(struct request_max_size) ); So the way the assert is written now "struct request_max_size" should have a size exactl

Re: Drive mapping of Z:

2006-07-25 Thread Segin
No trolling on the wine-devel mailing list please. I got in deep shit for that, but you are a rather respected member of the Wine community, and to lose that respect over a simple flame would be ironic. And it seems the other guy is trolling himself, but did you not see the sign? "Do not feed

Re: Repetitve fixme for each file accessed.

2006-07-25 Thread Stefan Dösinger
Am Dienstag 25 Juli 2006 00:15 schrieb Dan Kegel: > On 7/24/06, Kuba Ober <[EMAIL PROTECTED]> wrote: > > > > > fixme:sfc:SfcIsFileProtected ((nil), L"C:\\Program > > > > > Files\\GeneXproTools 4\\SampleRuns\\XOR.gep") stub > > > > > > Please turn it into a TRACE instead of a FIXME. > > > > If it's

Re: Win64 patch 3/6 (resend)

2006-07-25 Thread Dmitry Timoshkov
"Ge van Geldorp" <[EMAIL PROTECTED]> wrote: > Why is this required? Is that due to asserts in server/request.c, > open_master_socket() ? Exactly. What exactly size is required then to avoid an assert? > Is changing 'int' to 'long' a better fix? Perhaps. It would become struct request_ma