kconfig-frontends-3.6.0-0 released

2012-10-06 Thread Yann E. MORIN
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, Yann E. MORIN

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...)#x +#define __stringify(x...) __stringify_1

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 does not solve my problem

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

2012-10-19 Thread Yann E. MORIN
to hard-coded value if not found. Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- 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

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

2012-10-19 Thread Yann E. MORIN
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 2/3] kconfig: add a function to get the CONFIG_ prefix

2012-10-19 Thread Yann E. MORIN
in a 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 yann.morin.1...@free.fr --- scripts/kconfig/lkc.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git

[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 yann.morin.1...@free.fr --- scripts/kconfig/mconf.c | 10 -- scripts

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 your patch does not solve my problem because kconfig

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

2012-10-20 Thread Yann E. MORIN
-love.sakura.ne.jp Signed-off-by: Benjamin Poirier bpoir...@suse.de Tested-by: Yann E. MORIN yann.morin.1...@free.fr Thank you for this patch! I guess it is the best solution we can get. Regards, Yann E. MORIN. -- .-..--.. | Yann E

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

2012-10-20 Thread Yann E. MORIN
suggest to: 1- rename the variable 2- enclose the whole header in: #ifdef __cplusplus extern C { #endif [.] #ifdef __cplusplus } #endif Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN

[PATCH] kconfig: fix building the qconf frontend

2012-10-20 Thread Yann E. MORIN
construct Also, protect the whole file with the #ifdenf LIST_H, not only the macros defintions. Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc: Benjamin Poirier benjamin.poir...@gmail.com --- scripts/kconfig/list.h | 30 -- 1 files changed, 20 insertions(+), 10

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

2012-10-22 Thread Yann E. MORIN
on this! :-) Reported-by: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Tested-by: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Tested-by: Yaakov Selkowitz yselkow...@users.sourceforge.net Signed-off-by: Benjamin Poirier bpoir...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- Changes

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.freebsd.org/base?view

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

2012-10-11 Thread Yann E. MORIN
away, what's the purpose of the expected difference in behavior for the two constructs? Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056

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 usage of list.h with xconfig/c++ * new

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

2012-10-18 Thread Yann E. MORIN
/view_thread.php?list=freebsd-archid=915145thread=yes (Thank Yaakov for the pointers!) So, switch to using TAILQ instead, which are more portable. Reported-by: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Reported-by: Benjamin Poirier bpoir...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc

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.org/base?view=revisionrevision

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

2012-10-18 Thread Yann E. MORIN
in a later patch). Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- 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

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

2012-10-18 Thread Yann E. MORIN
://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: send the line unsubscribe linux-kernel

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

2012-10-18 Thread Yann E. MORIN
to hard-coded value if not found. Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- 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

[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 yann.morin.1...@free.fr --- scripts/kconfig/mconf.c | 10 -- scripts

Re: [PATCH 2/2] menuconfig: Add breadcrumbs navigation aid

2013-04-15 Thread Yann E. MORIN
(stdscr, 1, len+1); + for (i = len + 1; i COLS - 1; i++) + waddch(stdscr, ACS_HLINE); [--SNIP--] Queued (with that change) into: https://git.gitorious.org/linux-kconfig/linux-kconfig.git yem-kconfig-for-next Regards, Yann E. MORIN

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-15 Thread Yann E. MORIN
is a bit dangerous (heck, I would not like to be part of the cause of a new flaming, just for this! ;-) ) So, unless Michal really wants to pull this one and push it to Linus before he cuts v3.9 final, I'll merge this later in my -for-next branch. Thank you! Regards, Yann E. MORIN

Re: [PATCH 1/2] menuconfig: Fix memory leak introduced by jump keys feature

2013-04-16 Thread Yann E. MORIN
Michal, All, On Tue, Apr 16, 2013 at 11:12:41AM +0200, Michal Marek wrote: On 15.4.2013 23:54, Yann E. MORIN wrote: So, unless Michal really wants to pull this one and push it to Linus before he cuts v3.9 final, I'll merge this later in my -for-next branch. BTW, in you are going to rebase

Re: [PATCH v3] menuconfig: Add breadcrumbs navigation aid

2013-04-16 Thread Yann E. MORIN
Benjamin, All, On Tue, Apr 16, 2013 at 10:07:23AM -0400, Benjamin Poirier wrote: Displays a trail of the menu entries used to get to the current menu. Signed-off-by: Benjamin Poirier bpoir...@suse.de Tested-by: Yann E. MORIN yann.morin.1...@free.fr [yann.morin.1...@free.fr: small, trivial

[PATCH 1/4] kconfig/lxdialog: rationalise the include paths where to find {.n}curses{,w}.h

2013-04-16 Thread Yann E. MORIN
and the filename-only in #include is more in line with how pkg-config behaves, eg.: $ pkg-config --cflags ncursesw -I/usr/include/ncursesw This paves the way for using pkg-config for CFLAGS, too, now we use it to find the libraries. Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- scripts

[PATCH 3/4] kconfig: implement KCONFIG_PROBABILITY for randconfig

2013-04-16 Thread Yann E. MORIN
...@uclibc.org [yann.morin.1...@free.fr: add to Documentation/] Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- Documentation/kbuild/kconfig.txt | 17 + scripts/kconfig/confdata.c | 22 +++--- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git

[PATCH 4/4] kconfig: do randomise choice entries in presence of KCONFIG_ALLCONFIG

2013-04-16 Thread Yann E. MORIN
is always set, plus zero or one of the other options may be set. This patch ensures that only one option may be set for a choice. Reported-by: Thomas Petazzoni thomas.petazz...@free-electrons.com Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc: Thomas Petazzoni thomas.petazz...@free

[PATCH 0/4] Some kconfig improvements and fixes

2013-04-16 Thread Yann E. MORIN
[PATCH 4/4] kconfig: do randomise choice entries in presence of KCONFIG_ALLCONFIG 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

[PATCH 2/4] kconfig: allow specifying the seed for randconfig

2013-04-16 Thread Yann E. MORIN
$ make KCONFIG_SEED=42 randconfig $ sha1sum .config 70a128c8dcc61303069e1be352cce64114dfcbca .config It's very usefull for eg. debugging the kconfig parser. Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- Documentation/kbuild/kconfig.txt |9 + scripts/kconfig/conf.c

Re: [PATCH] menuconfig: use config scripts to detect ncurses libs

2013-03-03 Thread Yann E. MORIN
Michal, All, On Friday 01 March 2013 Michal Marek wrote: On 28.2.2013 19:16, Yann E. MORIN wrote: On Thursday 28 February 2013 j...@gentoo.org wrote: This patch replaces the old heuristic for detection of ncurses libs for linking the ncurses menuconfig dialog by the use of the config

Re: [PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-03-03 Thread Yann E. MORIN
if the devel package is not installed, and the build will break, too. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer

Re: [PATCH 1/2] menuconfig: use config scripts to detect ncurses libs

2013-03-03 Thread Yann E. MORIN
deficiency. I think we should stick to: - try with pkg-config; - fallback to the legacy heuristic. Does using pkg-config fix your use-case? Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded

Re: [PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-03-03 Thread Yann E. MORIN
\ pkg-config --libs ncurses 2/dev/null \ || echo -lncurses ) Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy

Re: [PATCH 2/2] kconfig: optionally use pkg-config to detect ncurses libs

2013-03-06 Thread Yann E. MORIN
) Typo: this should be: -lncurses and not: -ncurses I'll fix it here before queuing, no need to resend. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy

Re: Final versions of ncurses libs detection patches

2013-03-06 Thread Yann E. MORIN
checks. I'm still doing a few more tests on my side before queuing. Thanks for all suggestions, Thanks for staying around during the iterations. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded

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

2012-12-02 Thread Yann E. MORIN
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: | | +33 662 376 056 | Software Designer

Re: [PATCH v4]menuconfig: Add Save button

2012-12-02 Thread Yann E. MORIN
to the re-ordering. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223

Re: [PATCH resend v3 1/3] kconfig: nconf: rewrite help texts

2013-02-08 Thread Yann E. MORIN
will push soon to my branch. Thank you! :-) Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN

Re: [PATCH resend v3 3/3] kconfig: nconf: add vi-style navigation keys

2013-02-08 Thread Yann E. MORIN
is remapped and people already rely on h to provide help, not do any other weird thing (like exiting the current submenu). Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics

Re: [PATCH resend v3 1/3] kconfig: nconf: rewrite help texts

2013-02-09 Thread Yann E. MORIN
Rolland, All, On Saturday 09 February 2013 Roland Eggner wrote: On 2013-02-09 Saturday at 01:30 +0100 Yann E. MORIN wrote: [--SNIP--] +Text Box (Help Window)\n +--\n +Use movement keys Down Up PageDown PageUp End Home as listed in\n +table above.\n

Re: [PATCH resend v3 3/3] kconfig: nconf: add vi-style navigation keys

2013-02-09 Thread Yann E. MORIN
Rolland, All, On Saturday 09 February 2013 Roland Eggner wrote: On 2013-02-09 Saturday at 02:03 +0100 Yann E. MORIN wrote: On Friday 01 February 2013 Roland Eggner wrote: Add vi-style navigation keys, based on initial work by Dmitry Voytik. As much I am a unconditional vim user, I

Re: [PATCH 1/2] Use config scripts to detect ncurses libs for menuconfig

2013-02-27 Thread Yann E. MORIN
+ fi + done done - done + fi exit 1 } Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics

Re: [PATCH 2/2] Use config scripts to detect ncurses libs for nconfig

2013-02-27 Thread Yann E. MORIN
-config --libs 2/dev/null ) Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN

Re: [PATCH 2/2] Use config scripts to detect ncurses libs for nconfig

