25 Jul, 2011

1 commit


07 Jun, 2011

1 commit


25 May, 2011

1 commit


20 Sep, 2010

2 commits


06 Sep, 2010

1 commit


01 Sep, 2010

1 commit

  • A straight forward port to QT4 using qt3to4 and compiling against
    qt3support

    * Use pkg-config to detect QT4 which is hopefully portable enough
    * If no QT4, QT3 will by tried instead
    * Classes renamed using qt3to4
    * If build using QT3 renamed to QT3 class names using defines
    * ConfigInfoView::menu has to be renamed as QT4 moc strips struct from
    struct menu and creates a name conflict
    * QT2 support has been dropped
    * The hidden options inserted in 39a4897c1bb66e8a36043c105d7fd73d8b32b480
    are use in native API

    Signed-off-by: Alexander Stein
    Signed-off-by: Michal Marek

    Alexander Stein
     

02 Jun, 2010

3 commits


20 Sep, 2009

1 commit


10 Jun, 2009

5 commits

  • Rather than hardcoding ".config" use conf_get_configname(), which also
    respects the environment variable KCONFIG_CONFIG.

    This fixes "make silentoldconfig" when KCONFIG_CONFIG is used and also
    suggests the given filename for "Load" and "Save as" in qconf.

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • QApplication::desktop() returns a pointer to QDesktopWidget, not to
    QWidget.

    Fixes the following compiler error after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1289: error: cannot convert 'QDesktopWidget*' to 'QWidget*' in initialization

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • They are defined in the 'Qt' namespace.

    Fixes the following compiler errors after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In member function 'virtual void ConfigLineEdit::keyPressEvent(QKeyEvent*)':
    scripts/kconfig/qconf.cc:311: error: 'Key_Escape' was not declared in this scope
    scripts/kconfig/qconf.cc:313: error: 'Key_Return' was not declared in this scope
    scripts/kconfig/qconf.cc:314: error: 'Key_Enter' was not declared in this scope

    scripts/kconfig/qconf.cc: In member function 'virtual void ConfigList::keyPressEvent(QKeyEvent*)':
    scripts/kconfig/qconf.cc:653: error: 'Key_Escape' was not declared in this scope
    scripts/kconfig/qconf.cc:666: error: 'Key_Return' was not declared in this scope
    scripts/kconfig/qconf.cc:667: error: 'Key_Enter' was not declared in this scope
    scripts/kconfig/qconf.cc:681: error: 'Key_Space' was not declared in this scope
    scripts/kconfig/qconf.cc:684: error: 'Key_N' was not declared in this scope
    scripts/kconfig/qconf.cc:687: error: 'Key_M' was not declared in this scope
    scripts/kconfig/qconf.cc:690: error: 'Key_Y' was not declared in this scope

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1329: error: 'CTRL' was not declared in this scope
    scripts/kconfig/qconf.cc:1329: error: 'Key_Q' was not declared in this scope
    scripts/kconfig/qconf.cc:1331: error: 'Key_L' was not declared in this scope
    scripts/kconfig/qconf.cc:1333: error: 'Key_S' was not declared in this scope
    scripts/kconfig/qconf.cc:1340: error: 'Key_F' was not declared in this scope

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • They were used as QSplitter::Horizontal resp. QSplitter::Vertical, but
    are defined in the 'Qt' namespace.

    Fixes the following compiler errors after a quick conversion with 'qt3to4',
    which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2.

    scripts/kconfig/qconf.cc: In constructor 'ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow*, const char*)':
    scripts/kconfig/qconf.cc:1213: error: 'Vertical' is not a member of 'QSplitter'

    scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()':
    scripts/kconfig/qconf.cc:1304: error: 'Horizontal' is not a member of 'QSplitter'
    scripts/kconfig/qconf.cc:1311: error: 'Vertical' is not a member of 'QSplitter'

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     
  • These compiler warnings occure when adding -Wall to HOSTCXXFLAGS in
    /Makefile

    scripts/kconfig/qconf.h: In constructor ‘ConfigInfoView::ConfigInfoView(QWidget*, const char*)’:
    scripts/kconfig/qconf.h:274: warning: ‘ConfigInfoView::menu’ will be initialized after
    scripts/kconfig/qconf.h:273: warning: ‘symbol* ConfigInfoView::sym’
    scripts/kconfig/qconf.cc:922: warning: when initialized here

    scripts/kconfig/qconf.cc: In member function ‘void ConfigMainWindow::setMenuLink(menu*)’:
    scripts/kconfig/qconf.cc:1498: warning: enumeration value ‘menuMode’ not handled in switch
    scripts/kconfig/qconf.cc:1498: warning: enumeration value ‘listMode’ not handled in switch

    scripts/kconfig/qconf.cc: In member function ‘void ConfigMainWindow::saveSettings()’:
    scripts/kconfig/qconf.cc:1664: warning: enumeration value ‘menuMode’ not handled in switch
    scripts/kconfig/qconf.cc:1664: warning: enumeration value ‘listMode’ not handled in switch

    Signed-off-by: Markus Heidelberg
    Signed-off-by: Sam Ravnborg

    Markus Heidelberg
     

29 Jan, 2008

2 commits


21 Oct, 2007

1 commit


26 Jul, 2007

1 commit

  • 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
    Cc: Roman Zippel

    Sam Ravnborg
     

03 May, 2007

1 commit


15 Feb, 2007

5 commits


12 Jan, 2007

1 commit


06 Jan, 2007

1 commit


14 Dec, 2006

2 commits

  • Added function sets "void (*conf_changed_callback)(void)". Call it, if
    .config's changed state changes. Use above in qconf.cc to set gui's
    save-widget's sensitvity.

    Signed-off-by: Karsten Wiese
    Cc: Sam Ravnborg
    Cc: Roman Zippel
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Karsten Wiese
     
  • Run "make xconfig" on a freshly untarred kernel-tree. Look at the floppy disk
    icon of the qt application, that has just started: Its in a normal, active
    state.

    Mouse click on it: .config is being saved.

    This patch series changes things so taht
    after the mouse click on the floppy disk icon, the icon is greyed out.
    If you mouse click on it now, nothing happens.

    If you change some CONFIG_*, the floppy disk icon returns to "active state",
    that is, if you mouse click it now, .config is written.

    This patch:

    Returns sym_change_count to reflect the .config's change state.
    All read only accesses of
    sym_change_count
    are replaced by calls to
    conf_get_changed()
    .
    mconfig.c is manipulated to ask for saving only when
    conf_get_changed() returned true.

    Signed-off-by: Karsten Wiese
    Cc: Sam Ravnborg
    Cc: Roman Zippel
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Karsten Wiese
     

08 Dec, 2006

1 commit


26 Nov, 2006

1 commit


09 Jun, 2006

4 commits


06 May, 2005

1 commit

  • 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
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arnaldo Carvalho de Melo
     

17 Apr, 2005

1 commit

  • 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!

    Linus Torvalds