RegDeleteTree and older versions of windows?

2007-08-31 Thread Maarten Lankhorst
Now that most functions get replaced with RegDeleteTree, I'm wondering if it is possible to link against that function statically for mingw/msvc dlls, so wine dlls can be still be used on win9x and windows nt and win2k. The problem is I don't know what the best solution would be to make sure the

Re: [1/3] WineD3D: Fix texdp3tex in glsl

2007-08-31 Thread H. Verbeet
On 30/08/2007, Stefan Dösinger [EMAIL PROTECTED] wrote: The preferred way to do that is to use shader_glsl_get_sample_function(). Also note that previously the docs just said The result is used to sample the texture at texture stage m by performing a 1D lookup. The addition of using 0.0 to

Re: [1/3] WineD3D: Fix texdp3tex in glsl

2007-08-31 Thread Stefan Dösinger
Am Freitag, 31. August 2007 09:35 schrieb H. Verbeet: On 30/08/2007, Stefan Dösinger [EMAIL PROTECTED] wrote: The preferred way to do that is to use shader_glsl_get_sample_function(). Yes, but additionally to the sampling function I needed the dimension of the vector cast, so I'd have needed a

Re: [1/3] WineD3D: Fix texdp3tex in glsl

2007-08-31 Thread H. Verbeet
On 31/08/2007, Stefan Dösinger [EMAIL PROTECTED] wrote: Am Freitag, 31. August 2007 09:35 schrieb H. Verbeet: On 30/08/2007, Stefan Dösinger [EMAIL PROTECTED] wrote: The preferred way to do that is to use shader_glsl_get_sample_function(). Yes, but additionally to the sampling function I

Re: Hmm. Cider and the LGPL

2007-08-31 Thread Stefan Dösinger
Am Donnerstag, 30. August 2007 22:26 schrieb Dan Kegel: it'd be nice to have responses to questions like The LGPL seems to give users the right to remove the LGPL'd portions of Cider from game A and use it with other apps. The gamers who are currently doing this are also copying proprietary

Re: crypt32(1/17): Greatly expand certificate chain tests

2007-08-31 Thread Alexandre Julliard
Juan Lang [EMAIL PROTECTED] writes: In case the big version doesn't get through in time, here's a gzipped version. It fails for me: ../../../tools/runtest -q -P wine -M crypt32.dll -T ../../.. -p crypt32_test.exe.so chain.c touch chain.ok chain.c:1187: Test failed: Chain 12:

Re: winex11.drv: fix memory leak in create_cursor (found by Smatch)

2007-08-31 Thread James Hawkins
On 8/31/07, Lionel_Debroux [EMAIL PROTECTED] wrote: create_cursor leaks some heap memory in an error path. Found in Michael Stefaniuc's list of Wine potential bugs detected by Smatch. I'm almost sure that the other potential memory leak detected by Smatch, in the same function, is NOTABUG.

Re: [2/5] WineD3D: Fix the z range

2007-08-31 Thread Stefan Dösinger
Am Freitag, 31. August 2007 17:20 schrieb Stefan Dösinger: Do not apply this patch yet, it breaks half life 2. There's something about the minZ and maxZ values in the viewport that we have to take into account.

Re: Hmm. Cider and the LGPL

2007-08-31 Thread Jakob Eriksson
Dan Kegel wrote: http://www.linux-community.de/story?storyid=23294 and http://www.macnews.de/news/102145.html mention that some users are using Cider from one game to run a second game on the Mac. The game vendors are upset, and are saying they'll do something to make that harder. There is

Re: RegDeleteTree and older versions of windows?

2007-08-31 Thread Alexandre Julliard
Maarten Lankhorst [EMAIL PROTECTED] writes: I'm open for suggestions though, since I really can't come up with any good ways to make sure wine dlls will keep working for older versions of windows. I don't think we want to add more infrastructure for that regsvr.c stuff. It should really be

Vacation

2007-08-31 Thread Alexandre Julliard
Hi folks, I'll be on vacation all of next week, so there won't be any commits. If you need to synchronize development with others in the meantime, I encourage you to create a tree on repo.or.cz. The 0.9.45 release will also be delayed by a week, so it will be on Sept 14th. Have fun while I'm

Re: winex11.drv[1/4]: wintab: restructure WTInfoA to dump a category by dumping field by field (resend)

2007-08-31 Thread Alexandre Julliard
Mikolaj Zalewski [EMAIL PROTECTED] writes: I see that my patch to skip non-pressure-sensitive devices didn't get it. I will try to look into it next week while now I'll resend the Unicode patches that are easier. Here the first patch could be controversial as I use a lot of macros. But that

Re: [3/5] WineD3D: Fix texdepth instruction

2007-08-31 Thread Alexandre Julliard
Stefan Dösinger [EMAIL PROTECTED] writes: The DCT pixel shader test spotted a problem with texdepth. The test included in this patch demonstrates texdepth's undocumented clamping behavior, and verifies the documented r5.r == 0.0 special case. This doesn't work for me: ../../../tools/runtest

Re: [2/5] WineD3D: Fix the z range

2007-08-31 Thread Stefan Dösinger
Am Freitag, 31. August 2007 18:12 schrieb Stefan Dösinger: Am Freitag, 31. August 2007 17:20 schrieb Stefan Dösinger: Do not apply this patch yet, it breaks half life 2. There's something about the minZ and maxZ values in the viewport that we have to take into account. Use the attached patch

Re: [4/5] WineD3D: Implement texldb

2007-08-31 Thread H. Verbeet
On 31/08/2007, Stefan Dösinger [EMAIL PROTECTED] wrote: Not as much a comment on this patch, but rather something I just thought of and I'll otherwise probably forget: our d3d9types.h doesn't contain definitions for D3DSI_TEXLD_PROJECT and D3DSI_TEXLD_BIAS, so we should add those.

Re: [5/5] WineD3D: texkill ignores the .w only in ps 1.x

2007-08-31 Thread Tomas Carnecky
+ +hr = IDirect3DDevice9_Clear(device, 0, NULL, D3DCLEAR_TARGET, 0xff00ff00, 0.0, 0); +ok(hr == D3D_OK, IDirect3DDevice9_CreatePixelShader returned %s\n, DXGetErrorString9(hr)); Is that worth changing? tom

Re: [PATCH] user32: edit control should respond to ctrl + z (try 2)

2007-08-31 Thread Dmitry Timoshkov
Lei Zhang [EMAIL PROTECTED] wrote: This patch lets users hit ctrl + Z in edit controls to trigger an undo. The test case has been improved to check for return values when appropriate. +/* select all, cut (ctrl-x), undo (ctrl-z) */ +SendMessage(hwEdit, EM_SETSEL, 0, -1); +r =

Re: [1/3] whhc - add chm compiler

2007-08-31 Thread Vitaliy Margolen
Miikka Viljanen wrote: adds the whhc chm compiler under tools/whhc And what told you that you can just change the license from GPL to Wine's LGPL by just editing the header? Have you even asked authors of the program? Vitaliy.