Re: wbemprox: Implement Win32_OperatingSystem.LocalDateTime. (try 2)

2013-07-12 Thread Sylvain Petreolle
De : Bruno Jesus 00cp...@gmail.com

À : wine-devel@winehq.org; spetreo...@yahoo.fr 
Envoyé le : Jeudi 11 juillet 2013 17h14
Objet : Re: wbemprox: Implement Win32_OperatingSystem.LocalDateTime. (try 2)
 

On Thu, Jul 11, 2013 at 11:19 AM, Sylvain Petreolle spetreo...@yahoo.fr 
wrote:
 ---
  dlls/wbemprox/builtin.c | 30 ++
  1 file changed, 30 insertions(+)

 diff --git a/dlls/wbemprox/builtin.c b/dlls/wbemprox/builtin.c
 index 9e2369a..5b7674e 100644
 --- a/dlls/wbemprox/builtin.c
 +++ b/dlls/wbemprox/builtin.c

 @@ -1774,6 +1778,31 @@ static WCHAR *get_lastbootuptime(void)
 +
 +    GetLocalTime(st);
 +    Status = GetTimeZoneInformation(tzi);
 +
 +    if(Status == TIME_ZONE_ID_INVALID) return NULL;

Aren't you leaking ret here? Maybe you could swap this check with the
memory allocation.
You are right. I will post a new version.



 +    sprintfW( ret, fmtW, st.wYear, st.wMonth, st.wDay, st.wHour, 
 st.wMinute, st.wSecond, st.wMilliseconds * 1000, -Bias);

Is it ok for the + sign to the fixed in the format?
The + sign ensures that the sign appears with positive and negative bias.
TZ=America/New_York wine wmic os get localdatetime

TZ=Europe/Berlin  wine wmic os get localdatetime


Best wishes,
Bruno


Kind regards,
Sylvain Petreolle


Re: [Wine]june 2005 release and 'registry' ?

2005-07-10 Thread Sylvain Petreolle
It seems that the native only choice doesnt work into winecfg -
I tried to set one dll as 'Native(Windows)' and got native,builtin into the 
registry.
Could you have a look for this ?

--- Felix Nawothnig [EMAIL PROTECTED] a écrit :

 Brian Vincent wrote:
  What may not be obvious is the Applications tab in winecfg is tied
  to the other tabs.  
 
 The current design is totally braindead from a usability standpoint:
 
 * As you pointed out it's not very intuitive that selecting an item in
the first tab affects the semantics of the other tabs (even if it
would be documented).
 
 * It's not clear which settings are global-only - we could disable the
controls but it would still be confusing IMHO. Also the drives tab
will probably never contain any per-app settings so we would have to
disable the whole tab. Silly.
 
 * All per-app settings really need exactly one more option - don't
override (inherit from global). This is not doable with the current
design.
 
 I'll submit a preliminary patch (introducing the not yet configurable 
 DSound settings) showing how I think this should be done later today.
 
 Felix
 ___
 wine-users mailing list
 [EMAIL PROTECTED]
 http://www.winehq.org/mailman/listinfo/wine-users
 


Kind regards,

Usurp (aka Sylvain Petreolle)

humans are like computers,
yesterday the BIOS was all
- today its just a word



Fwd: Developer's path to Windows/*NIX multi-platform?

2004-04-01 Thread Sylvain Petreolle
You should write to wine-devel for that.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix






Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez Yahoo! 
Messenger sur http://fr.messenger.yahoo.com---BeginMessage---
I'm an experienced software developer (Electrical Engineering student) who 
has written plenty of software for DOS, Windows, and *NIX. I've been able 
to make money selling Windows shareware, and selling manuals+support for 
GNU GPL'd Linux/UNIX software I develop.

So far, all my UNIX software is non-graphical so it compiles and runs 
easily on Linux through to MacOS. I'm very happy about this and wish to 
continue developing primarily UNIX software, exclusively in C for low 
overhead and high efficiency. But I need to start making GUIs :)

On the other hand, I have a lot of customers of my Windows software (also 
written in C using Win32 API calls, no MFC) who I can't abandon. I need to 
keep supporting Windows natively and hopefully mobile/Windows CE as well.

