Re: wined3d and winex11 hand in hand...

2009-02-01 Thread Jérôme Gardou
Dmitry Timoshkov a écrit : > > "Jérôme Gardou" wrote: > >> Quite oddly enough, wined3d and winex11 don't communicate with each >> other at all (well, wined3d uses WGL in gdi32, and gdi32 is based on >> winex11), and this leads to problems which are tricky to resolve... For >> instance, when a d3d

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Tom Wickline
Hello Dan, I would suggest maybe a demo of CrossOver Office and Office 2003 or 2007. Yes, I'm aware of Open Office but many business still prefer Microsoft Office and Outlook.. It also shows that there is a support channel available for large install bases. Just my $.02 Tom On Mon, Feb 2, 2009

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Ben Klein
2009/2/2 Dan Kegel : > On Sun, Feb 1, 2009 at 9:48 AM, Dan Kegel wrote: >> I'm going to be giving a Wine presentation at >> Cebit next month. You can see a draft of the >> presentation at >> http://kegel.com/wine/cebit2009/talk.html > > I've updated the presentation. Mostly I just > added hype

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Dan Kegel
On Sun, Feb 1, 2009 at 9:48 AM, Dan Kegel wrote: > I'm going to be giving a Wine presentation at > Cebit next month. You can see a draft of the > presentation at > http://kegel.com/wine/cebit2009/talk.html I've updated the presentation. Mostly I just added hyperlinks (some even useful) to all

Re: wined3d and winex11 hand in hand...

2009-02-01 Thread Dmitry Timoshkov
"Jérôme Gardou" wrote: > Quite oddly enough, wined3d and winex11 don't communicate with each > other at all (well, wined3d uses WGL in gdi32, and gdi32 is based on > winex11), and this leads to problems which are tricky to resolve... For > instance, when a d3d application wants to disable screens

Re: deb packages archive down?

2009-02-01 Thread James McKenzie
Tom Wickline wrote: > Hello, > > I have been trying to access the Wine deb archives for about > six hours now and Ive been receiving a "connection to the server was reset" > error. I'm not sure how long this has been the case but can the maintainer > of the archive please look into this failure? >

Re: wine.budgetdedicated.com down?

2009-02-01 Thread Jeremy White
> Would it be possible to host the Wine packages somewhere with higher > availability? My sense is that budgetdedicated has largely had a stellar track record, and that we should, in addition to our great thanks and praise, give them the benefit of the doubt. Scott, I looped you directly in the

Re: performance issue when OffscreenRenderingMode = "pbuffer"

2009-02-01 Thread Ben Klein
2009/2/2 Stefan Dösinger : > Am Sonntag, 1. Februar 2009 22:02:15 schrieb Jérôme Gardou: >> The patch was sent, but not accepted. Does anyone have a clue about it? >> >> http://www.winehq.org/pipermail/wine-patches/2009-January/068339.html > The vidmem counting is faked, and only counts the size of

Re: performance issue when OffscreenRenderingMode = "pbuffer"

2009-02-01 Thread Stefan Dösinger
Am Sonntag, 1. Februar 2009 22:02:15 schrieb Jérôme Gardou: > The patch was sent, but not accepted. Does anyone have a clue about it? > > http://www.winehq.org/pipermail/wine-patches/2009-January/068339.html The vidmem counting is faked, and only counts the size of the D3D objects, not the size th

Re: [RFC] Port of Stefan Dösinger's ARB_vertex_program fixed-function vertex pipeline replacement to 1.1.14

2009-02-01 Thread Stefan Dösinger
> Towards that aim, I've ported Stefan Dösinger's initial implementation > of this from October last year [1] to what turned out to be 1.1.14. I think they passed the last time I tested it. You could try to check out the old wine version and test with the original patch. I could be wrong though.

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Piotr Pawłow
Dan Kegel wrote: > It'd be nice to also have some games, but I don't > play enough to know which ones to pick. I'd suggest FlatOut 2. It's an arcade racing game with nice graphics. The only thing I couldn't get to work on Wine is online play, everything else work great - sound, videos, special

Re: [patch] review requested - NamedPipe Message mode (was Reliable Datagram / Stream behaviour of NT Pipes)

