Andre Poenitz <[EMAIL PROTECTED]> writes:

| Since LyX uses svn now and svn is a bit more forgiving when it comes
| to renaming files I thought it would be a good idea to talk a bit 
| about 'source cosmetics', most notably renaming classes and files.
| 
| This is no new idea, but I haven't seen any concrete proposals.

I have proposals coming, but I want 1.4.0 before we do anything.

| i.e. no {lyx,LyX,L}-prefix, instead everything in namespace lyx, usually one
| class per .h/.C combo, and files named the same way as the class.

I agree with the LyX prefix (or l or lyx) in general. We have too many
of them.

As to upper/lower case I think we should use lowercase only. But that
is purely IMHO. However what IMNSHO we need to require that files that
have the same name except for case differences are outlawed.

| I'd probaly also rename math_fooinset/MathFooInset to InsetFoo/InsetFoo.
| 
| This would be 1.5.0 stuff and at least the file renamings should be done
| immediately after openening 1.5.0svn for work to prevent conflicts (even
| svn has no real file moves...)

I am not really afraid of confilicts, but we should perhaps wait with
renamings until we have some of the outstanding patches applied.
 
| Opinions?

Sometime ago we even agreed on *.C -> *.cxx change. But today to aim
for a what seems to be commonly used I'd use *.C -> *.cpp instead.

-- 
        Lgb

Reply via email to