Re: [Libreoffice] A few questions for developers

2011-09-09 Thread Caolán McNamara
On Fri, 2011-09-09 at 01:24 +0400, Dmitry. A. Ashkadov wrote:
 I found that some functions/methods is never used.  This functions are
 listed in «unusedcode.easy» file. Is this file generated automatically
 or I should modify it in case of removing unused functions? 

Both. So if you remove a method from the code, remove it from the
unusedcode.easy as well so that noone else wastes time trying to find
and remove it inbetween the runs I do to update it.

 How can I generate a patch (diff) which may be used to push changes to
 official repository? Should I make a commit to a local repository
 before generating a patch?And what I should do in case of modification
 of binary data (changed/added images)? 

http://wiki.documentfoundation.org/Development/Patch_Handling_Guideline#Generate_patch_via_git_format-patch
 should help, that format should handle binary changes.

C.

p.s. I haven't a clue about the MaskColor stuff.

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice


[Libreoffice] A few questions for developers

2011-09-08 Thread Dmitry. A. Ashkadov

Hello!

I found that images as a resource defined in *.src file with parameter 
«MaskColor»:


Image RID_SVXBMP_SLIDERINCREASE
{
ImageBitmap = Bitmap
{
File = slidezoomin_11.png ;
};
MaskColor = STD_MASKCOLOR;
};

What does this parameter mean? Can I don't set MaskColor?


I found that some functions/methods is never used.  This functions are 
listed in «unusedcode.easy 
http://opengrok.libreoffice.org/xref/core/unusedcode.easy» file. Is 
this file generated automatically or I should modify it in case of 
removing unused functions?



How can I generate a patch (diff) which may be used to push changes to 
official repository? Should I make a commit to a local repository before 
generating a patch? And what I should do in case of modification of 
binary data (changed/added images)?


Thank You!

--
Best Regards,
Dmitry

attachment: dmitry_ashkadov.vcf___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice