RE: iostream and msvcrt?

2004-08-18 Thread Scott Snell
Hi Dimi, Thanks for helping out. I made the changes you suggested to the gcc-mingw.mak file for STLPort. When I go make it does a: wineg++ -I../stlport -W -Wno-sign-compare -Wno-unused -Wno-uninitialized -mno-cygwin -O2 -D_STLP_USE_DYNAMIC_LIB dll_main.cpp -c -o ../lib/obj/MINGW32/ReleaseD/dll_

Re: iostream and msvcrt?

2004-08-18 Thread Dimitrie O. Paun
On Wed, Aug 18, 2004 at 11:32:33AM +0300, Boaz Harrosh wrote: > >I have used STLport before > >so the idea sounds feasable to me. I imagine I have to change the > >gcc-linux.mak by: > > > >replacing the call to gcc with winegcc, > >removing references to GLIBC, > > > > > Better go with gcc-mingw.

Re: Wine Status - User Interface

2004-08-18 Thread Dimitrie O. Paun
On Tue, Aug 17, 2004 at 07:31:33AM -0400, Tom wrote: > I haven't done the changelog so just view this againt > http://www.winehq.org/site/status_ui for changes or diff. > > commits, suggestions, and flames are welcomed Looks good! -- Dimi.

Re: gethostbyname on local host returns 127.0.0.1 for address

2004-08-18 Thread Juan Lang
Robert wrote: > On windows gethostbyname for the local host returns > the addresses of the available network interfaces. > On wine and unix, it only returns the localhost > 127.0.0.1. > > Any ideas on how to get the windows behavior? I assume you're referring to gethostname (as in your sample co

gethostbyname on local host returns 127.0.0.1 for address

2004-08-18 Thread Robert Reif
On windows gethostbyname for the local host returns the addresses of the available network interfaces. On wine and unix, it only returns the localhost 127.0.0.1. Any ideas on how to get the windows behavior? #include #ifdef _WIN32 #include #include #else #include #endif int main(int argc, c

Re: Fixed some ref handling

2004-08-18 Thread Alexandre Julliard
Jacek Caban<[EMAIL PROTECTED]> writes: > I attached two test. The first is simple and shows a problem > that the patch fixes but the second one is a more complex test. Could you please merge the test into the existing test framework? -- Alexandre Julliard [EMAIL PROTECTED]

Re: Removed slovenian translation

2004-08-18 Thread Alexandre Julliard
Jacek Caban<[EMAIL PROTECTED]> writes: > Changelog: > Removed slovenian translation If the translation is not complete it should be fixed, or at worse commented out. Removing it doesn't make sense, we'll need to add it back someday anyway. -- Alexandre Julliard [EMAIL PROTECTED]

