Re: BUG: Debug channels get initialized too late

2003-11-27 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > Do you mean WINEOPTIONS? If yes, what is correct syntax for it? No, I don't mean WINEOPTIONS, that's a hack that will need to go away too. I mean a new WINEDEBUG variable just for debugging setup, similar to the LD_DEBUG of the ELF loader. It won't

Re: BUG: Debug channels get initialized too late

2003-11-27 Thread Dmitry Timoshkov
"Dmitry Timoshkov" <[EMAIL PROTECTED]> wrote: > "Alexandre Julliard" <[EMAIL PROTECTED]> wrote: > > > That's because we need the locale stuff before parsing the command > > line, and the debug options are on the command line. The solution is > > to get rid of the --debugmsg option and use a WINED

Re: BUG: Debug channels get initialized too late

2003-11-27 Thread Dmitry Timoshkov
"Alexandre Julliard" <[EMAIL PROTECTED]> wrote: > That's because we need the locale stuff before parsing the command > line, and the debug options are on the command line. The solution is > to get rid of the --debugmsg option and use a WINEDEBUG environment > variable instead. Do you mean WINEOPT

Re: Default printer and patch management

2003-11-27 Thread Alexandre Julliard
Mike Hearn <[EMAIL PROTECTED]> writes: > b) Notify the Wine community of what the patches do/are but keep their > contents secret. Pros: Less chance of duplication, Cons: if people need > the patch, knowing I have one won't be much use and it'd be hard to > notify people without spamming the maili

Re: Default printer and patch management

2003-11-27 Thread Mike Hearn
On Thu, 2003-11-27 at 22:59, Huw D M Davies wrote: > We should be doing this already. If cups is installed then we use the > cups default, otherwise for printcap systems we use the PRINTER > env variable or if that isn't set the first entry in /etc/printcap. > Take a look at dlls/winspool/info.c

More slides - final draft?

2003-11-27 Thread Shachar Shemesh
This time, I actually installed a spell checker. Believe it or not. http://www.shemesh.biz/wine holds the PDF and the openoffice of the slides. I'm hoping this is the last draft. You know youv'e stayed up for too long when you start putting stuff into your sig. A huge thanks for everyone for the

Re: Mysterious icon-change

2003-11-27 Thread Ivan Leo Murray-Smith
I get the IE icon to stay the same in quick launch, but all the desktop icons are messed up. For example, I have m$ cart trial installed, and the link to my computer (You don't have it on the desktop in win2k3 so I linked it) has the m$ cart icon, midtown madnesss trial has the icon of starlancer,

Re: Default printer and patch management

2003-11-27 Thread Ivan Leo Murray-Smith
For all wine files that contain code written by others: >a) Just keep them "secret" until I get paid, at which point I send them >in all together. Pros: Simple, Cons: people might duplicate my work. Good idea >b) Notify the Wine community of what the patches do/are but keep their >contents secret.

Re: Fun projects?

