1. 06 May, 2007 2 commits
  2. 02 May, 2007 8 commits
  3. 14 Feb, 2007 5 commits
  4. 11 Jan, 2007 1 commit
  5. 06 Jan, 2007 1 commit
  6. 13 Dec, 2006 4 commits
  7. 07 Dec, 2006 1 commit
  8. 25 Nov, 2006 2 commits
  9. 13 Nov, 2006 1 commit
  10. 11 Oct, 2006 1 commit
    • Luca Tettamanti's avatar
      [PATCH] Fix menuconfig build failure due to missing stdbool.h · 1db11ea6
      Luca Tettamanti authored
      scripts/kconfig/lxdialog/util.c fails to build because it uses
      true/false without including stdbool.h:
      
      kronos:~/src/linux-2.6$ make O=../linux-build-git menuconfig
        GEN     /home/kronos/src/linux-build/Makefile
        HOSTCC  scripts/kconfig/lxdialog/util.o
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_classic_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: (Each undeclared identifier is reported only once
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:68: error: for each function it appears in.)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:70: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_blackbg_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:101: error: 'true' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:102: error: 'false' undeclared (first use in this function)
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c: In function 'set_bluetitle_theme':
      /home/kronos/src/linux-2.6/scripts/kconfig/lxdialog/util.c:144: error: 'true' undeclared (first use in this function)
      make[2]: *** [scripts/kconfig/lxdialog/util.o] Error 1
      make[1]: *** [menuconfig] Error 2
      make: *** [menuconfig] Error 2
      
      Add <stdbool.h> to dialog.h to fix the breakage.
      Signed-off-by: default avatarLuca Tettamanti <kronos.it@gmail.com>
      Cc: Sam Ravnborg <sam@ravnborg.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      1db11ea6
  11. 01 Oct, 2006 1 commit
  12. 30 Sep, 2006 10 commits
    • Sam Ravnborg's avatar
      kconfig/menuconfig: do not let ncurses clutter screen on exit · e94c5bde
      Sam Ravnborg authored
      Do not initialize ncurses twice - it causes unpredicable
      results. My display was sometimes weird after running
      make menuconfig and I had to execute 'reset' to properly
      restore my display.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      e94c5bde
    • Sam Ravnborg's avatar
      kconfig/lxdialog: clear long menu lines · 737ecae2
      Sam Ravnborg authored
      Menulines that were wider than the available
      line width is now properly null terminated.
      
      While at it renamed the variable choice => line_y
      so it better reflect the usage in do_print_item().
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      737ecae2
    • Sam Ravnborg's avatar
      kbuild: do not build mconf & lxdialog unless needed · c29121b7
      Sam Ravnborg authored
      Due to a limitation in kbuild all objects referred
      by xxx-y or xxx-objs will be build when one of
      the targets needs to e build.
      
      This caused lxdialog to be build pulling in ncurses
      that is not always available.
      So avoid building mconf & lxdialog unless really needed.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c29121b7
    • Sam Ravnborg's avatar
      kconfig/lxdialog: fix make mrproper · 903947d2
      Sam Ravnborg authored
      No Makefile in scripts/kconfig/lxdialog anymore, so do not
      go there during make mrproper.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      903947d2
    • Sam Ravnborg's avatar
      kconfig/lxdialog: support resize · c8dc68ad
      Sam Ravnborg authored
      In all dialogs now properly catch KEY_RESIZE and take proper action.
      In mconf try to behave sensibly when a dialog routine returns
      -ERRDISPLAYTOOSMALL.
      
      The original check for a screnn size of 80x19 is kept for now.
      It may make sense to remove it later, but thats anyway what
      much text is adjusted for.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c8dc68ad
    • Sam Ravnborg's avatar
      kconfig/lxdialog: let <ESC><ESC> behave as expected · f3cbcdc9
      Sam Ravnborg authored
      <ESC><ESC> is used to step one back in the dialogs.
      When lxdialog became built-in pressing <ESC> once would cause one step back
      and pressing <ESC><ESC> would cause two steps back.
      This patch - based on concept from Roman Zippel <zippel@linux-m68k.org> -
      makes one <ESC> a noop and pressing <ESC><ESC> will cause one step backward.
      
      In addition the final yes/no dialog now has the option to go back to the
      the kernel configuration. So if you get too far out you can now go back
      to configuring the kernel without saving and starting all over again.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      f3cbcdc9
    • Sam Ravnborg's avatar
      kconfig/menuconfig: lxdialog is now built-in · 2982de69
      Sam Ravnborg authored
      lxdialog was previously called as an external program causing screen
      to flicker when used. With this patch lxdialog is now built-in.
      It is loosly based om previous work by:  Petr Baudis <pasky@ucw.cz>
      
      Following is a list of changes:
      o Moved build of dialog routings to kconfig Makefile
      o menubox + checklist uses a new item list to hold all menu items
      o in util.c implmented helper function to deal with item list
      o menubox now uses parameters to save scroll state (avoids temp file)
      o textbox now get text to be displayed as parameter and not a file
      o make sure to properly delete subwin's before main windows
      o killed unused files: lxdialog.c msgbox.c
      o modified return value for ESC to match direct calling
      o in a few places the code has been adjusted to 80 char wide
      o in textbox a small refactoring was made to make code remotely readable
      o in mconf removed all unused stuff (functions/variables)
      
      Following is a list of know short comings:
      a) pressing ESC twice will be interpreted as two ESC presses
      b) resize does not work. menuconfig needs to be restarted to be adjusted
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      2982de69
    • Sam Ravnborg's avatar
      kconfig/lxdialog: add a new theme bluetitle which is now default · 350b5b76
      Sam Ravnborg authored
      The bluetitle theme is a slightly modified version of the colorscheme
      that -mm users has been used to. The bluetitle is more readable especially
      on some LCD screens so it is now default.
      Anyone that really wants the old color selection can get it by selecting
      the classic color theme:
      make MENUCONFIG_COLOR=classic menuconfig
      
      The bluetitle theme was modified by Roman Zippel <zippel@linux-m68k.org>
      to further improve readability on LCD screens.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      350b5b76
    • Sam Ravnborg's avatar
      kconfig/lxdialog: add support for color themes and add blackbg theme · 45897213
      Sam Ravnborg authored
      The blackbg theme was originally made by: Han Boetes
      It was copied from a patch by "Randy.Dunlap" <rdunlap@xenotime.net>
      which was also the inspiration source for the color theme support.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      45897213
    • Sam Ravnborg's avatar
      kconfig/lxdialog: refactor color support · 98e5a157
      Sam Ravnborg authored
      Clean up and refactor color support. All color support are now
      in util.c including color definitions.
      In the process introduced a global variable named 'dlg' which is
      used all over to set color - thats the reason why all files are changed.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      98e5a157
  13. 25 Sep, 2006 2 commits
  14. 01 Aug, 2006 1 commit