Re: KERNEL: pull WINDIR and WINSYSDIR from config before using hardcoded defaults (possible fix for WWN #234, #235 c:\\windows is not accessible Error)

2004-08-18 Thread Alexandre Julliard
Alex Villací­s Lasso <[EMAIL PROTECTED]> writes: > Changelog: > * if windir or winsysdir environment vars are undefined, pull values > from config file before falling to hardcoded values This of course defeats the whole purpose of the use of environment variables, which is to get rid of the confi

bug

2004-08-18 Thread Ivan Leo Puoti
Since futimes is used instead of utime the installer of word viewer 97 has had a few installation issues. For a start, when the setup looks for installed components, it goes into a non infinite loop that lasts a few minutes. This only took a few seconds previously. I don't know what is causing this

Re: Backtrace Dumps

2004-08-18 Thread Alexandre Julliard
Robert Shearman <[EMAIL PROTECTED]> writes: > Alexandre Julliard wrote: > >>Well, I can also imagine a lot of cases where the in-process backtrace >>won't work right, the main one being that since the code will never be >>used unless you want a backtrace, when you try to use it you'll >>realize th

New Fun Project - Winelib port of Allegiance

2004-08-18 Thread Steven Edwards
Hi all, Microsoft Research has released a Shared Source version of the game Allegiance. This is a hefty 512 meg download and of course the license that it is under would prevent anyone from sharing the changes but this would really allow us to improve Winelib by porting such a massive game. http:/

Re: Backtrace Dumps

2004-08-18 Thread Robert Shearman
Alexandre Julliard wrote: Andreas Mohr <[EMAIL PROTECTED]> writes: I'm sure every semi-involved Wine developer can imagine dozens of "reasons of the day" why winedbg doesn't launch properly on error again... Failure in wine exception handling code, failure to look up winedbg (both registry and d

Re: OLEAUT32: implementation for IPersistPropertyBag_Load for OLEFont

2004-08-18 Thread Robert Shearman
Alex Villací­s Lasso wrote: This implementation is enough to satisfy VB6 when loading font objects from property bags in projects. Changelog: * Added implementation for IPersistPropertyBag_Load on OLEFont Looks good, but a few comments below: ... +V_VT(&valueAttr) = VT_EMPTY; It is pro

Re: Backtrace Dumps

2004-08-18 Thread Alexandre Julliard
Andreas Mohr <[EMAIL PROTECTED]> writes: > I'm sure every semi-involved Wine developer can imagine dozens of > "reasons of the day" why winedbg doesn't launch properly on error again... > Failure in wine exception handling code, failure to look up winedbg > (both registry and disk), failure to pas

Re: Some more hardcoded c:\windows paths

2004-08-18 Thread Juan Lang
Vincent wrote: > Any idea why CSIDL_PROGRAMS was HKEY_DISALLOWED? That, apparently, was my mistake. I introduced it here: http://www.winehq.org/hypermail/wine-patches/2004/04/0106.html Thanks for fixing it. --Juan __ Do you Yahoo!? New and Impro

Re: WineSetupTk...

2004-08-18 Thread Ivan Leo Puoti
> I doubt there's a one maintainer Nobody maintains it because it's obsolete and isn't used with current versions of wine. Ivan.

Re: winetest can't parse subtest for msvcrt(d)

2004-08-18 Thread Ferenc Wagner
Saulius Krasuckas <[EMAIL PROTECTED]> writes: > On Wed, 18 Aug 2004, Ferenc Wagner wrote: >> Saulius Krasuckas <[EMAIL PROTECTED]> writes: >>> I think that's due to some additional \r\n-s in the output >>> of "msvcrt_test.exe.so". >> >> Actually, not quite. The problem is that msvcrt's output >>

Re: WineSetupTk...

2004-08-18 Thread michael
On Wed, Aug 18, 2004 at 09:20:17AM +0100, Mike Hearn wrote: > >I didn't realize that WineSetupTk was depreciated when I wrote. I just > >want to play StarCraft and Diablo and was finding the documentation a bit > >hard to follow. (I couldn't find my .wine.conf file and got stuck, that's > >why I

Re: winetest can't parse subtest for msvcrt(d)

2004-08-18 Thread Saulius Krasuckas
On Wed, 18 Aug 2004, Ferenc Wagner wrote: > Saulius Krasuckas <[EMAIL PROTECTED]> writes: > > I think that's due to some additional \r\n-s in the output > > of "msvcrt_test.exe.so". > > Actually, not quite. The problem is that msvcrt's output > functions aren't redirected by libc's filehandle ope

Re: winetest can't parse subtest for msvcrt(d)

2004-08-18 Thread Ferenc Wagner
Saulius Krasuckas <[EMAIL PROTECTED]> writes: > I think that's due to some additional \r\n-s in the output > of "msvcrt_test.exe.so". Actually, not quite. The problem is that msvcrt's output functions aren't redirected by libc's filehandle operations, so winetest doesn't get the output (it gets

winetest can't parse subtest for msvcrt(d)

2004-08-18 Thread Saulius Krasuckas
On linuxe I get this: [EMAIL PROTECTED] s2]$ wine /usr/local/lib/wine/winetest.exe.so Usage: /tmp/wctW5ad4P/msvcrt_test.exe.so test_name Valid test names: cpp environ file headers heap scanf string time ..while Wine Test Shell pops up a message box with the error

Re: Backtrace Dumps

2004-08-18 Thread Robert Shearman
Andreas Mohr wrote: P.S.: no offense to Eric. He's done TONS of very useful things to winedbg, and when considering how many fatal architecture changes winedbg had to go through, it's amazing that it still works pretty well. :-) Yes, without his work this patch would have been impossible. A lot

Re: WineSetupTk...

2004-08-18 Thread Ivan Leo Puoti
>Ivan, do we need to remove links to sourceforge since its no longer >available? Actually iy is, but it isn't listed on the download page. Like all files on sf, you can't remove a release, but you can hide it. >I would guess so.. So do you want to do it or me? I'll send in a patch. Ivan.

Re: "winetest" throws an exception after the unsuccessful send operation

