Re: Bug #6439: requesting explanation of GDI_CheckNotLock in order to fix

2006-10-18 Thread Vitaliy Margolen
Alex Villací­s Lasso wrote: > I would like to draw attention to bug #6439 Why that bug in particular? Can we pick any other? You seems to really like to copy list of all of your bugs. Hell that's turn this list into another Bugzilla! You know, I wanted to look at this bug when I get home. And now

Re: [Korean] Use the SUBLANG_NEUTRAL in Korean resources.

2006-10-18 Thread Mikołaj Zalewski
It should make no differance for Korean is you use SUBLANG_NEUTRAL or SUBLANG_DEFAULT as there is only one sublang. SUBLANG_NEUTRAL is a fallback that is used if no translation is available in the user's selected sublang. In can be used for locales that have many sublangs (e.g. French have Fre

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Robert Shearman
Francois Gouget wrote: On Wed, 18 Oct 2006, Alexandre Julliard wrote: Francois Gouget <[EMAIL PROTECTED]> writes: 2) Or modify these sections so they read: #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) # include # include #endif I think we want th

Re: [Korean] Use the SUBLANG_NEUTRAL in Korean resources.

2006-10-18 Thread Byeong-Sik Jeon
2006-10-19 (Wed), 07:39 +0900, Byeong-Sik Jeon wrote: > At [use SUBLANG_NEUTRAL in French resources], > 2006-10-18 (Wed), 20:47 +0200, Jonathan Ernst wrote: > > Thanks to Mikolaj Zalewski for spotting it. > > > It's great. > It's important. > This patch solves the some font problem for korean wine

[wined3d] GetFrontBufferData

2006-10-18 Thread Karsten Elfenbein
This patch depends on the BltOverride change. It allows the apps to grab the FrontBufferData. (for screen captures) Todo: - implement a windowed mode switch Karsten getfrontbufferblt.diff Description: Binary data

[wined3d] fix for BltOverride

2006-10-18 Thread Karsten Elfenbein
This change for the non scaled BltOverride should allow correct usage of src and dest rect. So the content ends up where it is supposed to be. It is needed for a correct Frontbuffer capture while running in a window. (next mail) bltfix.diff Description: Binary data

use wine as screensaver for x

2006-10-18 Thread Detlef Riekenberg
Hi. While waiting for the commit of my localspl-Patches, i want to picked up an fun project: Has anyone an Idea, how to modify "user32.dll" and "winex11.drv" to open a Window, when I already have the X11 Window-ID (example: XSCREENSAVER_WINDOW=0x280020)? My Idea is to include the wrapper code

Bug #6439: requesting explanation of GDI_CheckNotLock in order to fix

2006-10-18 Thread Alex Villací­s Lasso
I would like to draw attention to bug #6439 (http://bugs.winehq.org/show_bug.cgi?id=6439) in which Enterprise Architect 6.5 (trial version at http://www.sparxsystems.com.au/bin/easetup.exe) crashes with a debug assertion on _CheckNotSysLevel, as detailed in the bug report. From the winedbg tra

Re: wineconsole[4/6]: allow making selections with a mouse also when not in the QuickEdit mode

2006-10-18 Thread Mikołaj Zalewski
but your code doesn't release the selection on button up, which is rather strange when you do only mouse selection A+ I've checked it and currently the whole section is dead code as on WM_LBUTTONUP the (wParam&MK_LBUTTON) is always false. However if I remove this condition I think my code

Re: wineconsole[4/6]: allow making selections with a mouse also when not in the QuickEdit mode

2006-10-18 Thread Eric Pouech
Mikołaj Zalewski wrote: case WM_LBUTTONUP: -if (data->curcfg.quick_edit) +if (data->curcfg.quick_edit || PRIVATE(data)->has_selection) { if (GetCapture() == PRIVATE(data)->hWnd && PRIVATE(data)->has_selection && (wParam& MK_LBUTTON))

Re: wineconsole[3/6]: remove spaces from the ends of lines while copying to the clipboard

2006-10-18 Thread Eric Pouech
Mikołaj Zalewski wrote: did you check that this behavior is done for every mode of the console ? A+ What do you mean by every mode? Mikolaj Zalewski consoles have several modes (set SetConsoleMode()), which may interfer with this behavior and btw, a test case for windows behavior woul

Re: wineconsole[3/6]: remove spaces from the ends of lines while copying to the clipboard

2006-10-18 Thread Mikołaj Zalewski
did you check that this behavior is done for every mode of the console ? A+ What do you mean by every mode? Mikolaj Zalewski

Re: wineconsole[5/6]: when selection with the mouse, any key except for Enter should cancel the selection

2006-10-18 Thread Mikołaj Zalewski
as a principle, why do oppose keyboard selection to mouse selection looks to me you could in principle do both... so any key except return, arrow keys should end the selection and you woun't need the extraneous mouse_selection I wanted to make it in the same way as on Windows. But I think it

Re: wineconsole[4/6]: allow making selections with a mouse also when not in the QuickEdit mode

2006-10-18 Thread Mikołaj Zalewski
case WM_LBUTTONUP: -if (data->curcfg.quick_edit) +if (data->curcfg.quick_edit || PRIVATE(data)->has_selection) { if (GetCapture() == PRIVATE(data)->hWnd && PRIVATE(data)->has_selection && (wParam& MK_LBUTTON)) {

Re: wineconsole[5/6]: when selection with the mouse, any key except for Enter should cancel the selection

2006-10-18 Thread Eric Pouech
Mikołaj Zalewski wrote: diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index c4250e5..19a1625 100644 --- a/programs/wineconsole/user.c +++ b/programs/wineconsole/user.c @@ -705,6 +705,12 @@ static

Re: wineconsole[4/6]: allow making selections with a mouse also when not in the QuickEdit mode

2006-10-18 Thread Eric Pouech
Mikołaj Zalewski wrote: The user may start the selection from the popup menu. The mouse should work then diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index 557ccfc..c4250e5 100644 --- a/programs

Re: wineconsole[3/6]: remove spaces from the ends of lines while copying to the clipboard

2006-10-18 Thread Eric Pouech
Mikołaj Zalewski wrote: This is very practical and matches the Windows behaviour diff --git a/programs/wineconsole/user.c b/programs/wineconsole/user.c index e1efda2..557ccfc 100644 --- a/programs/wineconsole/user.c +++ b

Re: fix for the winemp3 module

2006-10-18 Thread Eric Pouech
Mike McCormack wrote: Deun wrote: Changelog by Denis Huguet ([EMAIL PROTECTED]) * 2006/10/17 : Major diff between winemp3's layer3.c file and the one from MPlayer-1.0pre7try2/mp3lib/layer3.c for fixing decoding glitches found out when opening mp3 file with GoldWave 4.21 with wine-0.9.22 (sa

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Francois Gouget
On Wed, 18 Oct 2006, Alexandre Julliard wrote: > Francois Gouget <[EMAIL PROTECTED]> writes: > > > 2) Or modify these sections so they read: > > > > #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) > > # include > > # include > > #endif > > I think we want that, otherwi

Re: compiling wine for amd64 on ubuntu dapper 6.06

2006-10-18 Thread Gerald Britton
Just tried to compile wine .23 on dapper 6.06 on AMD 64-bit. Make all terminated with these messages. What does this error mean and how can I get past it? gcc -m32 -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_KERNEL32_ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -gstabs+

Re: user [2/2]: add GetRawInputDeviceList stub (try 3)

2006-10-18 Thread L. Rahyen
> A small Test will help to make a real Implementation. I already thought about doing full implementation but because this function (its full implementation) isn't very useful in most cases (but maybe I'm wrong?) I probably will spend my free time doing other work in near future... I

Re: user [2/2]: add GetRawInputDeviceList stub (try 3)

2006-10-18 Thread Detlef Riekenberg
On Mi, 2006-10-18 at 10:35 +, L. Rahyen wrote: > + > +UINT WINAPI GetRawInputDeviceList(PRAWINPUTDEVICELIST > pRawInputDeviceList, PUINT puiNumDevices, UINT cbSize) > +{ > +memset(pRawInputDeviceList, 0, sizeof *pRawInputDeviceList); > +*puiNumDevices = 0; > +FIXME("stub\n"); > +

Re: d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread Stefan Dösinger
Hi, > Well yes, but you don't know if those access the field directly or > call GetRenderTarget / GetDepthStencil internally. Good point > Btw, this construction looks very similar to what happens when you > call GetVertexDeclaration after having set an FVF with SetFVF. Yup pgprcQbBEFlEt.pgp Des

Re: d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread H. Verbeet
On 18/10/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: Yes, but some methods in WineD3D need the back buffer and the front buffer implementation pointer, like Present or LockRect/UnlockRect Well yes, but you don't know if those access the field directly or call GetRenderTarget / GetDepthStenci

Re: d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread Stefan Dösinger
> > We have an > > IDirect3DDevice?_AddRef call in CreateSurface / CreateTexture... Native > > seems to have this AddRef call in IDirect3DResource_AddRef: > > > > if(oldref == 0) IDirect3DDevice8_AddRef(This->myDevice); > > > > I guess this is the first thing we have to change. > > Not sure how you

Re: Mouse woes and luck of interest

2006-10-18 Thread Vitaliy Margolen
Scott Ritchie wrote: > On Wed, 2006-10-18 at 00:34 -0700, Scott Ritchie wrote: >> On Sat, 2006-10-14 at 23:27 -0600, Vitaliy Margolen wrote: >>> As you know Wine has number of problems with it's mouse handling. Just >>> enough to look at the bugzilla to see how many programs affected. After >>> spe

Re: oleidl.idl must include windows.h and ole2.h if COM_NO_WINDOWS_H is not defined.

2006-10-18 Thread Alexandre Julliard
Francois Gouget <[EMAIL PROTECTED]> writes: > 2) Or modify these sections so they read: > > #if !defined(COM_NO_WINDOWS_H) && !defined(__WINESRC__) > # include > # include > #endif I think we want that, otherwise we'll end up having to add COM_NO_WINDOWS_H to pretty much every

Re: d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread H. Verbeet
On 18/10/06, Stefan Dösinger <[EMAIL PROTECTED]> wrote: We have an IDirect3DDevice?_AddRef call in CreateSurface / CreateTexture... Native seems to have this AddRef call in IDirect3DResource_AddRef: if(oldref == 0) IDirect3DDevice8_AddRef(This->myDevice); I guess this is the first thing we have

Re: d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread Stefan Dösinger
Am Mittwoch 18 Oktober 2006 10:18 schrieb Markus Amsler: > I'm trying to solve bug 5872 http://bugs.winehq.org/show_bug.cgi?id=5872 > BF1942 calls GetDepthStencilSurface/IUnknown_Release and checks the > refcount to be 0, but wine returns 1. (test hack attached) > > I have done some testing: The fi

QT 4.x + MinGW under wine

2006-10-18 Thread Hans Petter Selasky
Hi, I tried to install QT 4.2 from www.trolltech.com and MinGW. The installation went fine, but it looks like wine needs a little bit more work. %wine qtdemo.exe fixme:wintab32:WTInfoW (0, 0, 0x0): stub err:x11drv:X11DRV_CreateBitmap Trying to make bitmap with planes=1, bpp=32 fixme:system:Syste

Re: [wined3d] windowed mode software cursor position (try 2)

2006-10-18 Thread Stefan Dösinger
Am Dienstag 17 Oktober 2006 23:04 schrieb Karsten Elfenbein: > * correct the software cursor position if the app is running in windowed > mode as the cursor coordinates are absolute while the backbuffer is > aligned with the app window Your patch adds indentions with tabulators, while the other cod

d3d8: GetDepthStencilSurface/GetRenderTarget refcount issue

2006-10-18 Thread Markus Amsler
I'm trying to solve bug 5872 http://bugs.winehq.org/show_bug.cgi?id=5872 BF1942 calls GetDepthStencilSurface/IUnknown_Release and checks the refcount to be 0, but wine returns 1. (test hack attached) I have done some testing: The first call to GetDepthStencilSurface increases the refcount of t

Re: direct access to IO space [Was: kernel level drivers - next try]

2006-10-18 Thread Uwe Bonnes
> "James" == James Courtier-Dutton <[EMAIL PROTECTED]> writes: James> This feature is being ask for by people who don't understand what James> most hardware requires from a "driver". 1) IO ports or memory James> mapped IO. 2) DMA handler 3) IRQ handler James> Getting IO por

Re: Mouse woes and luck of interest

2006-10-18 Thread Scott Ritchie
On Wed, 2006-10-18 at 00:34 -0700, Scott Ritchie wrote: > On Sat, 2006-10-14 at 23:27 -0600, Vitaliy Margolen wrote: > > As you know Wine has number of problems with it's mouse handling. Just > > enough to look at the bugzilla to see how many programs affected. After > > spending several weeks tryi

Re: Mouse woes and luck of interest

2006-10-18 Thread Scott Ritchie
On Sat, 2006-10-14 at 23:27 -0600, Vitaliy Margolen wrote: > As you know Wine has number of problems with it's mouse handling. Just > enough to look at the bugzilla to see how many programs affected. After > spending several weeks trying to find and fix this problems I in the > dead-end now. Just