<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/scripts/kconfig/lxdialog/checklist.c, branch linux-4.13.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.13.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-06-10T12:00:53Z</updated>
<entry>
<title>kbuild: trivial - use tabs for code indent where possible</title>
<updated>2014-06-10T12:00:53Z</updated>
<author>
<name>Masahiro Yamada</name>
</author>
<published>2014-06-10T10:08:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bb66fc67192bbd406fe9c22033f1bbbf3e7ec621'/>
<id>urn:sha1:bb66fc67192bbd406fe9c22033f1bbbf3e7ec621</id>
<content type='text'>
Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>mconf: use function calls instead of ncurses' variables LINES and COLS</title>
<updated>2013-06-18T21:58:58Z</updated>
<author>
<name>Dirk Gouders</name>
</author>
<published>2013-05-12T10:30:49Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4f2de3e19983dafca264b672152b36e4962ca1c3'/>
<id>urn:sha1:4f2de3e19983dafca264b672152b36e4962ca1c3</id>
<content type='text'>
According to the documentation [1], LINES and COLS are initialized by
initscr(); it does not say anything about the behavior when windows are
resized.

Do not rely on the current implementation of ncurses that updates
these variables on resize, but use the propper function calls to get
window dimensions.

init_dialog() could make use of the variables, but for the sake of
consistency we do not change it's current use of the macro getmaxyx().

[1] ncurses(3X)

Signed-off-by: Dirk Gouders &lt;dirk@gouders.net&gt;
Tested-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: Yann E. MORIN &lt;yann.morin.1998@free.fr&gt;
</content>
</entry>
<entry>
<title>kconfig/lxdialog: Add definitions for mininimum (re)size values</title>
<updated>2013-06-16T09:09:56Z</updated>
<author>
<name>Sedat Dilek</name>
</author>
<published>2013-06-15T09:07:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=851f665725581d02d48ffbca50240cda44d698d4'/>
<id>urn:sha1:851f665725581d02d48ffbca50240cda44d698d4</id>
<content type='text'>
Commit c8dc68ad0fbd ("kconfig/lxdialog: support resize") added support
for resizing, but forgot to collect all hardcoded values at one single
place.

Also add a definition for the check for a minimum screen/window size
of 80x19.

[ ChangeLog v3:
  * Rename MENU_{HEIGTH,WIDTH}_MIN -&gt; MENUBOX_{HEIGTH,WIDTH}_MIN
  ChangeLog v2:
  * Rename WIN_{HEIGTH,WIDTH}_MIN -&gt; WINDOW_{HEIGTH,WIDTH}_MIN
  * Mention the check for a minimum screen/window size in the changelog
  * Add a comment above the block of new definitions ]

Signed-off-by: Sedat Dilek &lt;sedat.dilek@gmail.com&gt;
Acked-by: Wang YanQing &lt;udknight@gmail.com&gt;
Tested-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Reviewed-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
Signed-off-by: "Yann E. MORIN" &lt;yann.morin.1998@free.fr&gt;
</content>
</entry>
<entry>
<title>menuconfig: truncate list items</title>
<updated>2010-06-03T11:41:02Z</updated>
<author>
<name>Li Zefan</name>
</author>
<published>2010-06-03T07:24:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e7401d8321f89a3785a395ba307c720e2b390f96'/>
<id>urn:sha1:e7401d8321f89a3785a395ba307c720e2b390f96</id>
<content type='text'>
Truncate list items to fit in a single line, otherwise those items
which have long prompts will cover some other items.

This follows the behavior of menubox.

Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>menuconfig: fix to center checklist correctly in a corner case</title>
<updated>2010-06-03T11:41:02Z</updated>
<author>
<name>Li Zefan</name>
</author>
<published>2010-06-03T07:24:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=42ef223c4a0f6e34e13ccb503b423ebdc04878e1'/>
<id>urn:sha1:42ef223c4a0f6e34e13ccb503b423ebdc04878e1</id>
<content type='text'>
Run:
	make ARCH=arm menuconfig

And then select "System Type" -&gt; "ARM system type". The kconfig
"choice" menu at this point looks empty.

It's because config ARCH_S3C2410 has a long prompt:

config ARCH_S3C2410
        bool "Samsung S3C2410, S3C2412, S3C2413, S3C2416, S3C2440, S3C2442, S3C2443, S3C2450"
	...

menuconfig centers the checklist according to this prompt without
considering the width of the list, and then things get wrong.

Reported-by: Nobin Mathew &lt;nobin.mathew@gmail.com&gt;
Signed-off-by: Li Zefan &lt;lizf@cn.fujitsu.com&gt;
Signed-off-by: Michal Marek &lt;mmarek@suse.cz&gt;
</content>
</entry>
<entry>
<title>kconfig: handle comment entries within choice/endchoice</title>
<updated>2009-06-09T20:37:34Z</updated>
<author>
<name>Peter Korsgaard</name>
</author>
<published>2009-02-15T21:15:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=af6c159885537eb6582a61156ccfb73e83c0478d'/>
<id>urn:sha1:af6c159885537eb6582a61156ccfb73e83c0478d</id>
<content type='text'>
Implement support for comment entries within choice groups. Comment entries
are displayed visually distinct from normal configs, and selecting them is
a no-op.

Signed-off-by: Peter Korsgaard &lt;jacmet@sunsite.dk&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
</content>
</entry>
<entry>
<title>kconfig: gettext support for lxdialog</title>
<updated>2008-01-28T22:14:39Z</updated>
<author>
<name>EGRY Gabor</name>
</author>
<published>2008-01-11T22:42:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6'/>
<id>urn:sha1:75c0a8a55c31c0a21f7e9e64bc45e87e228a98f6</id>
<content type='text'>
Gettext support for lxdialog.

Signed-off-by: Egry Gabor &lt;gaboregry1@t-online.hu&gt;
Reviewed-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Signed-off-by: Sam Ravnborg &lt;sam@ravnborg.org&gt;
Cc: Roman Zippel &lt;zippel@linux-m68k.org&gt;
</content>
</entry>
<entry>
<title>kconfig/lxdialog: support resize</title>
<updated>2006-09-30T09:19:20Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2006-07-29T20:48:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8dc68ad0fbd934e78e913b8a8d7b45945db4930'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>kconfig/lxdialog: let &lt;ESC&gt;&lt;ESC&gt; behave as expected</title>
<updated>2006-09-30T09:19:20Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2006-07-28T21:57:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f3cbcdc955d0d2c8b4c52d6b73fc536b01b68c64'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>kconfig/menuconfig: lxdialog is now built-in</title>
<updated>2006-09-30T09:19:19Z</updated>
<author>
<name>Sam Ravnborg</name>
</author>
<published>2006-07-27T20:10:27Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2982de6993e6d9944f2215d7cb9b558b465a0c99'/>
<id>urn:sha1: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>
</entry>
</feed>
