Re: New coding style for new files?

2020-09-11 Thread Joel Sherrill
On Fri, Sep 11, 2020 at 1:11 PM Peter Dufault wrote: > > > > On Sep 11, 2020, at 13:43 , Joel Sherrill wrote: > > > > https://ftp.rtems.org/pub/rtems/people/amar/files/rtems.uncrustify > > > > I've been using "uncrustify" for a long time. There are regular updates > and quick responses for

Re: New coding style for new files?

2020-09-11 Thread Peter Dufault
> On Sep 11, 2020, at 13:43 , Joel Sherrill wrote: > > https://ftp.rtems.org/pub/rtems/people/amar/files/rtems.uncrustify > I've been using "uncrustify" for a long time. There are regular updates and quick responses for clearly reported issues. The formatting specification is complicated,

Re: New coding style for new files?

2020-09-11 Thread Joel Sherrill
https://ftp.rtems.org/pub/rtems/people/amar/files/rtems.uncrustify On Fri, Sep 11, 2020 at 11:46 AM Joel Sherrill wrote: > > > On Fri, Sep 11, 2020 at 11:06 AM Gedare Bloom wrote: > >> On Fri, Sep 11, 2020 at 1:41 AM Sebastian Huber >> wrote: >> > >> > On 10/09/2020 17:32, Joel Sherrill

Re: New coding style for new files?

2020-09-11 Thread Joel Sherrill
On Fri, Sep 11, 2020 at 11:06 AM Gedare Bloom wrote: > On Fri, Sep 11, 2020 at 1:41 AM Sebastian Huber > wrote: > > > > On 10/09/2020 17:32, Joel Sherrill wrote: > > > > > > > > > > > On Thu, Sep 10, 2020 at 10:24 AM Gedare Bloom > > > wrote: > > > > > > On Mon,

Re: New coding style for new files?

2020-09-11 Thread Gedare Bloom
On Fri, Sep 11, 2020 at 1:41 AM Sebastian Huber wrote: > > On 10/09/2020 17:32, Joel Sherrill wrote: > > > > > > > On Thu, Sep 10, 2020 at 10:24 AM Gedare Bloom > > wrote: > > > > On Mon, Sep 7, 2020 at 12:06 AM Sebastian Huber > > >

Re: New coding style for new files?

2020-09-11 Thread Sebastian Huber
On 10/09/2020 17:32, Joel Sherrill wrote: On Thu, Sep 10, 2020 at 10:24 AM Gedare Bloom > wrote: On Mon, Sep 7, 2020 at 12:06 AM Sebastian Huber mailto:sebastian.hu...@embedded-brains.de>> wrote: > > Hello, > > I think we waste too much time

Re: New coding style for new files?

2020-09-10 Thread Joel Sherrill
On Thu, Sep 10, 2020, 5:22 PM Chris Johns wrote: > On 11/9/20 1:32 am, Joel Sherrill wrote: > > I also think when doing this we should consider things that we do that > > we have since learned safety standards don't like such as single > statement > > if's without braces. I think we should have

Re: New coding style for new files?

2020-09-10 Thread Chris Johns
On 11/9/20 1:32 am, Joel Sherrill wrote: > I also think when doing this we should consider things that we do that > we have since learned safety standards don't like such as single statement > if's without braces. I think we should have braces now. Are there open tools available that check for

Re: New coding style for new files?

2020-09-10 Thread Joel Sherrill
On Thu, Sep 10, 2020 at 10:24 AM Gedare Bloom wrote: > On Mon, Sep 7, 2020 at 12:06 AM Sebastian Huber > wrote: > > > > Hello, > > > > I think we waste too much time to address coding style issues on newly > > contributed code, for example GSoC. I don't know a source code > > formatting tool

Re: New coding style for new files?

2020-09-10 Thread Gedare Bloom
On Mon, Sep 7, 2020 at 12:06 AM Sebastian Huber wrote: > > Hello, > > I think we waste too much time to address coding style issues on newly > contributed code, for example GSoC. I don't know a source code > formatting tool which supports the RTEMS coding style and I think it is > not worth the

Re: New coding style for new files?

2020-09-07 Thread Vaibhav Gupta
On Mon, Sep 07, 2020 at 08:06:41AM +0200, Sebastian Huber wrote: > Hello, > > I think we waste too much time to address coding style issues on newly > contributed code, for example GSoC. I don't know a source code formatting > tool which supports the RTEMS coding style and I think it is not worth

New coding style for new files?

2020-09-07 Thread Sebastian Huber
Hello, I think we waste too much time to address coding style issues on newly contributed code, for example GSoC. I don't know a source code formatting tool which supports the RTEMS coding style and I think it is not worth the time to write and maintain such a tool specifically for RTEMS.