Re: [PATCH v2 1/2] nconf: add keybindings for vi-style menu navigation, rewrite help texts

2013-01-15 Thread Yann E. MORIN
hes first, and submit them as four patches: - help rewrite - labels rewrite (update help accordingly) - vi-like keys - readline-like keys (Or the other way around for the last two patches.) With this patch ordering, each patch is easier to review, the fixes ones (help and labels

Re: [PATCH v2stable 1/2] nconf: add keybindings for vi-style menu navigation, rewrite help texts

2013-01-15 Thread Yann E. MORIN
Roland, All, On Tuesday 15 January 2013 Roland Eggner wrote: > >From: Roland Eggner [--SNIP--] > --- > For stable users: to be applied on vanilla 3.2.37 I think feature-changes are not supposed to go into -stable. Regards, Y

Re: [PATCH] nconf: add vi-style command keys for the menu navigation

2013-01-15 Thread Yann E. MORIN
Roland, All, On Tuesday 15 January 2013 Roland Eggner wrote: > On 2013-01-14 Monday at 23:10 +0100 Yann E. MORIN wrote: > > The / keys are not documented in the help text. > > / are not, either. > > Already documented in previous version and in v2 posted half hour ag

Re: [PATCH 2/2] nconf: function keys line, change background color for better readability

2013-01-14 Thread Yann E. MORIN
Roland, All, On Monday 14 January 2013 Yann E. MORIN wrote: > On Saturday 29 December 2012 Roland Eggner wrote: > > >From: Roland Eggner > > > > • In function keys line descriptions black on darkblue are almost > > impossible > >to read. Chan

Re: [PATCH 2/2] nconf: function keys line, change background color for better readability

2013-01-14 Thread Yann E. MORIN
, -1, -1); > - init_pair(FUNCTION_TEXT, COLOR_BLUE, -1); > + init_pair(FUNCTION_TEXT, COLOR_YELLOW, -1); Although I am not a fan of this color scheme, it is much more readable than the previous black-on-blue. Tested in frame-buffer console, in konsole and in xterm. And queued in my non-o

Re: [PATCH] nconf: add vi-style command keys for the menu navigation

2013-01-14 Thread Yann E. MORIN
t. / are not, either. Care to add those and resend, please? Otherwise, working OK here. Regards, Yann E. MORIN. -- .-..--.----. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33

Re: [PATCH 1/2] nconf: add keybindings for vi-style menu navigation, rewrite help texts

2013-01-14 Thread Yann E. MORIN
ase? Care to resend your patch on-top of Michal's for-next branch (and on-top of Dmitry's patch if needed) ? Or tell me what branch to apply it onto. Thank you. Regards, Yann E. MORIN. -- .-.--------.--.. | Yann E. MO

Re: kconfig-frontends-3.6.0-0 released

2013-01-13 Thread Yann E. MORIN
Jan, All, On Sunday 13 January 2013 Jan Engelhardt wrote: > On Sunday 2013-01-13 19:59, Yann E. MORIN wrote: [--SNIP--] > >How does one autoreconf a 'foreign' package? > Surely, just that: > AM_INIT_AUTOMAKE([foreign]) > >Sorry, did you mean: "-Wall should

Re: kconfig-frontends-3.6.0-0 released

2013-01-13 Thread Yann E. MORIN
Jan, All, On Sunday 13 January 2013 Jan Engelhardt wrote: > On Sunday 2013-01-13 19:59, Yann E. MORIN wrote: > >> Not again. autoreconf has existed for so long, why are people still > >> hand-coding the boilerplate? [--SNIP--] > >How does one autoreconf a 'for

Re: kconfig-frontends-3.6.0-0 released

2013-01-13 Thread Yann E. MORIN
Jan, All, On Saturday 12 January 2013 Jan Engelhardt wrote: > On Saturday 2012-10-06 17:55, Yann E. MORIN wrote: > >I'm pleased to announce the release of kconfig-frontends 3.6.0-0! > >Go download it there: > > > > http://ymorin.is-a-geek.org/download/kconfig-f

Re: [PATCH] nconf: add vi-style command keys for the menu navigation

2013-01-08 Thread Yann E. MORIN
r push a complete batch to Michal a litle bit before the next merge window opens. It will not be before the WE that I will have time to test that. Regards, Yann E. MORIN. -- .-..--.----. | Yann E. MORIN | Real-Time Embedded |

