Go to file
Karel Zak 949ea05f1a libsmartcols: support custom wrap and remove SCOLS_FL_WRAPNL
This new API provides full control on multi-line cells, you can wrap
text by new lines (build-in support) or by another way (after words,
commas, etc.) Changes:

* new scols_column_set_wrapfunc() sets pointers to two callback functions

   1/ chunksize() - returns largest data chunk size; used when we
                    calculate columns width
   2/ nextchunk() - terminate the current chunk and returns pointer to
                    the next; used when we print data

* remove SCOLS_FL_WRAPNL and add new functions scols_wrapnl_chunksize()
  and scols_wrapnl_nextchunk() to provide build-in functionality to
  wrap cells on \n

* remove scols_column_is_wrapnl() add scols_column_is_customwrap()
  (returns true if custom wrap functions are defined)

* add scols_column_set_safechars() and scols_column_get_safechars() to
  allow to control output encoding, safe chars are not encoded by \xFOO

* modify "fromfile" test code to use build-in scols_wrapnl_* callbacks
  for "wrapnl" tests

* add new function scols_column_get_table()

Signed-off-by: Karel Zak <kzak@redhat.com>
2016-09-26 11:20:07 +02:00
Documentation kill: remove pid command-name to option alias 2016-08-14 13:30:16 +01:00
bash-completion bash-completion: update chrt completion 2016-04-04 10:26:03 +02:00
config build-sys: inform gtk-doc about __ul_attribute__ 2013-03-15 14:58:08 +01:00
disk-utils libsmartcols: support LIBSMARTCOLS_DEBUG_PADDING=on 2016-09-07 12:25:06 +02:00
include debug: use const void * for ul_debugobj() 2016-09-21 08:22:35 +02:00
lib libsmartcols: support multi-line cells based on line breaks 2016-09-06 10:51:25 +02:00
libblkid libblkid: [exfat] Limit maximum number of iterations in find_label 2016-08-30 13:50:51 +02:00
libfdisk debug: use const void * for ul_debugobj() 2016-09-21 08:22:35 +02:00
libmount libmount: Preserve empty string value in optstr parsing 2016-08-10 13:59:52 -07:00
libsmartcols libsmartcols: support custom wrap and remove SCOLS_FL_WRAPNL 2016-09-26 11:20:07 +02:00
libuuid build-sys: use AC_PROG_MKDIR_P and remove a few gnuisms 2016-03-13 21:48:09 +01:00
login-utils su, runuser, setpriv: create links between man pages 2016-08-18 11:12:44 +02:00
m4 build-sys: add UL_REQUIRES_COMPILE macro 2016-06-03 13:37:15 +02:00
misc-utils findmnt: (verify) add docs 2016-09-23 13:21:02 +02:00
po libsmartcols: commit missing file 2016-09-06 11:18:18 +02:00
schedutils taskset: clarify that masks are always hex in man page 2016-08-09 11:31:41 +02:00
sys-utils findmnt: (verify) add docs 2016-09-23 13:21:02 +02:00
term-utils misc: always check setenv(3) return value 2016-08-12 21:25:36 +01:00
tests trivial: use tabs consistently 2016-09-20 15:36:55 +02:00
text-utils misc: simplify if clauses [oclint] 2016-07-21 21:14:33 +01:00
tools build-sys: add tools/Makemodule.am 2016-05-25 15:59:15 +02:00
.editorconfig add .editorconfig 2016-01-25 00:12:14 +01:00
.gitignore build-sys: ignore vim .swp files 2016-03-22 14:12:25 +01:00
.travis-functions.sh travis: fix OSX, glibtoolize could not find sed 2016-08-11 18:04:00 +02:00
.travis.yml travis: add OSX build 2016-03-13 21:51:18 +01:00
AUTHORS docs: update AUTHORS file 2016-04-12 12:30:40 +02:00
COPYING docs: corrections to FSF license files, and postal address 2012-02-24 14:13:35 +01:00
ChangeLog build-sys: use AUTOMAKE_OPTIONS = gnu 2011-05-26 15:04:01 +02:00
Makefile.am build-sys: add tools/Makemodule.am 2016-05-25 15:59:15 +02:00
NEWS build-sys: release++ (v2.28) 2016-04-12 12:33:03 +02:00
README docs: update links to http://git.kernel.org/ web repository views 2013-11-12 11:47:57 +01:00
README.licensing COPYING: fix grammar of referring phrase, and indicate location better 2013-10-08 15:38:39 +02:00
autogen.sh build-sys: fix [g]libtoolize version for OSX 2016-02-18 12:53:48 +01:00
configure.ac findmnt: (verify) add source verification 2016-09-23 13:21:02 +02:00
util-linux.doap doap: fix download URL 2016-01-25 15:42:53 +01:00

README

                                  util-linux

              util-linux is a random collection of Linux utilities

     Note that in years 2006-2010 this project used the name "util-linux-ng".

MAILING LIST:

      E-MAIL: util-linux@vger.kernel.org
      URL:    http://vger.kernel.org/vger-lists.html#util-linux


DOWNLOAD:

      ftp://ftp.kernel.org/pub/linux/utils/util-linux/


SOURCE CODE:

      Web interface:
          http://git.kernel.org/cgit/utils/util-linux/util-linux.git
          https://github.com/karelzak/util-linux
      Checkout:
          git clone git://git.kernel.org/pub/scm/utils/util-linux/util-linux.git util-linux


NLS (PO TRANSLATIONS):

      PO files are maintained by:
          http://translationproject.org/domain/util-linux.html


VERSION SCHEMA:

      Standard releases:

          <major>.<minor>[.<maint>[.<bugfix>]]

             major = fatal and deep changes
             minor = typical release with new features
             maint = maintenance releases; bug fixes only
             bugfix = unplanned releases for critical/security bugs

      Development releases:

         <major>.<minor>-rc<N>