Re: devenum: Constify a variable

2007-04-23 Thread Robert Shearman
Andrew Talbot wrote: Robert Shearman wrote: Andrew Talbot wrote: */ static HRESULT WINAPI DEVENUM_IClassFactory_CreateInstance( LPCLASSFACTORY iface, -LPUNKNOWN pUnkOuter, +const IUnknown *pUnkOuter, REFIID riid, LPVOID *ppvObj) I'm not sure what

Re: WineD3D patch test needed

2007-04-23 Thread Vit Hrachovy
Hi Stefan, I've tested the patch using Oblivion and it seems there are no stability or rendering issues. Regards Vit Stefan Dösinger wrote: Hi, I have a patch which fixes the performance problems introduced with c0782603d09807c6ca506948bb4a814a73430184 . I am sure that the patch is correct,

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Dmitry Timoshkov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: Just little test: #include windows.h #include stdio.h int main(void) { WCHAR str_uni[]={0x044d, 0x0442, 0x043e, 0x0020, 0x0442, 0x0435, 0x0441, 0x0442, 0x}; char str_oem[]=~]â® àãá᪨© ⥪áâ in

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Dmitry Timoshkov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: WriteConsole uses current console output code page to translate strings. wine - yes. windows - no. See attach. What makes you think so? Since I tested under Windows only I described the results I've got under it not under Wine. Wine behaviour is not

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Kirill K. Smirnov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: WriteConsole uses current console output code page to translate strings. wine - yes. windows - no. See attach. What makes you think so? Since I tested under Windows only I described the results I've got under it not under Wine. Wine

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Dmitry Timoshkov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: A question: what make you think that WriteConsole uses current console output code page to translate strings? The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. -- Dmitry.

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Kirill K. Smirnov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: A question: what make you think that WriteConsole uses current console output code page to translate strings? The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Dmitry Timoshkov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in wine. In windows only cp866 is readable regardless of ConsoleOutputCP. As I said I tested under Windows (XP) only,

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Kirill K. Smirnov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in wine. In windows only cp866 is readable regardless of ConsoleOutputCP. As I said I tested under Windows

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Kirill K. Smirnov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in wine. In windows only cp866 is readable regardless of ConsoleOutputCP. As I said I tested under

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Dmitry Timoshkov
Kirill K. Smirnov [EMAIL PROTECTED] wrote: The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in wine. In windows only cp866 is readable regardless of ConsoleOutputCP. As I said I tested under Windows (XP)

Disabled Wine PostScript Driver?

2007-04-23 Thread Alisson Gomes
Hello, In first time, I like congratulations by great job, the wine. Fantastic. In second time, i have the problem with Wine. How do disable Wine PostScript Driver? Is possible? by configuration, by compilation, etc. ps: I send e-mail in many discursion list: WineConf, Wine Users and others,

Re: Fix xcopy so output is either unicode (console) or oem (file)

2007-04-23 Thread Kirill K. Smirnov
В сообщении от 23 апреля 2007 16:11 вы написали: Kirill K. Smirnov [EMAIL PROTECTED] wrote: The written strings in 866 and 1251 code pages are only readable when output console code page matches the string encoding. This is in wine. In windows only cp866 is readable regardless of

Re: implements D3DRMVectorAdd

2007-04-23 Thread Francois Gouget
On Wed, 18 Apr 2007, Stefan Dösinger wrote: Am Montag 16 April 2007 01:29 schrieb [EMAIL PROTECTED]: +/* Add Two Vectors */ +LPD3DVECTOR D3DRMAPI D3DRMVectorAdd(LPD3DVECTOR d, LPD3DVECTOR s1, LPD3DVECTOR s2) I personally prefer D3DVECTOR * over LPD3DVECTOR, but I don't know if there's

Re: ADVAPI32: Implement GetServiceDisplayNameW

