On Sun, 30 Aug 2009 07:40:47 +0200 (CEST) Vincent Torri <[email protected]>
said:

hmm i disagree with some of the doc. specifically

blah
{
   xx;
}

i have always had/used:
blah
 {
   xx;
 }

ie {}'s are indented a bit.

but... we can argue over little things all day long. imho the ONLY way this
will work is if we have an indent line/rule that works. and the only way this
will work is if we require code is "indented" before a commit. in fact i'd even
consider this should be done  as part of the commit p;rocess automatically. all
*.c *.h files should be

1. patched with commmit
2. run through indent
3. actual patch/commit generated and put into svn.

can svn do this - ie add a stage in the commit pipeline? that's the q.
otherwise its a policy and people need to remember to run indent on their
edited files (or new added files).

> Hey,
> 
> I think that we all agree that the current mix of whitespace and 
> tabulation in most of the source code is not that very nice.
> Also, the libraries are often using the coding style of the original author,
> hence we have several different coding style in different libraries (eina
> being even worse, as it uses both raster and Jorge coding style...)
> 
> As we plan to release the EFL, maybe it would be good to choose a common 
> coding style and to modify the source code accordingly (preferably 
> before the release, but that can be done after as it would be a lot of 
> work).
> 
> I have attached a proposal. The structure is based on the cairo coding 
> style file (I have copy/pasted most of the sentences as I'm not an 
> english speaker/writer, but I modified the examples of course...).
> 
> Feel free to give your ideas, remarks, modifications, additions, etc... We 
> are not in a hurry, so discussion is welcome, of course.
> 
> Once we all agree on a coding style, i think that such file should be 
> included in all EFL svn repo and future tarballs.
> 
> regards
> 
> Vincent


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to