Re: Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Vitaliy Margolen
Austin English wrote: > On Mon, Apr 14, 2008 at 7:34 AM, Chris Robinson <[EMAIL PROTECTED]> wrote: >> IIRC, the problem is you can't have two Wine processes using two different >> desktops. Try this: start an app without virtual desktop and leave it >> running, run winecfg and turn on virtual de

Re: dinput: Implement DIPROP_KEYNAME property for keyboard device

2008-04-14 Thread Vitaliy Margolen
Sergey Khodych wrote: >>> ... >>> +hr = SysKeyboardWImpl_GetObjectInfo( >>> (LPDIRECTINPUTDEVICE8W)iface , &didoi, >>> + ps->diph.dwObj, >>> ps->diph.dwHow ); >> You mixing unicode and ascii. Also if you are implementing >> SysK

Re: dinput: Convert keyboard buffer from internal data format to user data format

2008-04-14 Thread Vitaliy Margolen
Sergey Khodych wrote: >> Any particular reason for this? Do you have a program that sets different >> data format? The reason I ask - copying 256 bytes is much faster then >> iterating over the whole data format and copying one byte at a time. >> > A possibility of using custom data format, for a

Re: WineD3D: WineD3D: Use the shader backend to enable / disable atifs and nvts

2008-04-14 Thread Ivan Gyurdiev
> What are your opinions? I can't comment on the specifics of the state table design - would have to leave that to Henri. However, anything that increases modularity is a good thing. I'm in favor of the overall direction to break up the pipeline into component stages. Smaller components are mo

Re: Apparently it is possible to have chm file without #STRINGS in it, so we should not stop processing file at it. Fixes bug #12498

2008-04-14 Thread Juan Lang
Hi Tomasz, -info->WinType.pszToc = strdupW(info->pCHMInfo->defToc); +info->WinType.pszToc = strdupW(info->pCHMInfo->defToc ? info->pCHMInfo->defToc : null); Please don't use null, it's not portable. Also, what has this change accomplished? If strdupW succeeds when passed NULL, t

Re: error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Kusanagi Kouichi
On Mon, Apr 14, 2008 at 11:11:46PM +0200, Alexandre Julliard wrote: > Kusanagi Kouichi <[EMAIL PROTECTED]> writes: > > > On Mon, Apr 14, 2008 at 06:36:44PM +0100, Robert Shearman wrote: > >> > >> I think a configure check may be a more appropriate fix. > >> > > > > I don't know proper way to che

Re: error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Alexandre Julliard
Kusanagi Kouichi <[EMAIL PROTECTED]> writes: > On Mon, Apr 14, 2008 at 06:36:44PM +0100, Robert Shearman wrote: >> >> I think a configure check may be a more appropriate fix. >> > > I don't know proper way to check whether XICCallback is defined. > But this seems to work. Is it just the type th

Re: winex11: Standardize a stub trace and add a trailing '\n'.

2008-04-14 Thread Stefan Leichter
Am Monday 14 April 2008 01:01 schrieb Francois Gouget: > --- > +FIXME("(%p, %x): stub\n"); You forgot the parameters hIMC and fFlag Bye Stefan

Re: ws2_32: Work around the host name resolving to 127.x.x.x when using that for binding.

2008-04-14 Thread Kai Blin
On Monday 14 April 2008 18:42:26 Paul Chitescu wrote: > Binding to a specific address is the only easy way of detecting which > interface an UDP packet was received on since recvfrom() only gives source > address, not destination. Listening on 0.0.0.0 would make impossible to > tell which interfac

Re: error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Kusanagi Kouichi
On Mon, Apr 14, 2008 at 06:36:44PM +0100, Robert Shearman wrote: > > I think a configure check may be a more appropriate fix. > I don't know proper way to check whether XICCallback is defined. But this seems to work. diff --git a/configure b/configure index b66a40a..01fdf19 100755 --- a/configu

Re: [PATCH 1/6] includes: update aviriff header file

2008-04-14 Thread Alexandre Julliard
"Maarten Lankhorst" <[EMAIL PROTECTED]> writes: > @@ -161,4 +186,135 @@ typedef struct _avimetaindex > DWORD adwIndex[0]; > } AVIMETAINDEX; > > -/* FIXME: index structures missing */ > +#define ckidAVISUPERINDEX FCC('i','n','d','x') > +typedef struct _avisuperindex { > +FOURCC fcc; > +

re: gdiplus: (try2) GdipCloneStringFormat

2008-04-14 Thread Juan Lang
Hi Nikolay, +GpStatus WINGDIPAPI GdipCloneStrinFormat(GDIPCONST Typo: s/StrinFormat/StringFormat/ --Juan

Re: Including Mono within a Wine package - should Wine expect this?

2008-04-14 Thread Hin-Tak Leung
--- On Sun, 13/4/08, Dan Kegel <[EMAIL PROTECTED]> wrote: > > > 2) porting Mono's WinForms on top of Wine > gdiplus > > > instead of Mono gdiplus (and making it more > win32-ish as > > > a result) > > > > Mono is using MS GDI+ on Windows since it uses GDI+. > Mono's libgdiplus is > > only used on

Re: dinput: Implement DIPROP_KEYNAME property for keyboard device

2008-04-14 Thread Sergey Khodych
> >> ... >> +hr = SysKeyboardWImpl_GetObjectInfo( >> (LPDIRECTINPUTDEVICE8W)iface , &didoi, >> + ps->diph.dwObj, >> ps->diph.dwHow ); > > You mixing unicode and ascii. Also if you are implementing > SysKeyboardAImpl_GetPropert

Re: dinput: Convert keyboard buffer from internal data format to user data format

2008-04-14 Thread Sergey Khodych
A possibility of using custom data format, for any type of devices, is described in DirectX SDK documentation. For example Monolith's F.E.A.R. use this method. > Any particular reason for this? Do you have a program that sets different > data format? The reason I ask - copying 256 bytes is much

Re: [1/2] shlwapi: Fixed the todo blocks in the SHCreateStreamOnFile tests. [try 2]

