Re: Question about video capture and rendering and encoding in wine

2010-06-23 Thread shenyue
Hi Maarten, Thanks for reply so soon. Details reply below. - Original Message - From: "Maarten Lankhorst" To: "shenyue" Cc: Sent: Wednesday, June 23, 2010 10:50 PM Subject: Re: Question about video capture and rendering and encoding in wine Hello, I only made it work for msn mess

re: [PATCH 7/7] d3dx9: Test raw vertex data for D3DXCreateSphere.

2010-06-23 Thread Dan Kegel
Misha wrote: +/* comparisons of 0.0f with -0.0f do not quite seem to work correctly */ Boy, that's for sure. +todo_wine ok( vertex_data[i].x==test_vertex_data[i].x || (fabsf(vertex_data[i].x) < 0.0001f && fabsf(test_vertex_data[i].x) < 0.0001f), "Got resul

Re: [PATCH 7/7] d3dx9: Test raw vertex data for D3DXCreateSphere.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2889 Your paranoid android.

Re: [PATCH 1/7] d3dx9: Shape functions in own file, add stub and basic tests for D3DXCreateSphere.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2885 Your paranoid android.

Re: [PATCH 3/7] d3dx9: Add framework for a more sophisticated D3DXCreateSphere test.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2886 Your paranoid android.

Re: [PATCH 6/7] d3dx9: Add tests for D3DXCreateSphere vertex buffer description.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2888 Your paranoid android.

Re: [PATCH 5/7] d3dx9: Test number of vertices for D3DXCreateSphere.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2887 Your paranoid android.

something I hacked up for git - maybe will help