2009-02-01 Thread Luke Kenneth Casson Leighton
> so, adding server_named_pipe_read() avoids this issue by doing locking > (like server_get_unix_fd()) does, i see) $ git commit -a -m '#17185 - server-based read_named_pipe. does blocking in client and non-blocking reads (using recv MSG_PEEK) in the server. messy as hell.' says it all, really

wined3d and winex11 hand in hand...

2009-02-01 Thread Jérôme Gardou
Quite oddly enough, wined3d and winex11 don't communicate with each other at all (well, wined3d uses WGL in gdi32, and gdi32 is based on winex11), and this leads to problems which are tricky to resolve... For instance, when a d3d application wants to disable screensavers, there is no way to do

Re: performance issue when OffscreenRenderingMode = "pbuffer"

2009-02-01 Thread Jérôme Gardou
The patch was sent, but not accepted. Does anyone have a clue about it? http://www.winehq.org/pipermail/wine-patches/2009-January/068339.html

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Marcus Meissner
On Sun, Feb 01, 2009 at 09:48:01AM -0800, Dan Kegel wrote: > I'm going to be giving a Wine presentation at > Cebit next month. You can see a draft of the > presentation at > http://kegel.com/wine/cebit2009/talk.html > (I will say lots more than is written there; the > slides are kept simple on pu

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Vít Hrachový
Hiya, I've forgotten to add that .ahk script was designed to run with Wine Virtual Desktop Emulation enabled, not in full screen. Cheers Hark Vít Hrachový wrote: > Hi Dan > from top of my head - > > Heroes of Might and Magic III > Wizardry 8 > Lord of the Rings: Battle for Middle-Earth 2 > > a

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Reece Dunn
2009/2/1 Kai Blin : > On Sunday 01 February 2009 20:11:33 Seth Shelnutt wrote: >> Dan, >> >> As far as games go, off the top of my head there is WoW, and Guildwars. >> Battlefield 2/2142 both seem good choice. Counter Strike: Source and COD4 >> are gold rated. Lastly Crysis is gold rated too. There

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Vincent Povirk
I have to suggest Knytt: http://appdb.winehq.org/objectManager.php?sClass=version&iId=6849 It's a simple 2d platformer. While it's not impressive in the sense of "look at all the amazing stuff wine must be doing for this to work", it's a thing that you can just download and run (with any version o

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Vít Hrachový
Hi Dan from top of my head - Heroes of Might and Magic III Wizardry 8 Lord of the Rings: Battle for Middle-Earth 2 all have free demo downloads and don't require net. I already had Heroes 3 Demo autohotkey script prepared for my presentation about Windows GUI automation inside Unixes. Feel f

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Evil Jay
It's too bad you can't count on an internet Connection. WoW and City of Heroes/Villains are two of the most impressive looking (and fast) games under Wine, IMHO. Heck, even just the login screen for WoW might be a nice show - with the dracolich constantly landing/taking off while it's snowing. I

Re: Fwd: A basic implementation for increased security in wine proposal

2009-02-01 Thread Stefan Dösinger
> I stand corrected, as it appears I was way too naive in my understanding of > software security, hence the example I provided. IMHO the whole discussion is moot. Any Windows app can easilly bypass *any* security measure in Wine by calling int 0x80, and there's nothing we can do against that oth

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Kai Blin
On Sunday 01 February 2009 20:11:33 Seth Shelnutt wrote: > Dan, > > As far as games go, off the top of my head there is WoW, and Guildwars. > Battlefield 2/2142 both seem good choice. Counter Strike: Source and COD4 > are gold rated. Lastly Crysis is gold rated too. There is an issue with > punkbus

Re: wine.budgetdedicated.com down?

2009-02-01 Thread Christoph Korn
The latest ubuntu packages are available here: https://launchpad.net/~ubuntu-wine/+archive/ppa Christoph Korn Matt Perry schrieb: > On Sun, Feb 1, 2009 at 8:54 AM, Dan Kegel wrote: >> I can't download debian wine packages from >> wine.budgetdedicated.com today... > > Would it be possible to hos

Re: Simple but awesome demos of Wine?

2009-02-01 Thread Seth Shelnutt
Dan, As far as games go, off the top of my head there is WoW, and Guildwars. Battlefield 2/2142 both seem good choice. Counter Strike: Source and COD4 are gold rated. Lastly Crysis is gold rated too. There is an issue with punkbuster but that only effects online play. 3Dmark06 seems to work to so