More specifically, I wish to write software that will still run on MS 
Windows while also running almost-natively on Linux, BSD, Solaris and 
hopefully even Mac OS. I don't mind compiling individually for each 
platform (i.e. I don't expect one binary to run on all). But it would be 
nice to share the same source so I don't have platform-specific forks.

I know this is a tall order. I've rejected Java due to what I see as 
unacceptable overhead and poor efficiency (people are still using some of 
my software on low-end Pentiums with 16M of RAM). I really want to write in 
C because it is flexible and because speed is one of my primary goals.

I tried using Wine on Linux to run my existing Win32 binaries and although 
it's pretty close, the appearance and behaviour is NOT close enough to be 
acceptable for me (lots of GUI glitches; some of them probably my fault).

I am willing to re-write my best Windows software from scratch, but I 
insist that the result is native or almost on Linux so there are not any 
weird GUI glitches. Do you think Wine is the way to go for me, or am I 
better off writing individual versions and keeping the Windows software 
native and then producing QT or GTK versions for *NIX? I'm at a cross-roads 
here, since I'll be dedicating years of work in whatever direction I take.

Sorry for the lengthy question. I imagine there are a slew of other 
previously-Windows developers facing a similar question who may stumble 
upon this in the archives!

-- 
[EMAIL PROTECTED]


___
wine-users mailing list
[EMAIL PROTECTED]
http://www.winehq.org/mailman/listinfo/wine-users---End Message---


Re: warning to wine on cygwin experimenters

2004-01-23 Thread Sylvain Petreolle
I wont believe any word that comes from an anonymous mail.
Alexandre, shouldnt we close this subject ?

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Variant tests

2004-01-21 Thread Sylvain Petreolle
Jon,

 Sylvain, can you apply the attached patch and send me the full output
of 
 running the 2 tests? I can't duplicate the failures you are seeing
with any 
 oleaut32 version here, but testing with a really really old version
lead to 
 some changes that may help.

These failures were given by the current oleaut32 CVS. (not by a real
Windows box!)
Now with this patch applied (updating CVS), I get :

- no failure for vartest
- 24 failures for vartype.
(logs attached)

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

vartests.tar.bz2
Description: vartests.tar.bz2


Re: Oleaut32 tests fail

2004-01-20 Thread Sylvain Petreolle
 --- Jon Griffiths [EMAIL PROTECTED] a écrit : 

 Running the oleaut32 tests shows that vartype and vartest are
failing.
 Has someone an idea about these ?
 
 Your (presumably early) version of oleaut32.dll doesn't support the
 VT_DECIMAL type. I'll update the tests shortly.
Im not sure if I understand you,
Im using the current CVS version of oleaut32.



=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

You believe it's the year 1984, when in fact, its closer to 21841984 / Matrix

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Oleaut32 tests fail

2004-01-14 Thread Sylvain Petreolle
Running the oleaut32 tests shows that vartype and vartest are failing.

The 25 tests that fail are returning DISP_E_TYPEMISMATCH (0x80020005)

Has someone an idea about these ?

vartest.c:2653: Testing different VARTYPES 
fixme:ole:VarParseNumFromStr dwInFlags  NUMPRS_HEX_OCT not yet
implemented!
vartest.c:2680: Test failed: 14: vt 83, return value 80020005, expected
was 0

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

vartype
Description: vartype


Make the winehq.org domain the official one.

2004-01-04 Thread Sylvain Petreolle
winehq.org has been stated as the official one on last month.

Today, it doesnt apply to the bugzilla site,
since we still receive bugzilla notifications with the .com domain.
Shouldnt this part be changed too ?

===
De: Wine Bugs wine-bugs _at_ winehq.com
http://bugs.winehq.com/show_bug.cgi?id=1434

Bug 1434 depends on bug 1587, which changed state.

Bug 1587 Summary: Several games don't work anymore
http://bugs.winehq.com/show_bug.cgi?id=1587

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Status ToDo's #2

2004-01-03 Thread Sylvain Petreolle
 --- Tom [EMAIL PROTECTED] a écrit : 
 Comments, Suggestions?
 
 Tom
 
ALSA multimedia driver:
* Mixer Support
* MiDi inn Support
* Check for 1.0 correctness

winealsa now has mixer support since Dec 11 2003 (thanks to Christian)

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: wine/programs/winefile Makefile.in

2003-12-19 Thread Sylvain Petreolle
 --- Dimitrie O. Paun [EMAIL PROTECTED] a écrit :  On December 18,
2003 11:55 am, Sylvain Petreolle wrote:
  could you say why you didnt make the other parts in ?
 
 What other parts, he was just renaming __WINE__ to WINELIB
 for no good reason...
This commit was just a *part* of his patch for winefile winelib
extensions:
http://www.winehq.org/hypermail/wine-patches/2003/12/0151.html

If youre still looking for a good reason... ;)

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: winedbg question

2003-12-18 Thread Sylvain Petreolle
You could perhaps send it to the list to have some feedback before
posting it to wine-patches...

 You will likely find that the current winejack driver is not that
 reliable. I have fixed a few major bugs in the winejack waveout code,
 and am about 95% done implementing wave in. I am going on vacation on
 thursday, so I won't be submitting a formal patch until early next
 year. If you want a preliminary copy I would be glad to send you a
 patch. It should be reliable, its just missing stereo input
 (currently only supports mono) and has some extra debug code, etc.
 
 Jeremy Shaw.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: wine/programs/winefile Makefile.in

2003-12-18 Thread Sylvain Petreolle
As the following message says :
http://www.winehq.com/hypermail/wine-cvs/2003/12/0164.html
only a part of the Makefile.in patch has been applied.

Alexandre, 
could you say why you didnt make the other parts in ?

 
 It's not enough to define __WINE__ for the C compiler.
 We also need it for compiling the resource script:
 
 Index: Makefile.in
 ===
 RCS file: /home/wine/wine/programs/winefile/Makefile.in,v
 retrieving revision 1.5
 diff -u -p -d -r1.5 Makefile.in
 --- Makefile.in 13 Dec 2003 03:21:30 -  1.5
 +++ Makefile.in 13 Dec 2003 08:13:41 -
 @@ -1,4 +1,5 @@
  EXTRADEFS = -D__WINE__
 +EXTRARCFLAGS = -D__WINE__
  TOPSRCDIR = @top_srcdir@
  TOPOBJDIR = ../..
  SRCDIR= @srcdir@
 
 -- 
 Martin Fuchs
 [EMAIL PROTECTED]


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Segfault in winedump (spotted by valgrind)

2003-12-18 Thread Sylvain Petreolle
Trying to dump a winme dll,
winedump crashed with a segfault.

Valgrind gives these results, have someone a clue ? This file comes
from a working Win9x installation.

[EMAIL PROTECTED] system]$ file commctrl.dll
commctrl.dll: MS-DOS executable (EXE), OS/2 or MS Windows
[EMAIL PROTECTED] system]$ valgrind winedump spec commdlg.dll
==26058== Memcheck, a.k.a. Valgrind, a memory error detector for
x86-linux.
==26058== Copyright (C) 2002-2003, and GNU GPL'd, by Julian Seward.
==26058== Using valgrind-20031012, a program supervision framework for
x86-linux.
==26058== Copyright (C) 2000-2003, and GNU GPL'd, by Julian Seward.
==26058== Estimated CPU clock rate is 1407 MHz
==26058== For more details, rerun with: -v
==26058==
Can't get a suitable file signature, aborting
==26058== discard syms in /c/windows/system/commdlg.dll due to munmap()
==26058== Invalid read of size 4
==26058==at 0x804FD3D: dll_next_symbol (pe.c:1239)
==26058==by 0x804A431: main (main.c:413)
==26058==by 0x126BAE: __libc_start_main (in /lib/libc-2.3.2.so)
==26058==by 0x8048E48: (within /usr/local/bin/winedump)
==26058==Address 0x4 is not stack'd, malloc'd or free'd
Erreur de segmentation


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

_
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: winefile can't launch any apps!

2003-12-10 Thread Sylvain Petreolle
I was about to write to the list for the same problem.
Winefile doesnt crash here, but hangs, trying to execute very strange
file names which dont seem to have any relation to the original
application or document.

However, File|Execute is still working.
This can be a start to understand what is happening here.

 --- Dan Kegel [EMAIL PROTECTED] a écrit : 
 Trying to launch any app, e.g. wine's notepad, by double-clicking on
 the .exe in 'winefile' crashes wine, like this:


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.


Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
http://fr.promotions.yahoo.com/caritatif/



Re: winefile can't launch any apps!

2003-12-10 Thread Sylvain Petreolle
Found the problem.
launch_entry is using SEE_MASK_IDLIST, which isnt handled by
ShellExecuteExA32 now.

The optional shell namespace mode should be disabled by a
#define _NO_EXTENSIONS, but I didnt manage to use it.
Martin, could you bring us some light ?
http://www.winehq.com/hypermail/wine-patches/2003/08/0062.html

  However, File|Execute is still working.
  This can be a start to understand what is happening here.
 
 Yes.  File|Run works fine here, too.
 - Dan 

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.


Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
http://fr.promotions.yahoo.com/caritatif/



Re: Status of winealsa patch

2003-12-09 Thread Sylvain Petreolle
 --- Alexandre Julliard [EMAIL PROTECTED] a écrit :

 Only if it's still needed. My understanding of the ALSA_PCM_OLD
 defines is that this shouldn't be the case, the current code should
 work fine on 1.0. Do you still have problems with it?

To answer your question :
The current code works with today alsa cvs if I use the ALSA_PCM_OLD*
defines, no problem at all.
The goal of my patch is to make us use the new API.
When the 1.0 state will be reached, the 0.9 API will be considered
deprecated (like the already deprecated 0.5 series)

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.


Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
http://fr.promotions.yahoo.com/caritatif/



Re: Sound capture issues...

2003-12-04 Thread Sylvain Petreolle
What audio backend are you using ?
Directx audio capture has been implemented, but some audio backends
havent it at the moment.
 in the voice com program Skype (www.skype.org), I'm able to hear
 other
 people but I can't talk to them myself. 
 
 Does anyone have a clue why?
 
 I believe this program uses DirectX to capture voice input. Not
 implented?


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.


Do You Yahoo!? -- Avec Yahoo! soyez au coeur de la récolte de dons pour le Téléthon.
http://fr.promotions.yahoo.com/caritatif/



Re: System tray integration

2003-11-30 Thread Sylvain Petreolle
Your patch fails being applied to cvs at the moment...
nothing critical though, this is only the license part of
dlls/system32/systray.c.

