Re: WineD3D State management - going live(TM)

2006-10-23 Thread Stefan Dösinger
Am Montag 23 Oktober 2006 00:57 schrieben Sie: What does addDirtyState() do when called multiple times with the same representative? There is a stateblock-changed.somestate field in the stateblock, which is a boolean right now. This can be made a pointer to the list element, and set to the

Re: WineD3D State management - going live(TM)

2006-10-23 Thread Ivan Gyurdiev
Stefan Dösinger wrote: Am Montag 23 Oktober 2006 00:57 schrieben Sie: What does addDirtyState() do when called multiple times with the same representative? There is a stateblock-changed.somestate field in the stateblock, which is a boolean right now. This can be made a pointer to the

Re: When to use SUBLANG_NEUTRAL

2006-10-23 Thread Frank Richter
On 23.10.2006 02:50, Kai Blin wrote: On Saturday 21 October 2006 01:18, Mikołaj Zalewski wrote: As I wrote I've found that there is a mess in wine with the usage of SUBLANG_NEUTRAL and SUBLANG_DEFAULT. I tried to understand when to use which and wrote a wiki page about it:

Re: WineD3D State management - going live(TM)

2006-10-23 Thread H. Verbeet
On 23/10/06, Stefan Dösinger [EMAIL PROTECTED] wrote: How would I mark vertex shader constant #3653 dirty, and apply it using your mechanism ? Uhh, shader constants, must have forgotten them :-( . Well, Henri and I silently agreed to leave them as they are right now. I think they have a

Re: WineD3D State management - going live(TM)

