advapi32: fix buffer overrun in tests/registry.c:wine_debugstr_wn(), try 2

2007-10-30 Thread Dan Kegel
OK, my last try was ugly and deserved to be dropped. This one is a one-bit change, and easier to understand. Fixes an off-by-one buffer overflow in wine_debugstr_wn() in which the wchar after the end of the buffer was read. diff --git a/dlls/advapi32/tests/registry.c b/dlls/advapi32/tests/registry

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

2007-10-30 Thread Dimi Paun
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. > > There are people from many free software projects here, including t

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

2007-10-30 Thread scott
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. There are people from many free software projects here, including the kernel and Samba. Should I voice anything else? Thanks, Scott Ri

Re: tools/widl/typegen.c pointer initialization

2007-10-30 Thread Gerald Pfeifer
On Mon, 29 Oct 2007, Dan Hipschman wrote: > Compiling with "-O2 -W -Wall" using either gcc 4.0 or 3.4 I don't get > any warnings. Even adding -Wuninitialized doesn't do anything: I am mostly using GCC 3.4 with -O2 -Wall as you did, and occasionally a snapshot of GCC 4.3, with and without -Wextra

Re: Compile error with current git

2007-10-30 Thread Paul Vriens
Paul Vriens wrote: > Hi, > > Compiling gives (for me): > > [EMAIL PROTECTED] wine-git]$ cd /wine/wine-git/dlls/ntdll/ > [EMAIL PROTECTED] ntdll]$ make depend && make > ../../tools/makedep -C. -S../.. -T../.. actctx.c atom.c cdrom.c > critsection.c debugbuffer.c debugtools.c directory.c env.c er

Compile error with current git

2007-10-30 Thread Paul Vriens
Hi, Compiling gives (for me): [EMAIL PROTECTED] wine-git]$ cd /wine/wine-git/dlls/ntdll/ [EMAIL PROTECTED] ntdll]$ make depend && make ../../tools/makedep -C. -S../.. -T../.. actctx.c atom.c cdrom.c critsection.c debugbuffer.c debugtools.c directory.c env.c error.c exception.c file.c handletab

Re: New Wine help and discussion forum

2007-10-30 Thread Steven Edwards
On 10/30/07, Jonathan Ernst <[EMAIL PROTECTED]> wrote: > Maybe we could explain a little bit more the newsreader way of reading > the list in http://www.winehq.org/site/forums. > > And if you can't be bothered using anything else than a Web browser you > can still use http://blog.gmane.org/gmane.co

RE: New Wine help and discussion forum

2007-10-30 Thread EA Durbin
> Subject: RE: New Wine help and discussion forum> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> Date: Tue, 30 Oct 2007 07:43:00 +0100>> Hello,>> Le lundi 29 octobre 2007 à 20:06 -0500, EA Durbin a écrit :> [...] I think phpbb is more user friendly

Re: ntdll: RtlCreateAcl: initialize all the bytes passed by the user

2007-10-30 Thread Alexandre Julliard
"Dan Kegel" <[EMAIL PROTECTED]> writes: > Without this patch, NtAccessCheck() references uninitialized > memory (it seems to send the entire ACL with the user's > length to the server, not just sizeof(ACL)). This showed up as > valgrind errors when running "make test" in advapi32. > I suppose the

Re: [Resubmit]: Added wrapper dll for ct-api(CardTerminal API)

2007-10-30 Thread Alexandre Julliard
"Christian Eggers" <[EMAIL PROTECTED]> writes: > + /* Try to get name of low level library from registry */ > + /* UNICODE functions are not used here, because the final string is > needed as ANSI */ Actually the final string should be in the Unix codepage, so you have to load it using U

Re: Missing region invalidation in edit control

2007-10-30 Thread Peter Åstrand
> > It seems like there's a missing region invalidation in the edit control > somewhere; the background is not correctly updated, unless the window is It seems like this patch fixes the problem: --- edit.c (revision 13229) +++ edit.c (arbetskopia) @@ -5215,6 +5215,8 @@

Re: widl: Add a --local-stubs option.

2007-10-30 Thread Robert Shearman
Dan Hipschman wrote: > +write_type_decl_left(fp, mdef->type); > +fprintf(fp, " CALLBACK %s_", iface->name); > +write_name(fp, mdef); > +fprintf(fp, "_Proxy(\n"); > +write_args(fp, m->args, iface->name, 1, TRUE); > +fprintf(fp, ")"); > +if (bod

Missing region invalidation in edit control

2007-10-30 Thread Peter Åstrand
It seems like there's a missing region invalidation in the edit control somewhere; the background is not correctly updated, unless the window is moved or exposed to X11 exposes. See screenshot at http://www.cendio.com/~astrand/wine/46-textedit-color/nopaint.png. In this case, xclock has been d

Re: oleaut32 [3/10]: Add a proxy for objidl.

2007-10-30 Thread Robert Shearman
Dan Hipschman wrote: > This adds the objidl proxy to oleaut32. It also updates DllGetClassObject > to fall back on OLEAUTPS_DllGetClassObject. This is basically what would > happen if we had a dlldata.c file for oleaut32, but that's impossible > since oleaut32 is too special a case. > > --- > .g

alsa->pulseaudio->alsa directsound hang

2007-10-30 Thread Al Tobey
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 issue comes up with a install of

Re: New Wine help and discussion forum

2007-10-30 Thread L. Rahyen
On Monday October 29 2007 18:18, Steven Edwards wrote: > I think long term we might want to see about just > killing the users mailing > list if the forum proves to be much more popular. NO! I strongly disagree. In fact, I'm pretty active on wine-user. But I never will be active on the

RE: New Wine help and discussion forum

2007-10-30 Thread Jonathan Ernst
Hello, Le lundi 29 octobre 2007 à 20:06 -0500, EA Durbin a écrit : [...] > > I think phpbb is more user friendly than what we got right now. That > and the amount of spam I receive in my inbox directed at the current > mail lists. I'm tired of getting emails telling me I've won the > lottery dire