From: F J Franklin (F.J.Franklin@sheffield.ac.uk)
Date: Thu Apr 25 2002 - 12:42:32 EDT
> Doing the "code janitor" work to tidy things like this up isn't most
> people's idea of a fun time, but I'd love to see it happen. Are you
> volunteering or recruiting? :-)
At the moment neither, but this is the time to identify such changes.
> >For example, the encoding manager sits in XAP but, as other current
> >threads attest, encoding is a fundamental part of AbiWord, and should
> >probably sit in UT...
>
> I think you may misunderstand the roles of UT and XAP.
>
> UT = low-level utilities
> XAP = application services used by more than one Abi* application
I think I understood it. XAP always seems like GUI-related stuff. What got
me thinking about the encoding manager was working on the UTF8String class
where all I wanted to do was convert between UTF-8 & UCS-2, and felt very
frustrated about the apparent need to use XAP routines - in the end I
dodged the issue, but if Abi is going to be converting between UTF-* &
UCS-* internally then perhaps the encoding manager ought to be integrated
with the string class. It's not clear to me why the encoding manager is in
XAP anyway, though I'm sure there is (or was) a good reason. At the moment
iconv stuff is scattered, in UT_iconv, UT_[w]ctomb (ick) & XAP_Enc... and
isn't always treated very consistently, so perhaps a rewrite is in order
anyway.
> >One thing I'd like to add is an IO category.
> That doesn't require a tree reorg, does it?
Require? No.
Regards, Frank
Francis James Franklin
F.J.Franklin@shef.ac.uk
"No, she really likes me. She told me I look like Britney Spears, and why
would you say that to somebody you don't like?"
--- Elle Woods
This archive was generated by hypermail 2.1.4 : Thu Apr 25 2002 - 12:44:00 EDT