<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/com32/cmenu/complex.c, branch syslinux-3.85-pre10</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/'/>
<entry>
<title>cmenu: clean up some () that should be (void)</title>
<updated>2010-01-10T20:41:26+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-01-10T20:41:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=a7fb4143d599529def315c444c83a8e1aac734d2'/>
<id>a7fb4143d599529def315c444c83a8e1aac734d2</id>
<content type='text'>
() is not a prototype, and means (...) not (void) in C.
Replace with (void).

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
() is not a prototype, and means (...) not (void) in C.
Replace with (void).

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<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://git.baserock.org/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>cmenu: do not invoke help if helpid is 0xFFFF (complex.c)</title>
<updated>2009-09-07T22:17:22+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-07T22:17:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=3e8d9f7d228c21be97f0d948546b07e5aa959313'/>
<id>3e8d9f7d228c21be97f0d948546b07e5aa959313</id>
<content type='text'>
0xFFFF is invalid (no help)

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
0xFFFF is invalid (no help)

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: force refresh after checkbox_handler in complex.c</title>
<updated>2009-09-07T21:44:34+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-07T21:44:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=d6f6fee0a9e9ccd4fdd922c2d7d917f4dce3aa8f'/>
<id>d6f6fee0a9e9ccd4fdd922c2d7d917f4dce3aa8f</id>
<content type='text'>
complex.c has a special checkbox_handler that disables mutual exclusive
entries. This works today because each key press triggers a redraw of the whole
menu. We can't rely on this if we want to optimize the redraw.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
complex.c has a special checkbox_handler that disables mutual exclusive
entries. This works today because each key press triggers a redraw of the whole
menu. We can't rely on this if we want to optimize the redraw.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: fix handlers signature in the examples</title>
<updated>2009-09-06T05:55:28+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-06T05:55:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=3523370478ffae39eac099ecd217c42122e7443d'/>
<id>3523370478ffae39eac099ecd217c42122e7443d</id>
<content type='text'>
The keys handler accepts three arguments: the current menu system, the current
menu entry and the key pressed.

Misc: fix timeout in complex.c to actually be 10 seconds.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The keys handler accepts three arguments: the current menu system, the current
menu entry and the key pressed.

Misc: fix timeout in complex.c to actually be 10 seconds.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: use get_key library for keyboard functions</title>
<updated>2009-09-06T05:51:04+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-06T05:51:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=843f0ef16067d920e9e181ef897abbaa4a432da9'/>
<id>843f0ef16067d920e9e181ef897abbaa4a432da9</id>
<content type='text'>
Syslinux already uses a get_key library to handle stdin. Let's leverage it.
cmenu now works over serial completely.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Syslinux already uses a get_key library to handle stdin. Let's leverage it.
cmenu now works over serial completely.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: fix Login/Password and Kernel Arguments lines (complex.c)</title>
<updated>2009-09-05T17:15:35+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-05T17:15:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=7aa59fb655a899ef9f2c7206fbc45e743e7e8536'/>
<id>7aa59fb655a899ef9f2c7206fbc45e743e7e8536</id>
<content type='text'>
Update the cmenu example complex.c to use clear_line(): cprint behavior has
changed w.r.t. cursor positioning (it is automatically advanced now).

Note: need to reset the colors before clearing the line since the status bar is
printed just before the Kernel Arguments line and it changes the background
color.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Update the cmenu example complex.c to use clear_line(): cprint behavior has
changed w.r.t. cursor positioning (it is automatically advanced now).

Note: need to reset the colors before clearing the line since the status bar is
printed just before the Kernel Arguments line and it changes the background
color.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: use getscreensize to access number of rows/columns</title>
<updated>2009-09-03T21:16:17+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-09-03T21:16:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=6e64433a5db40467759ca858d8f998d52d921b5f'/>
<id>6e64433a5db40467759ca858d8f998d52d921b5f</id>
<content type='text'>
The simple menu system already uses getscreensize. Another step towards
unification.

Impact: exported getnumcols and getnumrows are now deprecated.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The simple menu system already uses getscreensize. Another step towards
unification.

Impact: exported getnumcols and getnumrows are now deprecated.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>cmenu: remove multi pages support</title>
<updated>2009-09-01T18:43:39+00:00</updated>
<author>
<name>Pierre-Alexandre Meyer</name>
<email>pierre@mouraf.org</email>
</author>
<published>2009-08-31T00:06:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=9eacdefabc99e6c98cc9373ee04dce23dc6d49bc'/>
<id>9eacdefabc99e6c98cc9373ee04dce23dc6d49bc</id>
<content type='text'>
The cmenu used to display the help on a separate page. Since we
can't have multi pages on the serial line, get rid of them completely.

This has a fairly big impact as the external cmenu API has changed.
adv_menu.tpl and HDT have been patched accordingly.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The cmenu used to display the help on a separate page. Since we
can't have multi pages on the serial line, get rid of them completely.

This has a fairly big impact as the external cmenu API has changed.
adv_menu.tpl and HDT have been patched accordingly.

Signed-off-by: Pierre-Alexandre Meyer &lt;pierre@mouraf.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Run Nindent on com32/cmenu/complex.c</title>
<updated>2009-05-29T22:10:20+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-05-29T22:10:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=9e5b972022b8cdbcb99377ffb4a9c690c1341c65'/>
<id>9e5b972022b8cdbcb99377ffb4a9c690c1341c65</id>
<content type='text'>
Automatically reformat com32/cmenu/complex.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Automatically reformat com32/cmenu/complex.c using Nindent.

Do this for all files except HDT, gPXE and externally maintained
libraries (zlib, tinyjpeg, libpng).

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
