Procházet zdrojové kódy

Version klish-3.2.0

Serj Kalichev před 1 měsícem
rodič
revize
8046c594cc
6 změnil soubory, kde provedl 40 přidání a 16 odebrání
  1. 0 2
      CHANGES
  2. 29 0
      CHANGES.md
  3. 0 0
      ChangeLog
  4. 2 1
      Makefile.am
  5. 4 2
      README.md
  6. 5 11
      configure.ac

+ 0 - 2
CHANGES

@@ -1,2 +0,0 @@
-See http://libcode.org/projects/klish/repository/revisions for the changes of the git repository.
-See the http://klish-cli.blogspot.com/ for the release changes and another klish related news.

+ 29 - 0
CHANGES.md

@@ -0,0 +1,29 @@
+# The "klish" project changelog
+
+## 3.2.0
+
+* Don't search for completion/help in upper levels when line is empty.
+* Don't show help for upper levels when single word is unfinished.
+* Fixed klish pipe hanging when filter exits before main command.
+* Log message when scheme is illegal or not defined.
+* New ksym_new_fast() function added for plugins.
+* Fixed memory leak when arg validation returns non-empty string.
+* Fixed possible memory leak while parameters validation.
+* The "transparent=true/false" attribute that determines whether the upper path level elements are available while command line parsing.
+* The COND tag is implemented that allows to enable or disable parent elements.
+* Fix ACTION's retval processing.
+* doc: Fixed documentation.
+* doc: Added English documentation.
+* examples: Updated XML-config examples.
+* plugin-script: New environment variable KLISH_LINE.
+* plugin-script: Environment variable for the multi-value parameters.
+* plugin-script: Fixed memory leak.
+* plugin-klish: Prompt allows escape character '\e'.
+* plugin-klish: The "prompt" symbol understands hex codes.
+* plugin-klish: Speed up builtin ptype syms.
+* plugin-klish: Support for the short commands with '|' delimeter syntax.
+* plugin-klish: Update COMMAND_CASE PTYPE.
+* plugin-klish: STRING PTYPE supports regular expressions.
+* plugin-lua: Script can set a return code by "return <num>".
+
+Thanks to Andrey Eremin <korbezolympus@gmail.com> and Peter Kosyh <p.kosyh@gmail.com> for the patches and bugfix.

+ 0 - 0
ChangeLog


+ 2 - 1
Makefile.am

@@ -33,7 +33,8 @@ EXTRA_DIST = \
 	plugins/Makefile.am \
 	klish.xsd \
 	LICENCE \
-	README.md
+	README.md \
+	CHANGES.md
 
 include $(top_srcdir)/bin/Makefile.am
 include $(top_srcdir)/dbs/Makefile.am

+ 4 - 2
README.md

@@ -17,13 +17,15 @@ The main target for the klish is a Linux platform.
 ## Build
 
 The version 3 needs libfaux (https://faux.libcode.org) to be built.
-The klish-3.1.0 is based on [faux-2.2.0](https://src.libcode.org/download/faux/faux-2.2.0.tar.xz).
+The klish-3.2.0 is based on [faux-2.2.1](https://src.libcode.org/download/faux/faux-2.2.1.tar.xz).
 
 
 ## Resources
 
 Homepage : http://klish.libcode.org
 
+Changelog : https://src.libcode.org/pkun/klish/src/master/CHANGES.md
+
 Docs :
 
 * https://src.libcode.org/pkun/klish/src/master/docs/klish3.en.md (English)
@@ -37,7 +39,7 @@ Dev mailing list : http://groups.google.com/group/klish-dev
 
 Download : https://src.libcode.org/download/klish/
 
-Latest release : https://src.libcode.org/download/klish/klish-3.1.0.tar.xz
+Latest release : https://src.libcode.org/download/klish/klish-3.2.0.tar.xz
 
 Author : Serj Kalichev `pkun(_at_)libcode.org`
 

+ 5 - 11
configure.ac

@@ -1,13 +1,11 @@
 #                                               -*- Autoconf -*-
 # Process this file with autoconf to produce a configure script.
 m4_define([MAJOR_VERSION], 3)
-m4_define([MINOR_VERSION], 1)
+m4_define([MINOR_VERSION], 2)
 m4_define([MICRO_VERSION], 0)
 
-AC_PREREQ(2.59)
-AC_INIT([klish],
-        [MAJOR_VERSION.MINOR_VERSION.MICRO_VERSION],
-        [serj.kalichev at gmail dot com])
+AC_PREREQ([2.71])
+AC_INIT([klish],[MAJOR_VERSION.MINOR_VERSION.MICRO_VERSION],[serj.kalichev at gmail dot com])
 
 AC_CONFIG_AUX_DIR(aux_scripts)
 AC_CONFIG_MACRO_DIR([m4])
@@ -22,8 +20,7 @@ AC_USE_SYSTEM_EXTENSIONS
 
 # Checks for programs.
 AC_PROG_CC
-AC_LIBTOOL_WIN32_DLL
-AC_PROG_LIBTOOL
+LT_INIT
 
 AC_CONFIG_HEADERS([config.h])
 AM_INIT_AUTOMAKE(subdir-objects)
@@ -144,10 +141,7 @@ AC_CHECK_HEADERS(locale.h, [],
 AC_DEFUN([AM_LANGINFO_CODESET],
 [
   AC_CACHE_CHECK([for nl_langinfo and CODESET], [am_cv_langinfo_codeset],
-    [AC_TRY_LINK([#include <langinfo.h>],
-      [char* cs = nl_langinfo(CODESET); return !cs;],
-      [am_cv_langinfo_codeset=yes],
-      [am_cv_langinfo_codeset=no])
+    [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]], [[char* cs = nl_langinfo(CODESET); return !cs;]])],[am_cv_langinfo_codeset=yes],[am_cv_langinfo_codeset=no])
     ])
   if test $am_cv_langinfo_codeset = yes; then
     AC_DEFINE([HAVE_LANGINFO_CODESET], [1],