Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
>> Mixing compression and font engine will make the code more complex and >> bug prone. It's better to put compression layer below the font and >> make font subsystem unaware of it. The only exception is if >> compression takes advantage of knowing font structures. >> > > My aim was to make i

Problem compiling grub 1.98 on MacOSX

2010-04-12 Thread Yves Blusseau
Hi, i have an error when trying to compile grub 1.98 on MacOSX 10.6.2: gcc-4.2 -Iboot/i386/pc -I./boot/i386/pc -I./include -I. -I./include -Wall -W -DASM_FILE=1 -nostdinc -fno-builtin -Os -DGRUB_MACHINE_PCBIOS=1 -Wall -W -Wshadow -Wpointer-arith -Wmissing-prototypes-Wundef -

Problem Compiling gnulib/getdelim on MacOSX

2010-04-12 Thread Yves Blusseau
Hi, when i try to compile grub 1.98 on MacOSX i have this error: gcc-4.2 -Ignulib -I./gnulib -I/opt/local/include -I. -I./include -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/opt/local/lib/`echo grub/i386-pc | sed 's,x,x,'`\" -DLOCALEDIR=\"\" -DGRUB_MACHINE_PCBIOS=1 -DAPPLE_CC=1 -fnested

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Colin D Bennett
On Mon, 12 Apr 2010 09:31:56 +0200 Vladimir 'φ-coder/phcoder' Serbinenko wrote: > > >> Mixing compression and font engine will make the code more complex > >> and bug prone. It's better to put compression layer below the font > >> and make font subsystem unaware of it. The only exception is if >

Re: Problem Compiling gnulib/getdelim on MacOSX

2010-04-12 Thread Colin Watson
On Mon, Apr 12, 2010 at 03:56:07PM +0200, Yves Blusseau wrote: > when i try to compile grub 1.98 on MacOSX i have this error: > > gcc-4.2 -Ignulib -I./gnulib -I/opt/local/include -I. -I./include > -I./gnulib -I./include -Wall -W -DGRUB_LIBDIR=\"/opt/local/lib/`echo > grub/i386-pc | sed 's,x,x,'

Re: Compilation error of xorriso on MacOSX

2010-04-12 Thread Thomas Schmitt
Hi, > when i've tried to compile xorriso on MacOSX 10.6.2 > i have this error during > the link: > Undefined symbols: > "_history_list", referenced from: > _Xorriso_status in xorriso_xorriso-xorriso.o > ... > If i add #undef Xorriso_with_readlinE to xorriso.c, i can compile it. It looks as

[PATCHv3] a new filesystem module for nilfs2

2010-04-12 Thread Jiro SEKIBA
Hi, This is a revised patch to support nilfs2, a log file system. The patch is basically just a retrofit of the one I sent before against current tree. I've checked it both on qemu and qemu-system-ppc with grub-fstest. Thanks, Regards, -- Jiro SEKIBA === modified file 'conf/common.rmk' --- c

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Szymon Janc
On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > > This issue should be handled at compress time by choosing to compress > > by blocks of desired size. This way font layer doesn't need to care > > anymore. > > But can you randomly seek to an block transparently and read it that > way?

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc wrote: > On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > >> > This issue should be handled at compress time by choosing to compress >> > by blocks of desired size. This way font layer doesn't need to care >> > anymore. >> >> But can you randomly seek

Re: escape strings in grub.cfg

2010-04-12 Thread BVK Chaitanya
On Mon, Apr 12, 2010 at 5:39 AM, Colin Watson wrote: > > In other words, only ' is special (as a terminator) when reading a > single-quoted string, and the sequences " $ \\ \" \n are special inside > a double-quoted string.  (Incidentally, I think there's another bug > here; if $ is special, \$ sh

Re: escape strings in grub.cfg

2010-04-12 Thread richardvo...@gmail.com
On Sun, Apr 11, 2010 at 7:09 PM, Colin Watson wrote: > On Sat, Apr 10, 2010 at 10:10:15PM +0100, Carles Pina i Estany wrote: >> Last weekend, the Asturian team found a bug in Grub. Thanks for the >> debugging. The string that appears in grub.cfg for "Loading the initram" >> in Asturian is "Cargand

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc wrote: > On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett wrote > >> > This issue should be handled at compress time by choosing to compress >> > by blocks of desired size. This way font layer doesn't need to care >> > anymore. >> >> But can you randomly seek

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Vladimir 'φ-coder/phcoder' Serbinenko
> You can also buffer the block offsets so that you can seek in the part > of the file you have seen already. > > Decompressor is stateful so you'll need to save the sate as well which may eat more RAM than decompressing the whole uncompressed file. It also doesn't solve the issue of retrieving

Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts

2010-04-12 Thread BVK Chaitanya
Updated patch which prints getopt like error message for missing option-parameters (like in grub-mkrescue -o) is attached. Its been pushed into branches/fix-cmdline-arg-parsing as well. -- bvk.chaitanya # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: bvk.gro...@gmail.com-20100

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Szymon Janc
Dnia poniedziałek 12 kwiecień 2010 o 19:30:00 Vladimir 'φ-coder/phcoder' Serbinenko napisał(a): > > You can also buffer the block offsets so that you can seek in the part > > of the file you have seen already. > > Decompressor is stateful so you'll need to save the sate as well which > may eat mo

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
2010/4/12 Vladimir 'φ-coder/phcoder' Serbinenko : > >> You can also buffer the block offsets so that you can seek in the part >> of the file you have seen already. >> >> > Decompressor is stateful so you'll need to save the sate as well which > may eat more RAM than decompressing the whole uncompre

Re: escape strings in grub.cfg

2010-04-12 Thread Colin Watson
On Mon, Apr 12, 2010 at 12:23:01PM -0500, richardvo...@gmail.com wrote: > On Sun, Apr 11, 2010 at 7:09 PM, Colin Watson wrote: > > On Sat, Apr 10, 2010 at 10:10:15PM +0100, Carles Pina i Estany wrote: > >> +gettext_escape_double_quotes () > >> +{ > >> +  echo -n $(gettext $@) | sed 's/\"/\\\"/' >

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 20:13, Szymon Janc wrote: > Dnia poniedziałek 12 kwiecień 2010 o 19:30:00 Vladimir 'φ-coder/phcoder' > Serbinenko napisał(a): >> > You can also buffer the block offsets so that you can seek in the part >> > of the file you have seen already. >> >> Decompressor is stateful so you'l