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 it more

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

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 phco...@gmail.com 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

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 if the

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Szymon Janc
On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett co...@gibibit.com 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

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc szy...@janc.net.pl wrote: On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett co...@gibibit.com 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

Re: escape strings in grub.cfg

2010-04-12 Thread richardvo...@gmail.com
On Sun, Apr 11, 2010 at 7:09 PM, Colin Watson cjwat...@ubuntu.com 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

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 17:50, Szymon Janc szy...@janc.net.pl wrote: On Mon, 12 Apr 2010 07:24:09 -0700 Colin D Bennett co...@gibibit.com 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

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:

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 more RAM

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
2010/4/12 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: 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

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 cjwat...@ubuntu.com wrote: On Sat, Apr 10, 2010 at 10:10:15PM +0100, Carles Pina i Estany wrote: +gettext_escape_double_quotes () +{ +  echo -n $(gettext $@) | sed

Re: [PATCH] Font antialiasing v2

2010-04-12 Thread Michal Suchanek
On 12 April 2010 20:13, Szymon Janc szy...@janc.net.pl 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