Re: Use GCC's -Wlogical-op if possible

2009-06-22 Thread Paul Vriens
Austin English wrote: On Fri, Jun 19, 2009 at 12:35 PM, Gerald Pfeifer wrote: On Fri, 19 Jun 2009, Paul Vriens wrote: I have about 70 warnings with 4.3.2. I already sent two patches and found a few more bugs. If you want I can start sending in patches for those as well (don't want to duplicate

Re: urlmon: [Patch 1] Implement CreateZoneEnumerator, GetZoneAt, DestroyZoneEnumerator [try 3]

2009-06-22 Thread Jacek Caban
Hi Detlef, Detlef Riekenberg wrote: This time, we don't care about dwEnum. That value is returned from CreateZoneEnumerator and checked only in GetZoneAt and DestroyZoneEnumerator. Windows has only the Zones "0" upto "4" since IE4.0 and no UI to add or remove a Zone. Did you test what happ

Re: Is there any way to debug driver?

2009-06-22 Thread Eric Pouech
Wang, Robin a écrit : Hi Roderick, Using winedbg, it is OK for us to break into libGL.so. But we cannot set break point in our dri drivers, which is loaded by libGL.so using dlopen(). please send me the output of running WINEDEBUG=+dbghelp wine and then at debugger prompt Wine-dbg>

Appinstall update

2009-06-22 Thread Austin English
Howdy, James has asked me to send y'all an update on my Summer of Code project, Appinstall. I've got a dozen or so app tests committed already, and several more that I'm putting the final touches on. I just finished a wrapper script to make it easy to test daily, and have begun uploading results t

RE: Is there any way to debug driver?

2009-06-22 Thread Wang, Robin
Hi Roderick, Using winedbg, it is OK for us to break into libGL.so. But we cannot set break point in our dri drivers, which is loaded by libGL.so using dlopen(). Thanks, Robin -Original Message- From: Roderick Colenbrander [mailto:thunderbir...@gmail.com] Sent: Monday, June 22, 2009 8:

Re: [PATCH 2/2] mshtml: Fixed tests on IE8 and change Wine behavior to IE8.

2009-06-22 Thread Jacek Caban
Hi Paul, Paul Vriens wrote: This piece however doesn't look correct: +static void _test_disp2(unsigned line, IUnknown *unk, const IID *diid, const IID *diid2) +{ +IID iid; + +if(_test_get_dispid(line, unk, &iid)) +ok_(__FILE__,line) (IsEqualGUID(&iid, diid) || broken(IsEqualG

Re: [PATCH 2/2] mshtml: Fixed tests on IE8 and change Wine behavior to IE8.

2009-06-22 Thread Paul Vriens
Jacek Caban wrote: --- dlls/mshtml/dispex.c |2 ++ dlls/mshtml/htmllocation.c |2 +- dlls/mshtml/mshtml_private.h |2 ++ dlls/mshtml/omnavigator.c|2 +- dlls/mshtml/tests/dom.c | 36 ++-- 5 files changed, 36 insertions(+), 8 de

Developers-Hints wiki page: Character encoding in resource file translations

2009-06-22 Thread Frédéric Delanoy
Hi all, According to http://wiki.winehq.org/Developers-Hints on the "http://wiki.winehq.org/Developers-Hints";, AFAICT the resource files should generally - use the default Windows codepage for the specified language or - use UTF-8 surround with "#pragma code_page(65001)" at the top of the file a

Re: Wine translation statistics sources

2009-06-22 Thread André Hentschel
Aurimas Fišeras schrieb: On 2009.06.20 20:19, Alexandre Julliard wrote: Mikołaj Zalewski writes: It's online again. Having it on WineHQ would probably give a better uptime (and a much better latency, but this should also improve on my side, when I won't need a temporary SSH tunnel anymore an

Re: Wine translation statistics sources

2009-06-22 Thread Aurimas Fišeras
On 2009.06.20 20:19, Alexandre Julliard wrote: > Mikołaj Zalewski writes: > >> It's online again. Having it on WineHQ would probably give a better >> uptime (and a much better latency, but this should also improve on my >> side, when I won't need a temporary SSH tunnel anymore and will move >> t

Re: XI2 DirectInput/RawInput/WH_*_LL hooks

2009-06-22 Thread Stefan Dösinger
Am Monday 22 June 2009 13:12:40 schrieb Paul TBBle Hampson: > >> *) A new process (ala services.exe) which grabs XI2 events from X11 via > >> its own connection and feeds them to the wineserver. > > > > It should run in the context of the explorer process, no need for a new > > process. > > Sounds

Re: Problems with ~/.wine/dosdevices symlinks on samba servers

