Re: WINED3D: Implement GetCreationParameters

2006-03-06 Thread H. Verbeet
On 07/03/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: > > > +if (!pParameters) { > > +ERR("(%p) : Called with a NULL pParameters\n", This); > > +} > > + > > +*pParameters = This->createParms; > > > This is dereferencing a NULL pointer. Yes. Native d3d does that as well. The NULL

Re: WINED3D: Implement GetCreationParameters

2006-03-06 Thread Ivan Gyurdiev
+if (!pParameters) { +ERR("(%p) : Called with a NULL pParameters\n", This); +} + +*pParameters = This->createParms; This is dereferencing a NULL pointer.

Re: How to link and run applications using WinLib

2006-03-06 Thread Robert Shearman
Segin wrote: Arun Kumar Khandelwal wrote: Hi All, I am able to compile and link my test program using winemaker. It generates a test.exe.so and not test.exe. I do not know how to run this *.so? What should I do to link and run program using winlib? Thanks, Arun you use it like any executabl

Re: PATCH: define __user

2006-03-06 Thread Robert Shearman
dmitry serpokryl wrote: Hi, please beg my pardon for the kind of a possible stupidity, but: 1. I'm using SuSE kernel for SuSE 10 x86-64, so all compiliation goes into x86-64 (not in i386) mode by default Wine automatically adds the -m32 flag to gcc to force it to compile in i386 mode.

Re: How to link and run applications using WinLib

2006-03-06 Thread Segin
Arun Kumar Khandelwal wrote: Hi All, I am able to compile and link my test program using winemaker. It generates a test.exe.so and not test.exe. I do not know how to run this *.so? What should I do to link and run program using winlib? Thanks, Arun you use it like any executable. The '.

Re: riched20: Implements FR_WHOLEWORD for EM_FINDTEXT

2006-03-06 Thread Phil Krylov
On Sun, 05 Mar 2006 14:20:47 -0800 Lei Zhang <[EMAIL PROTECTED]> wrote: > +if ((flags & FR_WHOLEWORD) && iswalnum(wLastChar)) Probably a test checking if native richedit does not use user's word breaking procedure (set via EM_SETWORDBREAKPROC) for FR_WHOLEWORD searches would be cool. --

Re: Error while compiling code using wineg++ / winegcc on solaris

2006-03-06 Thread Kuba Ober
> I am not able to compile a test program on solaris using winegcc tool. > Can anybody help? . . . > When I try to compile it using winegcc, it gives following error > message: > [EMAIL PROTECTED]:~/test >wineg++ test.cpp > winegcc: -fshort-wchar failed. > > On adding a flag '-v' with wineg++, a de

Re: KERNEL32: Improve descriptions

2006-03-06 Thread Kuba Ober
> > > -UINT WINAPI GetTempFileNameW( LPCWSTR path, LPCWSTR prefix, > > > UINT unique, LPWSTR buffer ) +UINT WINAPI GetTempFileNameW( > > > LPCWSTR lpPathName, LPCWSTR lpPrefixString, UINT uUnique, > > > LPWSTR lpTempFileName ) > > > > *Please* don't change nice readable parameter names into the > >

Re: FONTS: fix Courier font

2006-03-06 Thread Huw D M Davies
On Mon, Mar 06, 2006 at 07:02:47PM +0300, Vitaly Lipatov wrote: > В сообщении от 6 марта 2006 17:27 Вы написали: > > "Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > > > > What are you trying to fix? > > > > > > There is screenshot from notepad with Courier font selected in > > > attachment. > > > >

Re: [dsound] DllCanUnloadNow

2006-03-06 Thread Alexandre Julliard
Christian Gmeiner <[EMAIL PROTECTED]> writes: > This patch > + implements LockServer > + implements DllCanUnloadNow You need to maintain the lock count when creating/deleting objects too. -- Alexandre Julliard [EMAIL PROTECTED]

Re: riched20: Implements FR_WHOLEWORD for EM_FINDTEXT

