Re: kernel32: WideCharToMultiByte: return error on negative dest len

2008-03-21 Thread Dan Kegel
On Fri, Mar 21, 2008 at 7:12 PM, James Hawkins <[EMAIL PROTECTED]> wrote: > > +#include > > Leftover from a previous version of the patch? Whoops, yes. I'll resend it Monday.

Re: kernel32: WideCharToMultiByte: return error on negative dest len

2008-03-21 Thread James Hawkins
On Fri, Mar 21, 2008 at 6:43 PM, Dan Kegel <[EMAIL PROTECTED]> wrote: > While investigating a crash in gs-auftrag in bug 9039, noticed > WideCharToMultiByte > wasn't quite conformant for negative destlen. Fixed, with tests. > > diff --git a/dlls/kernel32/locale.c b/dlls/kernel32/locale.c > inde

bug_report.pl

2008-03-21 Thread Austin English
In cleaning up the documentation, I found that we still reference tools/bug_report.pl. The script is about 8-9 years old! I haven't seen it referenced in a while, and looking in the archives, the last time it was mentioned was in 2002: http://www.winehq.org/pipermail/wine-devel/2002-May/006741.html

Fun Projects page - needs update

2008-03-21 Thread Austin English
Looking at http://winehq.org/site/fun_projects, A LOT of it is out of date. I've been looking through the documentation and starting to update some of it, but this is one I don't know too much about. Would everyone mind taking a look and updating whatever they know is fixed/what they're working on/

Re: 7/6 WineD3D: CheckDeviceFormat srgb write support

2008-03-21 Thread Roderick Colenbrander
> > Hi, > > > > This patch adds srgb write support to CheckDeviceFormat. Before we > > implicitly allowed it. Stefan said that we offer it using ARB/GLSL > shaders > > when the format is X8R8G8B8 or A8R8G8B8. > Ah, looks like you were faster than I was with replying :-) > > Did you check which for

Re: 5/6 WineD3D: CheckDeviceFormat texture

2008-03-21 Thread Roderick Colenbrander
> > Hi, > > > > Don't continue with CheckDeviceFormat if a texture format isn't around. > What happens with volumetextures here? > This is already handled for Volume textures. Roderick -- Psst! Geheimtipp: Online Games kostenlos spielen bei den GMX Free Games! http://games.entertainment.gmx.net

Re: GSoC: reg.exe

2008-03-21 Thread Jan Zerebecki
On Thu, Mar 20, 2008 at 02:45:47PM -0700, Dan Kegel wrote: > > [Somebody is already working on reg.exe.] > > Does that mean the project is no longer free for grabs? > It depends. The SoC staff frown on joint projects, but > it's possible. It seem that Andrew Riedi, the author of the reg.exe stub

Re: 7/6 WineD3D: CheckDeviceFormat srgb write support

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 22:49:05 schrieb Roderick Colenbrander: > Hi, > > This patch adds srgb write support to CheckDeviceFormat. Before we > implicitly allowed it. Stefan said that we offer it using ARB/GLSL shaders > when the format is X8R8G8B8 or A8R8G8B8. Ah, looks like you were faster than

Re: wine + mono instead of .net framework?

2008-03-21 Thread John Klehm
On Fri, Mar 21, 2008 at 4:06 PM, Jeroen Janssen <[EMAIL PROTECTED]> wrote: > Hi, > > I was wondering if it is possible to use mono instead of the (microsoft) .net > framework for windows applications running under wine. > > i.e. I have an application that 'requires' .net 2.0, and wants me to ins

wine + mono instead of .net framework?

2008-03-21 Thread Jeroen Janssen
Hi, I was wondering if it is possible to use mono instead of the (microsoft) .net framework for windows applications running under wine. i.e. I have an application that 'requires' .net 2.0, and wants me to install it. With mono 'installed' it would see that .net 2.0 is "already installed" and jus

Re: 6/6 WineD3D: CheckDeviceFormat remove dead code

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 22:11:48 schrieb Roderick Colenbrander: > I expect a number of other 'fake' regressions like the one regarding srgb > writing but those can only become visible after this patch. Note that we perfectly well support srgb writing on all formats if ARB or GLSL pixel shaders a

Re: 5/6 WineD3D: CheckDeviceFormat texture

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 22:07:17 schrieb Roderick Colenbrander: > Hi, > > Don't continue with CheckDeviceFormat if a texture format isn't around. What happens with volumetextures here?

Re: winex11.drv: Indirection level fix

2008-03-21 Thread Andrew Talbot
Ken Thomases wrote: > It's used in dlls/wintab32/wintab32.c via pGetCurrentPacket and you > appear to have guessed correctly. > > Cheers, > Ken Looking good! Thanks for this, Ken. -- Andy.

re: GSoC application

