New DLL, Server and Service Documentation

2007-10-31 Thread Roy Shea
Howdy All, This autumn I began learning both Wine and COM. A combination of limited documentation and trouble finding the right example code for my task at hand made this a difficult process. In an attempt to help other new Wine and COM developers I wrote a tutorial on COM development the Wine w

Re: wined3d: Enable clip planes with GLSL shader backend

2007-10-31 Thread Ivan Gyurdiev
> +if (use_vs(stateblock->wineD3DDevice) && > stateblock->wineD3DDevice->vs_selected_mode == SHADER_ARB) GLSL specific logic should go in glsl_shader.c. Please try to get away from writing code in terms of flags and if statements - use the OOP model. Backend-specific logic should be remove

Valgrind and structs with holes

2007-10-31 Thread Dan Kegel
Valgrind is a great tool, but if there's a struct with a hole in it, and we write that struct to a socket (say, to send it to the server), valgrind will likely complain that the hole is uninitialized. For instance, the warning ==3415== Syscall param writev(vector[1]) points to uninitialised byte(s

Re: wined3d: Enable clip planes with GLSL shader backend

2007-10-31 Thread Stefan Dösinger
Am Mittwoch, 31. Oktober 2007 18:50:32 schrieb Fabian Bieler: > -glMatrixMode(GL_MODELVIEW); > -glPushMatrix(); > -glLoadMatrixf((float *) > &stateblock->transforms[WINED3DTS_VIEW].u.m[0][0]); + > if(!use_vs(stateblock->wineD3DDevice)) { > +/* Clip Plane settings are affected

Re: Wine Gecko packaging

2007-10-31 Thread Jacek Caban
Hi Dmitry, Dmitry Timoshkov wrote: > http://source.winehq.org/winegecko.php still points to an old Gecko > package > (0.0.1). Please update it. > We can't change it due to compatibility with older Wine versions. We encode Gecko version in URL instead, so http://source.winehq.org/winegecko.php?v=0

Generic text printer driver

2007-10-31 Thread Juan Luis Ramos
Hi all, is there anybody working in the generic text printer driver o raw printer driver? I've a problem with a compatible Epson POS printer so, I've modified the text.c code inside wineps.drv to send the text to the printer without postscript processing. The function that send the data is PSDRV_E

Re: Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Paul Vriens
Dmitry Timoshkov wrote: > "Paul Vriens" <[EMAIL PROTECTED]> wrote: > >>> Paul, what values IsWow64Process() returns on your box? Is that 32-bit, >>> or 64-bit machine? >>> >> (It wasn't meant as patch that's why I put it between quotes.) >> >> What do you mean with "what values IsWow64Process() re

Re: Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Dmitry Timoshkov
"Paul Vriens" <[EMAIL PROTECTED]> wrote: >> Paul, what values IsWow64Process() returns on your box? Is that 32-bit, >> or 64-bit machine? >> > (It wasn't meant as patch that's why I put it between quotes.) > > What do you mean with "what values IsWow64Process() returns" ? This is > hardcoded >

Re: Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Paul Vriens
Dmitry Timoshkov wrote: > "Maarten Lankhorst" <[EMAIL PROTECTED]> wrote: > >> Paul Vriens schreef: >>> Hi, >>> >>> I'm trying to get Skype 3.5.0.39 running on Wine (latest Git). The >>> app however throws an 'Access violation at address 00593AD1 in module >>> "Skype.exe". Read of address FFF

Re: Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Dmitry Timoshkov
"Maarten Lankhorst" <[EMAIL PROTECTED]> wrote: > Paul Vriens schreef: >> Hi, >> >> I'm trying to get Skype 3.5.0.39 running on Wine (latest Git). The app >> however >> throws an 'Access violation at address 00593AD1 in module "Skype.exe". Read >> of >> address '. >> >> I've set set the

Re: alsa->pulseaudio->alsa directsound hang

2007-10-31 Thread Maarten Lankhorst
Hi Al, Al Tobey schreef: > I spent some time this evening playing around with trying to get wine > sound output to go through pulseaudio on my fc8/rawhide (x86_64) box. > I tried wine 0.9.43 (built), 0.9.47 (fc8 rpm), and Crossover 6.2.0. > I was testing with Steam/TF2, but found that the same

Re: Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Maarten Lankhorst
Hi Paul, Paul Vriens schreef: > Hi, > > I'm trying to get Skype 3.5.0.39 running on Wine (latest Git). The app > however > throws an 'Access violation at address 00593AD1 in module "Skype.exe". Read > of > address '. > > I've set set the version to XP. I do find that when I apply this

Re: I am at the Ubuntu Developer Summit, do we need anything from other projects?

2007-10-31 Thread Kai Blin
On Tuesday 30 October 2007 23:54:58 [EMAIL PROTECTED] wrote: > > There are people from many free software projects here, including the > kernel and Samba. Should I voice anything else? As I added to the wiki page just now, a set of sockopts to allow sending/receiving UDP broadcasts even when bou

Tips needed for debugging Skype on Wine (Access violation)

2007-10-31 Thread Paul Vriens
Hi, I'm trying to get Skype 3.5.0.39 running on Wine (latest Git). The app however throws an 'Access violation at address 00593AD1 in module "Skype.exe". Read of address '. I've set set the version to XP. I do find that when I apply this "patch": diff --git a/dlls/kernel32/process.c b/

Re: Convincing Valgrind to give a stack dump?

2007-10-31 Thread Dan Kegel
On 10/31/07, Robert Shearman <[EMAIL PROTECTED]> wrote: > Dan Kegel wrote: > > But I couldn't coax Valgrind into giving stack dumps for those errors; > > it acted as if it had seen a few too many errors first, and only > > showed the one line. Grr. Anyone know how to coax valgrind > > into always

Re: Changes default socket behavior for WSASendTo function from overlapped to non-overlapped

2007-10-31 Thread Alexandre Julliard
[EMAIL PROTECTED] writes: > diff --git a/dlls/ws2_32/socket.c b/dlls/ws2_32/socket.c > index 24a4a76..3697746 100644 > --- a/dlls/ws2_32/socket.c > +++ b/dlls/ws2_32/socket.c > @@ -2662,7 +2662,8 @@ INT WINAPI WSASendTo( SOCKET s, LPWSABUF lpBuffers, > DWORD dwBufferCount, > goto error;

Re: Convincing Valgrind to give a stack dump?

2007-10-31 Thread Robert Shearman
Dan Kegel wrote: > But I couldn't coax Valgrind into giving stack dumps for those errors; > it acted as if it had seen a few too many errors first, and only > showed the one line. Grr. Anyone know how to coax valgrind > into always giving a good stack dump? There are some patches on this page th

Re: cabinet: fully initialize structs in FCICreate() and FCIAddFile()

2007-10-31 Thread Alexandre Julliard
"Dan Kegel" <[EMAIL PROTECTED]> writes: > Rather than hunt it down precisely, I applied > the old "memset the struct to zero when allocating" > meme, which in some circles is considered the "right" > way to avoid this kind of problem. (I halfway expect > Alexandre to say "don't be so lazy", but i

Re: winex11drv: Initialize real default mode in xrandr and xvidmodebackends

2007-10-31 Thread Dmitry Timoshkov
"Chris Robinson" <[EMAIL PROTECTED]> wrote: > This has been brought up on IRC before, and I believe the concensus was you > can't rely on the current mode when starting the app because there's no way > to tell if the current mode is the default or something another app set. Then x11drv should n

Re: winex11drv: Initialize real default mode in xrandr and xvidmode backends

2007-10-31 Thread Chris Robinson
On Tuesday 30 October 2007 10:47:34 pm Dmitry Timoshkov wrote: > -X11DRV_Settings_SetDefaultMode(0); > + > +default_mode = X11DRV_XRandR_GetCurrentMode(); > +TRACE("default mode: %d\n", default_mode); > +X11DRV_Settings_SetDefaultMode(default_mode); This has been brought up on IRC

Re: I am at the Ubuntu Developer Summit, do we need anything from other projects?

2007-10-31 Thread Roderick Colenbrander
> The other day an X.org developer asked me if Wine needed anything from > X. Off the top of my head, all I could think to tell him was relative > mouse movements. Input isn't really my area but I believe we need relative mouse movements for the whole desktop and not for a single window. Ask v

Re: I am at the Ubuntu Developer Summit, do we need anything from other projects?

2007-10-31 Thread scott
On Tue, Oct 30, 2007 at 11:31:56PM -0400, Dimi Paun wrote: > On Tue, 2007-10-30 at 15:54 -0700, [EMAIL PROTECTED] wrote: > > The other day an X.org developer asked me if Wine needed anything from > > X. Off the top of my head, all I could think to tell him was relative > > mouse movements. > >