Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-23 Thread John Denker
On 06/14/2007 01:18 AM, Reagan Thomas wrote: In a collaborative project, spaces *will* get mixed in whether any one person likes it or not. The two, together, cause ugliness. So why not fully embrace the wonderful and (almost) free 0x20? As quoted above, any *modern* source editor

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-23 Thread Jon S. Berndt
John Denker wrote: Given the exiting mess, adopting a policy of no tabs in files seems like a step in the right direction, namely a way of dealing with point #2, i.e. the file-encoding issues. I need to clarify that I do that in code that I am the main editor for. Fortunately, other

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-14 Thread alexis bory
Csaba Halász a écrit : Looks like tacan is the magic word to make Vivian mad ;) Don't worry, Csaba, TACAN works again now... But AAR seem to be broken too... Yesterday first tests show that contact don't behave has expected. I'll try to confirm this today. Some bad-tempered mail started

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-14 Thread Vivian Meazza
Alexis Csaba Halász a écrit : Looks like tacan is the magic word to make Vivian mad ;) Don't worry, Csaba, TACAN works again now... Whoa. I'm sorry I was out last night and haven't had a chance to properly test that nice little patch (although I see that it has been committed to my

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-14 Thread Vivian Meazza
Csaba Halász Sent: 14 June 2007 04:28 Subject: Re: [Flightgear-devel] C++ code beautifier / Coding On 6/14/07, Martin Spott [EMAIL PROTECTED] wrote: Vivian Meazza wrote: Lesson for the future. Understand what code does, test that it doesn't break anything, make sure

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-14 Thread alexis bory
alexis bory a écrit : But AAR seem to be broken too... Yesterday first tests show that contact don't behave has expected. I'll try to confirm this today. The tests I've made this morning confirm that tanker contact doesn't work anymore. Cheers, Alexis

Re: [Flightgear-devel] C++ code beautifier / Coding standards proposal

2007-06-13 Thread Durk Talsma
On Saturday 09 June 2007 17:07, Melchior FRANZ wrote: * Durk Talsma -- Saturday 09 June 2007: I've attached the configuration file, I've used for a few tests. Would it be an idea to base a coding standard on the basis of this? I would have been interested in this dicussion, but how can you

Re: [Flightgear-devel] C++ code beautifier / Coding standards proposal

2007-06-13 Thread Curtis Olson
On 6/13/07, Durk Talsma [EMAIL PROTECTED] wrote: In the past, we have had discussions on the use of autoformatting tools, but the general consensus was that most tools, in particular indent, did not handle C++ (as opposed to plain old 'C') very well. However, that discussion was years ago, and

Re: [Flightgear-devel] C++ code beautifier / Coding standardsproposal

2007-06-13 Thread Vivian Meazza
Durk wrote Sent: 13 June 2007 19:25 To: FlightGear developers discussions Subject: Re: [Flightgear-devel] C++ code beautifier / Coding standardsproposal On Saturday 09 June 2007 17:07, Melchior FRANZ wrote: * Durk Talsma -- Saturday 09 June 2007: I've attached the configuration

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-13 Thread Martin Spott
Vivian Meazza wrote: Lesson for the future. Understand what code does, test that it doesn't break anything, make sure it compiles on at least one other os, and submit it for review (especially when you are mucking around with other people's code). [...] I don't enjoy repairing code which

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-13 Thread Csaba Halász
On 6/14/07, Martin Spott [EMAIL PROTECTED] wrote: Vivian Meazza wrote: Lesson for the future. Understand what code does, test that it doesn't break anything, make sure it compiles on at least one other os, and submit it for review (especially when you are mucking around with other people's

Re: [Flightgear-devel] C++ code beautifier / Coding

2007-06-13 Thread Jon S. Berndt
Now to the coding style. I can probably adjust to any style adopted as standard, but pretty please forget about using spaces for indentation. Isn't it obvious, that indentation is a higher level abstraction and thus should be indicated in other ways (meaning tabs, of course)? Besides, I can't

Re: [Flightgear-devel] C++ code beautifier / Coding standards proposal

2007-06-12 Thread Melchior FRANZ
* Durk Talsma -- Saturday 09 June 2007: I've attached the configuration file, I've used for a few tests. Would it be an idea to base a coding standard on the basis of this? I would have been interested in this dicussion, but how can you dare asking and *at the same time* starting to commit

[Flightgear-devel] C++ code beautifier / Coding standards proposal

2007-06-09 Thread Durk Talsma
Hi, I just came across this little program called bcpp http://invisible-island.net/bcpp/bcpp.html which seems to be doing a pretty decent job on intending and beautifying C++ code. It works somewhat like indent, but with the significant difference that it can also handle C++ code. I've

Re: [Flightgear-devel] C++ code beautifier / Coding standards proposal

2007-06-09 Thread Norman Vine
Durk Talsma writes; I just came across this little program called bcpp http://invisible-island.net/bcpp/bcpp.html which seems to be doing a pretty decent job on intending and beautifying C++ code. It works somewhat like indent, but with the significant difference that it can also