[Kmymoney-devel] Using astyle to beautify the code
Thomas Baumgart
thb at net-bembel.de
Sun Mar 14 09:58:17 CET 2010
On Saturday 13 March 2010 23:54:04 Alvaro Soliverez wrote:
> On Sat, Mar 13, 2010 at 7:45 PM, Cristian Oneţ <onet.cristian at gmail.com>
wrote:
> > În data de Sîmbătă 13 Martie 2010 22:52:01 Thomas Baumgart a scris:
> >> Hi,
> >>
> >> Ian and I fixed a couple of issues regarding the astyle-kmymoney.sh
> >> script which now works as expected.
> >>
> >> Running it against current SVN creates a 3100+ line patch (according to
> >> Ian on IRC). This reminds me of a recent discussion lately on a
> >> different mailing list which showed, that astyle produces different
> >> output using different versions.
> >>
> >> So the question is, which version do we use for formatting before we
> >> start switching back and forth due to different astyle versions. Once we
> >> settle on a single version we can run it and checkin the changes into
> >> the repository.
> >>
> >> Ian and I use 1.23
> >>
> >> Comments and thoughts are welcome.
> >
> > I have 1.22 but I guess it's pretty much the same. I checked out the new
> > formatting that this version introduces and I think that it fixes stuff
> > that previously didn't worked as expected. For example now the member
> > initialisations have the correct number of spaces which is 2 instead of 4
> > so I would say commit the patch if nobody has something big in their
> > sandbox.
>
> I have a patch coming. Can we hold on this for a week?
OK. I take care of the big format patch. Before, I wait for Alvaro's
permission.
> BTW, I have astyle 1.23 too.
Let's stick with 1.23 then for a while and as has been mentioned, discuss it
if we need to.
--
Regards
Thomas Baumgart
GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
'I used *that other operating system* (now to be considered
open source? <g>) for some years' - anonymous source
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 224 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kmymoney-devel/attachments/20100314/e5a10952/attachment.sig
More information about the KMyMoney-devel
mailing list