2013-02-28 Thread Yann E. MORIN
. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `.---: X

Re: [PATCH 1/2] Use config scripts to detect ncurses libs for menuconfig

2013-02-28 Thread Yann E. MORIN
, RHEL4 is still widely used, and it was released in 2005, so will not have ncurses-5.6 (updates may have it, but not everybody installs updates). Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded

Re: [PATCH] menuconfig: use config scripts to detect ncurses libs

2013-02-28 Thread Yann E. MORIN
. And, sorry, I should have been more explicit in my previous mail that the legacy drop should be in its own patch. I thought that was obvious, following the one single change per patch philosophy. Thanks you! :-) Regards, Yann E. MORIN. Signed-off-by: Justin Lecher j...@gentoo.org --- scripts/kconfig

Re: [PATCH 2/2] kconfig: use config scripts to detect ncurses libs

2013-02-28 Thread Yann E. MORIN
, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172

Re: [PATCH 1/2] Use config scripts to detect ncurses libs for menuconfig

2013-02-28 Thread Yann E. MORIN
Justin, All, On Thursday 28 February 2013 justin wrote: On 2/28/13 7:08 PM, Yann E. MORIN wrote: Well, RHEL4 is still widely used, and it was released in 2005, so will not have ncurses-5.6 (updates may have it, but not everybody installs updates). question, will such system be updated

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

2013-01-15 Thread Yann E. MORIN
separately. Thank you! Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33

kconfig-frontends-3.8.0.0 release

2013-02-19 Thread Yann E. MORIN
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! ;-) [0] http://marc.info/?l=linux-kbuildm=132753216310722 [1] https://lwn.net/Articles/487487/ Regards, Yann E. MORIN

Re: kconfig-frontends-3.8.0.0 release

2013-02-19 Thread Yann E. MORIN
Jan, All, On Tuesday 19 February 2013 Jan Engelhardt wrote: On Tuesday 2013-02-19 23:14, Yann E. MORIN wrote: I'm pleased to announce the release of kconfig-frontends 3.8.0.0! Go download it there: http://ymorin.is-a-geek.org/download/kconfig-frontends/kconfig-frontends-3.8.0.0.tar.xz

Re: kconfig-frontends-3.8.0.0 release

2013-02-19 Thread Yann E. MORIN
Jan, All, On Wednesday 20 February 2013 Yann E. MORIN wrote: $ ls -lrt /usr/bin/*{conf,gettext,diff} Obviously, that line above should have been (with the same result): $ ls -lrt /usr/bin/ lrwxrwxrwx 1 root root 26 Feb 19 23:11 fakeroot - /etc/alternatives/fakeroot lrwxrwxrwx 1 root

Re: [PATCH] Use config scripts to detect ncurses libs for, menuconfig/nconfig dialogs

2013-02-25 Thread Yann E. MORIN
+ exit 0 (nit-picking) I'd prefer you be consistent with existing code which just calls 'exit' without a number. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics

Re: [PATCH] Use config scripts to detect ncurses libs for, menuconfig/nconfig dialogs

2013-02-25 Thread Yann E. MORIN
Justin, All, On Monday 25 February 2013 Justin wrote: On 25.02.2013 19:30, Yann E. MORIN wrote: On Sunday 24 February 2013 Justin wrote: when ncurses is build with --with-termlib several symbols are moved to a seperate terminfo library (libtinfo.so). Current Kernel buildsystem results

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

2012-08-02 Thread Yann E. MORIN
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 the deps and/or selects So, yes, returning prompt-less symbols as search results is important. Regards, Yann E. MORIN

kconfig-frontends-3.5.0-0 released

2012-07-22 Thread Yann E. MORIN
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, Yann E. MORIN

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 udkni...@gmail.com Reviewed-by: Yann E. MORIN yann.morin.1...@free.fr Tested-by: 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 udkni...@gmail.com Tested-by: Yann E. MORIN yann.morin.1...@free.fr

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

2012-12-17 Thread Yann E. MORIN
of more review by others), and you'll get my tst-by and rev'ed-by tags. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer

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 udkni...@gmail.com Reviewed-by: Yann E. MORIN yann.morin.1...@free.fr Tested-by: Yann E

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

2012-12-18 Thread Yann E. MORIN
. 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 instead of hard code suggested by Yann E. MORIN 2:drop the spurious empty-line

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

2012-12-19 Thread Yann E. MORIN
. 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 instead of hard code suggested by Yann E. MORIN 2:drop the spurious empty-line

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 dialog_input_result[]; This patch remove one

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 appear in next tree. https

kconfig-frontends-3.7.0.0 released

2012-12-15 Thread Yann E. MORIN
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. -- .-..--.. | Yann E. MORIN | Real

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-frontends/kconfig-frontends-3.6.0-0.tar.xz

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 'foreign' package? Surely, just

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 be the default ? Indeed. [--SNIP--] All

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

2013-01-14 Thread Yann E. MORIN
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. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33

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

2013-01-14 Thread Yann E. MORIN
. HOME/END 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 662 376

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

2013-01-14 Thread Yann E. MORIN
branch. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172

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 ed...@systemanalysen.net • In function keys line descriptions black on darkblue are almost impossible to read. Change colors to black on brown

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 g/G keys are not documented in the help text. HOME/END are not, either. Already documented in previous version and in v2 posted half hour ago: Ah, so your patch

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 ed...@systemanalysen.net [--SNIP--] --- For stable users: to be applied on vanilla 3.2.37 I think feature-changes are not supposed to go into -stable. Regards, Yann E. MORIN

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

2013-01-08 Thread Yann E. MORIN
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 reply to Dmitry). Regards, Yann E. MORIN

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

2013-01-08 Thread Yann E. MORIN
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 | /\ ASCII

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

2007-05-24 Thread Yann E. MORIN
, and I miserably failed... :-( Comments? Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN

Re: Warnings from silentoldconfig (Re: [GIT PULL] PCI updates for v3.11)

2013-08-05 Thread Yann E. MORIN
/auto.conf, which may not exist yet or may be out of date. Yann, can anything break if we simply do not read that file from conf_split_config(), like this? Sorry, that's a part I'm not sure about, and seems non-trivial. I'll look at it tonight (UTC+2) when I'm back home. Regards, Yann E. MORIN

Re: Warnings from silentoldconfig (Re: [GIT PULL] PCI updates for v3.11)

2013-08-05 Thread Yann E. MORIN
in the right places, is rather complex with a lot of special cases spread out all over, and I fell like wanting to knit after a slew of kitten has played with tens of balls of wool... :-( Anyway, with time, I'm eventually sorting things out one at a time, but Woo... the headache... ;-] Regards, Yann E. MORIN

[PATCH] kconfig: silence warning when parsing auto.conf when a symbol has changed type

2013-08-06 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr When a symbol changes type from tristate to bool, and was previously set to 'm', a subsequent silentoldconfig would warn about inconsistency, such as: include/config/auto.conf:3014:warning: symbol value 'm' invalid for HOTPLUG_PCI_PCIE Seen

Re: Build regressions/improvements in v3.11-rc2

2013-07-27 Thread Yann E. MORIN
the RNF seed, so that's d be nice to have to reproduce the error. Also, having the problematic changeset would be nice. Regards, Yann E. MORIN. -- .-..--.. | Yann E. MORIN | Real-Time Embedded | /\ ASCII RIBBON | Erics

[pull request] Pull request for branch yem/kconfig-for-next

2013-08-15 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Hello Michal, Please pull a few more changes queued for 3.12 since your last pull: - POSIX compliance when using sed in scripts/config(CLément) - use 'long long' to represent hex and ranges, so their width is not dependent

[PATCH 4/4] modules: do not depend on kconfig to set 'modules' option to symbol MODULES

2013-08-15 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Currently, the MODULES symbol is special-cased in different places in the kconfig language. For example, if no symbol is defined to enable tristates, then kconfig looks up for a symbol named 'MODULES', and forces the 'modules' option onto that symbol

[PATCH 1/4] kconfig: switch to long long for sanity

2013-08-15 Thread Yann E. MORIN
...@chromium.org Acked-by: Geert Uytterhoeven ge...@linux-m68k.org Tested-by: Yann E. MORIN yann.morin.1...@free.fr Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr --- scripts/kconfig/symbol.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/scripts/kconfig/symbol.c b

[PATCH 3/4] kconfig: silence warning when parsing auto.conf when a symbol has changed type

2013-08-15 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr When a symbol changes type from tristate to bool, and was previously set to 'm', a subsequent silentoldconfig would warn about inconsistency, such as: include/config/auto.conf:3014:warning: symbol value 'm' invalid for HOTPLUG_PCI_PCIE Seen

[PATCH 2/4] scripts/config: use sed's POSIX interface

2013-08-15 Thread Yann E. MORIN
-line calls to `a' command, while some implementations require a leading newline before the parameter. Rewrite calls to `sed' to comply with POSIX interface, and move them to helper functions. Signed-off-by: Clement Chauplannaz chaup...@gmail.com Tested-by: Yann E. MORIN yann.morin.1...@free.fr

Re: [pull request] Pull request for branch yem/kconfig-for-next

2013-08-16 Thread Yann E. MORIN
Michal, All, On Friday 16 August 2013 14:48:47 Michal Marek wrote: On 15.8.2013 23:17, Yann E. MORIN wrote: From: Yann E. MORIN yann.morin.1...@free.fr Hello Michal, Please pull a few more changes queued for 3.12 since your last pull: - POSIX compliance when using sed

Re: linux-next: build failure after merge of the ext4 tree

2013-08-16 Thread Yann E. MORIN
Sam, Michal, All, On 2013-08-16 19:14 +0200, Sam Ravnborg spake thusly: On Fri, Aug 16, 2013 at 03:10:38PM +0200, Michal Marek wrote: On 11.8.2013 23:39, Yann E. MORIN wrote: On 2013-08-09 13:42 +0200, Sam Ravnborg spake thusly: If we drop the special handling of MODULES and introduced

Re: [PATCH 12/15] kconfig: sort found symbols by relevance

2013-07-10 Thread Yann E. MORIN
Michal, All, On 2013-07-08 19:35 +0200, Yann E. MORIN spake thusly: On 2013-07-08 13:19 +0200, Jean Delvare spake thusly: Le Monday 24 June 2013 à 20:11 +0200, Yann E. MORIN a écrit : From: Yann E. MORIN yann.morin.1...@free.fr [--SNIP--] Since the search can be a regexp, it is possible

Re: [PATCH 12/15] kconfig: sort found symbols by relevance

2013-07-13 Thread Yann E. MORIN
struct sym_match *s2 = sym2; This is both concise and correct, and it makes gcc happy. Yes, that's what I thought to, and what I was about to do. Thanks for confirming this! :-) Regards, Yann E. MORIN. -- .-..--.. | Yann E

[PATCH 0/3] Misc cleanups in kconfig for symbol-search

2013-07-13 Thread Yann E. MORIN
to Michal a bit later during the rc phase (in case more fixups accumulate). 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

[PATCH 3/3] kconfig: cleanup symbol-search code

2013-07-13 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr - no need for a double-indirection for the temporary sym_match_arr array - the temporary sym_match_arr array is not NULL terminated, so no need to allocate n+1 elements - two minor style fixes - grammar fix in comment Reported-by: Jean Delvare jdelv

[PATCH 2/3] kconfig: avoid multiple calls to strlen

2013-07-13 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Calls to strlen are costly, so avoid calling strln as much as we can. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E. MORIN yann.morin.1...@free.fr Cc: Jean Delvare jdelv...@suse.de --- scripts/kconfig/symbol.c | 10 +- 1

[PATCH 1/3] Documentation/kconfig: more concise and straightforward search explanation

2013-07-13 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Re-phrase the explanations on the sorting of search results, in a more concise and complete way. Drop reference to the user's locale when sorting alphabetically, since this is implicit. Reported-by: Jean Delvare jdelv...@suse.de Signed-off-by: Yann E

Re: [PATCH 1/3] Documentation/kconfig: more concise and straightforward search explanation

2013-07-13 Thread Yann E. MORIN
All, On 2013-07-13 20:08 +0200, Yann E. MORIN spake thusly: From: Yann E. MORIN yann.morin.1...@free.fr Re-phrase the explanations on the sorting of search results, in a more concise and complete way. Drop reference to the user's locale when sorting alphabetically, since this is implicit

[PATCH 06/14] nconf: use function calls instead of ncurses' variables LINES and COLS

2013-06-18 Thread Yann E. MORIN
the propper function calls or macros to get window dimensions. The use of the variables in main() was OK, but for the sake of consistency it was modified to use the macro getmaxyx(). [1] ncurses(3X) Signed-off-by: Dirk Gouders d...@gouders.net Reviewed-by: Yann E. MORIN yann.morin.1...@free.fr

[PATCH 12/14] kconfig: sort found symbols by relevance

2013-06-18 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr When searching for symbols, return the symbols sorted by relevance. Sorting is done as thus: - first, symbols with a prompt, [1] - then, smallest offset, [2] - then, shortest match, [3] - then, highest relative match, [4

[PATCH 04/14] kconfig/lxdialog: handle newline characters in print_autowrap()

2013-06-18 Thread Yann E. MORIN
it to be processed, so let print_autowrap() handle newlines propperly. Also, reword that dialog's second phrase with a real sentence. Signed-off-by: Dirk Gouders d...@gouders.net Tested-by: Yann E. MORIN yann.morin.1...@free.fr Reviewed-by: Yann E. MORIN yann.morin.1...@free.fr [yann.morin.1...@free.fr

[PATCH 13/14] kconfig: loop as long as we changed some symbols in randconfig

2013-06-18 Thread Yann E. MORIN
From: Yann E. MORIN yann.morin.1...@free.fr Because of choice-in-a-choice constructs, it can happen that not all symbols are assigned a value during randconfig, leading in rare cases to this situation: ---8--- choice-in-choice.in choice bool A/B/C config A bool

  1   2   3   4   5   >