2009-06-22 Thread Dan Kegel
On Sun, Jun 21, 2009 at 11:52 PM, Ben Klein wrote: >>> According to >>> http://groups.google.com/group/Google-Labs-Picasa-for-Linux/browse_thread/thread/9b0c746965d34f73 >>> http://groups.google.com/group/linux.samba/browse_thread/thread/a00c04cccf1a40fb# >>> a user is having trouble because the sy

Re: Is there any way to debug driver?

2009-06-22 Thread Roderick Colenbrander
At what sort of points did you try to set breakpoints before? Note that we are loading opengl dynamically which might make debugging a little bit harder. What about plain winedbg? Today I tried 'winedbg --gdb notepad' and indeed had some issues but plain winedbg worked properly. Further 'gdb wine n

Re: [PATCH 1/4] jscript: Added implementation of Date constructor with more then one argument

2009-06-22 Thread Alexandre Julliard
Piotr Caban writes: > Alexandre Julliard wrote: >> You should use SystemTimeToFileTime or some similar function, no need to >> reinvent the wheel. >> > > In this case SYSTEMTIME keeps information returned by > GetTimeZoneInformation. It's used to store informations about > daylight/standard time

Re: [PATCH 1/4] jscript: Added implementation of Date constructor with more then one argument

2009-06-22 Thread Piotr Caban
Alexandre Julliard wrote: > Piotr Caban writes: > >> @@ -221,6 +253,62 @@ static inline DOUBLE week_day(DOUBLE time) >> return ret; >> } >> >> +static inline DOUBLE convert_time(int year, SYSTEMTIME st) >> +{ >> +DOUBLE time; >> +int set_week_day; >> + >> +time = time_from_yea

Re: XI2 DirectInput/RawInput/WH_*_LL hooks

2009-06-22 Thread Paul TBBle Hampson
On Mon, Jun 22, 2009 at 12:57:35PM +0200, Alexandre Julliard wrote: > Paul TBBle Hampson writes: >> *) A new process (ala services.exe) which grabs XI2 events from X11 via >> its own connection and feeds them to the wineserver. > It should run in the context of the explorer process, no need for a

Re: [PATCH 1/4] jscript: Added implementation of Date constructor with more then one argument

2009-06-22 Thread Alexandre Julliard
Piotr Caban writes: > @@ -221,6 +253,62 @@ static inline DOUBLE week_day(DOUBLE time) > return ret; > } > > +static inline DOUBLE convert_time(int year, SYSTEMTIME st) > +{ > +DOUBLE time; > +int set_week_day; > + > +time = time_from_year(year); > +time += (DOUBLE)day_from

Re: XI2 DirectInput/RawInput/WH_*_LL hooks

2009-06-22 Thread Alexandre Julliard
Paul TBBle Hampson writes: > The three possibilities I see are: > > *) Most recent foreground application catches XI2 events in its own > spawned thread. Need to elect a replacement on process exit. Easiest to > co-ordinate with non-XI2 hook-feeding code. > > *) Wineserver gains an X11 connection

Re: Test patch

2009-06-22 Thread Gert van den Berg
On Mon, Jun 22, 2009 at 04:01, Austin English wrote: > The 'patch file' listed in the README should be > deleted, since it's no longer provided. > It seem to be sent to wine-releases.

Re: Pavel Procházka's commit

2009-06-22 Thread Stefan Dösinger
Hi, Please send one patch per email. If you have 3 patches, like in this case, please send 3 emails All the patches have trailing whitespaces in some places, and mix tabs and 4-space indentation. Please avoid trailing whitespaces and use 4 spaces for indentation everywhere. In the test: Pleas

Re: W-related helper functions for our tests

2009-06-22 Thread Paul Vriens
Francois Gouget wrote: On Fri, 19 Jun 2009, Paul Vriens wrote: Hi, I was wondering if it would make sense to introduce several helper functions that could be used by all our tests. The main ones needed are the ones to cope with Win9x missing several W-functions. Another one used quite often

RE: Is there any way to debug driver?

2009-06-22 Thread Guan, Xiao-Feng
The gdb way always turns into some SIGTRAP signal from preloader and finally terminates the loading process. It seems that the WINE binary loader would not co-work with gdb. We will try another way -- the WINE visual tests, to see if it is enough for work. Thanks very much. Guan Xiaofeng AMD Sha

Re: W-related helper functions for our tests

2009-06-22 Thread Francois Gouget
On Fri, 19 Jun 2009, Paul Vriens wrote: > Hi, > > I was wondering if it would make sense to introduce several helper functions > that could be used by all our tests. > > The main ones needed are the ones to cope with Win9x missing several > W-functions. > > Another one used quite often in the t