1. 30 9月, 2006 7 次提交
    • S
      kconfig/lxdialog: fix make mrproper · 903947d2
      Sam Ravnborg 提交于
      No Makefile in scripts/kconfig/lxdialog anymore, so do not
      go there during make mrproper.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      903947d2
    • S
      kconfig/lxdialog: support resize · c8dc68ad
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      c8dc68ad
    • S
      kconfig/lxdialog: let <ESC><ESC> behave as expected · f3cbcdc9
      Sam Ravnborg 提交于
      <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: NSam Ravnborg <sam@ravnborg.org>
      f3cbcdc9
    • S
      kconfig/menuconfig: lxdialog is now built-in · 2982de69
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      2982de69
    • S
      kconfig/lxdialog: add a new theme bluetitle which is now default · 350b5b76
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      350b5b76
    • S
      kconfig/lxdialog: add support for color themes and add blackbg theme · 45897213
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      45897213
    • S
      kconfig/lxdialog: refactor color support · 98e5a157
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      98e5a157
  2. 25 9月, 2006 2 次提交
  3. 01 8月, 2006 1 次提交
  4. 01 7月, 2006 1 次提交
  5. 09 6月, 2006 15 次提交
  6. 20 4月, 2006 1 次提交
  7. 15 4月, 2006 1 次提交
  8. 11 4月, 2006 4 次提交
  9. 13 3月, 2006 1 次提交
  10. 06 3月, 2006 1 次提交
  11. 27 2月, 2006 1 次提交
  12. 10 2月, 2006 1 次提交
  13. 06 2月, 2006 1 次提交
  14. 21 1月, 2006 1 次提交
    • S
      kconfig: fix /dev/null breakage · 3835f821
      Sam Ravnborg 提交于
      While running "make menuconfig" and "make mrproper"
      some people experienced that /dev/null suddenly changed
      permissions or suddenly became a regular file.
      The main reason was that /dev/null was used as output
      to gcc in the check-lxdialog.sh script and gcc did
      some strange things with the output file; in this
      case /dev/null when it errorred out.
      
      Following patch implements a suggestion
      from Bryan O'Sullivan <bos@serpentine.com> to
      use gcc -print-file-name=libxxx.so.
      
      Also the Makefile is adjusted to not resolve value of
      HOST_EXTRACFLAGS and HOST_LOADLIBES until they are actually used.
      This prevents us from calling gcc when running make *clean/mrproper
      
      Thanks to Eyal Lebedinsky <eyal@eyal.emu.id.au> and
      Jean Delvare <khali@linux-fr.org> for the first error reports.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      ---
      3835f821
  15. 16 1月, 2006 1 次提交
    • S
      kbuild: create .kernelrelease at *config step · 2244cbd8
      Sam Ravnborg 提交于
      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: NSam Ravnborg <sam@ravnborg.org>
      2244cbd8
  16. 15 1月, 2006 1 次提交
    • S
      kconfig: get rid of stray a.o, support ncursesw · 60f33b80
      Sam Ravnborg 提交于
      scripts/kconfig/lxdialog/check-lxdialog.sh uses gcc to check for
      what libraries are present. Redirect output to /dev/null
      so we do not generate an a.out.
      Also included support for ncursesw - so if present prefer that
      instead of ncurses.
      The order is now (first is preferred):
      1) ncursesw
      2) ncurses
      3) curses
      
      The latter is to support SunOS.
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      60f33b80