2006-10-23 Thread H. Verbeet
On 23/10/06, Ivan Gyurdiev [EMAIL PROTECTED] wrote: Uhh, shader constants, must have forgotten them :-( . Well, Henri and I silently agreed to leave them as they are right now. I don't like how the number of things staying as they are right now is growing, while the number of things being

Re: Half-Life 2 Episode 1

2006-10-23 Thread H. Verbeet
On 22/10/06, Jaap Stolk [EMAIL PROTECTED] wrote: On 10/20/06, Michael Mohr [EMAIL PROTECTED] wrote: Hello wine-hackers, I'd like to offer to purchase Episode 1 for any wine developer who is willing to work on fixing the graphical artifacts. I'll make the same offer for Episode 2 when it

Re: WineD3D State management - going live(TM)

2006-10-23 Thread Stefan Dösinger
Am Montag 23 Oktober 2006 08:43 schrieben Sie: Stefan Dösinger wrote: Am Montag 23 Oktober 2006 00:57 schrieben Sie: What does addDirtyState() do when called multiple times with the same representative? There is a stateblock-changed.somestate field in the stateblock, which is a

Re: gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation (try 1)

2006-10-23 Thread Huw Davies
On Fri, Oct 20, 2006 at 05:49:09PM -0500, Alex Villací­s Lasso wrote: This is the first attempt at a patch that will fix the debug assertion when icons are rendered into metafiles (triggered by Enterprise Architect 6.5, and possibly others). This patch simply removes mentions of memdc,

Re: WineD3D State management - going live(TM)

2006-10-23 Thread Stefan Dösinger
Hi, One issue with shader constants is that in GLSL you set uniforms per program object, and it keeps the values last set, also when changing the currently used program. That means that in certain cases we might be setting constants to the same values as they were the last time we used the

Re: Hey what about the GL View ports problem.

2006-10-23 Thread Tom Wickline
On 10/22/06, Stefan Dösinger [EMAIL PROTECTED] wrote: (Sorry, I don't have the archive link handy) That would be : http://www.winehq.org/pipermail/wine-patches/2006-October/031336.html and also a good reference : http://wiki.winehq.org/OpenGL Tom

Re: WineD3D State management - going live(TM)

2006-10-23 Thread Ivan Gyurdiev
I don't like how the number of things staying as they are right now is growing, while the number of things being changed remains confined to render states. To have a proof-of-concept state management system, it would be best to take things that are as different as possible, and manage to get

Re: winedump: Remove dead code (Coverity) (resend)

2006-10-23 Thread Alexandre Julliard
Andrew Talbot [EMAIL PROTECTED] writes: What is wrong with this patch (for CID-41), please? It's causing a warning because the enum value is not used in the switch. -- Alexandre Julliard [EMAIL PROTECTED]

Re: Question: Convert source tarball to GIT repository

2006-10-23 Thread Mike McCormack
Matthew Kehrer wrote: So what commands are needed to just update it? I understand how to set it up from what you have said. So, assuming you created a Git tree from Wine tarball as follows: tar jxvf wine-0.9.23.tar.bz2 | sed s/^wine-0.9.23\\/// list cd wine-0.9.23 git init-db git

Re: WineD3D State management - going live(TM)

2006-10-23 Thread Stefan Dösinger
Because that creates confusion and disorder - the idea is to move from chaos (gl code in drawprim, shaders, device.c) to order (gl code in one place, following a uniform pattern, with the ability to do locking and/or switch the gl backend). Well, there is not much difference between samplers,

Re: When to use SUBLANG_NEUTRAL

2006-10-23 Thread Mikołaj Zalewski
Actually there's now some differences for the German and Austrian sublang spellings of some words. I'm not sure how windows handles the new spelling rules used in Germany now, though. I admit I don't know how large are the differances between German and Austrian spelling but as Frank

Re: When to use SUBLANG_NEUTRAL

2006-10-23 Thread Christoph Frick
On Mon, Oct 23, 2006 at 02:28:01PM +0200, Miko??aj Zalewski wrote: IMO the question is what would an Austrian user (who have chosen German as his preferred language) want to see if there is no such translation: the German spelling or English? I don't know the answer but I'd expect that if

Starting a Linux application from a Windows application

2006-10-23 Thread Helmar Spangenberg
Hello list, we have a Windows application App1 which starts another application App2 using CreateProcessA, then doing some different work, and finally waiting for App2 to finish using WaitForSingleObject. It is important for App1 to catch the exit code of App2 as well as App2's messages on

Re: Question: Convert source tarball to GIT repository

2006-10-23 Thread Andrey Turkin
Mike McCormack wrote, on 10/24/06 00:01 MSK: Matthew Kehrer wrote: So what commands are needed to just update it? I understand how to set it up from what you have said. So, assuming you created a Git tree from Wine tarball as follows: tar jxvf wine-0.9.23.tar.bz2 | sed

Re: Update RelayExclude and add RelayFromExclude filter in order to avoid not useful APIs in the traces

2006-10-23 Thread Francois Gouget
On Thu, 19 Oct 2006, Vitaliy Margolen wrote: [...] Yes sorry you are correct. For some reason I thought it removed all relay traces from those dlls. But it removes only traces from internal calls to those dlls. Actually your first impression was right. RelayFromExclude filters out relay

Execution Trace of Application in Wine

2006-10-23 Thread Sujata Doshi
Hi I am trying to dynamically monitor an application in Wine. Specifically I would like to know if there is some sort of 'ptrace' like API which will allow me to attach to a windows executable single step through the program and obtain the contents of the registers and the instruction pointer as

(no subject)

2006-10-23 Thread wine-devel-bounces

Re: When to use SUBLANG_NEUTRAL

2006-10-23 Thread Mikołaj Zalewski
Christoph Frick wrote: He or she wants de; anything else would be like: ``there is no en_UK? then lets use mongolian!``. So it looks like SUBLANG_NEUTRAL is the best choice. I could make a patch to modify all the sublang code in German files to SUBLANG_NEUTRAL. Mikolaj Zalewski

Re: Hey what about the GL View ports problem.

2006-10-23 Thread Mark Hatsell
Just wondered if the mentioned Patch is also supposed to fix D3D in a window? I have tried applying the Patch but it doesn't seem to make any difference to D3D9 apps as far as I can tell. D3D seems to take up the entire top-level window and also the scene is rendered lower than it should be.

Re: wine-devel Digest, Vol 15, Issue 78

2006-10-23 Thread Michael Ost
Michael Ost wrote: Message: 7 Date: Mon, 23 Oct 2006 14:51:34 +0200 From: Helmar Spangenberg [EMAIL PROTECTED] Subject: Starting a Linux application from a Windows application To: wine-devel@winehq.org Cc: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain;

Re: stuck ctrl/alt keys

2006-10-23 Thread Tomas Carnecky
Tomas Carnecky wrote: So.. now that the cause is known, what would be the right solution? Do you still think it's the WMs fault? Or should wine be changed? The patch in the attachment removes update_key_state() from mouse.c - the decision whether this is the right approach or not is left to

Re: Hey what about the GL View ports problem.

2006-10-23 Thread Stefan Dösinger
Am Montag 23 Oktober 2006 19:13 schrieb Mark Hatsell: Just wondered if the mentioned Patch is also supposed to fix D3D in a window? I have tried applying the Patch but it doesn't seem to make any difference to D3D9 apps as far as I can tell. D3D seems to take up the entire top-level window and

Re: Hey what about the GL View ports problem.

2006-10-23 Thread H. Verbeet
On 23/10/06, Mark Hatsell [EMAIL PROTECTED] wrote: Just wondered if the mentioned Patch is also supposed to fix D3D in a window? No, at the moment that's opengl32 only.

Run-time error 445

2006-10-23 Thread David Anderson
An app (apparently Visual Basic) fails with Run-time error '445' Object doesn't support this action in a message box. I click OK (the only choice) and the app dies. A winedbg breakpoint on MessageBoxA does not trigger.On one occasion I got a breakpoint to work and a traceback and the

Re: Execution Trace of Application in Wine

2006-10-23 Thread Mike Hearn
On Mon, 23 Oct 2006 11:59:57 -0400, Sujata Doshi wrote: I know I could manually single step via winedbg but I would like to automate this process. WineDbg just uses the debugger APIs like any other app. So you could write your own program that uses the debugger APIs to do this. thanks -mike

Re: Run-time error 445

2006-10-23 Thread Mike Hearn
I usually do a +msgbox,+ole,+olerelay trace to get a basic idea of what's going on here, moving up to +relay if necessary. If it's Visual Basic stuff most likely you can see what's going on by monitoring OLE Automation. Good luck! -mike

Re: use wine as screensaver for x

2006-10-23 Thread Mike Hearn
Yep, I've done this before but it was an evil, awful hack and I don't have the patch anymore (probably just as well) :) The way I did it was just to redirect the first created window, but again, it was hacky. Hopefully you can find a better way. On Thu, 19 Oct 2006 00:04:39 +0200, Detlef

Re: Update RelayExclude and add RelayFromExclude filter in order to avoid not useful APIs in the traces

2006-10-23 Thread Mike Hearn
On Thu, 19 Oct 2006 06:28:28 -0600, Vitaliy Margolen wrote: Please don't. Kernel32 is the source of all core functionality. As well as winex11drv, user32 and gdi32. No this will generate more broken bug reports. Kernel mainly calls into ntdll these days so you see a lot of wrapper API calls

Re: Run-time error 445

2006-10-23 Thread Eric Pouech
David Anderson wrote: An app (apparently Visual Basic) fails with Run-time error '445' Object doesn't support this action in a message box. I click OK (the only choice) and the app dies. A winedbg breakpoint on MessageBoxA does not trigger.On one occasion I got a breakpoint to work and

Re: Starting a Linux application from a Windows application

2006-10-23 Thread Eric Pouech
Helmar Spangenberg wrote: Hello list, we have a Windows application App1 which starts another application App2 using CreateProcessA, then doing some different work, and finally waiting for App2 to finish using WaitForSingleObject. It is important for App1 to catch the exit code of App2 as

Re: When to use SUBLANG_NEUTRAL

2006-10-23 Thread Kai Blin
On Monday 23 October 2006 14:28, Mikołaj Zalewski wrote: Actually there's now some differences for the German and Austrian sublang spellings of some words. I'm not sure how windows handles the new spelling rules used in Germany now, though. I admit I don't know how large are the differances

Re: gdi32: Remove call to CreateCompatibleDC() from GetDIBits() implementation (try 1)

2006-10-23 Thread Alex Villací­s Lasso
Huw Davies escribió: On Fri, Oct 20, 2006 at 05:49:09PM -0500, Alex Villací­s Lasso wrote: This is the first attempt at a patch that will fix the debug assertion when icons are rendered into metafiles (triggered by Enterprise Architect 6.5, and possibly others). This patch simply removes

Re: [PATCH 5/5][resent] Implement MsgWaitForMultipleObjectsEx and initial Carbon event handling.

2006-10-23 Thread Mike McCormack
Pierre d'Herbemont wrote: dlls/winequartz.drv/Makefile.in |4 +- dlls/winequartz.drv/event.c | 74 +++ dlls/winequartz.drv/quartzdrv.h |5 ++ dlls/winequartz.drv/quartzdrv_carbon.c | 46 +++

Re: Run-time error 445

2006-10-23 Thread Mike McCormack
David Anderson wrote: An app (apparently Visual Basic) fails with Run-time error '445' Object doesn't support this action Please report your bug to bugs.winehq.org, not wine-devel. You'll have better luck getting help if your application is available for download. Mike

riched20: Add leak detection code.

2006-10-23 Thread Mike McCormack
--- Hi, This code is mainly for debugging. I don't expect it to be applied, but don't object if it is. It exposes a number of memory leaks in richedit. For example, running the richedit regression test shows leaks at: line 248 file editor.c line 1120 file editor.c line 2230 file