History log of /scripts/kconfig/gconf.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4f0c28f77932c51ba7639a6174047ec8c6560116 22-Oct-2011 Peter Foley <pefoley2@verizon.net> kconfig: fix set but not used warnings

Remove set but not used variables to fix warnings.

HOSTCC scripts/kconfig/gconf.o
/usr/src/lto/scripts/kconfig/gconf.c: In function 'change_sym_value':
/usr/src/lto/scripts/kconfig/gconf.c:833:11: warning: variable 'oldval' set but not used [-Wunused-but-set-variable]
/usr/src/lto/scripts/kconfig/gconf.c: In function 'update_tree':
/usr/src/lto/scripts/kconfig/gconf.c:1281:19: warning: variable 'prop' set but not used [-Wunused-but-set-variable]

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
a7d6f6e407d617da7a3cda8865e593523eb6ee80 22-Oct-2011 Peter Foley <pefoley2@verizon.net> kconfig: fix warnings by specifing format arguments

Specify format arguments to fix warnings.

HOSTCC scripts/kconfig/gconf.o
/usr/src/lto/scripts/kconfig/gconf.c: In function 'on_introduction1_activate':
/usr/src/lto/scripts/kconfig/gconf.c:686:6: warning: format not a string literal and no format arguments
/usr/src/lto/scripts/kconfig/gconf.c: In function 'on_about1_activate':
/usr/src/lto/scripts/kconfig/gconf.c:704:6: warning: format not a string literal and no format arguments
/usr/src/lto/scripts/kconfig/gconf.c: In function 'on_license1_activate':
/usr/src/lto/scripts/kconfig/gconf.c:723:6: warning: format not a string literal and no format arguments

Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
f8aea775c1d852c09adee1d0d62a9cab8764e6ea 06-Jun-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig/gconf: kill deadcode

The only call site of renderer_toggled() has been commented out since Apr. 2003,
as per Linus' Linux history repository:

commit e7f67eb3c0570aa50c1cc0707b478a6d93bdc255
Author: Roman Zippel <zippel@linux-m68k.org>
Date: Fri Apr 4 04:18:05 2003 -0800

[PATCH] gconf update

A gconf update by Romain Li<C3><A9>vin <roms@tilp.info>
- fixed bug when double-clicking for changing value.
- expand row when enabling a row with a submenu.
- various bug fixes

As this result in a warning:

scripts/kconfig/gconf.c:891:13: warning: 'renderer_toggled' defined but not used

just nuke that code.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/gconf.c
5a6f8d2bd9e3392569ed6f29ea4d7210652f929b 01-Jun-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig: nuke LKC_DIRECT_LINK cruft

This interface is not (and has never been ?) used by any frontend, just get rid
of it.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/gconf.c
d8fc320079b46cf462897148f48d4a63f37f56ce 31-May-2011 Arnaud Lacombe <lacombar@gmail.com> kconfig: annotate non-trivial fall-trough

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/gconf.c
6ef3d36eee2a5593e31f9f77b4aa992024838ff7 19-May-2011 Eduardo Silva <edsiper@gmail.com> gconfig: Hide unused left treeview when start up the interface

When the gconfig program starts in full mode view, it shows the
left treeview which belongs to the 'split mode view'. The patch
fix this visual issue.

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
2626e674021c28250874a68f47b0f4759fcf63db 19-May-2011 Eduardo Silva <edsiper@gmail.com> gconfig: enable rules hint for main treeviews

Due to the large amount of rows in the treeviews, is difficult to
match columns with rows, setting the rules hint to 'true' allows the
treeview to alternate background colors in the rows making the data
more readable.

Signed-off-by: Eduardo Silva <edsiper@gmail.com>
Tested-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
0954828fcbf3bd13d593499b16b901a4e801b0b9 18-Aug-2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: replace KERNELVERSION usage by the mainmenu's prompt

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
c55c9d571a3db7a096834b6c8a58d5a32dc807e6 20-Sep-2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: delay gconf window initialization

