Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-14 Thread Pavel Roskin
Quoting Robert Millan <[EMAIL PROTECTED]>: > Again, some testing on Apple/IBM/Genesi hardware would be nice. It doesn't apply cleanly, It depends on my previous patch, "restrict parsing of `available'". Applied both, everything is fine on PowerMac G3. -- Regards, Pavel Roskin ___

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-14 Thread Pavel Roskin
Hello! On Sat, 2008-01-12 at 18:02 +, Patrick Georgi wrote: > Hi, > > third installment in my mini-series - the fourth one vanished on the way. > > Move segment table to the beginning of the ELF image, so it can be used > while parsing the rest. There was some patch for this on this list >

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:32:25PM +0100, Jordi Mallach wrote: > Hi Robert, > > On Mon, Jan 14, 2008 at 03:10:15PM +0100, Robert Millan wrote: > > + char *prelude = " The highlighted entry will be booted > > automatically in"; > > + grub_printf ("%s %ds.", second_stage ? "" : prel

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Jordi Mallach
Hi Robert, On Mon, Jan 14, 2008 at 03:10:15PM +0100, Robert Millan wrote: > + char *prelude = " The highlighted entry will be booted automatically > in"; > + grub_printf ("%s %ds.", second_stage ? "" : prelude, timeout); As you feared, this is not nice from a i18n POV. Concatenat

Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu

2008-01-14 Thread Christian Franke
Marco Gerards wrote: Christian Franke <...> writes: Unlike the other GRUB2 utils, grub-emu uses the glibc extension argp_parse(). It is unavailable on Cygwin, which might also be the case for other platforms where glibc is not the native runtime. This patch changes this back to the more tra

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:32:39PM +0100, Yoshinori K. Okuji wrote: > On Monday 14 January 2008 15:10, Robert Millan wrote: > > As subject says. Based on suggestions from Vesa. > > Why do you want to use a nested function? No special reason; just to restrict the namespace use to the scope where

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Yoshinori K. Okuji
On Monday 14 January 2008 15:10, Robert Millan wrote: > As subject says. Based on suggestions from Vesa. Why do you want to use a nested function? Okuji ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] PNG image reader

2008-01-14 Thread Bean
Hi, remove longjmp, also add grub_png prefix to function names. /* * GRUB -- GRand Unified Bootloader * Copyright (C) 2008 Free Software Foundation, Inc. * * GRUB is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as publishe

Re: [PATCH] jpeg image reader

2008-01-14 Thread Bean
On Jan 14, 2008 2:31 AM, Marco Gerards <[EMAIL PROTECTED]> wrote: > > /* > > * GRUB -- GRand Unified Bootloader > > * Copyright (C) 2008 Free Software Foundation, Inc. > > Did you write all the code yourself? yes, but i take some code segment from Independent JPEG Group's implementation, su

Re: [PATCH] portable exit() in IEEE-1275

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:17:37AM -0500, Pavel Roskin wrote: > > On Sun, 2008-01-13 at 20:45 +0100, Robert Millan wrote: > > This patch reimplements grub_exit() portably as a wrapper. The exit > > client service is defined in IEEE-1275. > > > > Anyway, just to be sure: Please, can someone test

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:20:39AM -0500, Pavel Roskin wrote: > On Sun, 2008-01-13 at 21:30 +0100, Robert Millan wrote: > > Integer properties are always in big endian. This (incomplete) patch is my > > suggested approach to deal with this. I'd like to receive input about it > > before I complete

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-14 Thread Pavel Roskin
On Sun, 2008-01-13 at 21:30 +0100, Robert Millan wrote: > Integer properties are always in big endian. This (incomplete) patch is my > suggested approach to deal with this. I'd like to receive input about it > before I complete it (checking all calls to grub_ieee1275_get_property > through GRUB a

Re: [PATCH] portable exit() in IEEE-1275

2008-01-14 Thread Pavel Roskin
On Sun, 2008-01-13 at 20:45 +0100, Robert Millan wrote: > This patch reimplements grub_exit() portably as a wrapper. The exit > client service is defined in IEEE-1275. > > Anyway, just to be sure: Please, can someone test my patch to check it > won't break on Apple, IBM... ? Works fine on Power

[PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
As subject says. Based on suggestions from Vesa. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * normal/menu.c (run_menu): Move timeout message to a separate (local) function, print_timeout(). Use print_time