2008-03-21 Thread Dan Kegel
> I would like to submit my GSoC application link: > http://wiki.winehq.org/LouisLadas Hi Louis, you should probably look for a couple backup apps to implement as I suggested to the other applicant here: http://winehq.org/pipermail/wine-devel/2008-March/063828.html Have you already built wine fro

AppDB?

2008-03-21 Thread Christopher
Who's in charge of AppDB? I sent in a couple requests a week ago, and they still haven't been approved (or denied). The first was for a new application, PhoenixRC, which I'll be happy to maintain. And the other was for a new vendor, Mozy, Inc., so that I could update MozyHome to have the correc

Re: winex11.drv: Indirection level fix

2008-03-21 Thread Ken Thomases
On Mar 21, 2008, at 10:30 AM, Andrew Talbot wrote: > It seems that either "packet" should not be a WTPACKET **, or the > first > parameter to the memcpy() should be *packet. Unable to find this > function being > used anywhere, I guessed the former. It's used in dlls/wintab32/wintab32.c via pG

Re: GSoC'08 - Tools - Scriptable Configuration

2008-03-21 Thread James Hawkins
On Fri, Mar 21, 2008 at 1:52 AM, Xanf <[EMAIL PROTECTED]> wrote: > Hello, everyone. > My name is Illya and I'm interested in taking part in GSoC 2008 for > implementing scriptable configuration for wine. > > So I'd liked to discuss it with community. > > First of all - why I'm interested in th

Re: developing hints appreciated

2008-03-21 Thread Marcel Partap
> Can you be more specific on what the issues are here? Just curious. Well.. basically everything that goes beyond compiling small one-file programs not using the win32api :) I have to add that i didn't start hacking wine as first step but built an exe file outside of wine, so everything that i

re: GSoC'08 - Tools - Scriptable Configuration

2008-03-21 Thread Dan Kegel
Illya wrote: >Currently I'm working as a kind of "software consultant" in my city. >My primary The primary aim of work - helping migrating from MS >Windows platform to Linux & Open Source. Unfortunately, a great number >of different applications were written and still heavily used in >companies o

Re: [4/22] WineD3D: A shader backend descriptor for the ati fragment shader backend

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 16:22:41 schrieb Ivan Gyurdiev: > > Shader Model 3.0 and earlier versions have different ways to pass > > varyings from vertex to pixel shader. In the end this means that the > > pixel shader is dependent on the vertex shader. If the vertex shader is a > > GLSL shader, it

Re: [4/22] WineD3D: A shader backend descriptor for the ati fragment shader backend

2008-03-21 Thread Ivan Gyurdiev
> Shader Model 3.0 and earlier versions have different ways to pass varyings > from vertex to pixel shader. In the end this means that the pixel shader is > dependent on the vertex shader. If the vertex shader is a GLSL shader, it can > read either the builtin varyings or the declared ones, the

Re: [Bug 12131] New: Need a 1.2.0 milestone

2008-03-21 Thread Dan Kegel
On Fri, Mar 21, 2008 at 1:44 AM, Austin English <[EMAIL PROTECTED]> wrote: > On Fri, Mar 21, 2008 at 2:03 AM, James Hawkins <[EMAIL PROTECTED]> wrote: > > We know who the admins are. The issue is that none of the current > > super-admins (Jan and Tony that I know of) keep up with wine-devel on

Re: loader: more stringent sanity check

2008-03-21 Thread Darragh Bailey
On Fri, Mar 21, 2008 at 03:56:08AM -0500, Austin English wrote: > On Fri, Mar 21, 2008 at 3:37 AM, Alexandre Julliard <[EMAIL PROTECTED]> wrote: > > That's a good point, we could certainly prevent running wineprefixcreate > > as root in that case too, that would probably solve most of the > > p

Re: [4/22] WineD3D: A shader backend descriptor for the ati fragment shader backend

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 03:07:48 schrieb Ivan Gyurdiev: > However, since there are 3 base things to inherit from (arb, glsl, > none), you're inheriting each of them and now you have 6 "backends". That's what I got rid of in the newest patches I sent to this list.

Re: [4/22] WineD3D: A shader backend descriptor for the ati fragment shader backend

2008-03-21 Thread Stefan Dösinger
Am Freitag, 21. März 2008 03:07:48 schrieb Ivan Gyurdiev: > However, since there are 3 base things to inherit from (arb, glsl, > none), you're inheriting each of them and now you have 6 "backends". It > seems that the base functionality is fairly independent of the derived > functionality, so that'

Re: Implement ID3DXRenderToSurface*

2008-03-21 Thread tony . wasserka
> It would probably be better to avoid doing that. It isn't quite the > same as disassembling the native implementation, but in general you > want to avoid looking at how the native implementation is implemented > rather than how it behaves. I have to admit that I didn't think of these kind of thin

GSoC application

2008-03-21 Thread Mad Scientist
Hello wine-devel, I would like to submit my GSoC application link: http://wiki.winehq.org/LouisLadas?action=show Thanks :)

Re: d3dx9: Implement ID3DXRenderToSurface_OnLostDevice/OnResetDevice [PATCH 7/7]

2008-03-21 Thread H. Verbeet
On 20/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > These are not very interesting... > On winehackers I was told that under wine the device won't ever get invalid > anyways so these patches are just > for having the implementation complete. > It might be true that on wine the device n

Re: loader: more stringent sanity check

2008-03-21 Thread Austin English
On Fri, Mar 21, 2008 at 3:37 AM, Alexandre Julliard <[EMAIL PROTECTED]> wrote: > "Austin English" <[EMAIL PROTECTED]> writes: > > > I suspect it's more often people sudo'ing. I haven't tried it, but I > > know that Alexandre committed a fix that checks if you're running with > > sudo after the i

Re: d3dx9: Implement ID3DXRenderToSurface_EndScene [PATCH 6/7]

2008-03-21 Thread H. Verbeet
On 20/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > ...and clean up everything again. > I have no idea why it's StretchRect and not UpdateSurface or something, but > the native dll is doing it like this. > > +/* The native d3dx9 does a buffer->GetDevice(&bufdev) here. ...and th

GSoC'08 - Tools - Scriptable Configuration

2008-03-21 Thread Xanf
Hello, everyone. My name is Illya and I'm interested in taking part in GSoC 2008 for implementing scriptable configuration for wine. So I'd liked to discuss it with community. First of all - why I'm interested in that project? Currently I'm working as a kind of "software consultant" in my city.

Re: d3dx9: Implement D3DXCreateRenderToSurface [PATCH 2/7]

2008-03-21 Thread H. Verbeet
On 20/03/2008, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Just a little note: All functions have been coded using the output of > WINEDEBUG="d3d9", > i.e. my implementation is doing exactly the same things as the native d3dx9 > regarding > d3d stuff. It would probably be better to avoid doi

Re: [Bug 12131] New: Need a 1.2.0 milestone

2008-03-21 Thread Austin English
On Fri, Mar 21, 2008 at 2:03 AM, James Hawkins <[EMAIL PROTECTED]> wrote: > We know who the admins are. The issue is that none of the current > super-admins (Jan and Tony that I know of) keep up with wine-devel on > a daily basis. We need another admin, and this has been the case for > some t

Re: re: GSoC: reg.exe

2008-03-21 Thread Max99x
> [Look at other command line utilities] Thanks for the advice. So far it seems the stuff on the ConsoleConfiguration wiki page is the only requested config-related console programs. I'd be interested in implementing ftype.exe and assoc.exe from the list you linked to, but when reg.exe is complet

Re: loader: more stringent sanity check

2008-03-21 Thread Alexandre Julliard
"Austin English" <[EMAIL PROTECTED]> writes: > I suspect it's more often people sudo'ing. I haven't tried it, but I > know that Alexandre committed a fix that checks if you're running with > sudo after the inital .wine directory is made, but I'm not sure about > what happens if you do it initially

Re: loader: more stringent sanity check

2008-03-21 Thread Alexandre Julliard
"Dan Kegel" <[EMAIL PROTECTED]> writes: > Many, many newbies are running wine as root without > really needing to. They are much more likely to screw > up their systems this way. Are you saying we should stop > advising against this? I have seen very little evidence that anybody screwed up thei

Re: loader: more stringent sanity check

2008-03-21 Thread Marcus Meissner
On Thu, Mar 20, 2008 at 09:48:31PM -0600, Vitaliy Margolen wrote: > Austin English wrote: > > On Thu, Mar 20, 2008 at 6:40 PM, Lei Zhang <[EMAIL PROTECTED]> wrote: > >> On Ubuntu, you cannot even login as root, they'd have to run "sudo > >> wine". On many other distros, if you login as root, you'

Re: wineprefixcreate: more stringent sanity check (try 2)

2008-03-21 Thread Marcus Meissner
On Thu, Mar 20, 2008 at 05:25:12PM -0700, Dan Kegel wrote: > (Moved check to wineprefixcreate as Alexandre suggested.) > > Many newbies mistakenly run wine as root. Catch > this in wineprefixcreate and direct them to the wiki. > Power users can bypass the check with --nosanitycheck. > Fixes the r

Re: [Bug 12131] New: Need a 1.2.0 milestone

2008-03-21 Thread James Hawkins
On Thu, Mar 20, 2008 at 11:45 PM, John Klehm <[EMAIL PROTECTED]> wrote: > > This is related to the problem, but there needs to be at least one > > other bugzilla super-admin. The only active bugzilla admin I know of > > is Jan Zerebecki, and he is not online enough to keep up with the pace >