<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/com32/lib/sys/libansi.c, branch lua</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/'/>
<entry>
<title>Change () prototypes to (void)</title>
<updated>2010-01-07T05:26:44+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-01-07T05:26:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=b2c00eb47e4af30b1822af3f66744bfde755c87f'/>
<id>b2c00eb47e4af30b1822af3f66744bfde755c87f</id>
<content type='text'>
() means the same as (...) in C, not the same as (void) as it does in
C++.  It is generally misused to mean (void), though.  Actually write
what we mean... this is C, after all.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
() means the same as (...) in C, not the same as (void) as it does in
C++.  It is generally misused to mean (void), though.  Actually write
what we mean... this is C, after all.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: reset SGR parameters cache in cls()</title>
<updated>2009-11-03T04:53:56+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-11-03T04:53:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=4c87c3409e1788191541cc1e4897bc38f5fe02c6'/>
<id>4c87c3409e1788191541cc1e4897bc38f5fe02c6</id>
<content type='text'>
There was a bug in HDT when switching from the menu to the cli and
back to the menu: the background wasn't redrawn.

This was due to the fact that the cli bypasses the libansi library
and calls printf() directly. Unfortunately, the SGR attributes were
cached between menu initializations and the background wasn't properly
redrawn.

To fix it, invalidate the cache in the cls() routine. cls() does much
more than just erasing the screen already (e.g. initialize G1) - we
may want to rename the function at some point.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was a bug in HDT when switching from the menu to the cli and
back to the menu: the background wasn't redrawn.

This was due to the fact that the cli bypasses the libansi library
and calls printf() directly. Unfortunately, the SGR attributes were
cached between menu initializations and the background wasn't properly
redrawn.

To fix it, invalidate the cache in the cls() routine. cls() does much
more than just erasing the screen already (e.g. initialize G1) - we
may want to rename the function at some point.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: correctly reset attributes</title>
<updated>2009-09-05T18:42:29+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-05T18:42:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=71fb86d8596fb12a6ddf1d182116044406b2b8ca'/>
<id>71fb86d8596fb12a6ddf1d182116044406b2b8ca</id>
<content type='text'>
When resetting the attributes, we were updating last_attr to the unknown value
0x300, which doesn't always work.

For instance, when requesting reset and normal attributes, i.e.
"\e[0;30;47m" with the previous attribute being "\e[1;30;47m", we where printing
"\e[0;47m", which behaves like "\e[0;39;47m". This is incorrect.

This patch adds a flag to explicitly set background and foreground colors after
a reset.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When resetting the attributes, we were updating last_attr to the unknown value
0x300, which doesn't always work.

For instance, when requesting reset and normal attributes, i.e.
"\e[0;30;47m" with the previous attribute being "\e[1;30;47m", we where printing
"\e[0;47m", which behaves like "\e[0;39;47m". This is incorrect.

This patch adds a flag to explicitly set background and foreground colors after
a reset.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: reset_colors should use csprint</title>
<updated>2009-09-05T18:35:09+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-05T18:35:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=000488937dfc3748dc287600c5f92f76880120ec'/>
<id>000488937dfc3748dc287600c5f92f76880120ec</id>
<content type='text'>
cprint_vga2ansi takes only a char, not a string.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cprint_vga2ansi takes only a char, not a string.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: add reset_colors function</title>
<updated>2009-09-05T17:14:24+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-05T17:14:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=6c072f6d79ff275284c1bcc9cd70fad87c517aaa'/>
<id>6c072f6d79ff275284c1bcc9cd70fad87c517aaa</id>
<content type='text'>
Purpose of reset_colors is to reset the attribute to VGA 0x07.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Purpose of reset_colors is to reset the attribute to VGA 0x07.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: build libansi.o</title>
<updated>2009-09-01T20:09:52+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-01T18:30:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=fa1b9da1584f750bba93824ec25202c88dc122b7'/>
<id>fa1b9da1584f750bba93824ec25202c88dc122b7</id>
<content type='text'>
Hook libansi.o into the lib/ build.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Hook libansi.o into the lib/ build.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libansi: move to lib directory, as it is MIT, not GPL licensed</title>
<updated>2009-09-01T20:09:52+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-01T18:13:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/syslinux.git/commit/?id=3af473c0e1a5e8707f39312488c6a7a3f487ea6f'/>
<id>3af473c0e1a5e8707f39312488c6a7a3f487ea6f</id>
<content type='text'>
gplinclude/gpllib should be used for external, GPL, libraries
only. libansi has been developed for Syslinux and is MIT licensed.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
gplinclude/gpllib should be used for external, GPL, libraries
only. libansi has been developed for Syslinux and is MIT licensed.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
