New winetricks 20101106: mostly just bugfixes and updates

2010-11-05 Thread Dan Kegel
Another month, another Winetricks. Online as always at http://kegel.com/wine/winetricks or http://winezeug.googlecode.com (Bug reports to the issue tracker at the above URL, please.) Changes: Austin English - add amstream verb - bump firefox to 3.6.12 - fix dotnet11 install on recent wine - if

Re: [PATCH 2/4] comctl32/tests: Change toolbar size test data to load dynamically.

2010-11-05 Thread Austin Lund
On 5 November 2010 22:35, Alexandre Julliard wrote: > Austin Lund writes: > >> +static void init_tbsize_results(void) { >> +    tbsize_results = (tbsize_result_t *)HeapAlloc(GetProcessHeap(), >> HEAP_ZERO_MEMORY, 24*sizeof(tbsize_result_t)); >> +    tbsize_results[0] = (tbsize_result_t) { {0, 0,

Re: Voting for bugs (Was: Re: [Bug 20969])

2010-11-05 Thread James McKenzie
On 11/4/10 9:22 PM, Austin English wrote: On Fri, Nov 5, 2010 at 4:02 AM, James McKenzie wrote: Yes, there are bugs with thousands of votes, but that just shows the scope of effect of a particular bug. I'm not sure where you got that idea: http://bugs.winehq.org/buglist.cgi?query_format=advan

Re: [PATCH 10/14] [Msvcrt*]: implemented _vc(w)printf

2010-11-05 Thread Alexandre Julliard
Eric Pouech writes: > I therefore suspect MSVCRT_vfprintf (in file.c) to be buggy as well as > the va_list isn't reset between calls to MSVCRT_vsnprintf Yes, vfprintf has the same issue. -- Alexandre Julliard julli...@winehq.org

Re: [PATCH 10/14] [Msvcrt*]: implemented _vc(w)printf

2010-11-05 Thread Eric Pouech
Le 03/11/2010 10:53, Alexandre Julliard a écrit : Eric Pouech writes: +int CDECL _vcprintf(const char* format, __ms_va_list xvalist) { char buf[2048], *mem = buf; int written, resize = sizeof(buf), retval; - __ms_va_list valist; + __ms_va_list valist = xvalist; You can't copy a v

re: Function strstr and MinGW

2010-11-05 Thread Dan Kegel
You forgot to null-terminate escaped_space[].

Re: Function strstr and MinGW

2010-11-05 Thread GOUJON Alexandre
On 11/05/2010 09:11 PM, Ozan Türkyılmaz wrote: \0 ending? I think you're right. I forgot '\0' at the end of escaped_space. That's so stupid ! Well, sorry for the noise and thanks for your help. It remember me a sentence a teacher told me: "When there are errors, we know a program doesn't

Re: Function strstr and MinGW

2010-11-05 Thread Eryk Wieliczko
brutalcompu...@b:/tmp$ i586-mingw32msvc-gcc test.c brutalcompu...@b:/tmp$ wine a.exe 17_'A simple test . ' brutalcompu...@b:/tmp$ gcc test.c brutalcompu...@b:/tmp$ ./a.out 47_'a...@space@sim...@space@t...@space@@sp...@.@space@' brutalcompu...@b:/tmp$ I don't understand either... Ubuntu 10.04. i5

Function strstr and MinGW

2010-11-05 Thread GOUJON Alexandre
Hi everyone, I'm still trying to improve wine cmd but I'm stuck with my patch making tests failing. After some investigations, I've found that my function which replace all @space@ by real spaces does not always work. So I've written a test_case (attached code). It runs perfectly on Ubuntu (

Re: [PATCH 2/2] slc/tests: Add tests for SLGetWindowsInformationDWORD [try 2]

2010-11-05 Thread Marvin
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=6829 Your paranoid android.

Re: [PATCH 5/5] quartz: Remove position from filtergraph

2010-11-05 Thread Alexandre Julliard
Maarten Lankhorst writes: > --- > dlls/quartz/filtergraph.c | 59 +++- > 1 files changed, 26 insertions(+), 33 deletions(-) It doesn't work here: ../../../tools/runtest -q -P wine -M quartz.dll -T ../../.. -p quartz_test.exe.so filtergraph.c && touch

Re: [PATCH 2/4] comctl32/tests: Change toolbar size test data to load dynamically.

2010-11-05 Thread Alexandre Julliard
Austin Lund writes: > +static void init_tbsize_results(void) { > +tbsize_results = (tbsize_result_t *)HeapAlloc(GetProcessHeap(), > HEAP_ZERO_MEMORY, 24*sizeof(tbsize_result_t)); > +tbsize_results[0] = (tbsize_result_t) { {0, 0, 672, 26}, {100, 22}, 5, { > +{ 0, 2, 23, 24},

Re: server: raise ulimit -n if possible, warn if very low

2010-11-05 Thread Alexandre Julliard
Dan Kegel writes: > void sock_init(void) > { > +struct rlimit lim; > + > +if (!getrlimit(RLIMIT_NOFILE, &lim) && lim.rlim_cur < lim.rlim_max) { > +lim.rlim_cur = lim.rlim_max; > +setrlimit(RLIMIT_NOFILE, &lim); > +} This is already done in the Wine loader, there's n

Re: Transparent windows (with alpha channel)

2010-11-05 Thread Vassilis Virvilis
On 04/11/2010 05:07 μμ, Roderick Colenbrander wrote: You would require ARGB visuals. Various drivers support them these days for desktop composition purposes. When I asked Alexandre about them a long time ago, he said we couldn't use them in Wine. I don't know why that was. Further even if we cou