2004-08-18 Thread Saulius Krasuckas
On Wed, 18 Aug 2004, Saulius Krasuckas wrote: > On Wed, 18 Aug 2004, Ferenc Wagner wrote: > > as I can't see why buffer should be dynamic at all. Please > > check it in case I made another mistake: > > Ok then. In this case "my" part of the patch can be omitted: > ..as "buffer" doesn't need to b

Re: "winetest" throws an exception after the unsuccessful send operation

2004-08-18 Thread Saulius Krasuckas
On Wed, 18 Aug 2004, Ferenc Wagner wrote: > > We can use the "str" instead of the "buffer". I've tried > > such mod and it worked fine in my case: > > Yes, your patch is good. Still I recommend something more, > as I can't see why buffer should be dynamic at all. Please > check it in case I mad

Re: "winetest" throws an exception after the unsuccessful send operation

2004-08-18 Thread Ferenc Wagner
> Is it OK to try to free the modified "buffer" ptr? I > thought we should preserve its value. Yes, you are right, that code is illegal. The wonderful thing is that it's more than half a year old, and went unnoticed this far! Probably because the WineHQ server never failed during that period.

Re: Backtrace Dumps

2004-08-18 Thread Andreas Mohr
Hi, On Wed, Aug 18, 2004 at 09:27:53AM +0100, Mike Hearn wrote: > My problem with this approach is that it relies on the exception > actually getting through to the debugger instead of being trapped by the > program code and swallowed. I guess we could install a vectored handler > to boot the d

Re: iostream and msvcrt?

2004-08-18 Thread Boaz Harrosh
Scott Snell wrote: Is that simpler than fixing the MSVCRT headers? It is not wine-MSVCRT headers fault, these are pure CRT declarations. It is gcc-c++ headers that are heavily dependent on gcc CRT very non-standard headers. So you better go with STLPort. I have used STLport before so the ide

Re: Backtrace Dumps

2004-08-18 Thread Mike Hearn
Me too! *jumps up and down* In Java you can say this: new Exception().printBackTrace(); or some equivalent to get a printout of where you are, and it's very convenient. I can see the reasoning behind keeping the code in the debugger then triggering it using a custom exception though, as that way

Re: WineSetupTk...

2004-08-18 Thread Mike Hearn
I didn't realize that WineSetupTk was depreciated when I wrote. I just want to play StarCraft and Diablo and was finding the documentation a bit hard to follow. (I couldn't find my .wine.conf file and got stuck, that's why I thought I needed WineSetupTk.) I will poke at it a bit myself and if I

Re: More winecfg todos

2004-08-18 Thread Mike Hearn
I think yes, for me it would an improvement. The only bad thing here is my lack of the ideas on how to implement such forking. We already do it for user.reg vs system.reg, though in this case it's separate registry "hives". I'm not sure if we can do it on the key level. I'm certainly not bothe

Re: More winecfg todos

2004-08-18 Thread Izak Burger
I'm not too sure it will work for wine, it was just a wild suggestion. Debian uses it to get arround the problem of modifying certain config files. For example, if you install the nvidia drivers, you have to modify /etc/modules.conf. The usual way is to employ some perl or some other magic to

"winetest" throws an exception after the unsuccessful send operation

2004-08-18 Thread Saulius Krasuckas
I am getting this after all the tests were performed, network transfer of the report file was over and after the http server has responded (with some error-message) in Wine: err:win:WIN_FindWndPtr window 0x10022 belongs to other process err:win:WIN_FindWndPtr window 0x10022 belongs to other proces

Re: Backtrace Dumps

2004-08-18 Thread Andreas Mohr
Hi, On Wed, Aug 18, 2004 at 12:22:50AM -0400, Dimitrie O. Paun wrote: > On Tue, Aug 17, 2004 at 04:03:33PM -0700, Alexandre Julliard wrote: > > Robert Shearman <[EMAIL PROTECTED]> writes: > > > > I think it's better to let the debugger take care of that. If you > > don't want a real breakpoint yo

Re: More winecfg todos

2004-08-18 Thread Saulius Krasuckas
On Wed, 18 Aug 2004, Izak Burger wrote: > How about the Debian way of adding stubs to a .d directory... > > wine.d with lots of small easily editable .reg files. I'm sure this is > a silly suggestion, but if you REALLY have a problem with a 5000 line > .reg file (I sure did when I had to config

Re: More winecfg todos

2004-08-18 Thread Izak Burger
How about the Debian way of adding stubs to a .d directory... wine.d with lots of small easily editable .reg files. I'm sure this is a silly suggestion, but if you REALLY have a problem with a 5000 line .reg file (I sure did when I had to configure squid.. uggh), nothing prevents you from doing