Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

Here's the italian translation for winedbg
  

Hi, Davide.

This patch is malformed too.

When you need to create new file in repo, first create it in your file 
system, then do 'git add programs/winedbg/rsrc_It.rc' .
This will add it to your repo. Don't forget to edit rsrc.rc file too to 
add your new created resource file.


Bye.




Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

i think i made a little mess with the files for winedbg. how do i
restore the situation to the previous state?
Il giorno dom, 28/06/2009 alle 16.14 +0400, Nikolay Sivov ha scritto:
  

Davide Pizzetti wrote:


Here's the italian translation for winedbg
  
  

Hi, Davide.

This patch is malformed too.

When you need to create new file in repo, first create it in your file 
system, then do 'git add programs/winedbg/rsrc_It.rc' .
This will add it to your repo. Don't forget to edit rsrc.rc file too to 
add your new created resource file.


Bye.

Save your edited files somewhere outside tree to keep your work. After 
that do 'git reset --hard origin'

this will reset your tree head to point of last 'git fetch' update.

After that proceed as described (add new file, put translation in it, etc).





Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

Another question: when i create a new language translation file, i have
to copy the english file into a new file and translate it?

Il giorno dom, 28/06/2009 alle 16.14 +0400, Nikolay Sivov ha scritto:
  

Davide Pizzetti wrote:


Here's the italian translation for winedbg
  
  

Hi, Davide.

This patch is malformed too.

When you need to create new file in repo, first create it in your file 
system, then do 'git add programs/winedbg/rsrc_It.rc' .
This will add it to your repo. Don't forget to edit rsrc.rc file too to 
add your new created resource file.


Bye.

Yes, cause only english resources are complete - that's the only reason 
why you should sync with it.







Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

Il giorno dom, 28/06/2009 alle 16.39 +0400, Nikolay Sivov ha scritto:
  

Davide Pizzetti wrote:


i think i made a little mess with the files for winedbg. how do i
restore the situation to the previous state?
Il giorno dom, 28/06/2009 alle 16.14 +0400, Nikolay Sivov ha scritto:
  
  

Davide Pizzetti wrote:



Here's the italian translation for winedbg
  
  
  

Hi, Davide.

This patch is malformed too.

When you need to create new file in repo, first create it in your file 
system, then do 'git add programs/winedbg/rsrc_It.rc' .
This will add it to your repo. Don't forget to edit rsrc.rc file too to 
add your new created resource file.


Bye.


Save your edited files somewhere outside tree to keep your work. After 
that do 'git reset --hard origin'

this will reset your tree head to point of last 'git fetch' update.

After that proceed as described (add new file, put translation in it, etc).




Ok, thank you. For restoring the completed works i just overwrite the
files, right?
  

Yeah, just paste it into new created file.





Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

I've got another question: i've created some new files and translated
them into italian. How can i submit them as a patch? I made a git diff
but these files i created don't appear there
  
As I told you. Do 'git add new file path relative to tree'. This will 
add it to your local repo.






Re: winedbg italian translation

2009-06-28 Thread Nikolay Sivov

Davide Pizzetti wrote:

Il giorno dom, 28/06/2009 alle 17.43 +0400, Nikolay Sivov ha scritto:
  

Davide Pizzetti wrote:


I've got another question: i've created some new files and translated
them into italian. How can i submit them as a patch? I made a git diff
but these files i created don't appear there
  
  
As I told you. Do 'git add new file path relative to tree'. This will 
add it to your local repo.




i used 'git add' but i can't understand how i can submit the new files
as a patch, since i get only a diff for the list of the current
languages
  

Do 'git commit -a' and 'git format-patch' will do what you want after that.





Re: [1/1] Handle hwnd and tbi when passing NULL

2009-06-28 Thread Nikolay Sivov

Kovács András wrote:

Hi,

This patch is for GetTitleBarInfo, when it gets NULL hwnd and/or pti
parameter.
GTA IV tries to use this function with NULL, NULL parameters. 
This doesn't hurt Windows, but crashes in wine.

