Re: kernel32: Implement most of CopyFileEx

2007-05-07 Thread Andrey Turkin
Sorry for jumping in, but I have some comments as well. Dan, CopyFileA does not leaks a string (note BOOL flags). Instead first call use static TEB-based buffer so this is OK, given that recursion is impossible in this case. Kevin, you are setting file size before copy starts. I'm not sure Wind

Re: [PATCH 3/3] winex11: Use TINN algorithm to speed up colour lookups. (try 2)

2007-05-07 Thread Dmitry Timoshkov
"Vitaly Budovski" <[EMAIL PROTECTED]> wrote: Both floats and integers have their share of problems. Since the square root operation has been removed, we are dealing with much larger numbers, potentially larger than can fit into unsigned int without looping back around. This is why I think keepin

Re: [PATCH 3/3] winex11: Use TINN algorithm to speed up colour lookups. (try 2)

2007-05-07 Thread Vitaly Budovski
Jesse Allen wrote: On 5/7/07, Duane Clark <[EMAIL PROTECTED]> wrote: Dmitry Timoshkov wrote: > "Vitaly Budovski" <[EMAIL PROTECTED]> wrote: > >>> Now that you got rid of sqrt calls usage of float numbers internally >>> doesn't look justified (to me) anymore. >>> >> Only because in this instance

GetDispParam discriminate b/w VT_EMPTY & zero VT_I4

2007-05-07 Thread Misha Koshelev
Hi, thank you very much for your help. I am implementing Installer::RegistryValue for MSI OLE automation and I need a way to tell apart a VT_EMPTY and a VT_I4 type variant with a value of 0 as these have two different behaviors for this function under Windows XP. I have not figured out a way to

RE: [PATCH] Adds NET START to net.exe

2007-05-07 Thread Rolf Kalbermatter
Rolf Kalbermatter [mailto:[EMAIL PROTECTED] >+GetServiceDisplayName(SCManager, service_name, NULL, buffer_size); >+if(!buffer_size) >+{ > >Apart from GetServiceDisplayName() currently not being implemented in Wine, this won't work! >*buffer_size won't be allocated by the function but h

Re: volume names of mounted iso images

2007-05-07 Thread James Hawkins
On 5/7/07, Alexandre Julliard <[EMAIL PROTECTED]> wrote: "James Hawkins" <[EMAIL PROTECTED]> writes: > I have a patch ready to go that fixes a problem with the media > switching code in msi. According to tests and msdn, the presence of a > required media (usually a CD or DVD) is confirmed using

Re: [3/4] Add tests for console codepages

2007-05-07 Thread Dmitry Timoshkov
"Kirill K. Smirnov" <[EMAIL PROTECTED]> wrote: +/* Try to set invalid CP */ +ok(!SetConsoleCP(0), "Shouldn't succeed\n"); +ok(GetLastError()==ERROR_INVALID_PARAMETER, "GetLastError: expecting %u got %u\n", ERROR_INVALID_PARAMETER, GetLastError()); +ok(!SetConsoleOutputCP(0), "S

re: kernel32: Implement most of CopyFileEx

2007-05-07 Thread Dan Kegel
Nice to see somebody filling in the gaps like this. A few nits based on a superficial reading: CopyFileA leaks a string. (I know, it did before your change, too.) copy_file_open_dest's interface comment has the wrong name. +for(i = 0; i < sizeof(flags) / sizeof(flags[0]); i++) +{ +

re: blizzard conference

2007-05-07 Thread Dan Kegel
Hey, that's only an hour away, maybe I / Lei / Nigel can drop by. But what's the "itchy /etc/hosts bug"? Is that http://bugs.winehq.org/show_bug.cgi?id=7929 ? - Dan

Re: rsaenh: fix bugs in RSAENH_CPAcquireContext and RSAENH_CPGetProvParam

2007-05-07 Thread Detlef Riekenberg
On Mo, 2007-05-07 at 18:29 +0200, Mounir IDRASSI wrote: > Thanks for your reply. I'm rewriting the patches and sending them back. > > Mounir IDRASSI > IDRIX - Cryptography and IT Security Experts > http://www.idrix.fr > > Detlef Riekenberg wrote: > > I have no Idea about the code, but the missing

Re: ddraw: DllCanUnloadNow

2007-05-07 Thread James Hawkins
On 5/7/07, Christian Gmeiner <[EMAIL PROTECTED]> wrote: Add support for DllCanUnloadNow and eliminates a FIXME You need to add (Un)LockModule calls to all the objects in ddraw. See [1] et al. [1] http://www.winehq.org/pipermail/wine-cvs/2005-January/013741.html -- James Hawkins

Serial port working with +relay but not normal

2007-05-07 Thread Aleš Rom
Hello, again. Two months ago I posted a message http://www.winehq.org/pipermail/wine-devel/2007-March/054710.html to this list. Now I'm using wine-0.9.36, but the serial port problem is still the same. After port initialization (19200,8N1-it's OK I think) no data is received from serial devi

Re: [PATCH 3/3] winex11: Use TINN algorithm to speed up colour lookups. (try 2)

2007-05-07 Thread Jesse Allen
On 5/7/07, Duane Clark <[EMAIL PROTECTED]> wrote: Dmitry Timoshkov wrote: > "Vitaly Budovski" <[EMAIL PROTECTED]> wrote: > >>> Now that you got rid of sqrt calls usage of float numbers internally >>> doesn't look justified (to me) anymore. >>> >> Only because in this instance it is used with inte

RE: [PATCH] Adds NET START to net.exe

2007-05-07 Thread Rolf Kalbermatter
Tim Schwartz [EMAIL PROTECTED] wrote: diff --git a/programs/net/net.c b/programs/net/net.c index f77c820..ef08250 100644 --- a/programs/net/net.c +++ b/programs/net/net.c @@ -18,15 +18,66 @@ #include #include +#include + +int net_service(char *operation, char *service_name) { +SC_HANDLE

Re: [PATCH 3/3] winex11: Use TINN algorithm to speed up colour lookups. (try 2)

2007-05-07 Thread Duane Clark
Dmitry Timoshkov wrote: "Vitaly Budovski" <[EMAIL PROTECTED]> wrote: Now that you got rid of sqrt calls usage of float numbers internally doesn't look justified (to me) anymore. Only because in this instance it is used with integer data. It doesn't need to be limited to just integer values. B

Re: Initial Mixer support on Mac OS X (1/7)

2007-05-07 Thread Emmanuel Maillard
Hi, I will see whether I have time this week to check this on winecoreaudio.drv. Emmanuel Le 6 mai 07 à 13:37, Dmitry Timoshkov a écrit : "Emmanuel Maillard" <[EMAIL PROTECTED]> wrote: Changelog : - inital Mixer support on Mac OS X - find all lines and initialize controls Could you ple

Re: blizzard conference

2007-05-07 Thread Tom Spear
On 5/7/07, Bryan Haskins <[EMAIL PROTECTED]> wrote: Oi, If only I could go =[ I would like to point out to any players who would go there "on the behald of the wine project" wink wink nudge nudge, that they generally give away some sick in game prizes! If you go and arent a player, you could eas

Re: dbghelp[2]: Speed up vector_add. Remove no longer needed pool_realloc.

2007-05-07 Thread Eric Pouech
Markus Amsler a écrit : Thanks to Eric for the idea. --- dlls/dbghelp/dbghelp_private.h |3 +- dlls/dbghelp/storage.c | 47 ++- 2 files changed, 18 insertions(+), 32 deletions(-) Markus, could you try what gives starting the bucket array size a

Re: blizzard conference

2007-05-07 Thread Bryan Haskins
Oi, If only I could go =[ I would like to point out to any players who would go there "on the behald of the wine project" wink wink nudge nudge, that they generally give away some sick in game prizes! If you go and arent a player, you could easily sell the codes they give out (at least last time)

Re: [5/5] D3D: Move Clippers from DDraw to wined3d

2007-05-07 Thread H. Verbeet
On 07/05/07, Stefan Dösinger <[EMAIL PROTECTED]> wrote: Needed to handle them properly there What exactly was the problem?

blizzard conference

2007-05-07 Thread Robert Millan
Sorry for the OT, but I thought this might be of your interest, considering some of the Blizzard game developers will attend: http://www.blizzard.com/press/070412.shtml Maybe someone in California feels like dropping by to do some lobbying about that itchy /etc/hosts bug? :-) -- Robert Milla

Re: "Installer already running"

2007-05-07 Thread Tom Spear
On 5/7/07, Pavel Troller <[EMAIL PROTECTED]> wrote: Hi Tom, there is the installer file. With regards, Pavel Troller Hi Pavel, I looked into the file. It is a 7-zip compressed Nullsoft installer. What that means is that if you decide to file a bug on bugzilla (highly recommended), ma

Re: "Installer already running"

2007-05-07 Thread Tom Spear
On 5/7/07, Vitaliy Margolen <[EMAIL PROTECTED]> wrote: Pavel Troller wrote: >>> it chokes on SECDRV.SYS). That is all you need to see to know this is SafeDisk. (for anybody who would like to try this too, the game itself has to be patched by nocd crack first, otherwise it chokes on SECDRV.S

Re: "Installer already running"

2007-05-07 Thread Pavel Troller
> Pavel Troller wrote: > >>> it chokes on SECDRV.SYS). > > That is all you need to see to know this is SafeDisk. > > Vitaliy. > Hi Vitaliy, sorry but you are wrong. If you want to judge the others, please be so kind and read at least the sentence in which your keyword appears. I'm quoting m

Re: wine-patch implement ClassFactory_LockServer in browseui dll

2007-05-07 Thread James Hawkins
On 5/7/07, Bernard Ladenthin <[EMAIL PROTECTED]> wrote: Hello, sorry about the patch before, it was the false one. This one is the right. Your first patch was already committed, so you might want to send in another patch fixing the mistake. -- James Hawkins

Re: "Installer already running"

2007-05-07 Thread Vitaliy Margolen
Pavel Troller wrote: >>> it chokes on SECDRV.SYS). That is all you need to see to know this is SafeDisk. Vitaliy.

Re: "Installer already running"

2007-05-07 Thread Pavel Troller
Hi Tom! > On 5/7/07, Pavel Troller <[EMAIL PROTECTED]> wrote: > >Dear Vitaliy, > > I'm very sorry for my total stupidity, ignorance and maybe even debility, > >but I can't find nothing common between Bug# 219 and my question. > > The PhysX installer doesn't check for any *ICE components present

Re: rsaenh: fix critical bug in read_key_container

2007-05-07 Thread Mounir IDRASSI
I'll take you advice from now and I apologize for any annoyance caused by my previous emails. I would also thank all the people who took time to review our patches and sent me their comments/remarks. Regards, Mounir IDRASSI IDRIX - Cryptography and IT Security Experts http://www.idrix.fr Vitaliy

Re: Linuxtag 2007 in Berlin

2007-05-07 Thread Stephan Hermann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Am Wed, 25 Apr 2007 17:44:57 +0200 schrieb Stefan Munz <[EMAIL PROTECTED]>: > Hi, > > finally we got a Wine booth at Linuxtag 2007 in Berlin. Everybody who > wants to participate is welcome. I have to order exhibitor passes, so > anyone you want

Re: rsaenh: fix critical bug in read_key_container

2007-05-07 Thread Vitaliy Margolen
No, that adds more pollution to the place which should not have it. Please send all patches to [EMAIL PROTECTED] If you think that all of your patches need work, then don't send them at all. Do this extra work. And when you have a patch that _you_ think is as good as it can be, send it to [EMAIL PR

Re: rsaenh: fix critical bug in read_key_container

2007-05-07 Thread Mounir IDRASSI
yes but I prefer sending patches first to the devel list for comments. Once no major issue is raised, I send it to the patches list. I think this helps prevent polluting the patches list. Mounir IDRASSI IDRIX - Cryptography and IT Security Experts http://www.idrix.fr Stefan Dösinger wrote: > Hi,

Re: rsaenh: fix bugs in RSAENH_CPAcquireContext and RSAENH_CPGetProvParam

2007-05-07 Thread Mounir IDRASSI
Thanks for your reply. I'm rewriting the patches and sending them back. Mounir IDRASSI IDRIX - Cryptography and IT Security Experts http://www.idrix.fr Detlef Riekenberg wrote: > I have no Idea about the code, but the missing defines should > be a seperate patch. > > Your idention looks broken. >

Re: rsaenh: fix critical bug in read_key_container

2007-05-07 Thread Stefan Dösinger
Hi, Patches should go to [EMAIL PROTECTED] :-) pgpiFsHZzRqcO.pgp Description: PGP signature

Re: rsaenh: fix bugs in RSAENH_CPAcquireContext and RSAENH_CPGetProvParam

2007-05-07 Thread Detlef Riekenberg
On Sa, 2007-05-05 at 19:16 +0200, Mounir IDRASSI wrote: > --- a/include/wincrypt.h > +++ b/include/wincrypt.h > +/* Values returned by CryptGetProvParam of PP_KEYSTORAGE */ > +#define CRYPT_SEC_DESCR 0x0001 > +#define CRYPT_PSTORE0x0002 > +#define CRYPT_UI_PROMPT

Re: [wine.inf] move explorer to the windows directory

2007-05-07 Thread Detlef Riekenberg
On Mo, 2007-05-07 at 08:28 +0200, Damjan Jovanovic wrote: > * Moved explorer.exe to the windows directory, because that's where > some apps expect to find it. You should also modify GetDesktopWindow in "dlls/user32/win.c": GetSystemDirecoryW => GetWindowsDirectoryW -- By by ... Detlef

Re: [PATCH] Adds NET START to net.exe

2007-05-07 Thread Dmitry Timoshkov
"Tim Schwartz" <[EMAIL PROTECTED]> wrote: +int net_service(char *operation, char *service_name) Please add 'static' since it isn't used outside of this .c file. +{ +SC_HANDLE SCManager, serviceHandle; +int result = 0; +unsigned int *buffer_size = NULL; +char *service_display_

Re: Winscard support (for smart cards)

2007-05-07 Thread Detlef Riekenberg
On Mo, 2007-04-30 at 00:58 +0200, Mounir IDRASSI wrote: > +#define SCARD_S_SUCCESS0x > +#define SCARD_F_INTERNAL_ERROR 0x8011 /**< An internal > consistency check failed. */ > +#define SCARD_E_CANCELLED 0x8012 /**< The > a

Re: dbghelp[2]: Speed up vector_add. Remove no longer needed pool_realloc.

2007-05-07 Thread Detlef Riekenberg
On Mo, 2007-05-07 at 05:46 +0200, Markus Amsler wrote: > +/* Don't even try to resize memory. Memory gain would be > minimal > + but speed hit significant with big vecotrs. * I have no Idea about the code, but found this Typo: vecotrs => vectors -- By by ... Detle

Re: Winscard support (for smart cards)

2007-05-07 Thread Mounir IDRASSI
Hi all, We have noticed that our first patch for winscard containing only the headers have not been applied yet. Is this a normal delay? Is there any pending issues? Should we send the remaining list of patches to complete the winscard implementation? Any comments/remarks are welcomed. Cheers, Mou

Re: volume names of mounted iso images

2007-05-07 Thread Alexandre Julliard
"James Hawkins" <[EMAIL PROTECTED]> writes: > I have a patch ready to go that fixes a problem with the media > switching code in msi. According to tests and msdn, the presence of a > required media (usually a CD or DVD) is confirmed using only the > volume name listed in the Media table of the ms

rsaenh: fix critical bug in read_key_container

2007-05-07 Thread Mounir IDRASSI
Hi, We have found a critical bug in rsaenh dll. This bug prevents CryptAcquireContext from correctly loading the key associated with the container from the registry, and thus CryptGetUserKey become unusable. This bug is located in the internal function read_key_container. Attached with this email i

Re: "Installer already running"

2007-05-07 Thread Tom Spear
On 5/7/07, Pavel Troller <[EMAIL PROTECTED]> wrote: Dear Vitaliy, I'm very sorry for my total stupidity, ignorance and maybe even debility, but I can't find nothing common between Bug# 219 and my question. The PhysX installer doesn't check for any *ICE components present in the system, doesn'

Re: crypt32: fix a wrong test

2007-05-07 Thread Laurent Vromman
> -ok(info->dwKeySpec == AT_SIGNATURE, > +ok(info->dwKeySpec == (AT_SIGNATURE|AT_KEYEXCHANGE), > "Expected AT_SIGNATURE, got %d\n", info->dwKeySpec); It could be a good idea to correct the error text "Expected AT_SIGNATURE"

crypt32: fix a wrong test

2007-05-07 Thread Mounir IDRASSI
Hi, In the tests of the crypt32 dll, a test was written in a way that accommodates the bug we have corrected previously in the patch for rsaenh dll. The attached small patch corrects the value expected from this test to be consistent with the correct output. Cheers, Mounir IDRASSI IDRIX - Cryptog

Re: "Installer already running"

2007-05-07 Thread Pavel Troller
Dear Vitaliy, I'm very sorry for my total stupidity, ignorance and maybe even debility, but I can't find nothing common between Bug# 219 and my question. The PhysX installer doesn't check for any *ICE components present in the system, doesn't output any strings to wine console, which are descri

Re: "Installer already running"

2007-05-07 Thread Vitaliy Margolen
I'm not so sure why are you reporting a long long long known problem with Safedisk here, on the mailing list? See the bug 219 and add your comments there. Pavel Troller wrote: > Hi! > I was trying to install the Joint Task Force game, which was packaged as > a bonus with my new graphics card. Th

Re: [try 2] Move console input/output codepages to server - what's wrong?

2007-05-07 Thread Kirill K. Smirnov
В сообщении от 30 апреля 2007 16:26 вы написали: > Hi, > A week ago I've sent a patch which fixes console input/output codepages > handling. > http://www.winehq.org/pipermail/wine-patches/2007-April/038429.html > It is still not applied, so please, explain, what is wrong with it? It even > fixes

Re: Can we catch access violation exceptions in tests?

2007-05-07 Thread Marcus Meissner
On Mon, May 07, 2007 at 12:31:02PM +0200, Mikołaj Zalewski wrote: > I'm trying to write a tests for invalid cbSize in Shell_NotifyIcon. > The behaviour under Windows XP is to assume in such a case that the size > is NOTIFYICONDATA_V1_SIZE. AFAIK Shell_NotifyIcon doesn't provide a way > to read

Re: Can we catch access violation exceptions in tests?

2007-05-07 Thread Damjan Jovanovic
On 5/7/07, Mikołaj Zalewski <[EMAIL PROTECTED]> wrote: I'm trying to write a tests for invalid cbSize in Shell_NotifyIcon. The behaviour under Windows XP is to assume in such a case that the size is NOTIFYICONDATA_V1_SIZE. AFAIK Shell_NotifyIcon doesn't provide a way to read icon data to check

Can we catch access violation exceptions in tests?

2007-05-07 Thread Mikołaj Zalewski
I'm trying to write a tests for invalid cbSize in Shell_NotifyIcon. The behaviour under Windows XP is to assume in such a case that the size is NOTIFYICONDATA_V1_SIZE. AFAIK Shell_NotifyIcon doesn't provide a way to read icon data to check that the data introduced after Win95 is not modified.

Re: Implements NET START to control system services

2007-05-07 Thread Dmitry Timoshkov
"Tim Schwartz" <[EMAIL PROTECTED]> wrote: #include #include +#include + +int net_service(char *operation, char *service_name); It's better to properly arrange the code to avoid forward declarations. +int net_service(char *operation, char *service_name) +{ +SC_HANDLE SCManager, service