Re: [2/5] WineD3D: Remove 24/32 bit hacks

2007-12-10 Thread Stefan Dösinger
Am Dienstag, 11. Dezember 2007 06:18:30 schrieb Chris Robinson: > On Monday 10 December 2007 03:24:04 pm Stefan Dösinger wrote: > > devmode.dmFields = DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT; > > - devmode.dmBitsPerPel = (bpp >= 24) ? 32 : bpp; /* Stupid XVidMode > > cannot change bpp */

Re: [2/5] WineD3D: Remove 24/32 bit hacks

2007-12-10 Thread Chris Robinson
On Monday 10 December 2007 03:24:04 pm Stefan Dösinger wrote: > devmode.dmFields = DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT; > - devmode.dmBitsPerPel = (bpp >= 24) ? 32 : bpp; /* Stupid XVidMode cannot > change bpp */ Did you mean to leave dmBitsPerPel at 0?

Re: shlwapi: Fix memory leak in test

2007-12-10 Thread Zac Brown
Alistair Leslie-Hughes wrote: > Hi, >Changelog: > shlwapi: Fix memory leak in test. > > Best Regards > Alistair Leslie-Hughes > > > No patch attached? -Zac

Re: Monday's valgrind results: no new errors

2007-12-10 Thread Alistair Leslie-Hughes
Alistair Leslie-Hughes wrote: > Dan Kegel wrote: >> http://kegel.com/wine/valgrind/logs-2007-12-10-summary.txt >> seems to show lots of valgrind regressions in mshtml, but >> http://kegel.com/wine/valgrind/logs-2007-12-10/vg-mshtml_dom-diff.txt >> shows the difference is that I happen to have insta

Re: Monday's valgrind results: no new errors

2007-12-10 Thread Alistair Leslie-Hughes
Dan Kegel wrote: > http://kegel.com/wine/valgrind/logs-2007-12-10-summary.txt > seems to show lots of valgrind regressions in mshtml, but > http://kegel.com/wine/valgrind/logs-2007-12-10/vg-mshtml_dom-diff.txt > shows the difference is that I happen to have installed Gecko. > So they aren't really

re: COM

2007-12-10 Thread Dan Kegel
Adelle wrote: > I have some COM DLLs which work fine with VB6 applications on wine. > Is it possible to instantiate a windowsy COM object from a linuxy > application written in some form of C++ (eg, for compilation with gcc)? Erm, maybe you could write a winelib app, but you might have to use the

Monday's valgrind results: no new errors

2007-12-10 Thread Dan Kegel
http://kegel.com/wine/valgrind/logs-2007-12-10-summary.txt seems to show lots of valgrind regressions in mshtml, but http://kegel.com/wine/valgrind/logs-2007-12-10/vg-mshtml_dom-diff.txt shows the difference is that I happen to have installed Gecko. So they aren't really regressions (or if there ar

Re: winex11drv: Treat CapsLock and NumLock keys as normal keys. They should toggle on button down.

2007-12-10 Thread Vitaliy Margolen
Alexandre Julliard wrote: > Vitaliy Margolen <[EMAIL PROTECTED]> writes: > >> On winxp both keys toggle on button down not button up. So no need for any >> extra treatment. >> Fixes bug 10446. > > You still have to handle the case when the state has been toggled > outside of Wine, you can't just

Re: ENTER_GL and ActivateContext question

2007-12-10 Thread Stefan Dösinger
Am Dienstag, 11. Dezember 2007 07:06:02 schrieb Alexander Dorofeyev: > Ok, thank you and Roderick for useful info. I figure that my previous patch > wasn't ideal, unfortunately it introduced one more of such recursive > ENTERGL / ActivateContext situations. I'll try to improve that and send > anoth

Re: deleting AppDB deleted

2007-12-10 Thread Alexander Nicolaysen Sørnes
On Monday 10 December 2007 22:16:10 Juan Lang wrote: > > Is it standard practice to remove all old versions of a program except > > for the most recent? > > Not standard practice, and this shouldn't have been done (since few of > the 7.x versions of iTunes work with Wine.) > --Juan That's correct

Re: deleting AppDB deleted

2007-12-10 Thread Juan Lang
> Is it standard practice to remove all old versions of a program except for the > most recent? Not standard practice, and this shouldn't have been done (since few of the 7.x versions of iTunes work with Wine.) --Juan