2006-03-06 Thread Alexandre Julliard
Lei Zhang <[EMAIL PROTECTED]> writes: > --- dlls/riched20/editstr.h 2 Mar 2006 11:18:19 - 1.27 > +++ dlls/riched20/editstr.h 5 Mar 2006 06:36:50 - > @@ -29,6 +29,7 @@ > #include > #include > #include > +#include You can't use anything from wctype.h in Wine. Use the functi

Re: ntdll: Fix Directory Searching when VFAT_IOCTL_READDIR_BOTH returns an invalid d_reclen

2006-03-06 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > --- a/dlls/ntdll/directory.c > +++ b/dlls/ntdll/directory.c > @@ -1245,7 +1245,11 @@ static NTSTATUS find_file_in_dir( char * > unix_name[pos - 1] = '/'; > for (;;) > { > -if (!de[0

Re: Error while compiling code using wineg++ / winegcc on solaris

2006-03-06 Thread Dimi Paun
> The version is 3.4.2. Here's the console dump. This is odd. Can you check if the -fshort-wchar is at all supported on Solaris? Is it Solaris on Intel or Sparc? -- Dimi Paun <[EMAIL PROTECTED]> Lattica, Inc.

Re: Errors in Win API Stats

2006-03-06 Thread Robert Shearman
Peter Åstrand wrote: I've noticied that http://www.winehq.org/site/winapi_stats is not quite correct. For example, it claims that "amstream" is 100% implemented, which is not correct: There are 21 stubs or something like that. How is this page generated? It only looks at functions expor

Re: [user.dll] get rid of DPRINTF

2006-03-06 Thread Alexandre Julliard
Christian Gmeiner <[EMAIL PROTECTED]> writes: > This patch eliminates DPRINTF calls and replaces it with TRACE calls, as > suggested here: http://wiki.winehq.org/DebugTracingCleanup This doesn't apply to relay traces I'm afraid, they use a different format. -- Alexandre Julliard [EMAIL PROTECTE

RE: Error while compiling code using wineg++ / winegcc on solaris

2006-03-06 Thread Vikas Gera
Hi Dimi, Thanks for replying. The version is 3.4.2. Here's the console dump. -bash-3.00$ winegcc --version gcc (GCC) 3.4.2 Copyright (C) 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or F

Re: FONTS: fix Courier font

2006-03-06 Thread Vitaly Lipatov
В сообщении от 6 марта 2006 17:27 Вы написали: > "Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > > > What are you trying to fix? > > > > There is screenshot from notepad with Courier font selected in > > attachment. > > Do you see the same problem with Windows font? No, only with WINE's courier with

FW: Re: Wine testing and Guild Wars: Factions Beta weekend March 24th

2006-03-06 Thread Jeremiah Powell
Please see below. From: Alexandre Julliard <[EMAIL PROTECTED]> To: "Jeremiah Powell" <[EMAIL PROTECTED]> Subject: Re: Wine testing and Guild Wars: Factions Beta weekend March 24th "Jeremiah Powell" <[EMAIL PROTECTED]> writes: > I would like to extend this opportunity to someone in the wine > d

Re: configure: add --with-fontfir (try3) with patch!

2006-03-06 Thread StartCom Ltd.
I would like to through in my support for Vitaly on this issue (and maybe similar ones) which happen to be the source of some discussions lately (rpath was one, I think). More configuration options makes wine to be more easy configured, build and adjusted, making it more scalableDistributi

Errors in Win API Stats

2006-03-06 Thread Peter Åstrand
I've noticied that http://www.winehq.org/site/winapi_stats is not quite correct. For example, it claims that "amstream" is 100% implemented, which is not correct: There are 21 stubs or something like that. How is this page generated? Regards, -- Peter Åstrand ThinLinc Chief Develop

Re: shdocvw: Added get_LocationURL implementation.

2006-03-06 Thread Jacek Caban
Robert Shearman wrote: > > BSTR and LPWSTR are not interchangable. A lot of the time you can get > away with it, but if anything tries to access the length that prefixes > a BSTR on the LPWSTR then bad things will happen. > Right, thanks. I don't know, why I have changed it. I think I passed BSTR i

Re: shdocvw: Added get_LocationURL implementation.

2006-03-06 Thread Robert Shearman
Jacek Caban wrote: c24b7d0d0c498ec98785b93eba54b41d53ab2c9b diff --git a/dlls/shdocvw/navigate.c b/dlls/shdocvw/navigate.c index 9c4893c..40d4a06 100644 --- a/dlls/shdocvw/navigate.c +++ b/dlls/shdocvw/navigate.c @@ -316,7 +316,7 @@ static IBindStatusCallback *create_callb return BINDSC(ret)

Re: FONTS: fix Courier font

2006-03-06 Thread Dmitry Timoshkov
"Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > What are you trying to fix? There is screenshot from notepad with Courier font selected in attachment. Do you see the same problem with Windows font? -- Dmitry.

Re: configure: add --with-fontfir (try3) with patch!

2006-03-06 Thread Alexandre Julliard
Vitaly Lipatov <[EMAIL PROTECTED]> writes: > В сообщении от 6 марта 2006 14:18 Alexandre Julliard написал(a): >> Vitaly Lipatov <[EMAIL PROTECTED]> writes: >> > I don't like WINE fonts in %_datadir/fonts/wine, I it crossed >> > with ALT Linux font policy and so on. >> >> Where do you install them

Re: FONTS: fix Courier font

2006-03-06 Thread Vitaly Lipatov
В сообщении от 6 марта 2006 15:07 Вы написали: > "Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > > > Last time I asked Huw said that this is a bug in fontforge, > > > the font files have correct values. > > > > If the bug in fontforge will exists for ages... > > Well, I will use the patch as fast hac

How to link and run applications using WinLib

2006-03-06 Thread Arun Kumar Khandelwal
Hi All, I am able to compile and link my test program using winemaker. It generates a test.exe.so and not test.exe. I do not know how to run this *.so? What should I do to link and run program using winlib? Thanks, Arun

Re: Feedback request on wininet patch

2006-03-06 Thread Robert Shearman
Victor Pelt wrote: @@ -2447,7 +2485,18 @@ BOOL WINAPI InternetSetOptionW(HINTERNET TRACE("Option INTERNET_OPTION_DISABLE_PASSPORT_AUTH: harmless stub, since not enabled\n"); break; case INTERNET_OPTION_RECEIVE_TIMEOUT: -FIXME("Option INTERNET_OPTION_RECEIVE_TIMEOUT:

Re: Error while compiling code using wineg++ / winegcc on solaris

2006-03-06 Thread Dimi Paun
On Mon, 2006-03-06 at 14:47 +0530, Vikas Gera wrote: > [EMAIL PROTECTED]:~/test >wineg++ test.cpp > winegcc: -fshort-wchar failed. What version of gcc are you using? -- Dimi Paun <[EMAIL PROTECTED]> Lattica, Inc.

Re: Feedback request on wininet patch

2006-03-06 Thread Vijay Kiran Kamuju
Hi Victor, If you are interested in implementing more features. You can have a look at my wininet pacthes, almost all of them have been rejected. I hope you might improve those or get new ideas from those. As i am going to pick some other well documented portion in windows api. Leaving the wininet

Re: Wine compilation error (flex related)

2006-03-06 Thread Christian Lachner
ah, found something: http://sourceforge.net/tracker/index.php?func=detail&aid=1439346&group_id=97492&atid=618177 greets On 3/6/06, Christian Lachner <[EMAIL PROTECTED]> wrote: > I have the same problem with a gcc-4.0 and flex 2.5.33. 2.5.4a works > ok ;). I don't think it's a wine-problem but the

Re: Wine compilation error (flex related)

2006-03-06 Thread Christian Lachner
I have the same problem with a gcc-4.0 and flex 2.5.33. 2.5.4a works ok ;). I don't think it's a wine-problem but the flex-releases are as rare as a solar ecplipse so the fix must be in wine (maybe a workaround or reformatting of the code since it's a syntaxing problem). But i could also be wrong.

Re: FONTS: fix Courier font

2006-03-06 Thread Dmitry Timoshkov
"Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > Last time I asked Huw said that this is a bug in fontforge, > the font files have correct values. If the bug in fontforge will exists for ages... Well, I will use the patch as fast hack for courier font correcting. What are you trying to fix? -- D

Re: configure: add --with-fontfir (try3) with patch!

2006-03-06 Thread Vitaly Lipatov
В сообщении от 6 марта 2006 14:18 Alexandre Julliard написал(a): > Vitaly Lipatov <[EMAIL PROTECTED]> writes: > > I don't like WINE fonts in %_datadir/fonts/wine, I it crossed > > with ALT Linux font policy and so on. > > Where do you install them then? %_datadir/wine/fonts %_datadir/fonts is defau

Floating point problem in WineEngGetGlyphOutline

2006-03-06 Thread Jeff L
I have started to get a floating point problem "First chance exception: invalid float operation in 32-bit code (0x00e6b6f9).". I don't know a lot about floating point but from what I have read, the FLDCW most likely is unmasking an interrupt when it reloads the control word. Winedbg does not

Re: FONTS: fix Courier font

2006-03-06 Thread Vitaly Lipatov
В сообщении от 6 марта 2006 14:38 Dmitry Timoshkov написал(a): > "Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: > > The main change is > > -Ascent: 11 > > -Descent: 2 > > +Ascent: 10 > > +Descent: 3 > > Last time I asked Huw said that this is a bug in fontforge, > the font files have correct values. I

Re: FONTS: fix Courier font

2006-03-06 Thread Dmitry Timoshkov
"Vitaly Lipatov" <[EMAIL PROTECTED]> wrote: The main change is -Ascent: 11 -Descent: 2 +Ascent: 10 +Descent: 3 Last time I asked Huw said that this is a bug in fontforge, the font files have correct values. -- Dmitry.

Re: configure: add --with-fontfir (try3) with patch!

2006-03-06 Thread Alexandre Julliard
Vitaly Lipatov <[EMAIL PROTECTED]> writes: > I don't like WINE fonts in %_datadir/fonts/wine, I it crossed > with ALT Linux font policy and so on. Where do you install them then? -- Alexandre Julliard [EMAIL PROTECTED]

Re: WINE & prelink

2006-03-06 Thread Mike McCormack
Vitaly Lipatov wrote: Can anyone explain here or at http://wiki.winehq.com/ about prelink usage in WINE. Is it necessary for build process? I see it is recommended at http://wiki.winehq.com/Recommended_Packages It's used in an attempt to fix the load address of a few builtin dlls (ntdll, ker

WINE & prelink

2006-03-06 Thread Vitaly Lipatov
Can anyone explain here or at http://wiki.winehq.com/ about prelink usage in WINE. Is it necessary for build process? I see it is recommended at http://wiki.winehq.com/Recommended_Packages -- Vitaly Lipatov, ALT Linux Team Russia, Saint-Petersburg, www.etersoft.ru

Error while compiling code using wineg++ / winegcc on solaris

2006-03-06 Thread Vikas Gera
Title: Message Hi!! I am not able to compile a test program on solaris using winegcc tool.  Can anybody help?   Here's the program source code:   // file test.cpp #include #include   int main (){    SYSTEMTIME lpSystemTime;       GetSystemTime(&lpSystemTime);    printf("Tod

Re: configure: add --with-fontfir (try3) with patch!

2006-03-06 Thread Alexandre Julliard
"StartCom Ltd." <[EMAIL PROTECTED]> writes: > I would like to through in my support for Vitaly on this issue (and > maybe similar ones) which happen to be the source of some discussions > lately (rpath was one, I think). > > More configuration options makes wine to be more easy configured, build >