2010-06-23 Thread Misha Koshelev
I like to reapply my patches a lot - so this gets rid of trailing whitespace and applies the patch. Just thought I'd send out. I know there's tools to avoid trailing whitespace in emacs (http://github.com/glasserc/ethan-wspace works well), but this is my simple solution ;) Misha apply Descripti

Re: Add files generated by "make depend", PGO and gcov to .gitignore

2010-06-23 Thread Scott Ritchie
On 06/22/2010 11:03 AM, Alexandre Julliard wrote: > Peter Davies writes: > >> @@ -79,6 +79,9 @@ my @ignores = ( >> "*.ok", >> "*.res", >> "*.so", >> +"*.gcno", >> +"*.gcov", >> +"/conf*", > > They are not generated by a standard build so they don't belong > here. Put t

Re: Porting WIne to D

2010-06-23 Thread Ben Klein
Please bottom-post on wine-devel. On 24 June 2010 09:26, Christopher Selph wrote: > I agreee  that just converting syntax would not be enough, but it would make > OO design in D alot easier and faster. It an idea currently, I was just > looking for some input. Given that there is (by definition)

Re: Porting WIne to D

2010-06-23 Thread Christopher Selph
I agreee that just converting syntax would not be enough, but it would make OO design in D alot easier and faster. It an idea currently, I was just looking for some input. On Wed, Jun 23, 2010 at 4:17 PM, Gert van den Berg wrote: > On Wed, Jun 23, 2010 at 22:58, Christopher Selph > wrote: > >>P

Re: wordpad: Remove untranslated resources from the Chinese translation.

2010-06-23 Thread Austin English
2010/6/23 Dylan Smith : > > --- >  programs/wordpad/Zh.rc |   24 >  1 files changed, 0 insertions(+), 24 deletions(-) You sent this to wine-devel, not wine-patches. -- -Austin

wordpad: Remove untranslated resources from the Chinese translation.

2010-06-23 Thread Dylan Smith
--- programs/wordpad/Zh.rc | 24 1 files changed, 0 insertions(+), 24 deletions(-) diff --git a/programs/wordpad/Zh.rc b/programs/wordpad/Zh.rc index 135f00c..bae40a7 100644 --- a/programs/wordpad/Zh.rc +++ b/programs/wordpad/Zh.rc @@ -111,30 +111,6 @@ BEGIN END

Re: oledlg: Add the Romanian translation.

2010-06-23 Thread Alexandru Băluț
On Thu, Jun 24, 2010 at 00:13, Michael Stefaniuc wrote: >>> +    CONTROL       "Inserează&linkul", IDC_PS_PASTELINK, "Button", >>> BS_AUTORADIOBUTTON | WS_VISIBLE, >> >> Is "Inserează&legătura" wrong? > > No problem at all. But I found both versions for link, Claudia used 'linkul' > and last but

Re: [PATCH] user32: check for valid pointer in CURSORICON_CreateIconFromBMI

2010-06-23 Thread Wolfram Sang
On 23/06/10 15:32, Alexandre Julliard wrote: > Wolfram Sang writes: > >> @@ -884,6 +884,10 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO >> *bmi, >> return 0; >> } >> >> +/* A few Windows versions crash getting NULL, but most simply return it >> */ >> +if (!bm

Re: oledlg: Add the Romanian translation.

2010-06-23 Thread Michael Stefaniuc
On 06/23/2010 02:02 PM, Alexandru Băluț wrote: 2010/6/23 Michael Stefaniuc: +CONTROL "Creează un nou",IDC_CREATENEW,"Button",BS_AUTORADIOBUTTON | +WS_GROUP,7,20,67,10 "Creează nou" seems better, the original is "Create New", not "Create a New". I don't really

Re: Porting WIne to D

2010-06-23 Thread Gert van den Berg
On Wed, Jun 23, 2010 at 22:58, Christopher Selph wrote: >>Porting a codebase the size >> >> >of Wine will probably take years... >> >> Actually I'm working on a program to convert C code to D code. You can >> find/replace most instances of code, like unsigned int (C) with uint (D). >> The import/i

Re: Porting WIne to D

2010-06-23 Thread Christopher Selph
>Porting a codebase the size > >of Wine will probably take years... > > Actually I'm working on a program to convert C code to D code. You can > find/replace most instances of code, like unsigned int (C) with uint (D). > The import/include files might take some work though. > > > On Wed, Jun 23, 2

Re: Porting WIne to D

2010-06-23 Thread Gert van den Berg
On Wed, Jun 23, 2010 at 20:48, Stephen Eilert wrote: > On Wed, Jun 23, 2010 at 3:06 PM, Christopher Selph wrote: >> Well, being a garbage collected language, it would help with the memory >> leaks in Wine. Being OOP it could extend the design of the code to make it >> cleaner and reusable. > > Th

Re: wordpad: Update Portuguese translation

2010-06-23 Thread Paul Vriens
On 06/23/2010 09:33 PM, Paul Vriens wrote: On 06/23/2010 09:30 PM, Gustavo wrote: Yes, that's what I did. I just tested wordpad with the wrong order and noticed that choosing to create a new file showed a window with blank entries, and when trying to open a file the drowpdown file type menu was

Re: wordpad: Update Portuguese translation

2010-06-23 Thread Paul Vriens
On 06/23/2010 09:30 PM, Gustavo wrote: Yes, that's what I did. I just tested wordpad with the wrong order and noticed that choosing to create a new file showed a window with blank entries, and when trying to open a file the drowpdown file type menu was also blank. In the right order everything wo

Re: wordpad: Update Portuguese translation

2010-06-23 Thread Gustavo
Yes, that's what I did. I just tested wordpad with the wrong order and noticed that choosing to create a new file showed a window with blank entries, and when trying to open a file the drowpdown file type menu was also blank. In the right order everything worked. In other words, I introduced a bug

Re: wordpad: Update Portuguese translation

2010-06-23 Thread Gustavo
I found out the problem. It was the order of the definition of strings that was wrong. Committing a new patch. 2010/6/23 Paul Vriens > On 06/23/2010 03:12 PM, Gustavo wrote: > >> One more translation :) >> >> > This somehow messed up the stats: > > > http://source.winehq.org/transl/resource.php?

Re: Porting WIne to D

2010-06-23 Thread Stephen Eilert
On Wed, Jun 23, 2010 at 3:06 PM, Christopher Selph wrote: > Well, being a garbage collected language, it would help with the memory > leaks in Wine. Being OOP it could extend the design of the code to make it > cleaner and reusable. The assertions above are opinions, not facts. Also, it requires

Re: wordpad: Update Portuguese translation

2010-06-23 Thread Paul Vriens
On 06/23/2010 03:12 PM, Gustavo wrote: One more translation :) This somehow messed up the stats: http://source.winehq.org/transl/resource.php?lang=016%3A02&resfile=programs%2Fwordpad&type=6&id=88&compare= and http://source.winehq.org/transl/resource.php?lang=016%3A01&resfile=programs%2Fword

