Re: Another report of malware running on Wine

2007-01-29 Thread Pavel Troller
Hi! This weekend my son downloaded a trojan masking as keygen for a Symbian mobile application. After running a trojan, a tooltip in the systray appeared saying something like "Your computer is infected". After that, I inspected his .wine directory. There were many files added in various direc

Re: Test case for Bug 50 [Was: Bug 50]

2007-01-29 Thread Dmitry Timoshkov
"Pedro Araujo Chaves Jr." <[EMAIL PROTECTED]> wrote: Here's the picture: when an application calls TextOut() for printing text, the usual (at least in my case) call sequence in Wine is TextOut() TextOutA() ExtTextOutA() ExtTextOutW() (the one I patched) GetTextExtentPointW() GetTextExtentPoint3

Re: [Bug 6689] Created links do not reflect WINEPREFIX used

2007-01-29 Thread Alexander Nicolaysen Sørnes
Mandag 29 januar 2007 20:58, skrev Kuba Ober: > On Monday 29 January 2007 12:50, Tomas Carnecky wrote: > > Lei Zhang wrote: > > > Setting the Exec= line in a .desktop file to: WINEPREFIX=foo wine bar > > > worked in KDE. In Gnome, it works if "run from the terminal" is set. > > > > > > Unfortunatel

Re: [Bug 6689] Created links do not reflect WINEPREFIX used

2007-01-29 Thread Kuba Ober
On Monday 29 January 2007 12:50, Tomas Carnecky wrote: > Lei Zhang wrote: > > Setting the Exec= line in a .desktop file to: WINEPREFIX=foo wine bar > > worked in KDE. In Gnome, it works if "run from the terminal" is set. > > > > Unfortunately the Freedesktop spec for desktop entries does not > > sp

Re: [Bug 6689] Created links do not reflect WINEPREFIX used

2007-01-29 Thread Tomas Carnecky
Lei Zhang wrote: > Setting the Exec= line in a .desktop file to: WINEPREFIX=foo wine bar > worked in KDE. In Gnome, it works if "run from the terminal" is set. > > Unfortunately the Freedesktop spec for desktop entries does not > specify a way to add environment variables. So yes, it looks like >

Re: Test case for Bug 50 [Was: Bug 50]

2007-01-29 Thread Pedro Araujo Chaves Jr.
On 2007-01-29, Duane Clark wrote: GetTextExtentPoint32 For some examples in Wine, look at almost any control in comctl32. I was afraid somebody would answer that... Thanks for the quick reply, but that isn't exactly what I need. Here's the picture: when an application calls TextOut() for prin

Re: [Bug 6689] Created links do not reflect WINEPREFIX used

2007-01-29 Thread Lei Zhang
Setting the Exec= line in a .desktop file to: WINEPREFIX=foo wine bar worked in KDE. In Gnome, it works if "run from the terminal" is set. Unfortunately the Freedesktop spec for desktop entries does not specify a way to add environment variables. So yes, it looks like we'll need a wrapper script,

Re: Test case for Bug 50 [Was: Bug 50]

2007-01-29 Thread Duane Clark
Pedro Araujo Chaves Jr. wrote: I've just finished writing a test case for Bug 50, but I'm missing *a single thing* that prevents it from working under Windows: I still don't know how to get the width of the text output by ExtTextOutW(). GetTextExtentPoint32 For some examples in Wine, look at a

kernel32: allow profile section and key names of zero length

2007-01-29 Thread Claudio Fontana
Hello, following up on the profile changes started on this thread: http://www.winehq.org/pipermail/wine-devel/2006-December/053009.html I tried a patch in git format made against latest. First attempt at using git, that is. dlls/kernel32/profile.c: allow section and key names of zero length dll

Re: DirectPlay should initialize The session guid when creating a session

2007-01-29 Thread Alessandro Pignotti
On Monday 29 January 2007 14:26, Kai Blin wrote: > On Sunday 28 January 2007 20:38, Tomas Carnecky wrote: > > > From Microsoft DirectX SDK Documentation it seems that directplay > > > should initialize the instance guid on session creation, this trivial > > > patch does that. > > > > Two questions:

Re: DirectPlay should initialize The session guid when creating a session

2007-01-29 Thread Kai Blin
On Sunday 28 January 2007 20:38, Tomas Carnecky wrote: > > From Microsoft DirectX SDK Documentation it seems that directplay should > > initialize the instance guid on session creation, this trivial patch does > > that. > > Two questions: > > 1. Does windows do this, too? You can't rely on the MS

Wine study

2007-01-29 Thread TRENY Simon
Hello guys :) We are a team of French students (at ENSEIRB, an engineering school in Bordeaux), and we are studying the Wine project as an example of open source project. We'd like to find out more about how things work from the inside, from any developer's point of view. So we have compiled here

Re: Test case for Bug 50 [Was: Bug 50]

2007-01-29 Thread Pedro Araujo Chaves Jr.
I've just finished writing a test case for Bug 50, but I'm missing *a single thing* that prevents it from working under Windows: I still don't know how to get the width of the text output by ExtTextOutW(). MSDN isn't helping much, and I haven't found the optimal Google query yet... ;-) Would any

Another report of malware running on Wine

2007-01-29 Thread Dan Kegel
A user reports that a trojan horse runs ok on wine, and indeed it had him fooled (right up to the point where it popped up a window offering to optimize his registry, anyway): http://www.postproductie.nl/?p=9