***
*** 1,11 
  /*
-  *Systray
   *
-  *Copyright 1999 Kai Morich   kai.morich_at_bigfoot.de
   *
-  *  Manage the systray window. That it actually appears in the
docking
-  *  area of KDE or GNOME is delegated to windows/x11drv/wnd.c,
-  *  X11DRV_WND_DockWindow.
   *
   * This library is free software; you can redistribute it and/or
   * modify it under the terms of the GNU Lesser General Public
--- 1,11 
  /*
+  * System tray handling code (client side)
   *
+  * Copyright 1999 Kai Morich   kai.morich_at_bigfoot.de
+  * Copyright 2003 Mike Hearn   mike_at_theoretic.com
   *
+  * This code creates a window with the WS_EX_TRAYWINDOW style. The
actual
+  * environment integration code is handled inside the X11 driver.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Unhandled exception c06d007f ?

2003-11-28 Thread Sylvain Petreolle
Hi,
Running windows xp regedit.exe raises an unhandled exception :
c06d007f.

To reproduce it, copy :
aclui.dll (generates the exception)
authz.dll
clb.dll
regedit.exe :)
ulib.dll

Then run regedit and click on Edit, Authorizations.
A google search shows that c06d007f is 'DelayLoad Export Missing',
according to bugtoaster.
What should be done to handle this ?


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



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:

snip

 Eliminates a lot of #ifdefs, cleaner code, etc.
I agree that there are lesser #ifdefs.
Cleaner code = I didnt modify the actual code, no need it to change it
anymore.
Im trying to use the new API since the release of alsa 1 is for soon.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Windows programs no more running with the new wine-glibc

2003-11-19 Thread Sylvain Petreolle
 --- Vincent Béron [EMAIL PROTECTED] a écrit : 
 What's the output of rpm -q prelink?
 What's the output of ldd /usr/bin/wine (or anything dynamically
 linked to libc)?
[EMAIL PROTECTED] wine]$ rpm -q prelink
package prelink is not installed
[EMAIL PROTECTED] wine]$ ldd /usr/local/bin/wine
libwine.so.1 = /usr/local/lib/libwine.so.1 (0x00111000)
libpthread.so.0 = /lib/tls/libpthread.so.0 (0x00c45000)
libc.so.6 = /lib/tls/libc.so.6 (0x004e9000)
libdl.so.2 = /lib/libdl.so.2 (0x0090d000)
libm.so.6 = /lib/tls/libm.so.6 (0x00def000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x00ef9000)

 Did you installed through an upgrade, or from scratch? 
It was an upgrade from RH 9 Shrike (athlon) to Fedora beta3 and upgrade
via up2date.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Windows programs no more running with the new wine-glibc

2003-11-13 Thread Sylvain Petreolle
With yesterday cvs update, whch adds a glibc-threading detection,
wine doesnt load a _Windows_ program anymore.

Using the RedHat rpm Yarrow kernel, I get :

err:virtual:map_image Standard load address for a Win32 program
(0x0040) not available - security-patched kernel ?
wine: could not load LC:\\arakas.exe as Win32 binary

Funny thing :
If I set up a symlink to the wine-glibc in another directory, it works
without problems.

[EMAIL PROTECTED] c]$ ls -l /usr/local/bin/wine /home/wine/loader/wine-*
-rwxr-xr-x1 syl  wine97265 nov 13 20:08
/home/wine/loader/wine-glibc
-rwxr-xr-x1 syl  wine   156037 nov 13 20:08
/home/wine/loader/wine-kthread
-rwxr-xr-x1 syl  wine   109482 nov 13 20:08
/home/wine/loader/wine-pthread
-rwxr-xr-x1 root root97265 nov 13 20:29
/usr/local/bin/wine

With plain binary, not working :
[EMAIL PROTECTED] c]$ which wine
/usr/local/bin/wine
[EMAIL PROTECTED] c]$ wine arakas.exe
err:virtual:map_image Standard load address for a Win32 program
(0x0040) not available - security-patched kernel ?
wine: could not load LC:\\arakas.exe as Win32 binary

With the symlink :
[EMAIL PROTECTED] c]$ ls -l /c/wine
lrwxrwxrwx1 syl  wine   28 nov 13 20:41 /c/wine -
/home/wine/loader/wine-glibc
[EMAIL PROTECTED] c]$ ./wine arakas.exe
fixme:keyboard:X11DRV_KEYBOARD_DetectLayout Your keyboard layout was
not found!
Using closest match instead (French keyboard layout) for scancode
mapping.
Please define your layout in dlls/x11drv/keyboard.c and submit them
to us for inclusion into future Wine releases.
See the Wine User Guide, chapter Keyboard for more information.

Any thoughts ?

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Winealsa: Add alsa 1.0 support

2003-11-09 Thread Sylvain Petreolle
This patch is almost complete, one macro hasnt been rewritten yet.

alsa09.diff must be applied to allow compilation with alsa 0.9.

Please test it with alsa 0.9 or 1.0 and give me the result.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

alsa09.diff.gz
Description: alsa09.diff.gz


alsa10.diff.gz
Description: alsa10.diff.gz


Zombies (was : Conformance tests...)

2003-11-08 Thread Sylvain Petreolle
   Also, does anyone else get orphaned zombie processes after
running
   the regression tests?  (which is moderately impressive: I thought
init
   was supposed to clean these up)

The execution of the attached script in dlls/ shows the only dll test
which generates orphaned zombies is kernel.

The result I have it with my script is : (had the same result with
another kernel)

...
./imm32
./imm32 : 3 zombies
./kernel
./kernel : 4 zombies
...

Paul, Sami, (and perhaps others),
could you run this script and send me the results ?

Paul, could you say more about this one?
 I get about six zombies per regression test.  I tracked one of these
 zombies down to the kernel/test/process.c test_DebuggingFlag()'s
 ContinueDebugEvent() call, which disappears into wineserver.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

zombtest
Description: zombtest


Re: Partially implement advapi.ReportEvent

2003-11-02 Thread Sylvain Petreolle
If we use the syslog, doesnt this mean we must be root to read the
messages ?

 Syslog is for logging system events, which is precisely what Windows
 event logging does, so it sounds like a pretty good fit to me.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Is it time for playing games on WINE?

2003-11-01 Thread Sylvain Petreolle
 Well, i do some regressions tests too, but i use principaly:
 - - UT2003
 - - Unreal2
 - - Mafia
 - - Max Payne
 - - D3D samples
Doing tests with Max Payne started but used to crash the system after a
few minutes with a RedHat 9 system. Since I updated today to Fedora
beta3 , I will redo the tests :)

Anyway, I had to use this to have it starting:
[AppDefaults\\maxpayne.exe\\DllOverrides]
msvcrt = n
msvcrt20 = n
msvcirt = n
comctl32 = n
commctrl = n

Note: if you want games feedback, look at bug #1434 in Bugzilla.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Conformance tests fail with 20031016 build

2003-10-30 Thread Sylvain Petreolle
Hi Paul,

 What settings are you using for wine?  I don't see this problem with
WRT,
 but I've only recently got it back up and running again.

What are the settings you want to know ?

 On a seperate note, some other strange things I've noticed:
 
 One of Monday night's patches seems to have broken a conformance test
in
 listbox.c (line 123) but only for wine in win3.1-mode!  Win3.1-mode
also
 passes two todo tests (lines 129 and 134 both in the user/listbox.c).
Got same results here. Every emulated OS passes except win31.
 
 Also, does anyone else get orphaned zombie processes after running
the
 regression tests?  (which is moderately impressive: I thought init
was
 supposed to clean these up)

I get some zombies too, and the kernel notices it. This is what I have
in /var/log/messages:
Oct 30 10:44:18 wine kernel: application bug: wine(2120) has SIGCHLD
set to SIG_IGN but calls wait().
Oct 30 10:44:18 wine kernel: (see the NOTES section of 'man 2 wait').
Workaround activated.

Talking about the kernel process test, it seems they are runned more
than once, is it the normal way ?
../../../tools/runtest -q -P wine -M kernel32.dll -T ../../.. -p
kernel32_test.exe.so process.c  touch process.ok
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.
tests/process.c: 1 tests executed, 0 marked as todo, 0 failures.

 I get about six zombies per regression test.  I tracked one of these
 zombies down to the kernel/test/process.c test_DebuggingFlag()'s
 ContinueDebugEvent() call, which disappears into wineserver.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Conformance tests fail with 20031016 build

2003-10-30 Thread Sylvain Petreolle
 ~/.wine/config would be good.
Attached. 

 That's interesting.  My syslog doesn't have any message like that. 
 What
 kernel are you running?  I'm using 2.6.0-test8 on quisquiliae.
It seems 
Im using kernel 2.4.20-20.9 (redhat 9 rpm) here.
 
 Yep, I get that (except I get 14 lines in total) when I take the -q
 option
 out.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

config.bz2
Description: config.bz2


Re: Int21 bug

2003-10-29 Thread Sylvain Petreolle
Could you retry with current CVS, or if you cant, 20031016 ?

 So: file handle 0x136 translates to DOS handle 10, and int21 returns
 AX=0x000a
 
 My newer version, Wine 20030408, does the following:

snip

 I'm not sure, but this bug could also help number 1170, that seems
 related
 in that there's a file that is not actually there, and 717, which
 also tries
 to make a file that isn't created.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Conformance tests fail with 20031016 build

2003-10-28 Thread Sylvain Petreolle
Hi, got the same errors here with Wine today CVS,
updated RedHat  Gnome system.

 --- Sami Aario [EMAIL PROTECTED] a écrit : 
 Hi,
 
 The conformance tests fail for the 20031016 build on my system with
 the following error message:
 
 ../../../tools/runtest -q -P wine -M user32.dll -T ../../.. -p
 user32_test.exe.so msg.c  touch msg.ok
 
 msg.c:333: Test failed: ShowWindow:overlapped: in msg 0x0047
 expecting wParam 0x47 got 0x0
 
 I haven't gotten this error until recently. My system is fairly
 ancient, it's a debian woody installation
 
 with the latest version of KDE.  

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: French keyboard layout with Euro symbol

2003-10-28 Thread Sylvain Petreolle
At least, the detection mismatches should be fixed/explained IMHO.

 As it was said already, we will need at some point to comment out
 that
 FIXME in keyboard.c. If the keyboard input works for you, then I
 don't
 see what needs to be fixed.


___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: dlls/*/tests/Makefile