Re: Add files generated by "make depend", PGO and gcov to .gitignore

2010-06-23 Thread Peter Davies
> It shouldn't. What conf* files do you see? conf23880 conf23880.dir conf23880.file Where "conf23880.dir" is an empty directory, "conf238800.file" is a file containing only a newline and "conf23880" symlinks to "conf23880.file". Having looked into it, it seems that these files are usually delete

Re: msvcrt: Implement getenv_s and _wgetenv_s, forwards from msvcr80, 90 and 100

2010-06-23 Thread Piotr Caban
On 06/23/10 15:26, Paul Chitescu wrote: /* + * getenv_s - not exported in native msvcrt + */ +int CDECL getenv_s(size_t *size, char *buffer, size_t bufLen, const char *name Both getenv_s and _wgetenv_s are exported

Re: Porting WIne to D

2010-06-23 Thread ニール・ゴンパ
On Wed, Jun 23, 2010 at 11:59 AM, Stephen Eilert wrote: > On Wed, Jun 23, 2010 at 1:38 PM, Christopher Selph > wrote: > > of sucess? D has the speed of C, but is a garbage collected language and > > OOP. > > And that would help how, exactly? > > > --Stephen > > Sent from my Emacs > > > Frankly,

Re: Porting WIne to D

2010-06-23 Thread Stephen Eilert
On Wed, Jun 23, 2010 at 1:38 PM, Christopher Selph wrote: > of sucess? D has the speed of C, but is a garbage collected language and > OOP. And that would help how, exactly? --Stephen Sent from my Emacs

Porting WIne to D

2010-06-23 Thread Christopher Selph
Hi everyone, new here. I have been fooling around with the idea of porting WIne to the D programming language. What do you think would be the chances of sucess? D has the speed of C, but is a garbage collected language and OOP. D: http://www.digitalmars.com/d Chris

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread Misha Koshelev
On Wed, 2010-06-23 at 10:39 -0500, Austin English wrote: > On Wed, Jun 23, 2010 at 10:29 AM, Misha Koshelev wrote: > > Oh, and please remind me as I do not quite recall. > > > > If we are in code freeze, does this mean that I should > > (i) refrain from submitting patches until I have a large patc

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread Austin English
On Wed, Jun 23, 2010 at 10:29 AM, Misha Koshelev wrote: > Oh, and please remind me as I do not quite recall. > > If we are in code freeze, does this mean that I should > (i) refrain from submitting patches until I have a large patchset that > is ready for testing or > (ii) submit anyway a bit at a

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread Misha Koshelev
Oh, and please remind me as I do not quite recall. If we are in code freeze, does this mean that I should (i) refrain from submitting patches until I have a large patchset that is ready for testing or (ii) submit anyway a bit at a time? Thank you Misha On Wed, Jun 23, 2010 at 10:19 AM, Misha Kos

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread Misha Koshelev
Oops. You know what - I'm not subscribed to wine-patches, that's why they didn't go through ;) Doh! Misha On Wed, 2010-06-23 at 10:15 +0200, Henri Verbeet wrote: > I think patch 1/2 is missing? Patches aren't picked up from > wine-devel, you should send them to wine-patches. However, we're also >

Re: avifil32: Update Portuguese (Brazilian) translation

2010-06-23 Thread Gustavo
No problem :) Thank you for the tip. 2010/6/23 Ricardo Filipe > 2010/6/23 Gustavo : > > Updated Brazilian Portuguese translation and changed codification of > > resource file to UTF-8 > > > > > > > > > > hi gustavo! > > thanks for doing the .br translations, and fixing sizes i overlooked > in t

Re: Question about video capture and rendering and encoding in wine