Re: First complete test run passing on a Windows platform

2009-02-01 Thread Florian Köberle
Hello Gé. I ran the test 30 times using the same way you did without any failure. I used a vm with 1 CPU assigned too. Installed is a Windows XP with SP2. If I start the test twice so that two tests are running parallel then I get test failures too, but: Do we really have the requirement that te

Re: wine.budgetdedicated.com down?

2009-02-01 Thread Matt Perry
On Sun, Feb 1, 2009 at 8:54 AM, Dan Kegel wrote: > I can't download debian wine packages from > wine.budgetdedicated.com today... Would it be possible to host the Wine packages somewhere with higher availability? Maybe at winehq.org, or apply for hosting at ibiblio.org or mirrors.kernel.org?

Simple but awesome demos of Wine?

2009-02-01 Thread Dan Kegel
I'm going to be giving a Wine presentation at Cebit next month. You can see a draft of the presentation at http://kegel.com/wine/cebit2009/talk.html (I will say lots more than is written there; the slides are kept simple on purpose, with just the key idea in the caption.) A large part of the pre

Re: [PATCH] kernel32: handle section=NULL in WritePrivateProfileStructW (Coverity)

2009-02-01 Thread Nikolay Sivov
Marcus Meissner wrote: > Hi, > > CID 69, section name NULL will just crash in the calls below and > without it we cannot work anyway. So return FALSE; > > Ciao, Marcus > --- > dlls/kernel32/profile.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/dlls/kernel32/profi

wine.budgetdedicated.com down?

2009-02-01 Thread Dan Kegel
I can't download debian wine packages from wine.budgetdedicated.com today...

Re: [patch] review requested - NamedPipe Message mode (was Reliable Datagram / Stream behaviour of NT Pipes)

2009-02-01 Thread Piotr Pawłow
Luke Kenneth Casson Leighton wrote: > ohhh, ok. yeah, you're right, it would be _incredibly_ useful to > have message-moding / named-pipes in the linux kernel. You may want to check the Longene project (former Linux Unified Kernel). Maybe they already have it implemented in kernel. http://www.

Re: [PATCH] winspool.drv: Check return value of EnumPrintersA