2003-10-27 Thread Sylvain Petreolle
I noticed that the Makefile in tests directory actually already tries
to regenerate it.
But instead, it fails,because it uses this path :

tests - ../../.. - dlls - generation of lib${IMPORTS}.def  
(IMPORTLIBS in Makefile)

where it could do, much simpler (and without slowdown) :

tests - .. - generation of  $(TESTDLL:%.dll=%).def

 That's normal, the import libs dependencies are only in the top-level
 dlls makefile. Fixing that would require even more makefile recursion
 and slow everything down, so it's not worth it. After a make clean
 you
 need to run make in the dlls directory at least once.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: French keyboard layout with Euro symbol

2003-10-27 Thread Sylvain Petreolle
Hi Jerome,

It seems your patch includes a currency sign '¤' instead of the Euro :
Altgr-E and Altgr-$ look the same (0xA4.)

Please use the unified format when sending patches.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



dlls/*/tests/Makefile

2003-10-26 Thread Sylvain Petreolle
At this time,
if I go into any dll source directory and do (lets take dlls/winmm) :
[EMAIL PROTECTED] winmm]$ make clean
then make will generate this error when building the tests:

make[1]: Entering directory `/home/wine/dlls/winmm/tests'
gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT
-fPIC -Wall
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -g -O2 -o wave.o wave.c
gcc -c -I. -I. -I../../../include -I../../../include   -D_REENTRANT
-fPIC -Wall
-mpreferred-stack-boundary=2 -fno-strict-aliasing -gstabs+
-Wpointer-arith  -g -O2 -o testlist.o testlist.c
make[1]: *** No rule to make target `../../../dlls/libwinmm.def',
needed by `winmm_test.exe.spec.c'.  Stop.
make[1]: Leaving directory `/home/wine/dlls/winmm/tests'
make: *** [tests] Error 2

The only way to compile is to go into the dll directory and run :
make winmm.spec.def (changing the name winmm properly)

Has someone else seen this problem ?

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: [Toolbar] Fixes for IE Favourites 'menu'

2003-10-26 Thread Sylvain Petreolle
This patch makes IE work beautifully.
Its much better than with the native comctl32.

It also uncovers another misbehaviour in our comctl32.
IE crashes because TOOLTIPS_GetTipText isnt protected against NULL read
attempts.

180 if (HIWORD((UINT)toolPtr-lpszText) == 0) {
Wine-dbgp toolPtr
0x
Wine-dbglist -
170 if (oldBkMode != TRANSPARENT)
171 SetBkMode (hdc, oldBkMode);
172 }
173
174
175 static VOID
176 TOOLTIPS_GetTipText (HWND hwnd, TOOLTIPS_INFO *infoPtr, INT
nTool)
177 {
178 TTTOOL_INFO *toolPtr = infoPtr-tools[nTool];
179
180 if (HIWORD((UINT)toolPtr-lpszText) == 0) {
Wine-dbg

Quick fix attached.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

gettiptext_null.diff
Description: gettiptext_null.diff


Acclaim Re-Volt / drm / DSound ?

2003-10-22 Thread Sylvain Petreolle
Hi,
Im trying to run Acclaim Re-Volt Demo with wine.

It didnt start at all, complaining about drm errors.
Having tons of dsound errors, I disabled the dsound with Drivers  =
 in config.

And know what ? Re-Volt now starts further.

I want to debug this issue, but I dont have any idea where to start
digging.

If DSound is enabled, the message I have is
DRM_R200_TEXTURE: return = -11
   offset=0x0100 pitch=0x8 format=4
   image width=256 height=256
blit width=256 height=256 data=0x4b0d8200



=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Winealsa: now fixed, interactive tests still ko.

2003-10-12 Thread Sylvain Petreolle
Applying this patch fixes alsa :
[repaired] dlls/winmm/winealsa/audio.c
thanks to Daniel (Tom?) and Jerry.

Now Common tests are ok.
But some interactive tests still fail with winealsa.

I attached the log. (+wave,+dsound,+dosund3d can be provided if necessary)

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

interactive_dsound_alsa.bz2
Description: interactive_dsound_alsa.bz2


Re: All dsound tests fail with winealsa

2003-10-11 Thread Sylvain Petreolle
These logs doesnt show anything brilliant/remarkable to me.
Could this be an uninitialised pointer problem ?

 --- Jerry Jenkins [EMAIL PROTECTED] a écrit : 
 It's not necessary. I ask you the question just because that I am not
 
 quite familiar with the source :-(.
 
 The logs you provided show that dsound or winealsa call alsa-lib with
 an 
 invalid device name. The line is
 ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM ºÝ@ þB [EMAIL PROTECTED]
 while it should be: Unknown PCM hw.
 
 Please check the result of --debugmsg +wave or send it to me, maybe
 we 
 can find a clue.
 

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

dsound.results.bz2
Description: dsound.results.bz2


Re: [janitor] dlls/winmm/wine* -Wwrite-strings cleanup

2003-10-11 Thread Sylvain Petreolle
Was something like this already applied to CVS ?
This could explain why I got garbage into winealsa for the device
names.

+chardevice[] = hw;
  I think it should be
  static char device[] = hw;
 
 Why is that? In fact, I think it shouldn't, if it
 gets modified during the call, we'll end up passing
 garbage values on subsequent calls...


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: All dsound tests fail with winealsa

2003-10-10 Thread Sylvain Petreolle
Yes, they work without problem.
I can provide logs/screen copy  if needed.
Note: all of them were compiled from sources (driver, lib, oss compat,
tools and utils)

 Do other programs that will call ALSA APIs such as alsamixer and
 aplay work properly?
 


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: attaching or inlining? what to do when you're stuck with a stupid mail client???

2003-10-09 Thread Sylvain Petreolle
As an alternative,  if welcome on the list, we can zip/bzip the patch,
this way they wont be mangled by Notes.
   
 
 Can't you just call your diffs something.txt and attach them?
 


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



All dsound tests fail with winealsa

2003-10-09 Thread Sylvain Petreolle
After an update to current cvs, dsound test with winealsa is failing.
cature.c is ok (1 test only) but propset.c and dsound.c fail.

They give the same error at almost every test 
ALSA lib pcm.c:1908:(snd_pcm_open_noupdate) Unknown PCM
err:wave:wodOpen Error open: Inappropriate ioctl for device
fixme:dsound:mmErr Unknown MMSYS error 3
dsound.c:701: Test failed: DirectSoundCreate failed: 0x80004005
dsound.c:1035: Test failed: DirectSound test failed

Attached: dsound.results  propset.results.
Results of a rerun with --debugmsg +something available if needed.

Note :
The same tests run ok if the tests are launched with wineoss and OSS emulation.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

dsoundtests.bz2
Description: dsoundtests.bz2


Re: Crash in 16-bit code

2003-10-04 Thread Sylvain Petreolle
 --- André_Johansen [EMAIL PROTECTED] a écrit : 
 This crash happens when trying to run the installer of a game; I
 believe it is some old InstallShield version.
 
 Any ideas of how I can get more information out of this?

Please give more inforamtion. (cf
http://www.winehq.org/site/docs/wine-user/bugs)
Are you using the latest Wine version ? 

I get a similar crash when trying to run WinDVD (it crashes on on call
to int 0x1a).


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Implementation of GetCompressedFileSize[AW]

2003-10-02 Thread Sylvain Petreolle
To get rid of the COM1 problem, just run wcmd under wineconsole.
wineconsole -- --backend=user wcmd

 It seems that all Cygwin programs think that they are using COM1 as
 terminal (try wine tty).  That's most likely the reason why bash
 exits
 silently.  It even displays the prompt if I give it -i but then
 exits
 seeing that the terminal is closed.  GetProcessMemoryInfo is called
 after that:

This is what I get if I try to run a external command, all internal
bash commands work today. 
 
bash-2.05b$ ls 

ls 

 25 [main] bash -12 sync_with_child: child 16(0x104) died before
initializat
ion with status code 0x1   

   6891 [main] bash -12 sync_with_child: *** child state waiting for
longjmp
bash: fork: Resource temporarily unavailable   


and on wine output I have :
fixme:console:SetConsoleCtrlHandler (0x61011400,0) - no error checking
or testing yet
fixme:console:SetConsoleCtrlHandler (0x61011400,1) - no error checking
or testing yet
fixme:psapi:GetProcessMemoryInfo (hProcess=0x44, 0x40922af0, 40): stub

I've edited /etc/profile and put a comment before all external commands
to avoid them in cygwin startup and put a 'set -v' to see all commands
runned.

A typical run of cygwin.bat under wineconsole/wcmd gives :
(/etc/profile attached)

WCMD Version 0.17
 
J:\cygwincygwin 
PATH=/usr/local/bin:/usr/bin:/bin:$PATH
 
#USER=`id -un` 
 
# Set up USER's home directory   
#if [ -z $HOME ]; then 
#  HOME=/home/$USER
#fi  
 
if [ ! -d $HOME ]; then
  mkdir -p $HOME   
fi   
 
export HOME USER 
 
#for i in /etc/profile.d/*.sh ; do   
#  if [ -f $i ]; then
#. $i
#  fi
#done
 
export MAKE_MODE=unix
#export PS1='[EMAIL PROTECTED] \W]\$'   
 
cd $HOME   
 
test -f ./.bashrc  . ./.bashrc 
alias ls='ls --color'
alias cp='cp -i' 
alias mv='mv -i' 
alias rm='rm -i' 
echo I'm here! 
I'm here!
[EMAIL PROTECTED] \W]\$
bash-2.05b$

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

profile
Description: profile


Re: Implementation of GetCompressedFileSize[AW]

2003-10-01 Thread Sylvain Petreolle
 FIXME about GetCompressedFileSizeA was too annoying when running
Cygwin
 programs, so I implemented it.  The code uses st_blocks when possible
to
 account for sparse files and falls back to st_size if st_blocks is
missing
 in struct stat.  The code uses shift operations so that both systems
with
 32-bit and 64-bit off_t will do their best to provide accurate
results.

Works cool, but you could return INVALID_FILE_SIZE when the function
fails.
I patched it into win32/newfns.c for long time but never sent a patch.

OT : Too bad that we dont have GetProcessMemoryInfo, this is what keeps
cygwin programs unable to start into bash.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Viruses sent from forged mail adresses ?

2003-09-29 Thread Sylvain Petreolle
Hi,

I received today a mail from
office-support-mailman _at_ wine.codeweavers.com,
with 125k in size.
Since it doesnt have an attachment, it looks strange.

Did someone got the same ?


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: winealsa: improve sound quality for IDsDriverImpl

2003-09-29 Thread Sylvain Petreolle
Hi Jerry,

With your patch applied,
I get a write access to a NULL pointer when trying to get sound with
dsound (winmm tests are running ok.)

Since I was using precompiled RPMs from freshrpms.net when doing the
first try,
I switched to 0.9.7 sources. Same result.

I attached a trace from a run of
wine dsound_test.exe.so dsound --debugmsg +wave,+dsound,+dsound3d

Could you have a look on this ?

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: winealsa: improve sound quality for IDsDriverImpl

2003-09-29 Thread Sylvain Petreolle
With the trace its better ;)
 I attached a trace from a run of
 wine dsound_test.exe.so dsound --debugmsg +wave,+dsound,+dsound3d


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

trace.bz2
Description: trace.bz2


Re: Fix for bug 640 - moving thin frames leaves mess

2003-09-29 Thread Sylvain Petreolle
What Paintbrush are you using ? Im using winme's and got no such
problem when saving images (no natives are used except mfc42and
mfc42loc)

But I have another big problem : if anything is modified,  the whole
image becomes a black square when saved.

 Paintbrush won't exit without saving.
 
 Saving images crashes with:
 Unhandled exception: unimplemented function
 olesvr.dll.OLERENAMESERVERDOC
 called in 32-bit code (0x413b6250).
 


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: uxtheme.dll

2003-09-29 Thread Sylvain Petreolle
This isnt a windows system dll. Isnt that another attempt like
cards.dll ?

 --- Dimitrie O. Paun [EMAIL PROTECTED] a écrit : 
 On Mon, 29 Sep 2003, Kevin wrote:
 
  Because of this, I've been thinking about beginning an
 implementation of 
  uxtheme.dll. I am curious if someone has already taken up this
 task, or if 
  anyone any opinions on this topic.
 
 I'm not aware of anyone working on this. This would be a nice
 contribution
 to Wine.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Wine programs for windows released on sourceforge

2003-09-28 Thread Sylvain Petreolle
  Winhelp:
  - Doesnt start without parameter.
  - Exits with code 2 with valid help file as parameter (no windows
 is
  displayed at all)
 cmdline parsing should be buggy... did you use tabs in the command
 line ?
Even if cmdline parsing is buggy, winhelp should start.
I didnt use tabs.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Max Payne resolution detection

2003-09-26 Thread Sylvain Petreolle
 --- Lionel Ulmer [EMAIL PROTECTED] a écrit :   Now Max Payne
sees only 1280x1024, all other modes arent listed
  anymore.
 
 Did you per-chance :
  1) disable the usage of XVidMode in your config file
wasnt in my config file, I added it, set to disabled.
  2) disabel the XVidMode extension on your X server
xvidmode isnt in my /etc/X11/XF86Config, thought no chance to have it
enabled ? 
xdpyinfo proved me wrong :/
...
XFree86-VidModeExtension
...

added
Option DisableVidModeExtension  true
according to man XF86Config in section ServerFlags.

I have rerun the X session and checked with xdpyinfo, no more
XFree86-VidModeExtension is used.

but no change for now.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Upgrade management

2003-09-26 Thread Sylvain Petreolle
 --- Mike Hearn [EMAIL PROTECTED] a écrit :  On Thu, 2003-09-25 at
20:13, Sylvain Petreolle wrote:
  Cant work, as 'make install' must be done being root user.
 
 Good point. Possibly a timestamp key in the registry that is updated
 with each alteration of winedefault.reg and is also updated in the
 code.
 If they don't match, we print an error (and continue anyway).
 
 How does that sound?
  

We could do this in wine itself (or wineserver ?).
1- Add a registry key that points to the wine source dir
2- If the key doesnt exist, tell the user to locate winedefault.reg and
run regedit.
3- Check the timestamp key.

It makes me wonder why regededit does not verify the format of the
registry files it processes. This morning I gave it a bash script to
import and it did not react.
We can do this check that way :
- if a parameter is given, try to print results into the console.
- if not, we are in gui mode, then we can msgbox it or something else.

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



interactive dsound tests fail winealsa problem

2003-09-23 Thread Sylvain Petreolle
Using latest CVS :

Enabling dsound interactive tests with WINETEST_INTERACTIVE,
I get many errors like this one, always the same :

dsound.c:1223: Test failed: MsgWaitForMultipleObjects failed: 0x102
dsound.c: 42774 tests executed, 0 marked as todo, 80 failures.

Im using wineoss with OSS compatibility to do these tests.
Kernel : 2.4.20-20.9

Using winealsa, the sound produced during the test is awful, full of
noise.
I get only failed tests due to E_NOTIMPL errors like

dsound.c:149: Test failed: Lock: 0x80004001


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Re: Starting wine turns off my screen

2003-09-18 Thread Sylvain Petreolle
Did winecheck say you have a problem ?
You can try to use ttydrv, or :

from a TEXT console, set DISPLAY like this :
export DISPLAY=localhost:0
and try to run 'wine wcmd' or another text-only program from here.

or run 
wine notepad.exe   logfile.
you will be able to see what wine reports since you can connect to it
by SSH.

 I'm using the wine CVS version, compiled from source. I just looked
 at these 
 URLs and will submit a bug report to bugzilla, after I've tried an
 older ATI 
 driver. I can't go back to text mode, I have to reboot to get my
 screen back 
 to life. If you need a process list, I can connect to my PC using SSH
 and 
 send it to the list.


=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



Winedbg not seeing 'orphaned' wine processes

2003-09-17 Thread Sylvain Petreolle
After doing a 'wineserver -k', some wine processes arent stopped.

Using winedbg and doing a 'walk process' (which starts another
wineserver)
is currently unable to see the wine processes that were created before.

[EMAIL PROTECTED] bin]$ ps -efl |grep wine
0 S syl  26355 1  0  75   0- 41016 schedu 04:01 pts/4   
00:00:00 /usr/local/bin/wine wcmd
0 S syl  26709 26208  0  75   0-   909 pipe_w 04:11 pts/4   
00:00:00 grep wine

And winedbg says there is no process :
[EMAIL PROTECTED] bin]$ winedbg
fixme:console:SetConsoleCtrlHandler (0x4063f068,1) - no error checking
or testing yet
WineDbg starting on pid 0
Wine-dbgwalk process
 pid  threads  parent   executable
Wine-dbg

Can this process be debugged in any way or is it completely unreachable ?

=
Sylvain Petreolle (spetreolle_at_users_dot_sourceforge_dot_net)
 ICQ #170597259
Say NO to software patents
Dites NON aux brevets logiciels

What if tomorrow the War could be over ? Morpheus, in Reloaded.

___
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com