2010-06-23 Thread Maarten Lankhorst
Hello, 2010/6/23 shenyue : > Hi everyone, > > Previously I post this question on wine-user forum, seems nobody > answered/interested, so I post it here. Hope somebody give me > a hand :) > > I have some questions about wine video capture andrendering. > > I'm a newbie to wine, and am working on QQ

Re: avifil32: Update Portuguese (Brazilian) translation

2010-06-23 Thread Paul Vriens
On 06/23/2010 04:28 PM, Gustavo wrote: Updated Brazilian Portuguese translation and changed codification of resource file to UTF-8 Hi Gustavo, If you change the encoding to UTF-8 you also need to add a "#pragma code_page(65001)", otherwise we'll end up with compile warnings like: Warning:

Re: avifil32: Update Portuguese (Brazilian) translation

2010-06-23 Thread Ricardo Filipe
2010/6/23 Gustavo : > Updated Brazilian Portuguese translation and changed codification of > resource file to UTF-8 > > > > hi gustavo! thanks for doing the .br translations, and fixing sizes i overlooked in the .pt translation. :) however, you need to add the following line to the beginning of t

Re: [PATCH] winedevice: Use 64-bit wide delta when relocating

2010-06-23 Thread Dmitry Timoshkov
Alessandro Pignotti wrote: > @@ -67,7 +67,8 @@ static HMODULE load_driver_module( const WCHAR *name ) > IMAGE_NT_HEADERS *nt; > const IMAGE_IMPORT_DESCRIPTOR *imports; > size_t page_size = getpagesize(); > -int i, delta; > +int i; > +intptr_t delta; You need to use SDK

Re: [PATCH] user32: check for valid pointer in CURSORICON_CreateIconFromBMI

2010-06-23 Thread Alexandre Julliard
Wolfram Sang writes: > @@ -884,6 +884,10 @@ static HICON CURSORICON_CreateIconFromBMI( BITMAPINFO > *bmi, > return 0; > } > > +/* A few Windows versions crash getting NULL, but most simply return it > */ > +if (!bmi) > +return 0; That's not the right place for i

Re: [PATCH 4/4] wined3d: use stretch_rect_fbo for swapchainless blits

2010-06-23 Thread Henri Verbeet
On 22 June 2010 21:38, Roderick Colenbrander wrote: > Regarding BltOverride in what way did you want to 'try the FBO blit > first'. Did you want fbo_blit_supported sorting out the 'unsupported > swapchain cases' (it lacks surface info and only has flags) itself or > was all you wanted just: > if (

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread testbot
Hi, While running your changed tests on Windows, I think I found new failures. Being a bot and all I'm not very good at pattern recognition, so I might be wrong, but could you please double-check? Full results can be found at http://testbot.winehq.org/JobDetails.pl?Key=2859 Your paranoid android.

Re: msvcrt/tests: Make test_dup2() static.

2010-06-23 Thread Francois Gouget
On Wed, 23 Jun 2010, test...@testbot.winehq.org wrote: > Hi, > > While running your changed tests on Windows, I think I found new failures. > Being a bot and all I'm not very good at pattern recognition, so I might be > wrong, but could you please double-check? > Full results can be found at > ht

Re: msvcr90/tests: Make test_invalid_parameter_handler() static.

2010-06-23 Thread Francois Gouget
On Wed, 23 Jun 2010, test...@testbot.winehq.org wrote: > Hi, > > While running your changed tests on Windows, I think I found new failures. > Being a bot and all I'm not very good at pattern recognition, so I might be > wrong, but could you please double-check? > Full results can be found at > ht

Re: shlwapi/tests: Make the XXX_Construct() functions static.

2010-06-23 Thread Francois Gouget
On Wed, 23 Jun 2010, test...@testbot.winehq.org wrote: > Hi, > > While running your changed tests on Windows, I think I found new failures. > Being a bot and all I'm not very good at pattern recognition, so I might be > wrong, but could you please double-check? > Full results can be found at > ht

Re: oledlg: Add the Romanian translation.

2010-06-23 Thread Alexandru Băluț
2010/6/23 Michael Stefaniuc : > +    CONTROL         "Creează un > nou",IDC_CREATENEW,"Button",BS_AUTORADIOBUTTON | > +                    WS_GROUP,7,20,67,10 "Creează nou" seems better, the original is "Create New", not "Create a New". I don't really get what "Create New" is supposed to mean,

Re: msvfw32: Add the Romanian translation.

2010-06-23 Thread Michael Stefaniuc
Alexandru Băluț wrote: > On Wed, Jun 23, 2010 at 01:14, Michael Stefaniuc wrote: >> +CONTROL "&Toate cadre >> cheie",887,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,60,70,12 >> +EDITTEXT 888,82,60,22,12 >> +LTEXT "Cadre",889,106,62,22,10 > > This will look like "Toate cadre cheie X Cadre"

Re: msvfw32: Add the Romanian translation.

2010-06-23 Thread Alexandru Băluț
On Wed, Jun 23, 2010 at 01:14, Michael Stefaniuc wrote: > +    CONTROL "&Toate cadre > cheie",887,"Button",BS_AUTOCHECKBOX|WS_TABSTOP,9,60,70,12 > +    EDITTEXT 888,82,60,22,12 > +    LTEXT "Cadre",889,106,62,22,10 This will look like "Toate cadre cheie X Cadre" and it does not make sense. The o

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Iain Arnell
On Wed, Jun 23, 2010 at 11:47 AM, Henri Verbeet wrote: > On 23 June 2010 10:40, Stefan Dösinger wrote: >> I recommend to put this check into ddraw, >> like in your previous attempts(but keep checking for < 0, don't do any bit >> testing magic like in your old patches) >> > Both of you, please don

Question about video capture and rendering and encoding in wine

2010-06-23 Thread shenyue
Hi everyone, Previously I post this question on wine-user forum, seems nobody answered/interested, so I post it here. Hope somebody give me a hand :) I have some questions about wine video capture andrendering. I'm a newbie to wine, and am working on QQ or any other messengers in wine. My envir

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Michael Stefaniuc
Iain Arnell wrote: > On Wed, Jun 23, 2010 at 10:47 AM, Stefan Dösinger > wrote: >> Am Mittwoch 23 Juni 2010 10:40:30 schrieb Stefan Dösinger: >>> You're catching only the GDI surface case here since opengl surfaces don't >>> use IWineD3DBaseSurfaceImpl_BltFast. I recommend to put this check into

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Henri Verbeet
On 23 June 2010 10:40, Stefan Dösinger wrote: > I recommend to put this check into ddraw, > like in your previous attempts(but keep checking for < 0, don't do any bit > testing magic like in your old patches) > Both of you, please don't ever work on any kind of critical system. Seriously. Does th

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Iain Arnell
On Wed, Jun 23, 2010 at 10:47 AM, Stefan Dösinger wrote: > Am Mittwoch 23 Juni 2010 10:40:30 schrieb Stefan Dösinger: >> You're catching only the GDI surface case here since opengl surfaces don't >> use IWineD3DBaseSurfaceImpl_BltFast. I recommend to put this check into >> ddraw, like in your pr

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Stefan Dösinger
Am Mittwoch 23 Juni 2010 10:40:30 schrieb Stefan Dösinger: > You're catching only the GDI surface case here since opengl surfaces don't > use IWineD3DBaseSurfaceImpl_BltFast. I recommend to put this check into > ddraw, like in your previous attempts(but keep checking for < 0, don't do > any bit

Re: wined3d: Better validation of BltFast destination

2010-06-23 Thread Stefan Dösinger
Am Dienstag 22 Juni 2010 23:37:20 schrieb Iain Arnell: > --- a/dlls/wined3d/surface_base.c > +++ b/dlls/wined3d/surface_base.c > @@ -1657,6 +1657,11 @@ HRESULT WINAPI > IWineD3DBaseSurfaceImpl_BltFast(IWineD3DSurface *iface, DWORD dst > lock_dst.right = dstx + w; > lock_dst.bottom = dsty + h

Re: [PATCH 2/2] d3dx9: Add stub and basic test for D3DXCreateSphere.

2010-06-23 Thread Henri Verbeet
I think patch 1/2 is missing? Patches aren't picked up from wine-devel, you should send them to wine-patches. However, we're also currently in code freeze.