Re: deleting AppDB deleted

2007-12-10 Thread Bryan Haskins
It really depends on the case, if a program is entirely superseded by another version, ie you can't use the old version at all anymore, totally. If it's still entirely possible to use an older version, and people have a reason too, I would personally not delete it. However it really is up to the ma

Re: Wine Weekly News

2007-12-10 Thread Zac Brown
Zachary Goldberg wrote: > I thought about it, but wasn't sure of the usefulness of such a > number. If consensus is that it would be worth having, i'll add it > for WWN 335. > > On Dec 10, 2007 3:57 PM, Jonathan Ernst <[EMAIL PROTECTED]> wrote: >> Hello, >> >> First, thank you for your work on th

Re: Bugzilla rights

2007-12-10 Thread Snub_Fighter
James McKenzie-2 wrote: > > Vitaliy Margolen wrote: >> Jan Zerebecki wrote: >> >>> On Tue, Nov 06, 2007 at 09:09:14PM +, L. Rahyen wrote: >>> On Tuesday November 6 2007 19:45, Vitaliy Margolen wrote: > Bugzilla admin, please disallow people to add/remove e-mail

deleting AppDB deleted

2007-12-10 Thread Richard S
Hi Im one of the maintainers of the iTunes 6.x (was) On Saturday I received this email ' Subject:[AppDB] Version '6.x' of 'iTunes' deleted Date: Sat, 08 Dec 2007 12:15:45 -0600 (18:15 GMT) Version '6.x' of 'iTunes' deleted --- The ac

Re: Wine Weekly News

2007-12-10 Thread Zachary Goldberg
I thought about it, but wasn't sure of the usefulness of such a number. If consensus is that it would be worth having, i'll add it for WWN 335. On Dec 10, 2007 3:57 PM, Jonathan Ernst <[EMAIL PROTECTED]> wrote: > Hello, > > First, thank you for your work on the WWN ! > > About the new "AppDB Appl

Re: Wine Weekly News

