[dev] DEV300 m7: license header change and removal of external include guards

2008-04-15 Thread Rüdiger Timm
Milestone DEV300 m7 contains childworkspace changefileheader. That CWS 
combines two tasks: updating all file headers to LGPL 3 and removal of 
external include guards from c++ files.


License Header Update
=
All file headers of our current code base have been updated. If you are 
going to introduce new files, please be aware of the new header. 
Templates are at

http://www.openoffice.org/dev_docs/source/templates/code (C-style)
and
http://www.openoffice.org/dev_docs/source/templates/makefile 
(script style).
I also changed cwsanalyze.pl. Starting with milestone m7 it will give an 
alert when your CWS contains new files with the old, outdated header. If 
you get that please exchange the header using the new template.



External Include Guard Removal
==
Thorsten Behrens removed external header include guards. Please do not 
use such guards any more for include statements.



Resyncing a Childworkspace
==
Resyncing a childworkspace from some older milestone to m7 or above will 
surely cause some pain. It will take quite some time as in m7 nearly 
every source file got touched. And it is likely that you get conflicts 
when you changed include statements (add or remove includes). However, 
those conflicts are always easy to solve. As a golden rule take your 
version and just remove all 'IFDEF ' and 'ENDIF' lines in the 
conflicting block.



Rüdiger

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Update: Removing external header guards

2008-04-15 Thread Thorsten Behrens
On Tue, Apr 01, 2008 at 01:53:21PM +0200, Frank Schönheit - Sun Microsystems 
Germany wrote:
> I still hope to be wrong in assuming that this will cost us a lot of
> work in resyncing, but well ... 
>
Hi Frank, all,

well, now is the time to check - DEV300_m7 should be almost clean
from external header guards.

Cheers,

-- Thorsten

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]