2009-02-01 Thread Marcus Meissner
On Sun, Feb 01, 2009 at 03:25:43PM +0100, Detlef Riekenberg wrote: > On Sa, 2009-01-31 at 11:09 +0100, Marcus Meissner wrote: > > -EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &needed, > > &num); > > -if(needed) { > > +if (EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &need

Re: [PATCH] winspool.drv: Check return value of EnumPrintersA

2009-02-01 Thread Detlef Riekenberg
On Sa, 2009-01-31 at 11:09 +0100, Marcus Meissner wrote: > -EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &needed, > &num); > -if(needed) { > +if (EnumPrintersA(PRINTER_ENUM_LOCAL, NULL, 5, NULL, 0, &needed, > &num) && needed) { EnumPrinterA must always update "needed". "nedded"

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Paul TBBle Hampson
On Sun, Feb 01, 2009 at 01:23:49PM +0100, Guillaume SH wrote: > Basically, yes I don't know what the exploit is (there's no magic in there : > possibility for an exploit is enough to justify action). So without the magic, there's no demonstrated possibility for an exploit, so the justification goe

Re: dinput: Move gain support from effect to device

2009-02-01 Thread Vincent Pelletier
Le Friday 30 January 2009 02:58:34 Vitaliy Margolen, vous avez écrit : > First why do you typecase DWORD to (int) to assign to DWORD? Second DWORD > will always be > 0. If you want to check it against limit then just check > it being <= 1 otherwise return error. [...] > You should use MulDiv in

deb packages archive down?

2009-02-01 Thread Tom Wickline
Hello, I have been trying to access the Wine deb archives for about six hours now and Ive been receiving a "connection to the server was reset" error. I'm not sure how long this has been the case but can the maintainer of the archive please look into this failure? http://wine.budgetdedicated.com/

Re: BOOL WINAPI versus BOOL in d3dx9 and d3dx8

2009-02-01 Thread Tony Wasserka
> Hi, > > the declaration of IntersectionTri is > BOOL IntersectionTri(.) in d3dx8mesh.h and > BOOL WINAPI? IntersectionTri(.) in d3dx9mesh.h . > > Is the latter one compatible with the former one (so I can forward d3dx9 > function to the d3dx8 one) > or must I implement them separately?

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Guillaume SH
Paul, Basically, yes I don't know what the exploit is (there's no magic in there : possibility for an exploit is enough to justify action). But I don't ask for an API breakage, I propose wine to support two modes : one with API misuse checks and one strictly the same behaviour as Windows. This le

Re: [patch] review requested - NamedPipe Message mode (was Reliable Datagram / Stream behaviour of NT Pipes)

2009-02-01 Thread Luke Kenneth Casson Leighton
On Sun, Feb 1, 2009 at 9:29 AM, Alexandre Julliard wrote: > Luke Kenneth Casson Leighton writes: > >>> You can't do that stuff on the client side. You either have to do all >>> pipe I/O in the server, or add named pipe support in the kernel. The >>> latter is harder, but would be much more useful

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Paul TBBle Hampson
On Sun, Feb 01, 2009 at 10:41:25AM +0100, Guillaume SH wrote: > Imagine an ill-intentioned people, call it the attackers. By the mean of > simply creating the following C application (based on classical "Hello > word") : > #include needed header > int main (int argc, char * argv[]) > { > /* p

Fwd: A basic implementation for increased security in wine proposal

2009-02-01 Thread Guillaume SH
-- Forwarded message -- From: Guillaume SH Date: 2009/2/1 Subject: Re: A basic implementation for increased security in wine proposal To: Marcus Meissner Hi Marcus, I stand corrected, as it appears I was way too naive in my understanding of software security, hence the example

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Reece Dunn
2009/2/1 Marcus Meissner : > On Sun, Feb 01, 2009 at 10:41:25AM +0100, Guillaume SH wrote: >> >> Running this application on wine, I get to have my crash, with the >> possibility of an exploit. So all I have to do know is to find a vector to >> make you and some other people willing to run my appli

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Marcus Meissner
On Sun, Feb 01, 2009 at 10:41:25AM +0100, Guillaume SH wrote: > Hi Paul, > > You asked me to actually describe the security I am concerned about, so I am > going for it : > > Imagine an ill-intentioned people, call it the attackers. By the mean of > simply creating the following C application (ba

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Guillaume SH
Hi Paul, You asked me to actually describe the security I am concerned about, so I am going for it : Imagine an ill-intentioned people, call it the attackers. By the mean of simply creating the following C application (based on classical "Hello word") : #include needed header int main (int arg

Re: [patch] review requested - NamedPipe Message mode (was Reliable Datagram / Stream behaviour of NT Pipes)

2009-02-01 Thread Alexandre Julliard
Luke Kenneth Casson Leighton writes: >> You can't do that stuff on the client side. You either have to do all >> pipe I/O in the server, or add named pipe support in the kernel. The >> latter is harder, but would be much more useful. > > well, not entirely knowing the difference, i'm guessing th

Re: A basic implementation for increased security in wine proposal

2009-02-01 Thread Paul TBBle Hampson
On Sun, Feb 01, 2009 at 09:11:29AM +0100, Guillaume SH wrote: > I tested the two modes with the help of wine test suite, restricted to > kernel/file.c, test_overlapped and I considered only : > all must-be-successful tests > GetOverlappedResult(0, NULL, &result, FALSE); > GetOverlappedR

A basic implementation for increased security in wine proposal

2009-02-01 Thread Guillaume SH
Hi project, Following the two previous threads, I am posting here a draft patch implementing my proposal. So, to begin with I will remind you the principle : All function callable from outside wine, should be added sanity checks : if safe_mode_on and (sanity_check1_failed or sanity_chec

Re: [patch] review requested - NamedPipe Message mode (was Reliable Datagram / Stream behaviour of NT Pipes)

2009-02-01 Thread Luke Kenneth Casson Leighton
> You can't do that stuff on the client side. You either have to do all > pipe I/O in the server, or add named pipe support in the kernel. The > latter is harder, but would be much more useful. well, not entirely knowing the difference, i'm guessing that i'm adding named pipe support in the kerne