[opensource-dev] XUI Cleanup Project

Kadah kadah.coba at gmail.com
Sat Aug 4 19:59:52 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/4/2012 5:55 PM, Hitomi Tiponi wrote:
> Yes - the formatting on the xui code of the official viewer is 
> horrific, especially the few files that have been relatively 
> unchanged since Viewer 1.

That was the impression I was getting when I looked it over. And if
its to put the XUI standard used in V1, that's unsuitable (eg. one
line per control), and the same effect could be done more conveniently
with existing XML utilities. V1 formatted XUI was far worse to work with.


> Sadly LL's own standards are so vague that many different styles 
> actually conform to them.  I tried to standardize on my version
> but gave up and  just followed the LL lead as it just messed up
> the diffs too much.

I couldn't find any documented standard for XML. The one I'm using is
based on observation of new XUI that has consistent formatting.
Keyword there is 'consistent', which most of it largely isn't.

> Recent xui files by LL are actually getting better, but indents, 
> tab use, spacing etc. are still inconsistent.

It has, but there's a lot of the old XUI from the v2.0 rush period and
lots of patching of it in the fallowing couple years.


I think I'll continue with the one I'm working on instead of trying to
resurrect the viewer's one. Cleaning out unused params is pretty
minor, to me, right now. As far as verification, I'm just going to use
an XML lib and compare tables.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJQHeGoAAoJEIdLfPRu7qE2leYH/1oRmiu+ukBzn7hHRk1r36fA
dgeVXfT5uro6hOYB94azK/1wyyzdhfVz7NoN4WAkLbHa+RQwxYwCrML3i1JqTafi
y1P9EyxL3S0JOuQiEA6DEFup/QzlnyAp89YRChGl5J+0j6mWV47VYge4WkjYpqdY
CUKHntQRjWoFr/0DVIkHBQs5juz9xGt5RzJkS5+mMFefDkFdHm0fCxhZ4q3OrN1F
DEMFrw/ZEmUU9Go+NdkZMMq3Z6FPF/NVkNrllWIc6Xv+PSbvRQ1ttNDDBHP/uuOr
Z0VYPNnkT3h9L/9HLN1Itj7/zKZNqm+FE0BrH1ycRYhvbMJtK+70wCpsRj0F6ck=
=vKbT
-----END PGP SIGNATURE-----


More information about the opensource-dev mailing list