2008-04-14 Thread Alexandre Julliard
"Reece Dunn" <[EMAIL PROTECTED]> writes: > @@ -120,12 +119,12 @@ static HRESULT WINAPI IStream_fnRead(IStream *iface, > void* pv, ULONG cb, ULONG* >TRACE("(%p,%p,0x%08x,%p)\n", This, pv, cb, pcbRead); > >if (!pv) > -return STG_E_INVALIDPOINTER; > +return S_OK; It's very unlikel

Re: IWineD3DBaseTextureImpl_SetAutoGenFilterType missing break inside switch

2008-04-14 Thread Stefan Dösinger
Am Montag, 14. April 2008 17:16:25 schrieb Hoehle, Joerg-Cyril: > Hi, > > regardless of issue > http://bugs.winehq.org/show_bug.cgi?id=11167 > which suggests that the function is incorrect it its use of GL parameters, > so it needs fixing, you may wish to apply the following (minor) patch. > > dlls

Re: ws2_32: Work around the host name resolving to 127.x.x.x when using that for binding.

2008-04-14 Thread Kai Blin
On Monday 14 April 2008 18:30:40 Kirill K. Smirnov wrote: > Hi, > > nitpick: > > +/* Trying to bind to the default hots interface, Thanks for the catch, revised patch sent. Cheers, Kai -- Kai Blin WorldForge developer http://www.worldforge.org/ Wine developerhttp

Re: error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Robert Shearman
Kusanagi Kouichi wrote: > Does this patch fix the problem? > > -XICCallback destroy = {(XPointer)data, X11DRV_DestroyIC}; > +XIMCallback destroy = {(XPointer)data, (XIMProc)X11DRV_DestroyIC}; > I think a configure check may be a more appropriate fix. -- Rob Shearman

Re: error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Kusanagi Kouichi
Does this patch fix the problem? diff --git a/dlls/winex11.drv/xim.c b/dlls/winex11.drv/xim.c index d4df9f7..b66cf87 100644 --- a/dlls/winex11.drv/xim.c +++ b/dlls/winex11.drv/xim.c @@ -501,7 +501,7 @@ XIC X11DRV_CreateIC(XIM xim, struct x11drv_win_data *data) XVaNestedList preedit = NULL;

Re: Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Austin English
On Mon, Apr 14, 2008 at 7:34 AM, Chris Robinson <[EMAIL PROTECTED]> wrote: > IIRC, the problem is you can't have two Wine processes using two different > desktops. Try this: start an app without virtual desktop and leave it > running, run winecfg and turn on virtual desktop (make sure to click A

Re: ws2_32: Work around the host name resolving to 127.x.x.x when using that for binding.

2008-04-14 Thread Paul Chitescu
On Mon, 14 Apr 2008, Christoph Frick wrote: > On Mon, Apr 14, 2008 at 04:05:23PM +0200, Kai Blin wrote: > > Hi Kai, et all, > >> +static const char magic_loopback_addr[] = {127, 12, 34, 56}; > > in the past wine used to work quite well with the ip-address configured > using the places in the window

Re: Lug Radio Live 2008 wine talk. Slides online, comments welcome.

2008-04-14 Thread Zachary Goldberg
Dan, Any links for us to hear your discussion this past weekend? --Zach On Fri, Apr 4, 2008 at 5:05 AM, Jonathan Ernst <[EMAIL PROTECTED]> wrote: > Hello, > > Le jeudi 03 avril 2008 à 20:26 -0700, Dan Kegel a écrit : > > [...] > > > > The slides are pretty basic; I'll talk a lot around them.

Re: ws2_32: Work around the host name resolving to 127.x.x.x when using that for binding.

2008-04-14 Thread Christoph Frick
On Mon, Apr 14, 2008 at 04:05:23PM +0200, Kai Blin wrote: Hi Kai, et all, > +static const char magic_loopback_addr[] = {127, 12, 34, 56}; in the past wine used to work quite well with the ip-address configured using the places in the windows registry (msdn or something similar kept an howto for

ws2_32: Work around the host name resolving to 127.x.x.x when using that for binding.

2008-04-14 Thread Kirill K. Smirnov
Hi, nitpick: > +/* Trying to bind to the default hots interface, using Typo in word 'host'? -- Kirill

Re: Including Mono within a Wine package - should Wine expect this?

2008-04-14 Thread Dan Kegel
On Sun, Apr 13, 2008 at 11:14 PM, Roderick Colenbrander <[EMAIL PROTECTED]> wrote: > What we really need is mono's windows.forms to be layered on top of gdi32 > and user32 for windows controls like buttons, textboxes and so on .. As lots > of programs do overrides using native dlls on them, so t

error: `XICCallback' undeclared (Solaris build problem)

2008-04-14 Thread Petr Sumbera
Hi all, It seems that following change from last Friday broke Solaris build: http://source.winehq.org/git/wine.git/?a=commitdiff;h=185157cb6eb25bc5e75e9a260b593e98153d2255 This is probably because Solaris /usr/include/X11/Xlib.h doesn't define XICCallback. -bash-3.2$ grep XICCallback /usr/incl

Re: Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Chris Robinson
On Monday 14 April 2008 01:39:08 am Scott Ritchie wrote: > I have a few full screen applications that I'd like to run contained in > small windows. Currently, in order to run them this way, I have to > either open winecfg and set a virtual desktop or launch the application > on the terminal with:

Re: wine.info add fake dlls for msacm32.drv and midimap.dll

2008-04-14 Thread Alexandre Julliard
"Steven Edwards" <[EMAIL PROTECTED]> writes: > If I understand the issue correctly the problem is in Wine. The > application works on Windows no problem. The Thinstall LoadLibrary > hook can't be expected to know about builtin dlls if its searching the > default directories or looking up KnownDLLs

Re: Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Chris Howe
On Mon, Apr 14, 2008 at 11:23 AM, Austin English <[EMAIL PROTECTED]> wrote: > > There was a similar request in a bug a few weeks ago. Someone made > the comment that since Windows's explorer doesn't support this, we > can't, even though running it on a per-app basis with the 'wine > explorer /d

Re: Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Austin English
On Mon, Apr 14, 2008 at 3:39 AM, Scott Ritchie <[EMAIL PROTECTED]> wrote: > I have a few full screen applications that I'd like to run contained in > small windows. Currently, in order to run them this way, I have to > either open winecfg and set a virtual desktop or launch the application > on

Feature Request: Registry / winecfg entry for launching an application in a wineexplorer window

2008-04-14 Thread Scott Ritchie
I have a few full screen applications that I'd like to run contained in small windows. Currently, in order to run them this way, I have to either open winecfg and set a virtual desktop or launch the application on the terminal with: wine explorer /desktop=name,1024x768 app.exe What I'd like is so

Re: WineD3D: WineD3D: Use the shader backend to enable / disable atifs and nvts

2008-04-14 Thread Stefan Dösinger
A small implementation change plan: With Henri's suggestion, we have two levels of indirection, one that maps a D3D state to a pipeline part and a state, and one that maps a pipeline part and a state to an application function. Since both states are known at latest at device creation time, we c