Hi all,
in meantime I did some checks about the impact of the suggested astyle
settings.
I must confess that I underestimated how many inconsistencies crept in.
The settings below have the smallest impact on the existing code and I
think they are a good start.
I did some statistics:
Total LOC o
Am Thu, 25 Jan 2018 15:50:05 -0600
schrieb Nate Bargmann :
> * On 2018 25 Jan 09:29 -0600, Thomas Beierlein wrote:
> > Copy it to a file with name '.astylerc' and test with
> >
> > $ astyle --option=.astylerc < infile > outfile
>
> If the file is ~/.astylerc then '--option=' is not necessary.
* On 2018 25 Jan 09:29 -0600, Thomas Beierlein wrote:
> Copy it to a file with name '.astylerc' and test with
>
> $ astyle --option=.astylerc < infile > outfile
If the file is ~/.astylerc then '--option=' is not necessary.
I actually have my own astylerc in my home directory and use '--option='
Hi all,
Am Thu, 25 Jan 2018 14:12:53 +0100
schrieb Ervin Hegedüs :
> Hi Nate,
>
> On Thu, Jan 25, 2018 at 06:21:56AM -0600, Nate Bargmann wrote:
> > * On 2018 24 Jan 23:34 -0600, Thomas Beierlein wrote:
> >
> > I recommend astyle only for the fact that it can do some things GNU
> > indent does
Hi Nate,
On Thu, Jan 25, 2018 at 06:21:56AM -0600, Nate Bargmann wrote:
> * On 2018 24 Jan 23:34 -0600, Thomas Beierlein wrote:
>
> I recommend astyle only for the fact that it can do some things GNU
> indent does not. It works well for getting the variety of coding styles
> found in the Hamlib
* On 2018 24 Jan 23:34 -0600, Thomas Beierlein wrote:
> > GNU indent is a powerful tool for C source formatting and present in
> > any modern Linux distro. We could define a common style simply by
> > setting up an .indent.pro file.
> > see http://www.gnu.org/software/indent/manual/indent.html#SEC
Hi Zoli and others,
Am Wed, 24 Jan 2018 21:33:43 +0100
schrieb Csahok Zoltan :
> Hi,
>
> Another topic: as the code has grown over the time and many authors
> contributed to it the formatting is inherently not consistent.
>
The most inconsistencies are not from contributions in last years but
l
Hi Zoli,
On Wed, Jan 24, 2018 at 09:33:43PM +0100, Csahok Zoltan wrote:
> Hi,
>
> Another topic: as the code has grown over the time and many authors
> contributed to it the formatting is inherently not consistent.
>
> GNU indent is a powerful tool for C source formatting and present in any
> mo
Hi,
Another topic: as the code has grown over the time and many authors
contributed to it the formatting is inherently not consistent.
GNU indent is a powerful tool for C source formatting and present in any
modern Linux distro. We could define a common style simply by setting up
an .indent.pro f