2003-11-27 Thread dim owner
On Thursday 27 November 2003 12:26, Boaz Harrosh wrote: > B. MPlayer, and others, are known to host Codec DLLs from windows like > divx-avi and other. Do they use wine. or is it a code rip like the > ndiswrapper (http://sourceforge.net/projects/ndiswrapper/) I think it > looks like a wine derived l

Re: Default printer and patch management

2003-11-27 Thread Huw D M Davies
On Thu, Nov 27, 2003 at 09:37:16PM +, Mike Hearn wrote: > Hi, I've got a couple of questions tonight: > > 1) Currently the default printer is read from win.ini - setting this is > annoying and doesn't work out of the box. I think it'd make more sense > to have it also in the wine configuration

gimp and Adobe plugins (was Re: Fun projects?)

2003-11-27 Thread dim owner
Happy Thanksgiving! On Thursday 27 November 2003 00:10, you wrote: > On November 26, 2003 04:31 pm, dim owner wrote: > > So, a (the) big question is, how can we get this windows app to > > compunicate with UNIX processes? > > Well, indeed, this is the $1 question. I don't much care at this > p

Default printer and patch management

2003-11-27 Thread Mike Hearn
Hi, I've got a couple of questions tonight: 1) Currently the default printer is read from win.ini - setting this is annoying and doesn't work out of the box. I think it'd make more sense to have it also in the wine configuration, so if no win.ini string is retrieved it'll still work. I have an app

compiler warnings

2003-11-27 Thread Ivan Leo Murray-Smith
The current code compiles with a few warnings, in the attachment. BTW you can see how code degenerates rapidly when it's not free software any more, probably 10% of all the output when compiling winex 3.2 is compiler warnings. warnings Description: Binary data

Re: BUG: Debug channels get initialized too late

2003-11-27 Thread Mike Hearn
On Thu, 2003-11-27 at 20:33, Alexandre Julliard wrote: > That's because we need the locale stuff before parsing the command > line, and the debug options are on the command line. The solution is > to get rid of the --debugmsg option and use a WINEDEBUG environment > variable instead. I thought you

Re: BUG: Debug channels get initialized too late

2003-11-27 Thread Alexandre Julliard
"Dmitry Timoshkov" <[EMAIL PROTECTED]> writes: > currently debug channels are initialized too late. Due to that > debugging with +nls turned on doesn't show traces produced by > dlls/kernel/locale.c,LOCALE_Init(). That's because we need the locale stuff before parsing the command line, and the de

Re: new old winetests

2003-11-27 Thread Alexandre Julliard
Ferenc Wagner <[EMAIL PROTECTED]> writes: > Has a problem, indeed: > ../../include/wine/port.h:87: dlfcn.h: No such file or directory That's because if you want to cross-compile you need to cross-configure too. The crosstest stuff is a hack that works because the tests don't use Wine-specific fea

Re: Prevent wildcards from being accepted in filenames (NT mode)

2003-11-27 Thread David Laight
> > According to the language definition, a constant 0 in > a pointer context is converted into a null pointer at > compile time. Indeed even if the stored bit pattern for the 'NULL' pointer isn't all zero [1], then the literal 0 denotates a NULL pointer. So: char *p = 0

Re: new old winetests

2003-11-27 Thread Ferenc Wagner
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: >-- cross compilation not tested at this point Has a problem, indeed: ../../include/wine/port.h:87: dlfcn.h: No such file or directory Understandable, as gcc has dlfcn.h, but the MinGW gcc does not. But commenting out the offending #define in c

Re: winearts & KDE 3.2-beta1

2003-11-27 Thread K. Vogel
In article <[EMAIL PROTECTED]>, Kevin Koltzau wrote: > I decided to give KDE 3.2-beta1 a try (just for reference I'm using the Gentoo > ebuild), and found a problem with compiling winearts > > under KDE 3.1 "artsc-config --cflags" gives me > -I/usr/kde/3.1/include/artsc > > but under KDE 3.2-bet

Re: Fun projects?

2003-11-27 Thread Mike Hearn
On Thu, 2003-11-27 at 17:26, Boaz Harrosh wrote: > A. How is the Netscape-plugin-to-OCX works in CrossOver-plugin. Is that > an out of process plugin embedded inside the browser X-window? What is > the out-of-process (RPC) communication between the Netscape-plugin and > the wine-OCX-host? What i

Re: Mysterious icon-change

2003-11-27 Thread Mike Hearn
The Windows icon cache has always been one of the buggiest pieces of code. I always assumed they fixed it for NT/2000/XP but it wouldn't surprise me in the slightest if it still gets corrupted at times. On Thu, 2003-11-27 at 02:36, Jakob Eriksson wrote: > I am told this is what the Internet Explor

Debug channel list

2003-11-27 Thread Mike Hearn
Here's a more readable version of what I just posted to wine-patches. There are quite a few, aren't there? Full marks to anybody who can actually describe what they all monitor :) accel adpcm advapi animate aspi atom avicap avifile bidi bitblt bitmap cabinet capi caret cdrom cfgmgr32 class clipboa

Mysterious icon-change

2003-11-27 Thread Jakob Eriksson
I am told this is what the Internet Explorer icon looks like after winetests.exe is run. Strange eh? http://vmlinux.org/~jakov/crazy-icon.jpg

MSVC build log of wine conformance tests

2003-11-27 Thread Jakob Eriksson
MSVC build log of wine conformance tests: http://vmlinux.org/jakov/Wine/build_log_MSVC_CVS_2003-11-27.txt All in all, 14 tests compile and 7 do not. AFAIK I use an up to date VC++ 7. (I reinstalled Windows though, so I _might_ have missed something.) regards, Jakob

Re: Fun projects?

2003-11-27 Thread Boaz Harrosh
This question comes up a lot. A similar project to below would be the use of windows ODBC drivers under unixODBC. (where/how does one add a "Fun project" suggestion) There are few example projects that do Just that. One is right here at home and for some reason these people do not want to come f

Re: Fun projects?

2003-11-27 Thread Mike Hearn
On Thu, 2003-11-27 at 15:58, Ivan Leo Murray-Smith wrote: > Special build? Wouldn't it be easier to use the native version of gimp for windows? Nah, you can still access the standard Linux filesystem if you use WineLib, whereas a native binary run under emulation is unaware of its existance.

Re: Fun projects?

2003-11-27 Thread Ivan Leo Murray-Smith
>The easiest way is simply to convert the Gimp into a >Windows program by compiling it with WineLib >That means that in order to use Photoshop >plugins in the Gimp you'd need a special build of the Gimp Special build? Wouldn't it be easier to use the native version of gimp for windows?

Re: Winealsa : add support for Alsa 1.0

2003-11-27 Thread Sylvain Petreolle
--- "Dimitrie O. Paun" <[EMAIL PROTECTED]> a écrit : > On November 27, 2003 06:21 am, Sylvain Petreolle wrote: > > Is this second attempt better ? > > (not tested with alsa 0.9) > > Why don't you define the snd_pcm_hw_params_* macros for > alsa 0.9. For example, this bit: > Eliminates a lot of

Re: Winealsa : add support for Alsa 1.0

2003-11-27 Thread Dimitrie O. Paun
On November 27, 2003 06:21 am, Sylvain Petreolle wrote: > Is this second attempt better ? > (not tested with alsa 0.9) Why don't you define the snd_pcm_hw_params_* macros for alsa 0.9. For example, this bit: -snd_pcm_format_t format = snd_pcm_hw_params_get_format(hw_params); -snd_pcm_ac

Re: Wine lecture slides

2003-11-27 Thread Dimitrie O. Paun
On November 27, 2003 09:02 am, Shachar Shemesh wrote: > I also have specific questions, if anyone knows the answers: > - What is the current status of "--with-nptl" on RH9? Is it positively > necessary to include that when running ./configure? I know it's not > necessary when running wineinstall.

Re: Wine lecture slides

2003-11-27 Thread Mike Hearn
On Thu, 2003-11-27 at 14:02, Shachar Shemesh wrote: > - What is the current status of "--with-nptl" on RH9? Is it positively > necessary to include that when running ./configure? I know it's not > necessary when running wineinstall. --with-nptl is no longer required and has been removed, at leas

Wine lecture slides

2003-11-27 Thread Shachar Shemesh
Hi all, The updated slides for the lecture I'll be giving on Sunday are at http://www.shemesh.biz/wine/slides.pdf. I tried to incorporate all of the feedback from you guys. I would, still, appretiate any further feedback you may wish to give. I also have specific questions, if anyone knows the

Re: Fun projects?

2003-11-27 Thread Mike Hearn
On Wed, 2003-11-26 at 21:31, dim owner wrote: > So, a (the) big question is, how can we get this windows app to compunicate > with UNIX processes? It's tricky. The easiest way is simply to convert the Gimp into a Windows program by compiling it with WineLib. No, I don't know how to do that, Dimi

BUG: Debug channels get initialized too late

2003-11-27 Thread Dmitry Timoshkov
Hello Alexandre, currently debug channels are initialized too late. Due to that debugging with +nls turned on doesn't show traces produced by dlls/kernel/locale.c,LOCALE_Init(). -- Dmitry.

Re: Prevent wildcards from being accepted in filenames (NT mode)

2003-11-27 Thread Ferenc Wagner
"Dimitrie O. Paun" <[EMAIL PROTECTED]> writes: > On November 27, 2003 01:38 am, Shachar Shemesh wrote: > >> While I will be happy to hear Dimi's rational for his, I >> don't think there is much room for an actual "discussion", >> as these things tend to turn into religious flame wars. > > There ar

Re: Prevent wildcards from being accepted in filenames (NT mode)

2003-11-27 Thread Andreas Mohr
Hi, On Thu, Nov 27, 2003 at 09:01:00AM +0200, Shachar Shemesh wrote: > Something that does affect efficiency, which I debated with myself for > some time, is the order of the tests. As the "if" is, by far, much more > likely to be false than true, we should order the condition using a cost > fu

Re: Prevent wildcards from being accepted in filenames (NT mode)

2003-11-27 Thread Dimitrie O. Paun
On November 27, 2003 01:38 am, Shachar Shemesh wrote: > While I will be happy to hear Dimi's rational for his, I don't > think there is much room for an actual "discussion", as these things > tend to turn into religious flame wars. OK, I'll take the bait. Of course, there is no big difference betw

Re: Prevent wildcards from being accepted in filenames (NT mode)

2003-11-27 Thread Shachar Shemesh
Dimitrie O. Paun wrote: On November 26, 2003 11:22 pm, Dmitry Timoshkov wrote: (GetVersion() & 0x8000)==0) construct is very inefficient. It forces compiler generate both a bit mask test and a comparison operation. While many modern processors have very effective bit test instructions, and