[ 
https://issues.apache.org/jira/browse/LUCY-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Marvin Humphrey updated LUCY-141:
---------------------------------

    Attachment: whitespace_stages.tgz
                whitespace.patch

Here is a patch which applies all the changes which AStyle (under lucytidy.pl)
will impose on our C code and also performs some manual cleanups.  I'm
supplying it in two forms.

  * A single ominbus "whitespace.patch".
  * A series of patches, prepared under git, "whitespace_stages.tgz".

I intend to apply these changes as a single commit so that we don't clutter
our version control history with whitespace entries.  For a more coherent
perspective on what was changed than you get from the squashed patch, people
can consult the staged version here.

> Auto-format C code using astyle
> -------------------------------
>
>                 Key: LUCY-141
>                 URL: https://issues.apache.org/jira/browse/LUCY-141
>             Project: Lucy
>          Issue Type: Improvement
>            Reporter: Marvin Humphrey
>            Assignee: Marvin Humphrey
>            Priority: Minor
>             Fix For: 0.1-incubating
>
>         Attachments: 0003-Remove-trailing-whitespace-from-C-code.patch, 
> 0004-Adapt-preprocessor-macros-for-pre-ANSI-style.patch, 
> 0005-Attach-opening-brackets-for-functions-to-end-of-the-.patch, 
> 0006-Break-function-body-opening-lines-when-they-exceed-7.patch, 
> 0007-Break-after-operator-because-astyle-does-not-indent-.patch, astylerc, 
> astylerc, lucytidy.pl, run_astyle.pl, whitespace.patch, whitespace_stages.tgz
>
>
> We should consider using the automatic code formatter astyle for 
> our C code.
> Dev list thread: http://s.apache.org/INC

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to