Re: [PATCH 02/10] oleaut32: Improved ICreateTypeInfo2_fnAddFuncDesc implementation

2010-02-21 Thread Paul Vriens
On 02/22/2010 01:57 AM, Piotr Caban wrote: +TRACE("(%p,%d,%p)\n", iface, index, pFuncDesc); +TRACE("{%d,%p,%p,%d,%d,%d,%d,%d,%d,%d,{%d},%d}\n", pFuncDesc->memid, +pFuncDesc->lprgscode, pFuncDesc->lprgelemdescParam, pFuncDesc->funckind, +pFuncDesc->invkind, pFuncDe

Re: makefiles: Add some msvcrt imports needed under Cygwin

2010-02-21 Thread Alex
On Mon, Feb 22, 2010 at 1:25 AM, Steven Edwards wrote: > Unless something has changed I don't think we want to do this anyway. > What we need is something like the EXTRALIBS rule that adds msvcrt if > its on cygwin. Take a look at what we do in wininet so that we link to > winsock on mingw but use

Re: IShellBrowser/ICommDlgBrowser Theme draw problem

2010-02-21 Thread Reece Dunn
On 21 February 2010 23:12, Kenneth Robinette wrote: > I am testing a SSH file transfer program which makes use of the Microsoft > IShellBrowser and ICommDlgBrowser interfaces for the "local" file system > view.  The interface listview header (detail view) does not get painted > correctly when a

Re: include[1/2]: add a strcmpW-equivalent function usable in tests.

2010-02-21 Thread Dmitry Timoshkov
Mikołaj Zalewski wrote: > +/* strcmpW is avaiable for tests compiled under Wine, but not in standalone > + * builds under Windows, so we reimplement it under a different name. */ > +static inline int winetest_strcmpW( const WCHAR *str1, const WCHAR *str2 ) > +{ > +while (*str1 && (*str1 == *s

Re: [PATCH 2/2] wined3d: Fix calculation of pitch for ATI2N format

2010-02-21 Thread Stefan Dösinger
Am 21.02.2010 um 22:53 schrieb Henri Verbeet: > You get 2160 when you use correct block sizes, but a broken pitch. I.e. > 60[yoffest]/4[bh] * 128[broken_pitch] + 60[xoffset]/4[bw] * 16[block_size] > > I don't see how that will result in working locks though, so I'm > curious if this test actually

Re: makefiles: Add some msvcrt imports needed under Cygwin

2010-02-21 Thread Steven Edwards
On Sun, Feb 21, 2010 at 3:33 PM, Alex wrote: >>> -IMPORTS   = shell32 user32 kernel32 >>> +IMPORTS   = shell32 user32 kernel32 msvcrt Unless something has changed I don't think we want to do this anyway. What we need is something like the EXTRALIBS rule that adds msvcrt if its on cygwin. Take a l

Re: [Try 2] [3/3] riched20:EM_FORMATRANGE Implementation Patch

2010-02-21 Thread Dylan Smith
On Sun, Feb 21, 2010 at 9:33 AM, James McKenzie wrote: > This is how I calculated the value to be the same as that returned by > EM_FORMATRANGE when run in Windows(whatever).  If you have a better > method, that would be great. > I have a better method, it is returning textlength + 1 in this case

Re: makefiles: Add some msvcrt imports needed under Cygwin

2010-02-21 Thread Alex
Le 21/02/2010 18:48, Austin English a écrit : On Sat, Feb 20, 2010 at 11:20 AM, wrote: diff --git a/programs/xcopy/Makefile.in b/programs/xcopy/Makefile.in index dce8259..1a36216 100644 --- a/programs/xcopy/Makefile.in +++ b/programs/xcopy/Makefile.in @@ -5,7 +5,7 @@ SRCDIR= @srcdir@

IShellBrowser/ICommDlgBrowser Theme draw problem

2010-02-21 Thread Kenneth Robinette
I am testing a SSH file transfer program which makes use of the Microsoft IShellBrowser and ICommDlgBrowser interfaces for the "local" file system view. The interface listview header (detail view) does not get painted correctly when a theme is enabled under Wine. If a theme is not selected, th

Re: [PATCH 2/2] wined3d: Fix calculation of pitch for ATI2N format

2010-02-21 Thread Henri Verbeet
2010/2/21 Stefan Dösinger : > I may be a bit dizzy from playing games for 2 days, but I don't understand > how you get to an offset of 2160 with the normal surface calculation. > According to our table in utils.c ATI2N has 1 byte per pixel, so the offset > would be * 1(bpp) * (128(width) * 60(yo

Re: [PATCH 2/2] wined3d: Fix calculation of pitch for ATI2N format

2010-02-21 Thread Stefan Dösinger
On the big picture I am not sure if the test conclusively shows what is going on. If your test's offset of 2160 bytes is correct something odd is going on. Please add a test explicitly testing the pitch returned in D3DLOCKED_RECT.Pitch. > +hr = IDirect3DDevice9_CreateOffscreenPlainSurface(d

File Handle from FileReferenceNumber

2010-02-21 Thread Dmitry Konnov
Hello, can anybody help with example how to get File Handle from FileReferenceNumber. I have found that this can be done with ZwCreateFile and FILE_OPEN_BY_FILE_ID option, but implementation seems quite tricky. please help. -- Faithfully yours, Dmitry Konnovmailto:konno...

Re: Another aspiring GSoC applicant..

2010-02-21 Thread Juan Lang
Hi David, I'll comment on the Explorer suggestion, as I added it: > I've also looked a bit at implementing support for IFileDialog, and > the Explorer, but I have yet to dig too deep into either of them. Are > there currently any known applications out there that uses IFileDialog > explicitly? I'v

Another aspiring GSoC applicant..

2010-02-21 Thread David Hedberg
Hi everyone! Maybe it's a bit early, but I thought I would announce my interest in participating as a student in this years GSoC. I'm currently busy studying for my degree in Computer Engineering here in Sweden, and I have realized that it would be really nice if I were able to spend a few months

Re: makefiles: Add some msvcrt imports needed under Cygwin

2010-02-21 Thread Austin English
On Sat, Feb 20, 2010 at 11:20 AM, wrote: > diff --git a/programs/xcopy/Makefile.in b/programs/xcopy/Makefile.in > index dce8259..1a36216 100644 > --- a/programs/xcopy/Makefile.in > +++ b/programs/xcopy/Makefile.in > @@ -5,7 +5,7 @@ SRCDIR    = @srcdir@ >  VPATH     = @srcdir@ >  MODULE    = xcopy

Fw: CentOS or Fedora on CD Media

2010-02-21 Thread James Mckenzie
Google is your friend Found CentOS 5.4 installable CD ISOs. James -Forwarded Message- >From: James Mckenzie >Sent: Feb 21, 2010 9:24 AM >To: Wine Development Mailing List >Subject: CentOS or Fedora on CD Media > >All: > >My Linux test system (an older Thinkpad) cannot accept DVD m

CentOS or Fedora on CD Media

2010-02-21 Thread James Mckenzie
All: My Linux test system (an older Thinkpad) cannot accept DVD media so I'm looking for Fedora 12 or CentOS 5.4 on CD media. Can someone help me look for this or a program that will run on a MAC that will break down the DVD iso images to CD-Rom media. This is so that I can test the EM_FORMAT

Summer of code idea: make tiny game demos to expose problems in Wine

2010-02-21 Thread Dan Kegel
I've just added http://wiki.winehq.org/SummerOfCode#head-5cdc861e4369f94f0af19d09710d33d76b1f5c64 Current text: "Big games are hard to debug. Small demo games show interesting problems in Wine (see e.g. http://bugs.winehq.org/buglist.cgi?quicksearch=3drad ) There are lots of tools (see http://wiki.

Re: [Try 2] [3/3] riched20:EM_FORMATRANGE Implementation Patch

2010-02-21 Thread James McKenzie
Dylan Smith wrote: > You accidentally sent the email for try 2 of this patch to wine-devel > instead of wine-patches. > > In function ME_FormatContent in file paint.c you calculate the value > >> + numCharPrintable = c.nAvailWidth / (1440/c.dpiTarget.cy); >> > then use it later to set iEnd

Re: [Try 2] [3/3] riched20:EM_FORMATRANGE Implementation Patch

2010-02-21 Thread James McKenzie
Dylan Smith wrote: > You accidentally sent the email for try 2 of this patch to wine-devel > instead of wine-patches. > > In function ME_FormatContent in file paint.c you calculate the value > >> + numCharPrintable = c.nAvailWidth / (1440/c.dpiTarget.cy); >> > then use it later to set iEnd

Re: Italian translation

2010-02-21 Thread Francesco Argese
2010/2/20 Nikolay Sivov : > > Main rules are: > - add new file with makefile entry for it; > - .rc file should be in UTF-8 encoding with #pragma code_page(65001) in it > (grep for it); > - check your translation with LANG= wine . > - submit a single patch per module with you real name and email in

Re: [Try 2] [3/3] riched20:EM_FORMATRANGE Implementation Patch

2010-02-21 Thread Dylan Smith
You accidentally sent the email for try 2 of this patch to wine-devel instead of wine-patches. In function ME_FormatContent in file paint.c you calculate the value >+ numCharPrintable = c.nAvailWidth / (1440/c.dpiTarget.cy); then use it later to set iEndOffset, the return value, when the remainde