Re: Very large files

2006-06-25 Thread Damjan Jovanovic
--- John Willis <[EMAIL PROTECTED]> wrote: > Howdy, > > I have a large VS 6.0 C++ program and I'm running it > under WINE under Redhat Linux. > Everything works fine, but it doesn't handle file > sizes greater than 4gb like it can running > directly under Windows XP. > I've tweaked everythin

Re: [AppDb] [2/3] safe functions

2006-06-25 Thread Jonathan Ernst
Le dimanche 25 juin 2006 à 20:00 -0400, Chris Morgan a écrit : > Hi Jonathan. > > You'll want to talk to EA about the filtering changes. The plan is to > filter using the same syntax and flags that the php filter extension > is going to use so we can easily switch over to this extension in the >

Re: [AppDB] - protect against sql injection in select, update and delete statements

2006-06-25 Thread Tony Lambregts
Chris Morgan wrote: Oh for crying out loud. Go ahead and automate if you know how to. If you or someone else can show me how I am willing to work on it too, I an not opposed to automating all of the testing if that is possible. In the mean time am against these large patches that are difficult t

Re: [AppDB] - protect against sql injection in select, update and delete statements

2006-06-25 Thread Chris Morgan
> Oh for crying out loud. Go ahead and automate if you know how to. If you or > someone else can show me how I am willing to work on it too, I an not > opposed to automating all of the testing if that is possible. > > In the mean time am against these large patches that are difficult to test > beca

Re: [AppDB] - protect against sql injection in select, update and delete statements

2006-06-25 Thread Tony Lambregts
Chris Morgan wrote: On Sunday 25 June 2006 10:00 pm, Tony Lambregts wrote: Chris Morgan wrote: Testing once beats testing over and over and over again IMO. Thats why you want to make the patches small. Small patches are easy to review, test and prove the correctness of. Big patches are difficu

Re: [AppDB] - protect against sql injection in select, update and delete statements

2006-06-25 Thread Chris Morgan
On Sunday 25 June 2006 10:00 pm, Tony Lambregts wrote: > Chris Morgan wrote: > > Testing once beats testing over and over and over again IMO. > > Thats why you want to make the patches small. Small patches are easy to > review, test and prove the correctness of. Big patches are difficult to > test

Re: winspool.drv: Write-strings warnings fix

2006-06-25 Thread Mike McCormack
Andrew Talbot wrote: +static CHAR dtype[] = "RAW", +processor[] = "WinPrint", These strings should really be const. IMO, a better fix would be to add a cast to cast them back to (char*) than to change their storage class. Mike

Re: [AppDB] - protect against sql injection in select, update and delete statements

2006-06-25 Thread Tony Lambregts
Chris Morgan wrote: Testing once beats testing over and over and over again IMO. Thats why you want to make the patches small. Small patches are easy to review, test and prove the correctness of. Big patches are difficult to test and one bug rejects the whole thing, so you have to start all o

re: Wine, Darwine, CodeWeavers-- Intel MacOS X

2006-06-25 Thread Dan Kegel
William Knopp writes: What's the story with wine on intel os x? A few people, including Codeweavers, are working on it. More would be welcome. There is no politics keeping people away, as far as I know. If you run into any developer who says that politics is keeping him or her from submitting

Re: [AppDb] [3/3] Comments handling cleanup

2006-06-25 Thread Chris Morgan
The makeSafe() changes for filtering data and the query_parameters() changes for sql injection parameters are related but independent changes. It seems like query_parameters() is a better fix than putting inline sprintf()s and quote_safe_sql() calls. query_parameters() encapsulates the calls to

Re: [AppDb] stuff thats broken

2006-06-25 Thread Chris Morgan
Oh. I had no idea that you had re-enabled makeSafe(). You almost certainly do not want to do that, it was disabled because it was broken. makeSafe() likely will never use addSlashes() since that protection was intended to make variables safe for use with sql. Future implementations of makeSafe

Re: [AppDb] [2/3] safe functions