Delay the window initialization to let the rootmenu's prompt be
initialized as it will be used to get the window's title.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
/scripts/kconfig/gconf.c
652cf9821d2a5b22a1725ce8dc235ea5de0e1c6f 15-Aug-2010 Arnaud Lacombe <lacombar@gmail.com> kconfig: rephrase help texts/comments not to include the package name

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@xenotime.net>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
c10d03caf303d91da07c7f093a4822453c13f9b1 07-May-2010 Li Zefan <lizf@cn.fujitsu.com> gconfig: fix null pointer warning

In gconfig if you enable "Show all options", you'll see some "(null)"
config options, and clicking those options triggers a warning:

(gconf:9368): Gtk-CRITICAL **: gtk_text_buffer_insert_with_tags: assertion `text != NULL' failed

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
e0bb7fe2d7e6d7cfa6135fa9ca5634343fff63b5 07-May-2010 Li Zefan <lizf@cn.fujitsu.com> gconfig: fix to tag NEW symbols correctly

The logic should be reversed.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
06f9a55cf72b6aa19b4206a05d6f9af6fa9648ea 14-Apr-2010 Li Zefan <lizf@cn.fujitsu.com> gconfig: add support to show hidden options that have prompts

There's a button in gconfig to "Show all options", but I think
normally we are not interested in those configs which have no
prompt and thus can't be changed, so here I add a new button to
show hidden options which have prompts.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
7b5d87215b38359ecadf7a69575b11e140a00484 14-Apr-2010 Li Zefan <lizf@cn.fujitsu.com> gconfig: remove show_debug option

This option is a no-op, so remove it.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
2944235430c37970f82ad57b8ead343ee6065004 14-Apr-2010 Li Zefan <lizf@cn.fujitsu.com> gconfig: remove dbg_print_ptype() and dbg_print_stype()

Just use sym_get_type() and prop_get_type_name().

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
/scripts/kconfig/gconf.c
4779105e03cdb6639706991081839451d709230b 12-Jul-2009 Cheng Renquan <crquan@gmail.com> kconfig: make use of menu_get_ext_help in gconfig

Futhermore, gconfig interface lack the "search a symbol" function, do later.

Signed-off-by: Cheng Renquan <crquan@gmail.com>
Cc: Roman Zippel <zippel@linux-m68k.org>
[sam: fix SEGV in gconfig]
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/gconf.c
0ffce8d94487abbd332cd36f98db61b7c8a3db3c 11-Jan-2008 EGRY Gabor <gaboregry1@t-online.hu> kconfig: gconfig: symbol fix

Gettext support for symbol names are unnecessary.

Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/gconf.c
bb7ef3905adce28db31933ae77e5397c0b89227a 11-Jan-2008 EGRY Gabor <gaboregry1@t-online.hu> kconfig: missing macros in gconfig

This patch adds missing gettext macros.

Signed-off-by: Egry Gabor <gaboregry1@t-online.hu>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/gconf.c
de83cf148aaefac8a538a076f2c3c4f33968e04a 07-Jan-2008 Sam Ravnborg <sam@ravnborg.org> kconfig: delete unused FILE_ and SYMBOL_ flags

The *_PRINTED flags were never used - so delete them.
Do we need them later then we can re-add them.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/gconf.c
03d29122738f0bd81afd44b1f566e64ebf8d06fe 21-Jul-2007 Sam Ravnborg <sam@ravnborg.org> kconfig: attach help text to menus

Roman Zippel wrote:
> A simple example would be
> help texts, right now they are per symbol, but they should really be per
> menu, so archs can provide different help texts for something.

This patch does this and at the same time introduce a few API
funtions used to access the help text.

The relevant api functions are introduced in the various frontends.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
/scripts/kconfig/gconf.c
0a0c502c94af0491ab454ad6d216c7a6fda8362b 13-Dec-2006 Karsten Wiese <annabellesgarden@yahoo.de> [PATCH] kconfig: set gconf's save-widget's sensitivity according to .config's changed state

Clean up a little.

Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: Sam Ravnborg <sam@ravnborg.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
Acked-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/scripts/kconfig/gconf.c
669bfad906522e74ee8d962801552a8c224c0d63 09-Jun-2006 Roman Zippel <zippel@linux-m68k.org> kconfig: allow loading multiple configurations

Extend conf_read_simple() so it can load multiple configurations.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/gconf.c
c0e150acde52e4661675539bf5323309270f2e83 09-Jun-2006 Roman Zippel <zippel@linux-m68k.org> kconfig: remove SYMBOL_{YES,MOD,NO}

The SYMBOL_{YES,MOD,NO} are not really used anymore (they were more used be
the cml1 converter), so just remove them.

Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/gconf.c
2244cbd8a9185c197ec5ba5de175aec288697223 16-Jan-2006 Sam Ravnborg <sam@mars.ravnborg.org> kbuild: create .kernelrelease at *config step

To enable 'make kernelrelease' earlier now create .kernelrelease when
one of the *config targets are used.
Also introduce KERNELVERSION - only user is kconfig.
KERNELVERSION was needed to display kernel version in menuconfig -
KERNELRELEASE is not valid until configuration has completed.
kconfig files modified to use KERNELVERSION.
Bug reported by: Rene Rebe <rene@exactcode.de>

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
/scripts/kconfig/gconf.c
bafd2df5d0049bccc74947fece37963e3f68fadc 29-Jul-2005 Joachim Nilsson <joachim.nilsson@vmlinux.org> [PATCH] fix gconfig crash

I ran glade-2 on the glade file, fixed two missing stock icons and
cleaned up the C code that inserts the single/split/full modes. The
rest of the patch is minor cleanups only. I refrained from using all
the included xpm icons in images.c (like qconf.cc does) in favour of
using the stock Gtk+ icons instead. Oh, yes there was a "back" bug
in split mode that I also removed, oh well...

It has been tested with success by several people, including
Jesper Juhl, Randy Dunlap and myself.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
/scripts/kconfig/gconf.c
3b9fa0931dd86a1fe5507311ee8031650f5d0e8c 06-May-2005 Arnaldo Carvalho de Melo <acme@ghostprotocols.net> [PATCH] Kconfig i18n support

This patch adds i18n support for make *config, allowing users to have the
config process in their own language.

No printk was harmed in the process, don't worry, so all the bug reports,
kernel messages, etc, remain in english, just the user tools to configure
the kernel are internationalized.

Users not interested in translations can just unset the related LANG,
LC_ALL, etc env variables and have the config process in plain english,
something like:

LANG= make menuconfig

is enough for having the whole config process in english. Or just don't
install any translation file.

Translations for brazilian portuguese are being done by a team of
volunteers at:

http://www.visionflex.inf.br/kernel_ptbr/pmwiki.php/Principal/Traducoes

To start the translation process:

make update-po-config

This will generate the pot template named scripts/kconfig/linux.pot,
copy it to, say, ~/es.po, to start the translation for spanish.

To test your translation, as root issue this command:

msgfmt -o /usr/share/locale/es/LC_MESSAGES/linux.mo ~/es.po

Replace "es" with your language code.

Then execute, for instance:

make menuconfig

The current patch doesn't use any optimization to reduce the size of the
generated .mo file, it is possible to use the config option as a key, but
this doesn't prevent the current patch from being used or the translations
done under the current scheme to be in any way lost if we chose to do any
kind of keying.

Thanks to Fabricio Vaccari for starting the pt_BR (brazilian portuguese)
translation effort, Thiago Maciera for helping me with the gconf.cc (QT
frontent) i18n coding and to all the volunteers that are already working on
the first translation, to pt_BR.

I left the question on whether to ship the translations with the stock kernel
sources to be discussed here, please share your suggestions.

Signed-off-by: Arnaldo Carvalho de Melo <acme@conectiva.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org
Signed-off-by: Andrew Morton <akpm@osdl.org>
/scripts/kconfig/gconf.c
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 17-Apr-2005 Linus Torvalds <torvalds@ppc970.osdl.org> Linux-2.6.12-rc2

Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.

Let it rip!
/scripts/kconfig/gconf.c