Tested against Windows 7.

Best Regards,

Andras Kovacs
  

I think IsWindow() will be enough here. Also add tests for that please.





Re: Anyone at LinuxTag?

2009-06-28 Thread Scott Ritchie

Kai Blin wrote:

On Saturday 27 June 2009 02:16:42 Dan Kegel wrote:


If anyone's at LinuxTag, maybe it would be worth wandering over to
Halle 7.2a, Stand 111 and chat the projects up to see if any
of them have any interest in Wine...


Ah, damn, that was like a day late. I won't make it in time today. However, 
the way I read the article, (most of) the money is planned to be spent on 
improving software already in use at some agencies. No idea if this already 
includes Wine or not. :)


Cheers,
Kai



Who would they give the money to, even if they wanted to give it to us? 
 We don't have any real infrastructure for handling those kind of 
donations (nor seeking them, for that matter).


Perhaps it's time for me to dust off that Wine Foundation idea.

Thanks,
Scott Ritchie




Re: Minor fix for include/bits1_5.idl

2009-06-28 Thread Gerald Pfeifer
Strike that, I must have misread the documentation.  

Only thing I am wondering is do we really need the (unsigned long) here?

If anyone has a pointer to clear documentation that would be nice; what I
found so far leaves some questions open...

Gerald

On Sun, 28 Jun 2009, Gerald Pfeifer wrote:
 The generated file include/bits1_5.h is the same before and after this
 patch, yet somehow the original form strikes me as a bit odd at best...
 
 Gerald
 
 
 ChangeLog:
 Fix prototype for GetReplyData().
 
 diff --git a/include/bits1_5.idl b/include/bits1_5.idl
 index 274a7de..29520e2 100644
 --- a/include/bits1_5.idl
 +++ b/include/bits1_5.idl
 @@ -39,7 +39,7 @@ interface IBackgroundCopyJob2 : IBackgroundCopyJob
  } BG_JOB_REPLY_PROGRESS;
  
  HRESULT GetReplyProgress([in, out] BG_JOB_REPLY_PROGRESS *progress);
 -HRESULT GetReplyData([out, size_is( , (unsigned long) *pLength)] byte 
 **pBuffer,
 +HRESULT GetReplyData([out, size_is((unsigned long) *pLength)] byte 
 **pBuffer,
   [in, out, unique] UINT64 *pLength);
  HRESULT SetReplyFileName([unique] LPCWSTR filename);
  HRESULT GetReplyFileName([out] LPWSTR *pFilename);




Re: [1/2] Handle hwnd and tbi when passing NULL

2009-06-28 Thread Austin English
2009/6/28 Kovács András and...@csevego.net:
 Hi,

 This patch is for GetTitleBarInfo, when it gets NULL hwnd and/or pti
 parameter.
 GTA IV tries to use this function with NULL, NULL parameters.
 This doesn't hurt Windows, but crashes in wine.
 Tested against Windows 7.

 Best Regards,

 Andras Kovacs

Not a big deal, but in the future, please add the component at the
beginning of your e-mail's subject, e.g.:
user32: Handle hwnd and tbi when passing NULL in GetTitleBarInfo

it's much easier to know what the purpose of the patch is without
reading it that way (for those people that only read certain sections
of the code).

-- 
-Austin




Re: [1/2] Handle hwnd and tbi when passing NULL

2009-06-28 Thread Nikolay Sivov

Kovács András wrote:

Hi,

This patch is for GetTitleBarInfo, when it gets NULL hwnd and/or pti
parameter.
GTA IV tries to use this function with NULL, NULL parameters. 
This doesn't hurt Windows, but crashes in wine.

Tested against Windows 7.

Best Regards,

Andras Kovacs
  

---
TRACE((%p %p)\n, hwnd, tbi);

+TRACE(tbi is NULL.\n);
---

That's a duplication you don't really need.


This one isn't very useful too:
---
+TRACE(Invalid hwnd.\n);
---







Re: [2/2] GetTitleBarInfo tests for NULL values

2009-06-28 Thread Nikolay Sivov

Kovács András wrote:

Hi,

GetTitleBarInfo tests for NULL values.


Best Regards, 


Kovács András
  

What about this one:

---
ret = GetTitleBarInfo(NULL, NULL);
---


What error code will come first?




Re: Anyone at LinuxTag?

2009-06-28 Thread Ben Klein
2009/6/29 Scott Ritchie sc...@open-vote.org:
 Who would they give the money to, even if they wanted to give it to us?

Codeweavers?




Re: Anyone at LinuxTag?

2009-06-28 Thread Austin English
On Sun, Jun 28, 2009 at 5:38 PM, Ben Kleinshackl...@gmail.com wrote:
 2009/6/29 Scott Ritchie sc...@open-vote.org:
 Who would they give the money to, even if they wanted to give it to us?

 Codeweavers?

Is a private for-profit company.

Is there something wrong with putting it in the Wine development fund,
under custody of the Software Freedom Conservancy?

-- 
-Austin




Re: Anyone at LinuxTag?

2009-06-28 Thread Scott Ritchie

Austin English wrote:

On Sun, Jun 28, 2009 at 5:38 PM, Ben Kleinshackl...@gmail.com wrote:

2009/6/29 Scott Ritchie sc...@open-vote.org:

Who would they give the money to, even if they wanted to give it to us?

Codeweavers?


Is a private for-profit company.

Is there something wrong with putting it in the Wine development fund,
under custody of the Software Freedom Conservancy?



For starters, we don't have any clear indicator of what we'd do with a 
large windfall.  We don't even communicate well what we do with very 
small donations.


Thanks,
Scott Ritchie




Re: Anyone at LinuxTag?

2009-06-28 Thread Kai Blin
On Monday 29 June 2009 01:22:00 Austin English wrote:
 On Sun, Jun 28, 2009 at 5:38 PM, Ben Kleinshackl...@gmail.com wrote:
  2009/6/29 Scott Ritchie sc...@open-vote.org:
  Who would they give the money to, even if they wanted to give it to us?
 
  Codeweavers?

 Is a private for-profit company.

 Is there something wrong with putting it in the Wine development fund,
 under custody of the Software Freedom Conservancy?

Yes. Realistically, there will be a contract involved regulating what needs to 
be done to get the money. I very much doubt the government just go and drop 
money on random paypal buttons and hope for the best. The way I've seen stuff 
like this work before is that there's a call for bids from companies to 
implement certain features in a piece of software, maybe with the requirement 
at a reasonable effort to get the produced changes upstream.

My two cents,
Kai

-- 
Kai Blin
WorldForge developer  http://www.worldforge.org/
Wine developerhttp://wiki.winehq.org/KaiBlin
Samba team member http://www.samba.org/samba/team/
--
Will code for cotton.


signature.asc
Description: This is a digitally signed message part.



Re: Anyone at LinuxTag?

2009-06-28 Thread Austin English
On Mon, Jun 29, 2009 at 12:46 AM, Kai Blinkai.b...@gmail.com wrote:
 On Monday 29 June 2009 01:22:00 Austin English wrote:
 On Sun, Jun 28, 2009 at 5:38 PM, Ben Kleinshackl...@gmail.com wrote:
  2009/6/29 Scott Ritchie sc...@open-vote.org:
  Who would they give the money to, even if they wanted to give it to us?
 
  Codeweavers?

 Is a private for-profit company.

 Is there something wrong with putting it in the Wine development fund,
 under custody of the Software Freedom Conservancy?

 Yes. Realistically, there will be a contract involved regulating what needs to
 be done to get the money. I very much doubt the government just go and drop
 money on random paypal buttons and hope for the best. The way I've seen stuff
 like this work before is that there's a call for bids from companies to
 implement certain features in a piece of software, maybe with the requirement
 at a reasonable effort to get the produced changes upstream.

Ah, misunderstood what you meant there.

Eventually some sort of foundation would be the best thing to head
toward, but that's a legal headache.

-- 
-Austin