commit-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GNU indent for C code


From: Etienne Gagnon
Subject: GNU indent for C code
Date: Sat, 27 Mar 2004 14:08:06 -0500
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.6) Gecko/20040314 Debian/1.6-3

Hi all.

Greg just told me that I am supposed to first send mail here, before
committing code.  As the code is already committed, I am sending this
message so that I revert the code if there is some reason to reject
my changes.

Mainly I did the following changes that I would mainly qualify of
"cosmetic":
1- Fix some .cvsignore files, and remove a few leftover generated files.
2- Add autogen.sh for hackers (script that calls auto* tools).
3- Add in Makefile.am an "indent" target that applies GNU Indent to all
   .c & .h files below native/ .
4- Actually make indent.

Here are the consecutive changelog entries (from oldest to newest):

2004-03-27  Etienne M. Gagnon <address@hidden>

        * .indent.pro: Added typedef file for GNU indent.
        * Makefile.am: Added indent target.
        * include/jni.h.in, native/fdlibm/fdlibm.h,
        native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
        native/vmi/vmi.h: Separate typedef declarations from struct/union
        declarations.

2004-03-27  Etienne M. Gagnon <address@hidden>

        * .cvsignore: Ignore some additional generated files.
        * config.guess, config.sub, depcomp, install-sh, ltmain.sh,
        missing, mkinstalldirs: Removed these generated files.

2004-03-27  Etienne M. Gagnon <address@hidden>

        * autogen.sh: Useful script for hackers to call auto* tools on
        fresh CVS copy.
        * Makefile.am: Only indent C files below native/ directory.

2004-03-27  Etienne M. Gagnon <address@hidden>

        * ...[a bunch of .c/.h files]...:
        Indented using GNU indent.

If you think I made the biggest mistake on earth and should be assimilated
by the Borg as punishment, because I am trying to make the code look nicer,
just say so...

Etienne

--
Etienne M. Gagnon, Ph.D.             http://www.info.uqam.ca/~egagnon/
SableVM:                                       http://www.sablevm.org/
SableCC:                                       http://www.sablecc.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]