* [pull request] Pull request for branch yem/kconfig-for-next
@ 2013-08-15 21:17 Yann E. MORIN
2013-08-16 12:48 ` Michal Marek
0 siblings, 1 reply; 13+ messages in thread
From: Yann E. MORIN @ 2013-08-15 21:17 UTC (permalink / raw)
To: linux-kbuild, Michal Marek; +Cc: linux-kernel, Yann E. MORIN
From: "Yann E. MORIN" <yann.morin.1998@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 on the architecture (32/64 bits) (Kees)
- remove the warning when parsing auto.conf, that frigthened
Linus when he merged the ext4 tree
- explicit use CONFIG_MODULES to enable tristates
Regards,
Yann E. MORIN.
PS. I've indeed changed the naming scheme of my branches, don't worry. ;-)
The following changes since commit c3286ee337b0586a8ae2b4f13c33e3de5d71139e:
Merge branch 'yem-kconfig-rc-fixes' of git://gitorious.org/linux-kconfig/linux-kconfig into kbuild/kconfig (2013-07-23 15:57:17 +0200)
are available in the git repository at:
git://gitorious.org/linux-kconfig/linux-kconfig.git yem/kconfig-for-next
for you to fetch changes up to 11097a0367e48954ecf616f9b0df48d86835dd0d:
modules: do not depend on kconfig to set 'modules' option to symbol MODULES (2013-08-15 22:56:08 +0200)
----------------------------------------------------------------
Clement Chauplannaz (1):
scripts/config: use sed's POSIX interface
Kees Cook (1):
kconfig: switch to "long long" for sanity
Yann E. MORIN (2):
kconfig: silence warning when parsing auto.conf when a symbol has changed type
modules: do not depend on kconfig to set 'modules' option to symbol MODULES
init/Kconfig | 1 +
scripts/config | 44 +++++++++++++++++++++++++++++++++++++++++---
scripts/kconfig/confdata.c | 11 ++++++++---
scripts/kconfig/symbol.c | 19 ++++++++++---------
4 files changed, 60 insertions(+), 15 deletions(-)
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [pull request] Pull request for branch yem/kconfig-for-next
2013-08-15 21:17 Yann E. MORIN
@ 2013-08-16 12:48 ` Michal Marek
2013-08-16 13:02 ` Yann E. MORIN
0 siblings, 1 reply; 13+ messages in thread
From: Michal Marek @ 2013-08-16 12:48 UTC (permalink / raw)
To: Yann E. MORIN; +Cc: linux-kbuild, linux-kernel
On 15.8.2013 23:17, Yann E. MORIN wrote:
> From: "Yann E. MORIN" <yann.morin.1998@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 on the architecture (32/64 bits) (Kees)
> - remove the warning when parsing auto.conf, that frigthened
> Linus when he merged the ext4 tree
> - explicit use CONFIG_MODULES to enable tristates
Pulled, thanks! Now you can remove the CONFIG_MODULES special handling
from kconfig.
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [pull request] Pull request for branch yem/kconfig-for-next
2013-08-16 12:48 ` Michal Marek
@ 2013-08-16 13:02 ` Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-08-16 13:02 UTC (permalink / raw)
To: Michal Marek; +Cc: linux-kbuild, linux-kernel
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.1998@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 on the architecture (32/64 bits) (Kees)
> > - remove the warning when parsing auto.conf, that frigthened
> > Linus when he merged the ext4 tree
> > - explicit use CONFIG_MODULES to enable tristates
>
> Pulled, thanks! Now you can remove the CONFIG_MODULES special handling
> from kconfig.
Eh! Easier said than done! ;-)
Thanks!
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +0/33 662376056 | Software Designer | \ / CAMPAIGN | ^ |
| --==< O_o >==-- '------------.-------: X AGAINST | /e\ There is no |
| http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL | """ conspiracy. |
'------------------------------'-------'------------------'--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
* [pull request] Pull request for branch yem/kconfig-for-next
@ 2013-09-04 10:59 Yann E. MORIN
0 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-09-04 10:59 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, linux-kernel, Sam Ravnborg, Yann E. MORIN
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Hello All!
Michal, please pull for 3.12 this series that removes special-casing of
the 'MODULES' symbol, as previously discussed with Sam and you.
Regards,
Yann E. MORIN.
The following changes since commit b020bae0467b490797d61e6a658fb7df4568c074:
Merge branch 'kbuild/kconfig' into kbuild/for-next (2013-09-01 21:25:45 +0200)
are available in the git repository at:
git://gitorious.org/linux-kconfig/linux-kconfig.git yem/kconfig-for-next
for you to fetch changes up to 2c15d81f712791d3eae9a15414c83780a8dd6ac1:
kconfig: do not allow more than one symbol to have 'option modules' (2013-09-04 12:57:48 +0200)
----------------------------------------------------------------
Yann E. MORIN (3):
kconfig: do not special-case 'MODULES' symbol
kconfig: regenerate bison parser
kconfig: do not allow more than one symbol to have 'option modules'
Documentation/kbuild/kconfig-language.txt | 1 +
scripts/kconfig/menu.c | 11 +-
scripts/kconfig/zconf.tab.c_shipped | 562 ++++++++++++++++--------------
scripts/kconfig/zconf.y | 11 +-
4 files changed, 308 insertions(+), 277 deletions(-)
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 1/7] Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 2/7] kconfig: add short explanation to SYMBOL_WRITE Yann E. MORIN
` (6 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Regid Ichira, Yann E. MORIN
From: Regid Ichira <regid23@nt1.in>
Signed-off-by: Regid Ichira <regid23@nt1.in>
Acked-by: Rob Landley <rob@landley.net>
[yann.morin.1998@free.fr: fix trailing whitespace, commit subject]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
Documentation/kbuild/kconfig.txt | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/Documentation/kbuild/kconfig.txt b/Documentation/kbuild/kconfig.txt
index 8ef6dbb..bbc99c0 100644
--- a/Documentation/kbuild/kconfig.txt
+++ b/Documentation/kbuild/kconfig.txt
@@ -20,16 +20,9 @@ symbols have been introduced.
To see a list of new config symbols when using "make oldconfig", use
cp user/some/old.config .config
- yes "" | make oldconfig >conf.new
+ make listnewconfig
-and the config program will list as (NEW) any new symbols that have
-unknown values. Of course, the .config file is also updated with
-new (default) values, so you can use:
-
- grep "(NEW)" conf.new
-
-to see the new config symbols or you can use diffconfig to see the
-differences between the previous and new .config files:
+and the config program will list any new symbols, one per line.
scripts/diffconfig .config.old .config | less
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 2/7] kconfig: add short explanation to SYMBOL_WRITE
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
2013-10-30 21:46 ` [PATCH 1/7] Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 3/7] kconfig: fix trivial typos and update mconf documentation Yann E. MORIN
` (5 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Martin Walch, Yann E. MORIN
From: Martin Walch <walch.martin@web.de>
replace the question mark in the comment after SYMBOL_WRITE with an explanation
Signed-off-by: Martin Walch <walch.martin@web.de>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
scripts/kconfig/expr.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/kconfig/expr.h b/scripts/kconfig/expr.h
index df198a5..ba663e1 100644
--- a/scripts/kconfig/expr.h
+++ b/scripts/kconfig/expr.h
@@ -93,7 +93,7 @@ struct symbol {
#define SYMBOL_CHOICEVAL 0x0020 /* used as a value in a choice block */
#define SYMBOL_VALID 0x0080 /* set when symbol.curr is calculated */
#define SYMBOL_OPTIONAL 0x0100 /* choice is optional - values can be 'n' */
-#define SYMBOL_WRITE 0x0200 /* ? */
+#define SYMBOL_WRITE 0x0200 /* write symbol to file (KCONFIG_CONFIG) */
#define SYMBOL_CHANGED 0x0400 /* ? */
#define SYMBOL_AUTO 0x1000 /* value from environment variable */
#define SYMBOL_CHECKED 0x2000 /* used during dependency checking */
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 3/7] kconfig: fix trivial typos and update mconf documentation
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
2013-10-30 21:46 ` [PATCH 1/7] Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig Yann E. MORIN
2013-10-30 21:46 ` [PATCH 2/7] kconfig: add short explanation to SYMBOL_WRITE Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 4/7] kconfig: adjust warning message for conflicting types Yann E. MORIN
` (4 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Martin Walch, Yann E. MORIN
From: Martin Walch <walch.martin@web.de>
This fixes lots of typos in comments and strings.
It also updates the documentation strings in mconf to reflect the changes in
the user interface from the two commits
6364fd0cb1e4c7f72b974613e0cf5744ae4d2cb2
menuconfig: Add Save/Load buttons
1bdbac478a858d2aa73a6784c7c2e09de0f6d06b
menuconfig: Get rid of the top-level entries for "Load an Alternate/Save an Alternate"
And it updates the layout of the example search result, i. e. moves down the
"Defined at" and "Depends on" lines and adds a symbol state ([=n]) to the
symbol in the "Selected by" line.
Furthermore, the help texts now should fit in 80 columns again when viewed
in mconf.
Signed-off-by: Martin Walch <walch.martin@web.de>
Reviewed-by: Jean Delvare <jdelvare@suse.de>
Reviewed-by: Wang YanQing <udknight@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
scripts/kconfig/mconf.c | 60 +++++++++++++++++++++++-------------------------
| 2 +-
scripts/kconfig/symbol.c | 2 +-
3 files changed, 31 insertions(+), 33 deletions(-)
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 2c39631..59184bb 100644
--- a/scripts/kconfig/mconf.c
+++ b/scripts/kconfig/mconf.c
@@ -25,7 +25,7 @@
static const char mconf_readme[] = N_(
"Overview\n"
"--------\n"
-"This interface let you select features and parameters for the build.\n"
+"This interface lets you select features and parameters for the build.\n"
"Features can either be built-in, modularized, or ignored. Parameters\n"
"must be entered in as decimal or hexadecimal numbers or text.\n"
"\n"
@@ -39,15 +39,15 @@ static const char mconf_readme[] = N_(
"\n"
"To change any of these features, highlight it with the cursor\n"
"keys and press <Y> to build it in, <M> to make it a module or\n"
-"<N> to removed it. You may also press the <Space Bar> to cycle\n"
-"through the available options (ie. Y->N->M->Y).\n"
+"<N> to remove it. You may also press the <Space Bar> to cycle\n"
+"through the available options (i.e. Y->N->M->Y).\n"
"\n"
"Some additional keyboard hints:\n"
"\n"
"Menus\n"
"----------\n"
-"o Use the Up/Down arrow keys (cursor keys) to highlight the item\n"
-" you wish to change or submenu wish to select and press <Enter>.\n"
+"o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n"
+" wish to change or the submenu you wish to select and press <Enter>.\n"
" Submenus are designated by \"--->\", empty ones by \"----\".\n"
"\n"
" Shortcut: Press the option's highlighted letter (hotkey).\n"
@@ -65,7 +65,7 @@ static const char mconf_readme[] = N_(
" there is a delayed response which you may find annoying.\n"
"\n"
" Also, the <TAB> and cursor keys will cycle between <Select>,\n"
-" <Exit> and <Help>.\n"
+" <Exit>, <Help>, <Save>, and <Load>.\n"
"\n"
"o To get help with an item, use the cursor keys to highlight <Help>\n"
" and press <ENTER>.\n"
@@ -105,7 +105,7 @@ static const char mconf_readme[] = N_(
"Text Box (Help Window)\n"
"--------\n"
"o Use the cursor keys to scroll up/down/left/right. The VI editor\n"
-" keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for \n"
+" keys h,j,k,l function here as do <u>, <d>, <SPACE BAR> and <B> for\n"
" those who are familiar with less and lynx.\n"
"\n"
"o Press <E>, <X>, <q>, <Enter> or <Esc><Esc> to exit.\n"
@@ -117,23 +117,21 @@ static const char mconf_readme[] = N_(
"those who, for various reasons, find it necessary to switch\n"
"between different configurations.\n"
"\n"
-"At the end of the main menu you will find two options. One is\n"
-"for saving the current configuration to a file of your choosing.\n"
-"The other option is for loading a previously saved alternate\n"
-"configuration.\n"
+"The <Save> button will let you save the current configuration to\n"
+"a file of your choosing. Use the <Load> button to load a previously\n"
+"saved alternate configuration.\n"
"\n"
-"Even if you don't use alternate configuration files, but you\n"
-"find during a Menuconfig session that you have completely messed\n"
-"up your settings, you may use the \"Load Alternate...\" option to\n"
-"restore your previously saved settings from \".config\" without\n"
-"restarting Menuconfig.\n"
+"Even if you don't use alternate configuration files, but you find\n"
+"during a Menuconfig session that you have completely messed up your\n"
+"settings, you may use the <Load> button to restore your previously\n"
+"saved settings from \".config\" without restarting Menuconfig.\n"
"\n"
"Other information\n"
"-----------------\n"
-"If you use Menuconfig in an XTERM window make sure you have your\n"
-"$TERM variable set to point to a xterm definition which supports color.\n"
-"Otherwise, Menuconfig will look rather bad. Menuconfig will not\n"
-"display correctly in a RXVT window because rxvt displays only one\n"
+"If you use Menuconfig in an XTERM window, make sure you have your\n"
+"$TERM variable set to point to an xterm definition which supports\n"
+"color. Otherwise, Menuconfig will look rather bad. Menuconfig will\n"
+"not display correctly in an RXVT window because rxvt displays only one\n"
"intensity of color, bright.\n"
"\n"
"Menuconfig will display larger menus on screens or xterms which are\n"
@@ -148,8 +146,8 @@ static const char mconf_readme[] = N_(
"\n"
"Optional personality available\n"
"------------------------------\n"
-"If you prefer to have all of the options listed in a single menu, rather\n"
-"than the default multimenu hierarchy, run the menuconfig with\n"
+"If you prefer to have all of the options listed in a single menu,\n"
+"rather than the default multimenu hierarchy, run the menuconfig with\n"
"MENUCONFIG_MODE environment variable set to single_menu. Example:\n"
"\n"
"make MENUCONFIG_MODE=single_menu menuconfig\n"
@@ -172,7 +170,7 @@ static const char mconf_readme[] = N_(
" mono => selects colors suitable for monochrome displays\n"
" blackbg => selects a color scheme with black background\n"
" classic => theme with blue background. The classic look\n"
-" bluetitle => a LCD friendly version of classic. (default)\n"
+" bluetitle => an LCD friendly version of classic. (default)\n"
"\n"),
menu_instructions[] = N_(
"Arrow keys navigate the menu. "
@@ -238,24 +236,24 @@ search_help[] = N_(
"Symbol: FOO [=m]\n"
"Type : tristate\n"
"Prompt: Foo bus is used to drive the bar HW\n"
- " Defined at drivers/pci/Kconfig:47\n"
- " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n"
" Location:\n"
" -> Bus options (PCI, PCMCIA, EISA, ISA)\n"
" -> PCI support (PCI [=y])\n"
"(1) -> PCI access mode (<choice> [=y])\n"
+ " Defined at drivers/pci/Kconfig:47\n"
+ " Depends on: X86_LOCAL_APIC && X86_IO_APIC || IA64\n"
" Selects: LIBCRC32\n"
- " Selected by: BAR\n"
+ " Selected by: BAR [=n]\n"
"-----------------------------------------------------------------\n"
"o The line 'Type:' shows the type of the configuration option for\n"
" this symbol (boolean, tristate, string, ...)\n"
"o The line 'Prompt:' shows the text used in the menu structure for\n"
" this symbol\n"
- "o The 'Defined at' line tell at what file / line number the symbol\n"
+ "o The 'Defined at' line tells at what file / line number the symbol\n"
" is defined\n"
- "o The 'Depends on:' line tell what symbols needs to be defined for\n"
+ "o The 'Depends on:' line tells what symbols need to be defined for\n"
" this symbol to be visible in the menu (selectable)\n"
- "o The 'Location:' lines tell where in the menu structure this symbol\n"
+ "o The 'Location:' lines tells where in the menu structure this symbol\n"
" is located\n"
" A location followed by a [=y] indicates that this is a\n"
" selectable menu item - and the current value is displayed inside\n"
@@ -263,9 +261,9 @@ search_help[] = N_(
" Press the key in the (#) prefix to jump directly to that\n"
" location. You will be returned to the current search results\n"
" after exiting this new menu.\n"
- "o The 'Selects:' line tell what symbol will be automatically\n"
+ "o The 'Selects:' line tells what symbols will be automatically\n"
" selected if this symbol is selected (y or m)\n"
- "o The 'Selected by' line tell what symbol has selected this symbol\n"
+ "o The 'Selected by' line tells what symbol has selected this symbol\n"
"\n"
"Only relevant lines are shown.\n"
"\n\n"
--git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index c1d5320..b970101 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -597,7 +597,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
}
/*
- * get peoperty of type P_SYMBOL
+ * get property of type P_SYMBOL
*/
static struct property *get_symbol_prop(struct symbol *sym)
{
diff --git a/scripts/kconfig/symbol.c b/scripts/kconfig/symbol.c
index c9a6775..7caabdb 100644
--- a/scripts/kconfig/symbol.c
+++ b/scripts/kconfig/symbol.c
@@ -1047,7 +1047,7 @@ sym_re_search_free:
* When we check for recursive dependencies we use a stack to save
* current state so we can print out relevant info to user.
* The entries are located on the call stack so no need to free memory.
- * Note inser() remove() must always match to properly clear the stack.
+ * Note insert() remove() must always match to properly clear the stack.
*/
static struct dep_stack {
struct dep_stack *prev, *next;
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [pull request] Pull request for branch yem/kconfig-for-next
@ 2013-10-30 21:46 Yann E. MORIN
2013-10-30 21:46 ` [PATCH 1/7] Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig Yann E. MORIN
` (7 more replies)
0 siblings, 8 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild
Cc: Michal Marek, Ben Hutchings, Martin Walch, Regid Ichira,
"Yann E. MORIN:
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
Hello All!
Michal, please pull these changes to kconfig for 3.13:
- update Documentation and mconf's help (Martin, Regid)
- remove unneeded kconfig scanner declaration (Martin)
- clarify parser warning message about type redefinition (Martin)
- fix gstr length usage (Martin)
- store our Qt config settings in a proper location (Ben)
There are still a few patches floating on the list, but I haven't yet
had time to review/test them; I'll do this in the coming days.
/me has still not entirely got over his trip to Edinburgh last week...
Regards,
Yann E. MORIN.
The following changes since commit 86eb781889ec31f6421b86ab252ea609d456322d:
scripts/config: fix variable substitution command (2013-09-13 13:06:59 +0200)
are available in the git repository at:
git://gitorious.org/linux-kconfig/linux-kconfig.git yem/kconfig-for-next
for you to fetch changes up to 00d4f8fc2c729b1baf723cacd2b5942b032b6784:
xconfig: Fix the filename for GUI settings (2013-10-08 23:52:16 +0200)
----------------------------------------------------------------
Ben Hutchings (1):
xconfig: Fix the filename for GUI settings
Martin Walch (5):
kconfig: add short explanation to SYMBOL_WRITE
kconfig: fix trivial typos and update mconf documentation
kconfig: adjust warning message for conflicting types
kconfig: remove unused definition from scanner
kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len
Regid Ichira (1):
Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig
Documentation/kbuild/kconfig.txt | 11 ++------
scripts/kconfig/expr.h | 2 +-
scripts/kconfig/mconf.c | 60 +++++++++++++++++++---------------------
scripts/kconfig/menu.c | 11 ++++----
scripts/kconfig/qconf.cc | 5 ++++
scripts/kconfig/qconf.h | 1 +
scripts/kconfig/symbol.c | 2 +-
scripts/kconfig/zconf.l | 1 -
8 files changed, 45 insertions(+), 48 deletions(-)
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 13+ messages in thread
* [PATCH 4/7] kconfig: adjust warning message for conflicting types
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
` (2 preceding siblings ...)
2013-10-30 21:46 ` [PATCH 3/7] kconfig: fix trivial typos and update mconf documentation Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 5/7] kconfig: remove unused definition from scanner Yann E. MORIN
` (3 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Martin Walch, Yann E. MORIN
From: Martin Walch <walch.martin@web.de>
Each symbol must have exactly one type assigned. However, if a symbol happens
to have two different types assigned at runtime, a warning is printed and the
first type is preserved while the second type is being ignored.
The warning message says
type of <symbol name> redefined from <first type> to <second type>
which may be misleading as it may create the impression that the second type
replaces the first type.
This patch clarifies this by changing the warning to
ignoring type redefinition of <symbol name> from <first type> to <second type>
Signed-off-by: Martin Walch <walch.martin@web.de>
Acked-by: Wang YanQing <udknight@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
| 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
--git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index b970101..9e69f19 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -119,9 +119,10 @@ void menu_set_type(int type)
sym->type = type;
return;
}
- menu_warn(current_entry, "type of '%s' redefined from '%s' to '%s'",
- sym->name ? sym->name : "<choice>",
- sym_type_name(sym->type), sym_type_name(type));
+ menu_warn(current_entry,
+ "ignoring type redefinition of '%s' from '%s' to '%s'",
+ sym->name ? sym->name : "<choice>",
+ sym_type_name(sym->type), sym_type_name(type));
}
struct property *menu_add_prop(enum prop_type type, char *prompt, struct expr *expr, struct expr *dep)
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 5/7] kconfig: remove unused definition from scanner
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
` (3 preceding siblings ...)
2013-10-30 21:46 ` [PATCH 4/7] kconfig: adjust warning message for conflicting types Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 6/7] kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len Yann E. MORIN
` (2 subsequent siblings)
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Martin Walch, "Yann E. MORIN:
From: Martin Walch <walch.martin@web.de>
The definition ws [ \n\t] is not used anywhere. Drop it to avoid confusion.
As it is a dead definition, any changes in the resulting code generated by
flex would be surprising (actually testing this showed that there are really
no changes). So, there is no need to touch the existing zconf.lex.c_shipped.
Signed-off-by: Martin Walch <walch.martin@web.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN: <yann.morin.1998@free.fr>
---
scripts/kconfig/zconf.l | 1 -
1 file changed, 1 deletion(-)
diff --git a/scripts/kconfig/zconf.l b/scripts/kconfig/zconf.l
index 6555a47..1a9f53e 100644
--- a/scripts/kconfig/zconf.l
+++ b/scripts/kconfig/zconf.l
@@ -68,7 +68,6 @@ static void alloc_string(const char *str, int size)
}
%}
-ws [ \n\t]
n [A-Za-z0-9_]
%%
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 6/7] kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
` (4 preceding siblings ...)
2013-10-30 21:46 ` [PATCH 5/7] kconfig: remove unused definition from scanner Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-30 21:46 ` [PATCH 7/7] xconfig: Fix the filename for GUI settings Yann E. MORIN
2013-10-31 11:18 ` [pull request] Pull request for branch yem/kconfig-for-next Michal Marek
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Martin Walch, Yann E. MORIN
From: Martin Walch <walch.martin@web.de>
The struct gstr has a capacity that may differ from the actual string length.
However, a string manipulation in the function search_conf made the assumption
that it is the same, which led to messing up some search results, especially
when the content of the gstr in use had not yet reached at least 63 chars.
Signed-off-by: Martin Walch <walch.martin@web.de>
Acked-by: Wang YanQing <udknight@gmail.com>
Acked-by: Benjamin Poirier <bpoirier@suse.de>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
| 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--git a/scripts/kconfig/menu.c b/scripts/kconfig/menu.c
index 9e69f19..db1512a 100644
--- a/scripts/kconfig/menu.c
+++ b/scripts/kconfig/menu.c
@@ -584,7 +584,7 @@ static void get_prompt_str(struct gstr *r, struct property *prop,
for (j = 4; --i >= 0; j += 2) {
menu = submenu[i];
if (head && location && menu == location)
- jump->offset = r->len - 1;
+ jump->offset = strlen(r->s);
str_printf(r, "%*c-> %s", j, ' ',
_(menu_get_prompt(menu)));
if (menu->sym) {
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [PATCH 7/7] xconfig: Fix the filename for GUI settings
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
` (5 preceding siblings ...)
2013-10-30 21:46 ` [PATCH 6/7] kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len Yann E. MORIN
@ 2013-10-30 21:46 ` Yann E. MORIN
2013-10-31 11:18 ` [pull request] Pull request for branch yem/kconfig-for-next Michal Marek
7 siblings, 0 replies; 13+ messages in thread
From: Yann E. MORIN @ 2013-10-30 21:46 UTC (permalink / raw)
To: linux-kbuild; +Cc: Michal Marek, Ben Hutchings, Yann E. MORIN
From: Ben Hutchings <ben@decadent.org.uk>
Currently the qconf program invoked by 'make xconfig' stores GUI
settings in the file ~/.config/Unknown\ Organization.conf. This name
is apparently generated by the QSettings class when no organisation
or application name are specified.
This is obviously not a sensible filename (nor does it seem sensible
that these QSettings parameters are optional!). Pass the names
'kernel.org' and 'qconf', resuling in the filename
~/.config/kernel.org/qconf.conf.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
scripts/kconfig/qconf.cc | 5 +++++
scripts/kconfig/qconf.h | 1 +
2 files changed, 6 insertions(+)
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 1500c38..9d3b04b 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -69,6 +69,11 @@ static inline QString qgettext(const QString& str)
return QString::fromLocal8Bit(gettext(str.latin1()));
}
+ConfigSettings::ConfigSettings()
+ : QSettings("kernel.org", "qconf")
+{
+}
+
/**
* Reads a list of integer values from the application settings.
*/
diff --git a/scripts/kconfig/qconf.h b/scripts/kconfig/qconf.h
index 3715b3e..bde0c6b 100644
--- a/scripts/kconfig/qconf.h
+++ b/scripts/kconfig/qconf.h
@@ -32,6 +32,7 @@ class ConfigMainWindow;
class ConfigSettings : public QSettings {
public:
+ ConfigSettings();
Q3ValueList<int> readSizes(const QString& key, bool *ok);
bool writeSizes(const QString& key, const Q3ValueList<int>& value);
};
--
1.8.1.2
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [pull request] Pull request for branch yem/kconfig-for-next
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
` (6 preceding siblings ...)
2013-10-30 21:46 ` [PATCH 7/7] xconfig: Fix the filename for GUI settings Yann E. MORIN
@ 2013-10-31 11:18 ` Michal Marek
7 siblings, 0 replies; 13+ messages in thread
From: Michal Marek @ 2013-10-31 11:18 UTC (permalink / raw)
To: Yann E. MORIN, linux-kbuild; +Cc: Ben Hutchings, Martin Walch, Regid Ichira
Dne 30.10.2013 22:46, Yann E. MORIN napsal(a):
> From: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> Hello All!
>
> Michal, please pull these changes to kconfig for 3.13:
> - update Documentation and mconf's help (Martin, Regid)
> - remove unneeded kconfig scanner declaration (Martin)
> - clarify parser warning message about type redefinition (Martin)
> - fix gstr length usage (Martin)
> - store our Qt config settings in a proper location (Ben)
Pulled, thanks a lot!
Michal
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2013-10-31 11:19 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-30 21:46 [pull request] Pull request for branch yem/kconfig-for-next Yann E. MORIN
2013-10-30 21:46 ` [PATCH 1/7] Documentation/kbuild/kconfig.txt: 'make listnewconfig' replaces: yes "" | make oldconfig Yann E. MORIN
2013-10-30 21:46 ` [PATCH 2/7] kconfig: add short explanation to SYMBOL_WRITE Yann E. MORIN
2013-10-30 21:46 ` [PATCH 3/7] kconfig: fix trivial typos and update mconf documentation Yann E. MORIN
2013-10-30 21:46 ` [PATCH 4/7] kconfig: adjust warning message for conflicting types Yann E. MORIN
2013-10-30 21:46 ` [PATCH 5/7] kconfig: remove unused definition from scanner Yann E. MORIN
2013-10-30 21:46 ` [PATCH 6/7] kconfig: fix bug in search results string: use strlen(gstr->s), not gstr->len Yann E. MORIN
2013-10-30 21:46 ` [PATCH 7/7] xconfig: Fix the filename for GUI settings Yann E. MORIN
2013-10-31 11:18 ` [pull request] Pull request for branch yem/kconfig-for-next Michal Marek
-- strict thread matches above, loose matches on Subject: below --
2013-09-04 10:59 Yann E. MORIN
2013-08-15 21:17 Yann E. MORIN
2013-08-16 12:48 ` Michal Marek
2013-08-16 13:02 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox