Re: kernel32: fix cpu detection on NetBSD

2009-01-17 Thread Austin English
On Sat, Jan 17, 2009 at 4:05 AM, Francois Gouget wrote: > On Fri, 16 Jan 2009, Austin English wrote: > [...] >> Haven't been able to test real apps yet :-). >> >> I'm assuming you want me to test using, e.g., cpu-z? > > I was thinking more of checking the traces. It looks like > dlls/kernerl32/tes

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Dan Kegel
Sadly, I'm having trouble seeing how to do it this way and get ftell() right. ftell returns the position of the fd minus the number of bytes in the buffer. For that to work with this scheme, I'd have to store the number of CRs removed... and I'm not sure where in struct iobuf that could go, or whe

Re: winejoystick.drv: Implement POV support

2009-01-17 Thread Austin English
On Sat, Jan 17, 2009 at 6:01 AM, Vincent Pelletier wrote: > Note: > The code generating "discrete" values uses raw numbers istead of defined > values, because they exist only for 4 directions and (on the contrary of what > is advertised by MSDN) JOY_RETURNPOV also reports diagonal angles (verified

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread James McKenzie
Luke Kenneth Casson Leighton wrote: > l. > > On Sat, Jan 17, 2009 at 7:15 PM, Dan Kegel wrote: > >> Luke wrote: >> >>> [MSVCRT__filbuf() needs to strip CR's.] >>> >> Here's a quickie patch that kind of gets there, >> but fails an ftell test. My in-laws arrive in ten >> minutes, so

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread James McKenzie
Austin English wrote: > On Sat, Jan 17, 2009 at 12:31 PM, Vitaly Lipatov wrote: > >> В сообщении от 17 января 2009 Paul Chitescu написал(a): >> For changing "Wine" to wine", you can pipe through 'tr "W" "w"', when every supported system has a working "tr". >>> What

Re: Debian packages of Wine

2009-01-17 Thread Ben Klein
2009/1/18 Scott Ritchie : > Ben Klein wrote: >> Hi Maurilio, >> >> I see you've taken over building Lenny packages of Wine. Good work; at >> least now there are *some* updated packages available. >> >> I talked to Scott a while ago about taking over from him for all >> Debian package building. I ha

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Austin English
On Sat, Jan 17, 2009 at 12:31 PM, Vitaly Lipatov wrote: > В сообщении от 17 января 2009 Paul Chitescu написал(a): >> > For changing "Wine" to wine", you can pipe through 'tr "W" "w"', >> > when every supported system has a working "tr". >> >> What about using the standard @PACKAGE_TARNAME@ which i

Re: Debian packages of Wine

2009-01-17 Thread Scott Ritchie
Ben Klein wrote: > Hi Maurilio, > > I see you've taken over building Lenny packages of Wine. Good work; at > least now there are *some* updated packages available. > > I talked to Scott a while ago about taking over from him for all > Debian package building. I have an automated build environment

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
l...@gonzalez:~/src/python2.5-2.5.2$ ./python.exe Lib/test/test_file.py -v testIteration (__main__.OtherFileTests) ... ok -- Ran 1 test in 0.008s OK yaay! so, obviously, the regression tests in python aren't _that_ good, as the

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
spiffo, dan, jolly good show :) that fixed both #16982 _and_ #16970 - the character reading bit - with the exception that the ftell() position, which was wrong _before_ this patch, is still also wrong, as you suspected. l. On Sat, Jan 17, 2009 at 7:15 PM, Dan Kegel wrote: > Luke wrote: >> [MSVC

fgets followed by fread gives wrong results

2009-01-17 Thread Luke Kenneth Casson Leighton
http://bugs.winehq.org/show_bug.cgi?id=16982 test case included, along with output shown from native msvcrt.dll run. this is _different_ from #16790 (but inter-related, as fgets is made up from lots of fgetc()s. the file pos (from ftell) is off by one, compared to msvcrt.dll On Sat, Jan 17, 200

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
give it a bit more time - there's another one (involving fgets followed by fread) which i'm investigating, i'll have that one nailed as a test case in a bit, am just about to add a test case to #16790 On Sat, Jan 17, 2009 at 7:15 PM, Dan Kegel wrote: > Luke wrote: >> [MSVCRT__filbuf() needs to st

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Dan Kegel
Luke wrote: > [MSVCRT__filbuf() needs to strip CR's.] Here's a quickie patch that kind of gets there, but fails an ftell test. My in-laws arrive in ten minutes, so I probably can't go any further on it this weekend. There are probably other simplifications that could be made beyond this, I didn'

Re: Debian packages of Wine

2009-01-17 Thread Scott Ritchie
Lei Zhang wrote: > On Fri, Jan 16, 2009 at 7:17 AM, Bjoern Krombholz > wrote: >> On Fri, Jan 16, 2009 at 8:11 AM, Paul Bryan Roberts >> wrote: >>> I'm puzzled by the sizes of the packages. Packages for Debian by Maurilio >>> and James are 13-14 Mb to download whereas Ubuntu packages by Scott ar

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Vitaly Lipatov
В сообщении от 17 января 2009 Paul Chitescu написал(a): > > For changing "Wine" to wine", you can pipe through 'tr "W" "w"', > > when every supported system has a working "tr". > > What about using the standard @PACKAGE_TARNAME@ which is by default > normalized (spaces removed, converted to lowerca

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
got it. in stdio.h: #if !defined _MT (which it isn't...) __CRT_INLINE int __cdecl __MINGW_NOTHROW getc (FILE* __F) { return (--__F->_cnt >= 0) ? (int) (unsigned char) *__F->_ptr++ : _filbuf (__F); } #else /* Use library functions. */ _CRTIMP int __cdecl __MINGW_NOTHROW getc (FILE*

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Vitaly Lipatov
В сообщении от 17 января 2009 Nikolay Sivov написал(a): > > PACKAGE_NAME can be some another name, no Wine nor wine. > > Excuse me, Vitaly. What was an initial purpose of this change? I suppose to remove hardcoded project name for support build wine based project with other name. For example, I bu

python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Dan Kegel
Luke wrote: > 1) why am i the only person filling out the bugreports? :) You got lucky and found a good test suite! If you put up a nice easy recipe, you'll probably get some help. > 2) surely these regression tests would work equally as well under the > python2.5.2.exe that you can get as part

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Paul Chitescu
On Saturday 17 January 2009 15:21:26 Detlef Riekenberg wrote: > On Sa, 2009-01-17 at 14:24 +0300, Vitaly Lipatov wrote: > > В сообщении от 16 января 2009 Detlef Riekenberg написал(a): > > > On Fr, 2009-01-16 at 20:51 +0300, Vitaly Lipatov wrote: > > > > - version=`(GIT_DIR=$(TOPSRCDIR)/.git g

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Nikolay Sivov
Vitaly Lipatov wrote: > В сообщении от 17 января 2009 Detlef Riekenberg написал(a): > >> On Sa, 2009-01-17 at 14:24 +0300, Vitaly Lipatov wrote: >> >>> В сообщении от 16 января 2009 Detlef Riekenberg написал(a): >>> On Fr, 2009-01-16 at 20:51 +0300, Vitaly Lipatov wrote:

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Vitaly Lipatov
В сообщении от 17 января 2009 Detlef Riekenberg написал(a): > On Sa, 2009-01-17 at 14:24 +0300, Vitaly Lipatov wrote: > > В сообщении от 16 января 2009 Detlef Riekenberg написал(a): > > > On Fr, 2009-01-16 at 20:51 +0300, Vitaly Lipatov wrote: > > > > - version=`(GIT_DIR=$(TOPSRCDIR)/.git git

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Detlef Riekenberg
On Sa, 2009-01-17 at 14:24 +0300, Vitaly Lipatov wrote: > В сообщении от 16 января 2009 Detlef Riekenberg написал(a): > > On Fr, 2009-01-16 at 20:51 +0300, Vitaly Lipatov wrote: > > > - version=`(GIT_DIR=$(TOPSRCDIR)/.git git describe HEAD > > > 2>/dev/null || echo "wi...@package_version@") |

Re: libs/wine/Makefile.in: replace `wine` with @PACKAGE_NAME@

2009-01-17 Thread Vitaly Lipatov
В сообщении от 16 января 2009 Detlef Riekenberg написал(a): > On Fr, 2009-01-16 at 20:51 +0300, Vitaly Lipatov wrote: > > - version=`(GIT_DIR=$(TOPSRCDIR)/.git git describe HEAD > > 2>/dev/null || echo "wi...@package_version@") | sed -n -e '$$s/\(.* > > \)/const char wine_build[] = "\1";/p'`

Re: python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
> but the behaviour of msvcrt wrt crlf is _definitely_ not right, as it > stands, and as a result it completely screws any possibility for > running python.exe under wine. completely. you can't have files that > you write to, that are different from when they are read back. ok this turns o

python regression tests - a monster hammer to keep wine "in check" :)

2009-01-17 Thread Luke Kenneth Casson Leighton
folks, hi, i've started running the python regression tests under wine (using the build of python i've only just created) and have started filling in bugreports for the tests that fail, but some things occurred to me: 1) why am i the only person filling out the bugreports? :) 2) surely these regres

Re: kernel32: fix cpu detection on NetBSD

2009-01-17 Thread Francois Gouget
On Fri, 16 Jan 2009, Austin English wrote: [...] > Haven't been able to test real apps yet :-). > > I'm assuming you want me to test using, e.g., cpu-z? I was thinking more of checking the traces. It looks like dlls/kernerl32/tests/thread.c (and a couple of others) call GetSystemInfo(), which s

RE: winetest: make the wrapper immune to Ctrl-C

2009-01-17 Thread Ge van Geldorp
> From: Dylan Smith [mailto:dylan.ah.sm...@gmail.com] > > On Fri, Jan 16, 2009 at 6:21 PM, Ge van Geldorp wrote: > > > > The riched20:editor test seems to be sending Ctrl-C > > keystrokes to the wrong window on Windows. When running > > "winetest -q" They end up in the winetest console window,