2006-06-25 Thread Chris Morgan
Hi Jonathan. You'll want to talk to EA about the filtering changes. The plan is to filter using the same syntax and flags that the php filter extension is going to use so we can easily switch over to this extension in the future. Also, I've submitted a patch for review to [EMAIL PROTECTED] and

Wine, Darwine, CodeWeavers-- Intel MacOS X

2006-06-25 Thread William Knop
Hello all, What's the story with wine on intel os x? It's barely mentioned in the wine wiki and on the darwine website (not at all on winehq). I'm under the impression darwine is concentrating on running wine on ppc/ darwin. I know codeweavers is working specifically on making wine on intel

Re: SecuRom investigation

2006-06-25 Thread Martin Owen
Currently it seems to create drives based on directory locations, but there is no way of specifying what kind of drive it appears to be to windows. perhaps this would help games identify the cdrom drive and some games install of multiple discs. I can't help but feel wine has no support for cd driv

Opengl states in wined3d

2006-06-25 Thread Stefan Dösinger
Hello, The way opengl states are managed in wined3d at the moment is a bit messy and inefficient. Basically it is a mixture of modifying the opengl settings when the application modifies the d3d settings and brute-force applying the rest in drawprim. The situation has got worse with the additio

Re: Wine developers?

2006-06-25 Thread Troy Rollo
On Friday 23 June 2006 22:50, Mike Hearn wrote: > A very specific legal interpretation that would require the > company behind Thinstall to want to hurt the Wine project be careful, > none of us are lawyers here. That's not entirely true. -- Troy Rollo - [EMAIL PROTECTED]

Re: SecuRom investigation

2006-06-25 Thread n0dalus
On 6/25/06, Martin Owen <[EMAIL PROTECTED]> wrote: which if we could get our hands on the source code would at least give us more information about how this security works and may even allow us to work around it perminently with in wine. One easy way of improving compatibility with copy prot

Re: [AppDb] Comments handling cleanup

2006-06-25 Thread Jonathan Ernst
Le dimanche 25 juin 2006 à 10:59 -0600, Tony Lambregts a écrit : [...] > I am more in favor of this approach than using makeSafe() and do the same > thing > as Chris's query_parameters() patch. However I am hard pressed to say whether > this method is really better or safer than query_parameters

Re: SecuRom investigation

2006-06-25 Thread Mike Hearn
On Sun, 25 Jun 2006 02:34:24 +0100, Martin Owen wrote: > which if we could get our hands on the source code would at least give > us more information about how this security works and may even allow us > to work around it perminently with in wine. The goal is not to work around it, the goal is to

Re: Patch: winex11drv create_cursor Loading 32bit rgba cursor image

2006-06-25 Thread Mike Hearn
Heya Pauli, A review is enclosed. To submit a patch please send it to the wine-patches list, where it'll enter Alexandres queue for review. Firstly I'm kind of surprised this doesn't require the XCursor extension. Handling the case of a solid alpha channel by converting it to a mask is fine but y

Re: An RPM of wine with safedisc support

2006-06-25 Thread Mike Hearn
On Sat, 24 Jun 2006 15:22:42 +0100, ivanleo wrote: > Safedisc 2 and above are not supported. Is the reason why not on the Wiki? Would be cool to get it there if not. > To run a safedisc protected game, you must run winecfg and > set the drive type of your cdrom drive to "cdrom" in the drives tab

Re: Ole-BSTR-Concat broken?

