From: Albert Cahalan <acahalan@gm...> - 2009-11-16 10:15:51
Lots of stuff is seriously cleaned up.
Config files and command options get stuffed into
structs. The intent is that the structs are then merged
according to priority. (command line beats user config,
which beats system config, which beats the defaults)
This happens, but then the result isn't used. I have the
beginnings of code to set all the defaults via a struct
initializer, but it mostly isn't filled in. I could rip it out
in favor of simply setting defaults where the variables
are actually defined.
From: Bill Kendrick <nbs@so...> - 2009-11-20 22:44:36
On Fri, Nov 20, 2009 at 11:23:36AM -0800, Bill Kendrick wrote:
> Can you check "src/parse.c" into CVS? :) Thx.
Nevermind. Pere pointed out that this is generated by 'gperf',
which I didn't have installed. Make didn't seem to catch this;
I just broke then "gperf ... | sed ... > ..." into two steps
in the Makefile, so that it doesn't end up generating a
0-byte "obj/parse.c" -- which is what happened to me.
Sent from my computer
From: Albert Cahalan <acahalan@gm...> - 2009-12-23 07:52:34
On Tue, Dec 22, 2009 at 4:38 PM, Bill Kendrick <nbs@...> wrote:
> On Mon, Nov 16, 2009 at 05:15:37AM -0500, Albert Cahalan wrote:
>> Current status:
>> Lots of stuff is seriously cleaned up.
> So where are things now?
It's mostly good I think.
There is a nasty design flaw in the gettext library code.
If a locale is not 100% implemented (currency formats,
telephone formats, etc.) then the locale is forced to C.
The C locale is not UTF-8, and it disables translation.
Also, the default ("" and no environment variables) is C.
None of this is required by any standard; it's just broken.
I have no means to beat the stupid out of gettext/glibc.
The result is that languages like Zapotec are trouble.
Setting LANGUAGE does work, provided that you also
set LC_ALL to some random system-supported locale.
We can essentially call Zapotec a dialect of es_MX.
A trouble with this is that such a setting probably shouldn't
get passed to lpr.
Anybody going to a Linux conference? If so, please find
a glibc or gettext developer to pester in person.
On the bright side, there is potential for fallback languages.