<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux.git/scripts/kconfig/lxdialog, branch v2.6.24</title>
<subtitle>Linux kernel source tree</subtitle>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/'/>
<entry>
<title>kconfig: use POSIX equality test in check-lxdialog.sh</title>
<updated>2007-07-16T19:15:51+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2007-05-24T01:37:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=e99c343f169cdcb43f1508873a3c9e19ffe4c64a'/>
<id>e99c343f169cdcb43f1508873a3c9e19ffe4c64a</id>
<content type='text'>
The "==" operator is not in POSIX, so use -eq instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The "==" operator is not in POSIX, so use -eq instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig: search harder for curses library in check-lxdialog.sh</title>
<updated>2007-05-19T07:11:15+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2007-05-17T19:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=03c9587d752669a12fd553b0cbd835f77b176607'/>
<id>03c9587d752669a12fd553b0cbd835f77b176607</id>
<content type='text'>
The check-lxdialog.sh script searches for "libFOO.so" which fails on OS X, due
to their special naming of libraries like "libfoo.dylib".  This patch turns
the curses lib search into extensible loops and adds dylib as a valid
extension.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The check-lxdialog.sh script searches for "libFOO.so" which fails on OS X, due
to their special naming of libraries like "libfoo.dylib".  This patch turns
the curses lib search into extensible loops and adds dylib as a valid
extension.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>menuconfig: remember alternate config filename</title>
<updated>2007-05-02T18:58:09+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@ravnborg.org</email>
</author>
<published>2007-03-18T09:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=95e30f9593ebf39e26227a20ae8d9f160c50fb67'/>
<id>95e30f9593ebf39e26227a20ae8d9f160c50fb67</id>
<content type='text'>
When loading an alternate configuration use that file as
current configuration filename.
Make the filename visible in the dialog.
Default continue to be .config.

Inspired by patch from: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc:  Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When loading an alternate configuration use that file as
current configuration filename.
Make the filename visible in the dialog.
Default continue to be .config.

Inspired by patch from: Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc:  Cyrill Gorcunov &lt;gorcunov@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>menuconfig: dont use obsolete index() function in lxdialog</title>
<updated>2007-05-02T18:58:08+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2007-03-17T06:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f88d205501e35195444bdd41983e26546af3f56a'/>
<id>f88d205501e35195444bdd41983e26546af3f56a</id>
<content type='text'>
The index() function is obsolete, use strchr() instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The index() function is obsolete, use strchr() instead.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] fix menuconfig colours with TERM=vt100</title>
<updated>2006-11-25T21:28:34+00:00</updated>
<author>
<name>Roman Zippel</name>
<email>zippel@linux-m68k.org</email>
</author>
<published>2006-11-25T19:09:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c154348f00834911c49aa63dfb48bd50d1a07d93'/>
<id>c154348f00834911c49aa63dfb48bd50d1a07d93</id>
<content type='text'>
On Mon, 13 Nov 2006, Phil Oester wrote:
&gt; In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
&gt; color scheme was changed to bluetitle.  This breaks the highlighting
&gt; of the selected item for me with TERM=vt100.  The only way I can see
&gt; which item is selected is via:
&gt;
&gt;     make MENUCONFIG_COLOR=mono menuconfig
&gt;
&gt; Which restores the pre-2.6.19 white on black highlighting.

Fix.

Cc: Phil Oester &lt;kernel@linuxace.com&gt;
Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Mon, 13 Nov 2006, Phil Oester wrote:
&gt; In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
&gt; color scheme was changed to bluetitle.  This breaks the highlighting
&gt; of the selected item for me with TERM=vt100.  The only way I can see
&gt; which item is selected is via:
&gt;
&gt;     make MENUCONFIG_COLOR=mono menuconfig
&gt;
&gt; Which restores the pre-2.6.19 white on black highlighting.

Fix.

Cc: Phil Oester &lt;kernel@linuxace.com&gt;
Signed-off-by: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[PATCH] Fix menuconfig build failure due to missing stdbool.h</title>
<updated>2006-10-11T18:14:14+00:00</updated>
<author>
<name>Luca Tettamanti</name>
<email>kronos.it@gmail.com</email>
</author>
<published>2006-10-11T08:20:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=1db11ea65eaf1e7f6a70805fe52bc0aef53f68ef'/>
<id>1db11ea65eaf1e7f6a70805fe52bc0aef53f68ef</id>
<content type='text'>
scripts/kconfig/lxdialog/util.c fails to build because it uses
true/false without including stdbool.h:

kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
  GEN     /home/kronos/src/linux-build/Makefile
  HOSTCC  scripts/kconfig/lxdialog/util.o
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

Add &lt;stdbool.h&gt; to dialog.h to fix the breakage.

Signed-off-by: Luca Tettamanti &lt;kronos.it@gmail.com&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
scripts/kconfig/lxdialog/util.c fails to build because it uses
true/false without including stdbool.h:

kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
  GEN     /home/kronos/src/linux-build/Makefile
  HOSTCC  scripts/kconfig/lxdialog/util.o
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
/home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
make[1]: *** [menuconfig] Error 2
make: *** [menuconfig] Error 2

Add &lt;stdbool.h&gt; to dialog.h to fix the breakage.

