XErrorDB in a modular world

Keith Packard keithp at keithp.com
Mon Jun 6 15:51:29 PDT 2005


On Mon, 2005-06-06 at 10:04 -0400, Jim Gettys wrote:

> True.
> > 
> > What if XErrorDB as a single file was replaced with a directory
> > in which each extension installs it's own file as part of it's
> > protocol module and the original XErrorDB was used for just the
> > X11 core protocol entries?
> 
> I worry a bit about startup time for this solution.

One wouldn't load the error db until an extension error occurred...

> 
> 
> > 
> > Are there any other files like this that people can think of would
> > need similar handling?
> 
> Not off hand.
> 
> The other approach is to have each extension deliver its snippet of file
> into a directory, and the package install script (I think we can presume
> package systems in this day and age), concatinate all of the files into
> what actually gets read by the application.

That's a pain for installation.  A method which allowed multiple files
would be a lot nicer.

> 
> The other issue we should think about more seriously is the I18N support
> of this facility; error messages should be able to be localized.

The .po technology is fairly well understood; adopting that would be an
easy way to support localization.

-keith

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-modular/attachments/20050606/541da598/attachment.pgp


More information about the xorg-modular mailing list