2007-12-10 Thread Jonathan Ernst
Hello, First, thank you for your work on the WWN ! About the new "AppDB Application Status Changes", I see that you have a "change" column. What do you think about adding the sum of this column somewhere so we can see how/if Wine is improving between releases regarding application compatibility (

Re: ENTER_GL and ActivateContext question

2007-12-10 Thread Alexander Dorofeyev
Ok, thank you and Roderick for useful info. I figure that my previous patch wasn't ideal, unfortunately it introduced one more of such recursive ENTERGL / ActivateContext situations. I'll try to improve that and send another patch. Regarding moving code around - I wish I was so competent in Direct

COM

2007-12-10 Thread Adelle Hartley
Hi all, I have some COM DLLs which work fine with VB6 applications on wine. Is it possible to instantiate a windowsy COM object from a linuxy application written in some form of C++ (eg, for compilation with gcc)? Adelle.

Re: File a bug report?

2007-12-10 Thread Vijay Kiran Kamuju
On Dec 7, 2007 8:41 AM, Gilles May <[EMAIL PROTECTED]> wrote: > Hi everybody. > > After updating WINE to from 0.9.49 to 0.9.50 I noticed major slowdown in > Company of Heroes, to the point that I get like 1 Frame every 2 seconds. > Wine spams the console with: > > fixme:d3d_shader:IWineD3DVertexSha

Re: hlsl2glsl

2007-12-10 Thread Stefan Dösinger
Am Montag, 10. Dezember 2007 14:23:46 schrieb [EMAIL PROTECTED]: > Ok. I get that the program realeased by a private vendor is not good. > Nevertheless, what about the philosophy? What about: > 1. The implementation shaders of DirectX 10 making the card compile GLSL > code generate by transforming

Re: winex11drv: Treat CapsLock and NumLock keys as normal keys. They should toggle on button down.

2007-12-10 Thread Alexandre Julliard
Vitaliy Margolen <[EMAIL PROTECTED]> writes: > On winxp both keys toggle on button down not button up. So no need for any > extra treatment. > Fixes bug 10446. You still have to handle the case when the state has been toggled outside of Wine, you can't just get rid of the whole thing. -- Alexa

Re: Read Application Memory

2007-12-10 Thread Kuba Ober
On Sunday 09 December 2007, Kai Lauterbach wrote: > Hi, > > at the moment I'm writing a little Linux based program to read some > variables from a Windows application. But my problem is, that i can't > access to the virtual memory of the Win App running under wine. I don't > know how to do this. c/

Re: hlsl2glsl

2007-12-10 Thread luis . busquets
Ok. I get that the program realeased by a private vendor is not good. Nevertheless, what about the philosophy? What about: 1. The implementation shaders of DirectX 10 making the card compile GLSL code generate by transforming the HLSL code. 2. The Implementation for D3DX9 of the "possibility" to st

Re: [PATCH 1/3] qmgr: Added DllGetClassObject and DllCanUnloadNow.

2007-12-10 Thread Alexandre Julliard
Roy Shea <[EMAIL PROTECTED]> writes: > Revision 2. Made dll_ref static for now. > --- > dlls/qmgr/qmgr.spec |2 ++ > dlls/qmgr/qmgr_main.c | 16 > 2 files changed, 18 insertions(+), 0 deletions(-) > > diff --git a/dlls/qmgr/qmgr.spec b/dlls/qmgr/qmgr.spec > index 1a63b32

Re: user32: Test the initial state of the cursor.

2007-12-10 Thread Alexandre Julliard
"Andrew Riedi" <[EMAIL PROTECTED]> writes: > +static void test_initial_cursor(void) > +{ > +HCURSOR cursor, cursor2; > +DWORD error; > + > +cursor = GetCursor(); > + > +/* Check what handle GetCursor() returns if a cursor is not set yet. */ > +SetLastError(0xdeadbeef); > +c

Re: sfnt2fnt: Use code from gdi32/freetype to do a better job findingthe TTAG_EBLC to deal with older version of freetype without having tofall back on unreliable hacks

2007-12-10 Thread Dmitry Timoshkov
"Aric Stewart" <[EMAIL PROTECTED]> wrote: > +/* If the FT_Load_Sfnt_Table function is there we'll use it */ > +#ifdef HAVE_FT_LOAD_SFNT_TABLE > +err = FT_Load_Sfnt_Table(ft_face, table, offset, buf, len); > +#endif > +#ifdef HAVE_FREETYPE_INTERNAL_SFNT_H Probably using #elif instead of #e

Re: directX 10 and hlsl2glsl

2007-12-10 Thread Stefan Dösinger
Am Samstag, 8. Dezember 2007 20:42:05 schrieb Sònia Xapellí Brú: > I know there was some discussion concerning the use of hlsl2glsl and > that it is not directly useful as it seems that the conversion to > assembler is necessary in d3d9. Nevertheless, when it comes to > d3d10,Shader Model 4 relies

Re: hlsl2glsl

2007-12-10 Thread Roderick Colenbrander
> hlsl2glsl is the good solution for implementing shaders on directX 10. > Nevertheless, the hlsl compilation to tokens has to be done for d3d9. On > the other hand, if we implement d3dx9_xx, it is likely that the > application will be using the compile D3DX9CompileShader to get the > tokens. Curre

Re: hlsl2glsl

2007-12-10 Thread H. Verbeet
On 10/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > What do you all think and in particular David? > In the first place, I think this is all irrelevant without having an actual d3d10 implementation. Second, you'll need a proper implementation of the SM 4.0 implementation either way, beca

Re: ENTER_GL and ActivateContext question

2007-12-10 Thread Roderick Colenbrander
> Hello. > > I was recently experimenting with a fix that involved ActivateContext and > needed > to figure out whether it is ok if ActivateContext is called inside > ENTER_GL()... LEAVE_GL() (also if recursive ENTER_GL is ok). At first I > tried to > look for example code in wined3d/surface.

Re: wined3d: improve thread safety in IWineD3DSurfaceImpl_BltOverride

2007-12-10 Thread Roderick Colenbrander
Hi, The patch itself could be correct in the sense that indeed there might be a missing ActivateContext. But we should avoid making recursive ENTER_GL's. Between the ENTER_GL block there is a call to IWineD3DDevice_Clear which also calls ENTER_GL. You could put a LEAVE_GL before it and an ENTE

hlsl2glsl

2007-12-10 Thread luis . busquets
hlsl2glsl is the good solution for implementing shaders on directX 10. Nevertheless, the hlsl compilation to tokens has to be done for d3d9. On the other hand, if we implement d3dx9_xx, it is likely that the application will be using the compile D3DX9CompileShader to get the tokens. Currently it wo