Signed-off-by: Luca Tettamanti &lt;kronos.it@gmail.com&gt;
Cc: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: clear long menu lines</title>
<updated>2006-09-30T09:19:20+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@neptun.ravnborg.org</email>
</author>
<published>2006-09-02T20:01:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=737ecae264bc759e2033d99e99138f690f3beabf'/>
<id>737ecae264bc759e2033d99e99138f690f3beabf</id>
<content type='text'>
Menulines that were wider than the available
line width is now properly null terminated.

While at it renamed the variable choice =&gt; line_y
so it better reflect the usage in do_print_item().

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Menulines that were wider than the available
line width is now properly null terminated.

While at it renamed the variable choice =&gt; line_y
so it better reflect the usage in do_print_item().

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: support resize</title>
<updated>2006-09-30T09:19:20+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-29T20:48:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=c8dc68ad0fbd934e78e913b8a8d7b45945db4930'/>
<id>c8dc68ad0fbd934e78e913b8a8d7b45945db4930</id>
<content type='text'>
In all dialogs now properly catch KEY_RESIZE and take proper action.
In mconf try to behave sensibly when a dialog routine returns
-ERRDISPLAYTOOSMALL.

The original check for a screnn size of 80x19 is kept for now.
It may make sense to remove it later, but thats anyway what
much text is adjusted for.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In all dialogs now properly catch KEY_RESIZE and take proper action.
In mconf try to behave sensibly when a dialog routine returns
-ERRDISPLAYTOOSMALL.

The original check for a screnn size of 80x19 is kept for now.
It may make sense to remove it later, but thats anyway what
much text is adjusted for.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/lxdialog: let &lt;ESC&gt;&lt;ESC&gt; behave as expected</title>
<updated>2006-09-30T09:19:20+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-28T21:57:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=f3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64'/>
<id>f3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64</id>
<content type='text'>
&lt;ESC&gt;&lt;ESC&gt; is used to step one back in the dialogs.
When lxdialog became built-in pressing &lt;ESC&gt; once would cause one step back
and pressing &lt;ESC&gt;&lt;ESC&gt; would cause two steps back.
This patch - based on concept from Roman Zippel &lt;zippel@linux-m68k.org&gt; -
makes one &lt;ESC&gt; a noop and pressing &lt;ESC&gt;&lt;ESC&gt; will cause one step backward.

In addition the final yes/no dialog now has the option to go back to the
the kernel configuration. So if you get too far out you can now go back
to configuring the kernel without saving and starting all over again.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
&lt;ESC&gt;&lt;ESC&gt; is used to step one back in the dialogs.
When lxdialog became built-in pressing &lt;ESC&gt; once would cause one step back
and pressing &lt;ESC&gt;&lt;ESC&gt; would cause two steps back.
This patch - based on concept from Roman Zippel &lt;zippel@linux-m68k.org&gt; -
makes one &lt;ESC&gt; a noop and pressing &lt;ESC&gt;&lt;ESC&gt; will cause one step backward.

In addition the final yes/no dialog now has the option to go back to the
the kernel configuration. So if you get too far out you can now go back
to configuring the kernel without saving and starting all over again.

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>kconfig/menuconfig: lxdialog is now built-in</title>
<updated>2006-09-30T09:19:19+00:00</updated>
<author>
<name>Sam Ravnborg</name>
<email>sam@mars.ravnborg.org</email>
</author>
<published>2006-07-27T20:10:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.tavy.me/linux.git/commit/?id=2982de6993e6d9944f2215d7cb9b558b465a0c99'/>
<id>2982de6993e6d9944f2215d7cb9b558b465a0c99</id>
<content type='text'>
lxdialog was previously called as an external program causing screen
to flicker when used. With this patch lxdialog is now built-in.
It is loosly based om previous work by:  Petr Baudis &lt;pasky@ucw.cz&gt;

Following is a list of changes:
o Moved build of dialog routings to kconfig Makefile
o menubox + checklist uses a new item list to hold all menu items
o in util.c implmented helper function to deal with item list
o menubox now uses parameters to save scroll state (avoids temp file)
o textbox now get text to be displayed as parameter and not a file
o make sure to properly delete subwin's before main windows
o killed unused files: lxdialog.c msgbox.c
o modified return value for ESC to match direct calling
o in a few places the code has been adjusted to 80 char wide
o in textbox a small refactoring was made to make code remotely readable
o in mconf removed all unused stuff (functions/variables)

Following is a list of know short comings:
a) pressing ESC twice will be interpreted as two ESC presses
b) resize does not work. menuconfig needs to be restarted to be adjusted

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lxdialog was previously called as an external program causing screen
to flicker when used. With this patch lxdialog is now built-in.
It is loosly based om previous work by:  Petr Baudis &lt;pasky@ucw.cz&gt;

Following is a list of changes:
o Moved build of dialog routings to kconfig Makefile
o menubox + checklist uses a new item list to hold all menu items
o in util.c implmented helper function to deal with item list
o menubox now uses parameters to save scroll state (avoids temp file)
o textbox now get text to be displayed as parameter and not a file
o make sure to properly delete subwin's before main windows
o killed unused files: lxdialog.c msgbox.c
o modified return value for ESC to match direct calling
o in a few places the code has been adjusted to 80 char wide
o in textbox a small refactoring was made to make code remotely readable
o in mconf removed all unused stuff (functions/variables)

Following is a list of know short comings:
a) pressing ESC twice will be interpreted as two ESC presses
b) resize does not work. menuconfig needs to be restarted to be adjusted

Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