2007-04-23 Thread Alexandre Julliard
Rolf Kalbermatter [EMAIL PROTECTED] writes: +size = *lpcchBuffer * sizeof(WCHAR); +ret = RegGetValueW(hscm-hkey, lpServiceName, szDisplayName, RRF_RT_REG_SZ, type, NULL, size); +switch (ret) +{ +case ERROR_SUCCESS: +ret = RegGetValueW(hscm-hkey,

Sorry for spamming the list :(

2007-04-23 Thread Jonathan Schleifer
I had some trobule sending the messages, it seemed like they were filtered out since I wasn't subscribed to the list, therefore I resent them, but it seems like they got through after 24h. :( My apologies for this. -- Jonathan

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Jonathan Schleifer
Steven Edwards [EMAIL PROTECTED] wrote: I had it installed before but its been a while. I never could get anything other than console apps to work, which I assumed could be do to a calling convention mismatch like Eric spoke about. I'd be interested in seeing bench marks of Wine compiled with

Re: Disabled Wine PostScript Driver?

2007-04-23 Thread Stefan Dösinger
Am Montag 23 April 2007 14:21 schrieb Alisson Gomes: Hello, In first time, I like congratulations by great job, the wine. Fantastic. In second time, i have the problem with Wine. How do disable Wine PostScript Driver? Is possible? by configuration, by compilation, etc. Why do you want to

The Alky Project

2007-04-23 Thread Ian Macfarlane
The Inquirer has an interesting article about something called the Alky Project which claims to have initial support for DirectX 10 on Windows XP (and possibly other operating systems). The Inquirer article is here (it links to a number of bits of info about the project):

Re: The Alky Project

2007-04-23 Thread H. Verbeet
On 23/04/07, Ian Macfarlane [EMAIL PROTECTED] wrote: The Inquirer has an interesting article about something called the Alky Project which claims to have initial support for DirectX 10 on Windows XP (and possibly other operating systems). My impression is that the Alky project severely

D3DRM (to be continued....)

2007-04-23 Thread David . Adam
Hi all, my patches for D3DRM have not been applied yet. I thought to have made all the requested changes. But it seems no. So, am I in the good way? What changes must I make now? These patches fix Bug 7442 also. Thanks you in advance for any advice and suggestion. David Adam PS: I follow

Re: Removal of unused audio drivers

2007-04-23 Thread Andrew Ziem
Francois Gouget wrote: On Thu, 12 Apr 2007, Maarten Lankhorst wrote: [...] I'm not sure what nas is for, but it seems to be 'network audio system', I haven't seen any use for it, except that it causes a 30 seconds slowdown at showing 'audio' tab in winecfg. I don't think anyone uses it. For

Re: Disabled Wine PostScript Driver?

2007-04-23 Thread Alisson Gomes
I need print tickets, bill. The software (VB 6) send file for printer in generic text. After print the paper don't must to roll in tray. Because the next ticket stay out of the place. When Wine convert text for postscript I do not obtain brake paper. The printer is Epson LX-300. Thanks

Re: Removal of unused audio drivers

2007-04-23 Thread Jonathan Ernst
Le lundi 23 avril 2007 à 09:23 -0600, Andrew Ziem a écrit : [...] By the way, in LTSP, ESD's major deficiency is not being able to control the volume from things like the GNOME sound applet, so there's some interest in (but no support for) changing to PulseAudio. LTSP on Ubuntu feisty uses

Re: D3DRM (to be continued....)

2007-04-23 Thread Vijay Kiran Kamuju
Hi, Just w8 for 2-3 days. No negative comments yet, good sign ;) Thanks, VJ On 4/23/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi all, my patches for D3DRM have not been applied yet. I thought to have made all the requested changes. But it seems no. So, am I in the good way? What

Re: winealsa: Implement Get/SetControlDetails

2007-04-23 Thread Alexandre Julliard
Maarten Lankhorst [EMAIL PROTECTED] writes: @@ -748,6 +749,22 @@ static DWORD MIX_GetDevCaps(UINT wDevID, LPMIXERCAPS2W caps, DWORD_PTR parm2) return MMSYSERR_NOERROR; } +/* convert win32 volume to alsa volume, and vice versa */ +static DWORD normalized(long value, long prevmax,

Re: The Alky Project

2007-04-23 Thread Stefan Dösinger
Am Montag 23 April 2007 17:32 schrieb H. Verbeet: On 23/04/07, Ian Macfarlane [EMAIL PROTECTED] wrote: The Inquirer has an interesting article about something called the Alky Project which claims to have initial support for DirectX 10 on Windows XP (and possibly other operating systems).

Re: D3DRM (to be continued....)

2007-04-23 Thread Stefan Dösinger
Am Montag 23 April 2007 17:17 schrieb [EMAIL PROTECTED]: Hi all, my patches for D3DRM have not been applied yet. I thought to have made all the requested changes. But it seems no. The last patches you sent looked good to me superficially, although I forgot to send an OK mail as a reply.

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Eric Pouech
Jonathan Schleifer a écrit : Steven Edwards [EMAIL PROTECTED] wrote: I had it installed before but its been a while. I never could get anything other than console apps to work, which I assumed could be do to a calling convention mismatch like Eric spoke about. I'd be interested in seeing

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Jonathan Schleifer
Eric Pouech [EMAIL PROTECTED] wrote: it seems now the major hurdle is that icc doesn't support the inline conventions of GCC (and is likely C99 compliant in that ICC supports gcc inline asm. But it doesn't support defining a symbol twice. -- Jonathan

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Alexandre Julliard
Jonathan Schleifer [EMAIL PROTECTED] writes: Eric Pouech [EMAIL PROTECTED] wrote: it seems now the major hurdle is that icc doesn't support the inline conventions of GCC (and is likely C99 compliant in that ICC supports gcc inline asm. But it doesn't support defining a symbol twice. What

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Eric Pouech
Jonathan Schleifer a écrit : Eric Pouech [EMAIL PROTECTED] wrote: it seems now the major hurdle is that icc doesn't support the inline conventions of GCC (and is likely C99 compliant in that ICC supports gcc inline asm. But it doesn't support defining a symbol twice. I'm

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Eric Pouech
Alexandre Julliard a écrit : Jonathan Schleifer [EMAIL PROTECTED] writes: Eric Pouech [EMAIL PROTECTED] wrote: it seems now the major hurdle is that icc doesn't support the inline conventions of GCC (and is likely C99 compliant in that ICC supports gcc inline asm. But it

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Alexandre Julliard
Eric Pouech [EMAIL PROTECTED] writes: it's fixed for C functions, but not when the function is declared in assembly extern inline int foo(int a); extern inline int foo(int a) {return a + 1;} int foo(int a) {return a+1;} extern inline int ffo(int a); extern inline int ffo(int a) {return a +

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Eric Pouech
Alexandre Julliard a écrit : But here you really have two non-inline definitions, one in C and one in assembly. What happens if you remove the C version? sorry, I redid my week end tests and went too fast the real bad case is: /* case with 2 C declarations */ extern inline int foo(int a);

Re: Removal of unused audio drivers

2007-04-23 Thread Andrew Ziem
Jonathan Ernst wrote: Le lundi 23 avril 2007 à 09:23 -0600, Andrew Ziem a écrit : [...] By the way, in LTSP, ESD's major deficiency is not being able to control the volume from things like the GNOME sound applet, so there's some interest in (but no support for) changing to PulseAudio. LTSP

Re: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Jonathan Schleifer
Alexandre Julliard [EMAIL PROTECTED] wrote: What version are you using? According to the man page this is supposed to be fixed in icc 9.1. I'm using ICC 9.1: asgard:~$ icc --version icc (ICC) 9.1 20060706 -- Jonathan

RE: ADVAPI32: Implement GetServiceDisplayNameW

2007-04-23 Thread Rolf Kalbermatter
Alexandre Julliard [mailto:[EMAIL PROTECTED] wrote: Rolf Kalbermatter [EMAIL PROTECTED] writes: +size = *lpcchBuffer * sizeof(WCHAR); +ret = RegGetValueW(hscm-hkey, lpServiceName, szDisplayName, RRF_RT_REG_SZ, type, NULL, size); +switch (ret) +{ +case ERROR_SUCCESS:

RE: [PATCH] Make wine build with the Intel CC

2007-04-23 Thread Rolf Kalbermatter
Eric Pouech [mailto:[EMAIL PROTECTED] wrote: Jonathan Schleifer a écrit : ICC supports gcc inline asm. But it doesn't support defining a symbol twice. I'm speaking of the inline keyword (especially about extern inline) Same issue as at least Visual C 6.0 had for standard C code. Rolf

Re: localui: add Polish translation

2007-04-23 Thread Detlef Riekenberg
On Mo, 2007-04-23 at 19:55 +0200, Mikołaj Zalewski wrote: (0009-localui-add-Polish-translation.txt) From 4045f052bd5814a2dbf35527af4f6f7fee259c8e Mon Sep 17 00:00:00 2001 +#include ui_Pl.rc You missed the translated File, but it would be nice, when you wait a week please: I have a Patch for

Re: [UPDATE] [programs/uninstaller] Check HKCU for uninstall entries too

2007-04-23 Thread Tom Spear
Well, I finally solved all of my issues with my patch (yay!). It will be ready to submit to wine-patches as soon as I reinstall wine to finish up my testing.. Something borked it and now it won't run even winecfg... Go figure. So anyways, with any luck, my testing will go without a hitch, and

RE: dinput: Constify some variables

2007-04-23 Thread Vitaliy Margolen
Andrew Talbot wrote: Changelog: dinput: Constify some variables. -static LONG map_axis(JoystickImpl * This, short val, short index) +static LONG map_axis(const JoystickImpl *This, short val, short index) { doublefval = val; doublefmin = This-props[index].lMin; diff