Re: [PATCH 1/2] nconf: add keybindings for vi-style menu navigation, rewrite help texts

2013-01-08 Thread Yann E. MORIN
; > and for entering to a submenu. > > Good starting point, thanks for your initial work. > Here is completion of the work: [--SNIP--] OK, I'll queue these and test this weekend (see my previous

Re: [PATCH] kconfig:lxdialog: remove duplicate code

2012-12-25 Thread Yann E. MORIN
Wang, All, On Tuesday 25 December 2012 Yann E. MORIN wrote: > On Monday 24 December 2012 Wang YanQing wrote: [--SNIP--] > > and consider others' three patch I sented one week > > ago? I just don't want delay them to 2013, and they can get > > more test when they

Re: [PATCH] kconfig:lxdialog: remove duplicate code

2012-12-25 Thread Yann E. MORIN
Wang, All, On Monday 24 December 2012 Wang YanQing wrote: > On Mon, Dec 17, 2012 at 07:19:07PM +0100, Yann E. MORIN wrote: > > Wang, All, > > > > On Monday 17 December 2012 Wang YanQing wrote: > > > dialog.h has two line the same below: > > > extern char

Re: [PATCH RESEND 1/2 v3] menuconfig: Add Save/Load buttons

2012-12-19 Thread Yann E. MORIN
nd conveniently. > > This patch add the Save/Load button for menuconfig. > > [remove trailing space while at it for below line: > "*) Formerly when I used Page Down and Page Up, the cursor would be set" > ] > > Changes: > V1-V2: > 1:use PATH_MAX inste

Re: [PATCH 1/2 v2] menuconfig: Add Save/Load buttons

2012-12-18 Thread Yann E. MORIN
nd conveniently. > > This patch add the Save/Load button for menuconfig. > > [remove trailing space while at it for below line: > "*) Formerly when I used Page Down and Page Up, the cursor would be set" > ] > > Changes: > V1-V2: > 1:use PATH_MAX inste

Re: [PATCH 2/2] menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"

2012-12-17 Thread Yann E. MORIN
Wang, All, On Monday 17 December 2012 Wang YanQing wrote: > Now we have Load/Save buttons to do the Load/Save > in the convenient place, so we can drop the > top-level entries. > > Signed-off-by: Wang YanQing Reviewed-by: "Yann E. MORIN" Tested-by: "Yann E. M

Re: [PATCH 1/2] menuconfig: Add Save/Load buttons

2012-12-17 Thread Yann E. MORIN
;t. Otherwise, I've tested it, and it works great! :-) Care to repost with the changes above (wait a bit in case of more review by others), and you'll get my tst-by and rev'ed-by tags. Regards, Yann E. MORIN. -- .-..--.---

Re: [PATCH] menuconfig:inputbox: support navigate input position

2012-12-17 Thread Yann E. MORIN
Wang, All, On Monday 17 December 2012 Wang YanQing wrote: > This patch add support navigate input position *inside* the input > field with LEFT/RIGHT, so it is possible to modify the text in place. > > Signed-off-by: Wang YanQing Tested-by: "Yann E. MORIN" I am not k

Re: [PATCH] kconfig:lxdialog: remove duplicate code

2012-12-17 Thread Yann E. MORIN
Wang, All, On Monday 17 December 2012 Wang YanQing wrote: > dialog.h has two line the same below: > extern char dialog_input_result[]; > This patch remove one of them. > > Signed-off-by: Wang YanQing Reviewed-by: "Yann E. MORIN" Tested-by: "Yann E. MORIN"

kconfig-frontends-3.7.0.0 released

2012-12-15 Thread Yann E. MORIN
ects that want an easy path to following the evolution of kconfig, without the burden to manually synchronise from the Linux kernel source tree. Any comment, any feedback, any patch is welcome! ;-) Regards, Yann E. MORIN. -- .-..--.----

Re: [PATCH v4]menuconfig: Add Save button

2012-12-02 Thread Yann E. MORIN
on(win, gettext(" Save "), y, x + 12, selected == 1); > print_button(win, gettext(" Help "), y, x + 24, selected == 2); > + print_button(win, gettext(" Exit "), y, x + 36, selected == 3); The re-ordering should be in a separate patch. It makes it difficu

Re: [PATCH] lxdialog:inputbox: Fix can't change selected button with Left/Right when input box selected

2012-12-02 Thread Yann E. MORIN
conf frontend allows editing text in place, so I find it disturbing not to be able to do it in mconf. Regards, Yann E. MORIN. -- .-..--.--------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |

Re: [PATCH v2] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-11-11 Thread Yann E. MORIN
Michal, All, On Thursday 25 October 2012 Michal Marek wrote: > On 22.10.2012 21:38, Yann E. MORIN wrote: > > On Sunday 21 October 2012 Benjamin Poirier wrote: > >> Changes v1-v2: > >> * integrate the patch/suggestion from Yann to fix problems related to the > >&

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-23 Thread Yann E. MORIN
Christoph, All, On Tuesday 23 October 2012 Christoph Hellwig wrote: > On Thu, Oct 18, 2012 at 07:33:45PM +0200, Yann E. MORIN wrote: > > Some systems (eg. Cygwin, FreeBSD) are missing the CIRCLEQ macros. > > They were removed in Y2000 from FreeBSD: > > http://svnweb.

Re: [PATCH v2] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-10-22 Thread Yann E. MORIN
gt; Reported-by: Tetsuo Handa > Tested-by: Tetsuo Handa > Tested-by: Yaakov Selkowitz > Signed-off-by: Benjamin Poirier > Signed-off-by: "Yann E. MORIN" > --- > > Changes v1-v2: > * integrate the patch/suggestion from Yann to fix problems related to the &g

[PATCH] kconfig: fix building the qconf frontend

2012-10-20 Thread Yann E. MORIN
l #ifdef __cplusplus construct Also, protect the whole file with the #ifdenf LIST_H, not only the macros defintions. Signed-off-by: "Yann E. MORIN" Cc: Benjamin Poirier --- scripts/kconfig/list.h | 30 -- 1 files changed, 20 insertions(+), 10 deletions(-)

Re: [PATCH] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-10-20 Thread Yann E. MORIN
s using qconf, which is written in C++. I 'd suggest to: 1- rename the variable 2- enclose the whole header in: #ifdef __cplusplus extern "C" { #endif [.] #ifdef __cplusplus } #endif Regards, Yann E. MORIN. -- .-.---

Re: [PATCH] menuconfig: Replace CIRCLEQ by list_head-style lists.

2012-10-20 Thread Yann E. MORIN
-by: Benjamin Poirier Tested-by: "Yann E. MORIN" Thank you for this patch! I guess it is the best solution we can get. Regards, Yann E. MORIN. -- .-..--.----. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIB

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-20 Thread Yann E. MORIN
Tetuso, All, On Saturday 20 October 2012 Tetsuo Handa wrote: > Michal Marek wrote: > > On 19.10.2012 14:10, Tetsuo Handa wrote: > > > Yann E. MORIN wrote: > > >> So, switch to using TAILQ instead, which are more portable. > > [...] > > > Excuse me, but

[PATCH 1/3] kconfig: remove CONFIG_ from string constants

2012-10-19 Thread Yann E. MORIN
Having the CONFIG_ prefix in string constants gets in the way of using a run-time-defined CONFIG_ prefix. Fix that by using temp growable strings (gstr) in which we printf the text. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/mconf.c | 10 -- scripts/kconfig/ncon

[PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix

2012-10-19 Thread Yann E. MORIN
later patch). To avoid touching all the code that uses the CONFIG_ macro, we just undef it, and define it to be a call to the function. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/lkc.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/scripts/kconf

[PATCH 0/3 v3] kconfig: get the CONFIG_ prefix from the environment

2012-10-19 Thread Yann E. MORIN
so-long lines) - rebase on-top 3.7-rc1 Regards, Yann E. MORIN. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 3/3] kconfig: get CONFIG_ prefix from the environment

2012-10-19 Thread Yann E. MORIN
hard-coded value if not found. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/gconf.c |2 +- scripts/kconfig/lkc.h |2 +- scripts/kconfig/nconf.c |1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c ind

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-19 Thread Yann E. MORIN
Tetsuo, Michal, All, On Friday 19 October 2012 Tetsuo Handa wrote: > Yann E. MORIN wrote: > > Some systems (eg. Cygwin, FreeBSD) are missing the CIRCLEQ macros. [--SNIP--] > > So, switch to using TAILQ instead, which are more portable. [--SNIP--] > Excuse me, but your patch

