On Wed, 4 Aug 2010 02:56:32 +0200 Dave Andreoli <[email protected]> said:
yes it should be... once we are done with fixing up scripts and config to auto-fix as much formatting as we can. yes - examples of "this is correct" for a lot of cases of code usage is the right thing to do. > someone should really update the wiki page at > http://trac.enlightenment.org/e/wiki/ECoding > > The page explain the usage of (i think) old scripts and stuff. > Also I think that this wiki page should be improved by writing > example of indented code... note that reading the whole page > don't tell you how you should indent your code... :/ unless > you start playing with an editor or some indent command. > That page REALLY needs all the necessary EXAMPLES! > > see also the competitors page: > http://developer.gnome.org/doc/guides/programming-guidelines/code-style.html > http://qt.gitorious.org/qt/pages/QtCodingStyle > > davemds > > 2010/8/2 Enlightenment SVN <[email protected]>: > > Log: > > fixed to use uncrustify from $HOME if installed version is wrong version > > > > Author: discomfitor > > Date: 2010-08-02 14:43:13 -0700 (Mon, 02 Aug 2010) > > New Revision: 50756 > > > > Modified: > > trunk/FORMATTING/formatefl.sh > > > > Modified: trunk/FORMATTING/formatefl.sh > > =================================================================== > > --- trunk/FORMATTING/formatefl.sh 2010-08-02 21:27:21 UTC (rev 50755) > > +++ trunk/FORMATTING/formatefl.sh 2010-08-02 21:43:13 UTC (rev 50756) > > @@ -4,9 +4,11 @@ > > PREFIX="$HOME/.uncrustify" > > > > if which uncrustify &> /dev/null ;then > > - UNC="$(which uncrustify)" > > + UNC="$(which uncrustify)" > > + VER=$($UNC --version | awk '{printf("%s\n", $2);}') > > + [[ "$VER" = "0.56" ]] || UNC="$PREFIX/bin/uncrustify" > > else > > - UNC="$PREFIX/bin/uncrustify" > > + UNC="$PREFIX/bin/uncrustify" > > fi > > if [[ -z "$DIR" ]]; then > > echo "===================================================================" > > > > > > ------------------------------------------------------------------------------ > > The Palm PDK Hot Apps Program offers developers who use the > > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > > of $1 Million in cash or HP Products. Visit us here for more details: > > http://p.sf.net/sfu/dev2dev-palm > > _______________________________________________ > > enlightenment-svn mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