2006-06-25 Thread Mike Hearn
On Sat, 24 Jun 2006 11:47:51 +0200, Olaf Schmidt wrote: > Do you handle the OLE-BSTR-stuff directly in wine, or do you > give that jobs to other Libs in the system (the 0.9.12er winelib- > update has also changed some dependencies (Gtk, libc* and > others)? BSTR (Basic String) is a Microsoft spec

Re: indented relay traces

2006-06-25 Thread Mike Hearn
On Sat, 24 Jun 2006 02:15:09 -0700, James Hawkins wrote: > Ah, didn't know about that tool. You learn something new every day. Perhaps it should be mentioned in the developer quickstart. thanks -mike

Re: [AppDb] Comments handling cleanup

2006-06-25 Thread Tony Lambregts
Jonathan Ernst wrote: Hi, I followed your discussions about sql/html injection and had a look at what you are doing in order to fix the situation and I don't want to offense anybody but I feel that what you are trying to do is a bit hacky ;-). Here is a cleaned up version of the comments handli

Re: [AppDb] stuff thats broken

2006-06-25 Thread Tony Lambregts
Chris Morgan wrote: 5.) If you add a hyperlink in a note it is broken with makesafe() turned on. I'm not sure this has anything to do with makeSafe(). Right now makeSafe() is effectively disabled and I've carefully reviewed the changes to addAppNode.php but I can't see how any of the changes b

Re: Recording with "Lexia" (mci "open new")

2006-06-25 Thread Eric Pouech
I'm having a simular problem with G711Tool.exe 0009:trace:mci:mciSendStringW (L"open waveaudio alias snd", 0x40371358, 512, (nil)) the same fix should do it... don't forget to apply (if you didn't do it yet) the latest changes to wine.inf so that mciwave.dll is you mci driver (and no longe

Re: Recording with "Lexia" (mci "open new")

2006-06-25 Thread Eric Pouech
Damjan Jovanovic wrote: 3) Most importantly: Why is it necessary to add CAPTURE to system.ini? Perhaps the "alias" argument isn't correctly handled? Yes wine's MCI is broken: the parsing of some formats of MCI commands is incorrect, one of the examples I clearly remember being: "open

Re: How do I get the unix filename for a wine handle?

2006-06-25 Thread Christoph Probst
Hi. Eric Pouech wrote: > just for sake of completeness: how about enhancing ClamAV so that it > takes a fd (instead of a filename) as its input ? It looks like as if fd are already supported somehow. Need to have a closer look at that ... But I found an even better alternative: ClamAV supports

Re: riched20: WM_SETFONT support

2006-06-25 Thread Matt Finnicum
On 6/25/06, Krzysztof Foltman <[EMAIL PROTECTED]> wrote: I'm definitely for using your conformance test code. And WM_GETFONT. Not sure about the rest - the code in my patch is based on implementation of EM_SETCHARFORMAT, so it's basically as good as that one. Actually, GETFONT was a mistake -

[TOOLS] Re: Gecko installer

2006-06-25 Thread Jonathan Ernst
Le samedi 24 juin 2006 à 20:06 +0200, Jacek Caban a écrit : > Hi, > [...] > - We need php script redirecting to SourceForge similar to one that > forwards to Mozilla ActiveX control. Here you are. --- /dev/null 2006-01-19 01:09:08.0 +0100 +++ winegecko.php 2006-06-25 11:37:20.0

Re: Patch: winex11drv create_cursor Loading 32bit rgba cursor image

2006-06-25 Thread Pauli
I looked the code bit more. Then I thought I hate if and removed some of them. Now I think code is cleaner but it has minor performance hit when cursor don't have alpha. But create_cursor won't be called every frame. ? dlls/winex11.drv/.mouse.c.swp Index: dlls/winex11.drv/mouse.c ==

Re: wined3d: declaration/FVF conversion test

2006-06-25 Thread Jason Green
On 6/19/06, Ivan Gyurdiev <[EMAIL PROTECTED]> wrote: Does the windows box support shader model 3.0 ? The reason I keep asking about this is that MSDN talks about a ' pre-3.0' driver and a 3.0 driver, and I wanted to see if behavior was different. Just tested on my primary machine which has an N

Re: riched20: WM_SETFONT support

2006-06-25 Thread Krzysztof Foltman
Matt Finnicum wrote: I was just about to send in the same patch when you did. I'll have to keep you updated on what I'm working on in the future. That'd be nice - as I mostly stopped doing riched20 stuff for quite some time, and only got back to it a few days ago. I've attached the patch I