Re: [PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix

2012-10-19 Thread Yann E. MORIN
Michal, All, On Friday 19 October 2012 Michal Marek wrote: > On 18.10.2012 21:50, Yann E. MORIN wrote: > > -#ifndef CONFIG_ > > -#define CONFIG_ "CONFIG_" > > +/* Those two defines copied from include/linux/stringify.h */ > > +#define __stringify_1(x...)

[PATCH 1/3] kconfig: remove CONFIG_ from string constants

2012-10-18 Thread Yann E. MORIN
Having the CONFIG_ prefix in string constants gets in the way of using a run-time-defined CONFIG_ prefix. Fix that by using temp growable strings (gstr) in which we printf the text. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/mconf.c | 10 -- scripts/kconfig/ncon

[PATCH 3/3] kconfig: get CONFIG_ prefix from the environment

2012-10-18 Thread Yann E. MORIN
hard-coded value if not found. Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/gconf.c |2 +- scripts/kconfig/lkc.h |2 +- scripts/kconfig/nconf.c |1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c ind

[PATCH 0/3 v2] kconfig: get the CONFIG_ prefix from the environment

2012-10-18 Thread Yann E. MORIN
kconfig-frontends http://ymorin.is-a-geek.org/projects/kconfig-frontends Changes this v1: - call getenv() only once - don't touch code when not strictly neeeded (don't fold not-so-long lines) - rebase on-top 3.7-rc1 Regards, Yann E. MORIN. -- To unsubscribe from this list:

[PATCH 2/3] kconfig: add a function to get the CONFIG_ prefix

2012-10-18 Thread Yann E. MORIN
later patch). Signed-off-by: "Yann E. MORIN" --- scripts/kconfig/lkc.h | 12 ++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/kconfig/lkc.h b/scripts/kconfig/lkc.h index c18f2bd..25862fd 100644 --- a/scripts/kconfig/lkc.h +++ b/scripts/kconfig/lkc.

Re: [PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-18 Thread Yann E. MORIN
Yaakov, All, On Thursday 18 October 2012 Yaakov (Cygwin/X) wrote: > On Thu, 2012-10-18 at 19:33 +0200, Yann E. MORIN wrote: > > Some systems (eg. Cygwin, FreeBSD) are missing the CIRCLEQ macros. > > They were removed in Y2000 from FreeBSD: > > http://svnweb.freebsd.o

[PATCH] kconfig/menuconfig: use TAILQ instead of CIRCLEQ

2012-10-18 Thread Yann E. MORIN
mail/view_thread.php?list=freebsd-arch&id=915145&thread=yes (Thank Yaakov for the pointers!) So, switch to using TAILQ instead, which are more portable. Reported-by: Tetsuo Handa Reported-by: Benjamin Poirier Signed-off-by: "Yann E. MORIN" Cc: Yaakov Selkowitz --- scripts/kconfig/expr.h

Re: Documentation of kconfig language differs from implementation regarding existence of symbols

2012-10-11 Thread Yann E. MORIN
deed, that paragraph seems wrong. I think we should revert commit > 64b81ed. Randy, Arnaud? I just tested with Martin's example, and: - indeed, both symbols appear as "is not set", - that paragraph was already wrong for Kconfig at #64b81ed. Before we trim that paragraph away

kconfig-frontends-3.6.0-0 released

2012-10-06 Thread Yann E. MORIN
t meant to replace the in-tree Linux kconfig, but really targets third-party projects that want an easy path to following the evolution of kconfig, without the burden to manually synchronise from the Linux kernel source tree. Any comment, any feedback, any patch is welcome! ;-) Regards, Yan

Re: [PATCH 0/6] menuconfig: jump to search results

2012-08-02 Thread Yann E. MORIN
t; select B config B bool config C bool "C" depends on B Returning the symbol B in the search results allows to: - see its dependencies -> to see why it is thus set - see in what file it is defined -> to change th

kconfig-frontends-3.5.0-0 released

2012-07-22 Thread Yann E. MORIN
fig, but really targets third-party projects that want an easy path to following the evolution of kconfig, without the burden to manually synchronise from the Linux kernel source tree. Any comment, any feedback, any patch is welcome! ;-) Regards

Re: [kbuild-devel] [rfe] easier customization of kconfig for non-Linux projects

2007-05-24 Thread Yann E. MORIN
pace 8< Then with a simple grep -E '^CONFIG_' one can easily extract the kernel options from the others. We _may_ need to support nested namespaces also, concatenating the prefixes. I once tried to do such thing, but I'm lacking good lex/yacc fu, and I miserably faile

<    1   2   3