Re: grub-install crash on GNU/Hurd

2009-11-29 Thread Felix Zielcke
Am Sonntag, den 29.11.2009, 04:36 +0100 schrieb Samuel Thibault: > Here is the patch agains, with -w > > Samuel Looks fine to me. -- Felix Zielcke Proud Debian Maintainer and GNU GRUB developer ___ Grub-devel mailing list Grub-devel@gnu.org http://

Re: savannah Browse Sources Repository

2009-11-29 Thread Felix Zielcke
Am Sonntag, den 29.11.2009, 04:30 +0100 schrieb Robert Millan: > On Sun, Nov 29, 2009 at 01:49:02AM +, Carles Pina i Estany wrote: > > > > Hello, > > > > >From this webpage: > > https://savannah.gnu.org/projects/grub/ > > > > Clicking on "Browse Sources Repository" (Bazaar one) appears: > >

Re: Just a cosmetic question about grub_vprintf()?

2009-11-29 Thread Colin Watson
On Sat, Nov 28, 2009 at 06:21:20PM +, rubisher wrote: > Robert Millan wrote: >> On Sun, Nov 22, 2009 at 01:10:11PM +, rubisher wrote: >>> But as far as the 1st parameter of grub_vsprintf is a pointer, >>> wouldn't it be better to write: >>> --- kern/misc.c.orig2009-11-22 13:07:22.00

Re: gettext: --no-hash in msgmft

2009-11-29 Thread Colin Watson
On Sat, Nov 28, 2009 at 08:02:47PM +0100, Robert Millan wrote: > On Thu, Nov 26, 2009 at 01:52:38PM +0100, Jordi Mallach wrote: > > On Thu, Nov 26, 2009 at 12:31:45PM +, Colin Watson wrote: > > > If nothing else, one could use something like 'msgunfmt - | msgfmt > > > --no-hash -'; but I'd expe

Re: gettext.c patch: reuse memory

2009-11-29 Thread Carles Pina i Estany
Hello, On Nov/29/2009, Robert Millan wrote: > On Sun, Nov 29, 2009 at 12:49:50AM +, Carles Pina i Estany wrote: [...] > > With the attached patch, gettext module saves in a list the > > translations. So if a user asks again for the same translation it > > returns the same pointer to the al

Re: gettext.c patch: reuse memory

2009-11-29 Thread Carles Pina i Estany
Hi, Find attached a new version of the same patch (same approach). Cheers, -- Carles Pina i Estany http://pinux.info 2009-11-29 Carles Pina i Estany * gettext/gettext.c: Include `'. Define grub_gettext_msg, grub_gettext_msg_list. (grub_gettext_gettranslation_

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Michal Suchanek
2009/11/28 Qianqian Fang : > Michal Suchanek wrote: >> >> Given the 1-bit bitmap limitation most glyphs look pretty good but the >> 灱 glyph just above the UmingCN title in the taskbar is particularly >> ugly. Is this an expected limitation of this rendering method that >> some glyphs simply turn ou

gettext: install the *.mo files

2009-11-29 Thread Carles Pina i Estany
Hello, Find attached a patch to install the *.mo files. I've tested grub-mkrescue.in but not grub-install.in (yet) Using for + if + cp and not cp with wildcards to really check that the files exists and so on (like other parts of the file). Comments? Thanks, -- Carles Pina i Estany

New Chinese (simplified) PO file for 'grub' (version 1.97+20091122)

2009-11-29 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'grub' has been submitted by the Chinese (simplified) team of translators. The file is available at: http://translationproject.org/latest/grub/zh_CN.po (This file, 'grub-1.9

Contents of PO file 'grub-1.97+20091122.zh_CN.po'

2009-11-29 Thread Translation Project Robot
grub-1.97+20091122.zh_CN.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator. ___ Grub-devel mailing l

[PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Hello. Basic Multilingual Plane is range of Unicode characters in 0-65535 and it contains most of the characters needed by most of the languages of the world. By keeping an array with pointers to such characters at the cost of 128KiB per font we can almost instantenously lookup characters which are

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Qianqian Fang
Michal Suchanek wrote: It's good enough to read the character but if I designed a theme with this character in some large caption I would immediately start looking for a font that has a decent glyph for this character. It's far from nice to look at. I was talking about "rasterization quality

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Qianqian Fang wrote: > Michal Suchanek wrote: >> It's good enough to read the character but if I designed a theme with >> this character in some large caption I would immediately start looking >> for a font that has a decent glyph for this character. It's far from >> nice to look at. >> > > I wa

Re: [PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread richardvo...@gmail.com
Is this table stored in the file or built during font load? 128KiB in memory is no issue at all on modern systems, 128KiB in a file is somewhat more troublesome since it won't fit in a boot sector, is a big chunk of a rescue diskette, and the I/O cost is noticeable. These glyphs are stored in sor

Re: [PATCH] Faster glyph lookup by BMP index

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
richardvo...@gmail.com wrote: > Is this table stored in the file or built during font load? This table is generated on file load > 2009/11/29 Vladimir 'φ-coder/phcoder' Serbinenko : > >> Hello. Basic Multilingual Plane is range of Unicode characters in >> 0-65535 and it contains most of the ch

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Qianqian Fang
Vladimir 'φ-coder/phcoder' Serbinenko wrote: Is it possible to have a font with only these characters plus if necessary some computer-specific characters? I don't expect users to write poems in grub and so such reduced font would be well-suited for applications when size matters (e.g. embedding g

Re: gettext.c patch: reuse memory

2009-11-29 Thread Carles Pina i Estany
Hi, On Nov/29/2009, Carles Pina i Estany wrote: > Find attached a new version of the same patch (same approach). new one. Original strings can be free-ed. Just some numbers: if there are 1000 strings used (far too much! Grub loader will not have so much or users will not use in the same sessio

var=foo should be valid?

2009-11-29 Thread Carles Pina i Estany
Hello, Right now in Grub2 a user could do: name=john set name=john both are valid. (first one has a bug but very easy to fix, even thought I would maybe refactor this code to implement in other way) Question that arised in IRC: should be support the first one or not? Two interfaces for the sam

Re: var=foo should be valid?

2009-11-29 Thread Carles Pina i Estany
Hi, On Nov/29/2009, Carles Pina i Estany wrote: > Right now in Grub2 a user could do: > name=john > set name=john > > both are valid. > > (first one has a bug but very easy to fix, even thought I would maybe > refactor this code to implement in other way) > > Question that arised in IRC: shou

Re: var=foo should be valid?

2009-11-29 Thread Carles Pina i Estany
Hi, On Nov/29/2009, Carles Pina i Estany wrote: > And because "doesn't matter": we can only accept "set name=john". s/we can/we should/ (more clear) -- Carles Pina i Estany http://pinux.info ___ Grub-devel mailing list Grub-devel@gnu.org h

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Qianqian Fang wrote: > Vladimir 'φ-coder/phcoder' Serbinenko wrote: >> Is it possible to have a font with only these characters plus if >> necessary some computer-specific characters? I don't expect users to >> write poems in grub and so such reduced font would be well-suited for >> applications wh

Re: gettext.c patch: reuse memory

2009-11-29 Thread Carles Pina i Estany
Hi, On Nov/29/2009, Carles Pina i Estany wrote: > Just some numbers: if there are 1000 strings used (far too much! Grub > loader will not have so much or users will not use in the same session) > and each string is 50 characters (far too much too :-) ) strings are > usually shorter) and the tran

handling mount points in grub-mkrelpath

2009-11-29 Thread Felix Zielcke
Vladimir wanted to have this discussed on ML The old shell function make_system_path_relative_to_its_root outputed / if you gave it /boot and it was on a seperate partition. grub-mkrelpath currently outputs /boot This breaks booting at least with the 10_linux generated entries. Attached is my fi

Re: new function: grub_printfnl

2009-11-29 Thread Carles Pina i Estany
Hello, On Nov/28/2009, Robert Millan wrote: > On Sat, Nov 28, 2009 at 11:14:09AM +, Carles Pina i Estany wrote: > > > > Hello, > > > > Gettextizzing files I have a very common situation: > > grub_printf ("Bla bla bla\n"); > > > > That I have to change to: > > grub_printf (_("Bla bla bla"))

Re: fonts for gfxmenu, help needed

2009-11-29 Thread Qianqian Fang
Vladimir 'φ-coder/phcoder' Serbinenko wrote: AFAIK Hanja isn't used a lot and in GRUB2 particularly I see only names which could possibly use Hanja. Also quick look into ko.po of glibc doesn't reveal any Hanja (even that I can't read either they have different appearence). But due to nature of Ha