vsnprintf: glibc and win32 not compatible

2004-03-07 Thread Jesse Allen
Hi, Here I have filed a bug on vsnprintf: http://bugs.winehq.org/show_bug.cgi?id=2075 Basically it says, without repeating, that vsnprintf called from glibc is not quite a suitable replacement for an actual msvcrt vsnprintf. An example is given to highlight a specific issue. I have a question

Re: ccache gives winebuild errors?

2004-03-07 Thread Alexandre Julliard
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > This seems like real low priority however. It's a corner case that's > not worth worrying about at this point. There are much better workarouds > that don't depend on this (rather strange) trick. Escaping the spaces is really low priority I agree

Re: ccache gives winebuild errors?

2004-03-07 Thread Dimitrie O. Paun
On March 7, 2004 7:37 pm, Alexandre Julliard wrote: > make is using $CC the same way, so I don't think that's an issue. If > $CC has embedded spaces they will need to be escaped in the makefile, > and winegcc can then deal with the escapes the same way the shell > does. This seems like real low pr

RE: Wine as shared library patch

2004-03-07 Thread Robert Shearman
Alexandre Julliard wrote: > Miguel de Icaza <[EMAIL PROTECTED]> writes: > > > Well, the issue is that our WinMain is never called, and we would > > rather not depend on this in our patch, but instead get the small > > global that says `Hey Wine, just return'. > > The global variable thing is ugly;

Re: ccache gives winebuild errors?

2004-03-07 Thread Alexandre Julliard
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > That's correct, winegcc expects $CC to be a program without arguments. > I don't think we can easily change that (well, we could but in that > case we wouldn't be able to support $CC with embedded spaces, which > is not good). make is using $CC th

Re: Wine as shared library patch

2004-03-07 Thread Alexandre Julliard
Miguel de Icaza <[EMAIL PROTECTED]> writes: > Well, the issue is that our WinMain is never called, and we would > rather not depend on this in our patch, but instead get the small > global that says `Hey Wine, just return'. The global variable thing is ugly; we could export a different entry poin

Re: Contribution offer: Localization work

2004-03-07 Thread Ivan Leo Murray-Smith
Look at the programs directory, most programs can be translated. You're usually looking for a De.rc file, if it's missing, make a second copy of the En.rc file, and call it De.rc. Now translate the strings in the file. You then have to edit the header file, this may be another rc file. In can case

Re: Contribution offer: Localization work

2004-03-07 Thread Christian Britz
Hi Shachar, Shachar Shemesh schrieb: Also, translating UI for the winelib applications will be welcome. I have now finished the translation of the README file. I would like it very much to help you with the translation of the UI if you can give me some information to start. Greetings from German

Re: Contribution offer: Localization work

2004-03-07 Thread Christian Britz
I still have to learn how to handle this list... Hi Dimitrie, hi everyone, I attach to this E-Mail my german translation of the README file. Please tell me if it usefull to you, well translated and if it contains any translation bugs. If you like it, please tell me how to officialy submit it. I

RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
Dmitry Timoshkov wrote: > > > What another field should be used for c[x|y]ButtonSpacing instead? > > > > It looks like it. It shouldn't be too hard to add support for > it. You will > > just need to change TOOLBAR_CalcToolbar to add on the extra > spacing between > > the buttons. > > I take it that

Re: wine-20040213 doesn't compile on Linux w/ 2.6.3 kernel and gcc-3.3.3

2004-03-07 Thread Tom Williams
Thanks for the info. I tried building wine with __KERNEL__ after I posted my message and got past this problem but encountered TONS more so that was obviously NOT the solution. :) I'll look into doing what you describe below. :) Peace... Tom P. Christeas wrote: I had found the same problem

Re: ccache gives winebuild errors?

2004-03-07 Thread Dimitrie O. Paun
On March 7, 2004 2:35 am, Rein Klazes wrote: > So it seems something in configure/winebuild/winegcc doesn't like spaces > in the $CC value. That's correct, winegcc expects $CC to be a program without arguments. I don't think we can easily change that (well, we could but in that case we wouldn't be

Re: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Dmitry Timoshkov
"Robert Shearman" <[EMAIL PROTECTED]> wrote: > > A comment for szPadding in Wine says: /* padding values around button */. > > > > Looks like toolbar.c has plenty of similar (and possibly > > redundant) things: > > > > INT nHeight;/* height of the toolbar */ > > INT nWidth;

RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
Dmitry Timoshkov wrote: > > "Robert Shearman" <[EMAIL PROTECTED]> wrote: > > > > +if (lpMetrics->dwMask & TBMF_BUTTONSPACING) > > > +{ > > > + lpMetrics->cxButtonSpacing = infoPtr->szPadding.cx; > > > + lpMetrics->cyButtonSpacing = infoPtr->szPadding.cy; > > > > I don't think this is quite

Re: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Dmitry Timoshkov
"Robert Shearman" <[EMAIL PROTECTED]> wrote: > > +if (lpMetrics->dwMask & TBMF_BUTTONSPACING) > > +{ > > + lpMetrics->cxButtonSpacing = infoPtr->szPadding.cx; > > + lpMetrics->cyButtonSpacing = infoPtr->szPadding.cy; > > I don't think this is quite right. MSDN says that cxButtonSpacing is

RE: Add support for TB_GETMETRICS and TB_SETMETRICS messages

2004-03-07 Thread Robert Shearman
Dmitry Timoshkov wrote: > > Hello, > > Changelog: > Dmitry Timoshkov <[EMAIL PROTECTED]> > Add support for TB_GETMETRICS and TB_SETMETRICS messages. > > diff -u cvs/hq/wine/dlls/comctl32/toolbar.c wine/dlls/comctl32/toolbar.c > --- cvs/hq/wine/dlls/comctl32/toolbar.c 2004-03-07 > 17:2

Re: wine-20040213 doesn't compile on Linux w/ 2.6.3 kernel and gcc-3.3.3

2004-03-07 Thread P. Christeas
I had found the same problem, and now compile Wine with 2.6.x .. This is a kernel problem, wine doesn't need to be modified at all. There was indeed a trivial patch at lkml, but hasn't still been applied (i wonder why). First of all, you should *not* compile any userspace program with the __KERNE

Re: Contribution offer: Localization work

2004-03-07 Thread Shachar Shemesh
Dimitrie O. Paun wrote: On March 5, 2004 6:51 pm, Christian Britz wrote: Because I like writing, I offer to you to participate in the translation of wine documents to german. A good start would be the README I think. If you are interested in my help, please contact me! Christian, Thank yo