2016-01-16  Assaf Gordon  <assafgordon@gmail.com>

	maint: update date in NEWS
	* NEWS: update release version, metion version bump.

	doc: add 'field delimiters' section to manual
	* doc/datamash.texi: add new 'field delimiters' section.

2016-01-02  Assaf Gordon  <assafgordon@gmail.com>

	maint: update gnulib to latest version
	* gnulib: update to latest version with copyright year adjusted
	* tests/init.sh,
	  bootstrap: sync with latest gnulib.

	maint: update all copyright year number ranges

2015-12-31  Assaf Gordon  <assafgordon@gmail.com>

	maint: rename pmccabe makefile target name
	* Makefile.am: rename 'CYCLO_SOURCES' to 'cyclo_sources', to avoid
	  confusing autoreconf about missing library 'CYCLO'.

	doc: add rounding,binning sections to manual

	doc: add 'crosstab' section to manual

	doc: add 'check' usage example

	doc: add 'groupby on /etc/passwd' usage example section

	doc: merge reverse+transpose nodes

	doc: added 'Usage Examples' chapter

	doc: reword 'overview' section

	doc: add custom CSS to the texinfo HTML output
	* doc/datamash-texinfo.css: new custom styles
	* doc/local.mk: use new CSS file in 'make html'
	* Makefile.am: use new CSS file in 'make web-manual'

	doc: update manual with new operations

2015-12-25  Benno Schulenberg  <bensberg@justemail.net>

	datamash: improve an error message

	datamash: gettextize an option description as a whole

	datamash: remove redundant header, and refer correctly to the man page

	datamash: improve the punctuation and grammar of the usage text

2015-12-19  Assaf Gordon  <assafgordon@gmail.com>

	doc: update NEWS for upcoming version

	maint: update gnulib submodule to latest version

2015-12-17  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new operation: strbin (binning strings to numeric value)
	hashes a text string into a number, returns values from 0 to #bins
	(default 10). Can be used to bin many free-text input values into a
	finite (small) set of bins. Identical strings will be hashed to same
	numeric values.

	Examples:
	assign a bin (0 to 9) to a list of strings (bin number added
	as last field):

	    seq 100 | xargs printf "user-%d\n" \
	       | datamash --full strbin 1

	identical input values will be assigned identical bin number:

	    ( seq 100 ; seq 20 ) | xargs printf "user-%d\n" \
	       | datamash --full strbin 1

	Splitting input values into 10 output files, while keeping
	identical keys in the same file:

	    ( seq 100 ; seq 20 ) | xargs printf "user-%d\n" \
	       | datamash --full strbin 1 \
	       | awk '{print $0 > $NF ".txt"}'

	* bootstrap.conf: add gnulib's hash-pjw-bare module
	* src/op-defs.{c,h}: add new op constant
	* src/field-ops.{c,h}: implement new operation
	* src/op-parser.c: strbin can take a parameter (# bins)
	* src/datamash.c: update usage()
	* man/datamash.x: update man page
	* contrib/bash-completion/datamash: add new op
	* tests/datamash-error-msgs.pl,
	  tests/datanash-strbin: test new operation
	* Makefile.am: add new tests

2015-12-17  Assaf Gordon  <assafgordon@gmail.com>

	maint: use gnulib's pmccabe2html module
	Generate report with:
	    make cyclo-datamash.html

	* bootstrap.conf: add the pmccabe2html module
	* Makefile.am: add new target
	* .gitignore: ignore generated html file

2015-11-12  Assaf Gordon  <assafgordon@gmail.com>

	maint: remove superfluous 'with' from doc's "invariant section"
	pointed by Debian/Ubuntu package maintainer (alejandro@debian.org).

	* doc/datamash.texi: remove 'with' from 'invariant section' of GFDL
	  to comply with official wording.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	build: prefer %PRIuMAX to %zu in printf
	%zu doesn't play well with mingw cross-compilers.

	* src/column-headers.c, src/op-parser.c: include <inttypes.h>,
	   use %PRIuMAX instead of '%zu' in printf .

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	build: add gnulib's stpcpy module (for mingw)
	* bootstrap.conf: add stpcpy.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	datamash: fail on invalid cov/pearson input
	Unequal number of items can occur if ignoring N/A values.

	* src/field-ops.c: fail if the two fields have different number of
	    items.
	* tests/datamash-pair-tests.pl: tests such inputs.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	datamash: fail on incorrect usage
	* src/op-parser.c: fail when primary operations are given fields
	    ranges or pairs (e.g. 'groupby 1:2'). fail when crosstab is
	    given more than one operation.
	* tests/datamash-{crosstab,error-msgs,parser}.pl: add new tests.

	doc: improve man page (new ops, examples)
	* man/datamash.x: mention new operations,
	   use 'field' instead of 'column',
	   add more examples, improve formatting.

	datamash: improve usage()
	* src/datamash.c: improve usage(), mention new operations,
	    use 'field' instead of 'column'.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	new operations: round,floor,ceil,trunc,frac
	typical usage:

	    $ (echo X ; seq -1 0.5 1 ) \
	        | datamash -H --full round 1 floor 1 ceil 1 trunc 1 frac 1
	        X  round(X)  floor(X)  ceil(X)  trunc(X)  frac(X)
	     -1.0  -1        -1        -1       -1         0
	     -0.5  -1        -1         0        0        -0.5
	      0.0   0         0         0        0         0
	      0.5   1         0         1        0         0.5
	      1.0   1         1         1        1         0

	* bootstrap.conf: add gnulib's floorl,ceill,roundl,modfl modules.
	* src/op-defs.{c,h}: add new operations constants.
	* src/field-ops.c: handle new operations.
	* tests/datamash-tests-2.pl: add tests.
	* contrib/bash-completion/datamash: add new operations.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	utils: add functions for long-double zero handling
	* src/utils.c: is_zero(), is_signed_zero() - retruns true/false.
	   pos_zero(): negates a negative zero, nop otherwise.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	new operation: bin (binning into buckets)
	typical usage (bin into buckets of size 5):

	    $ seq 0 10 | ./datamash bin:5 1
	    0
	    0
	    0
	    0
	    0
	    5
	    5
	    5
	    5
	    5
	    10

	* src/op-defs.{c,h}: add new operation constant and name.
	* src/op-parser.c:   special handling for operation with an optional
	                     parameter.
	* src/field-ops.h:   add optional parameter to struct fieldop.
	* src/field-ops.c:   implement binning operation.
	* tests/*.pl:        add tests

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	datamash: reword error messages
	* src/op-parser.c: use 'field' instead 'column', standarize error
	    messages.
	* tests/*.pl: adapt tests to new wording.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	build: fix long-double precision under NetBSD
	Under NetBSD (and others?) default precision is set to 'double'
	even for 'long double' variables. This results in incorrect
	results for 'roundl' and crahes for 'expl' (when using
	gnulib's implementations.
	Force 'long double' precision. See gnulib's 'lib/fpucw.h' file
	for many more details.

	* bootstrap.conf: add fpucw module.
	* src/datamash.c: force 'long double' precision.

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	tests: add rmdup expensive tests
	* src/datamash.c: add undocumented option to reduce initial size of
	   rmdup structures (forcing more frequent reallocations).
	* tests/datamash-valgrind.sh: use new option, validate results.

	tests: add pcov with header
	* tests/datamash-pair-tests.pl: tests pcov (taking two fields) with
	   output headers (print 1 field, 1 header).

2015-07-13  Assaf Gordon  <assafgordon@gmail.com>

	refactor: create new scanner module
	Use proper tokenizing instead of relying on argc/argv 'tokens' with
	ad-hoc string manipulation. In the future, this will allow accepting the
	script as on string (like sed's -e).

	* bootstrap.conf: add gnulib's c-type module
	* src/op-scanner.{c,h}: new scanner module, improved tokenizing.
	* src/op-parser.c: use new scanner, support _STANDALONE_ mode for
	    quicker testing (without autotools,gnulib).
	* src/op-defs.c: prefer name 'groupby' to 'grouping' when reporting errors.
	* src/system.h: support_STANDALONE_ mode for
	    quicker testing (without autotools,gnulib).
	* tests/datamash-{tests,parser,crosstab}.pl: adapt error message text
	    to new parser (no change in functionality).
	* Makefile.am: include new scanner.
	* po/POTFILES.in: include new scanner.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	build: move 'assert.h' to 'system.h'
	* src/op-defs.c: move 'assert.h' from here...
	* src/system.h: to here.
	  avoids 'syntax-check' warings about including 'assert.h' without using
	  it (it is used indirectly with 'internal_error()' macro).

	build: conditionally include minmax.h
	Don't include "lib/minmax.h" if MAX is already defined.
	Seems redundant (per the comment in minmax.h), but tcc 0.9.26 still fails.

	maint: force -std=c99 with static analysis
	* cfg.mk: force -std=c99 when using clang's scan-build program, as it
	   does not to do so automatically, and compliation fails.

	maint: improve configure messages
	* configure.ac: simplify printing of examples directory;
	  print bash-completion directory.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: improve,install bash-completion script
	By default, script installed to program's datadir, e.g.
	  /usr/local/datamash/share/bash-completion.d/datamash
	and the user can manually source it from ~/.bashrc.

	Optionally, can be installed to another location, e.g.
	  ./configure --with-bash-completion-dir=/etc/bash_completion.d
	to be automatically loaded.

	* contrib/bash-completion/datamash: fix script, improve suggestions,
	  do not use '_init_completion' (not available in bash-comp<1.9)
	* configure.ac: add option --with-bash-completion-dir
	* Makefile.am: install script.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new operation: Pearson Correlation
	usage (calculate pearson (population) correlation coefficient on fields 1,2):
	  datamash ppearson 1:2 < 1.txt

	* src/op-defs.{c,h}: new op enums.
	* src/op-parser.c:   handle new op.
	* src/utils.{c,h}:   implement pearson correlation function.
	* src/field-ops.c:   handle new op.
	* tests/datamash-pair-tests.pl: add tests

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new operation: covariance
	usage (calculate population-covariance on fields 1,2):
	  datamash pcov 1:2 < 1.txt

	* src/op-defs.{c,h}: new op enums.
	* src/op-parser.c: handle new operation, with special parsing for column
	   pairs (e.g. '1:2').
	* src/field-ops.{c,h}: implement new operation, and add master/slave
	   field-op options (as covariance is implemented as two linked field
	   ops, one for each column).
	* src/datamash.c: skip 'slave' field-ops when printing.
	* tests/datamash-parser.pl: test column-pairs parsing
	* tests/datamash-pair-tests.pl: test column-pair operations.
	* tests/datamash-valgrind.sh: test covariance operation.
	* Makefile.am: include new tests.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: utils: add covariance implementation
	* src/utils.{c,h}: covariance_value() - new function.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: improve parser, allow field range
	allows: datamash sum 1-5,7-9

	* src/op-parser.c: improve field parsing
	* tests/datamash-parser.pl: add new tests

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new feature: check
	reports back number of lines,fields - or exit with failure if the input
	lines do have have same number of fields.

	usage:
	    $ seq 10 | paste - - | datamash check
	    5 lines, 2 fields

	    $ seq 9 | paste - - | datamash check
	    line 4 (2 fields):
	      7 8
	    line 5 (1 fields):
	      9
	    ./datamash: check failed: line 5 has 1 fields (previous line had 2)

	* src/datamash.c: tabular_check_file() - new function.
	* src/op-defs.{h,c}: new mode enum.
	* src/op-parser.c: handle new mode.
	* tests/datamash-check-tabular.pl: add tests.
	* Makefile.am: add new test file.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	maint: git-ignore more files

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new feature: crosstab
	usage:
	    datamash crosstab 1,2 sum 3

	* src/crosstab.{c,h} - implementation
	* src/datamash.c     - handle new crosstab processing mode.
	* src/op-defs.{c,h}  - additional crossab constants.
	* src/op-parser.c    - special handling for crosstab mode.
	* tests/datamash-crosstab.pl - new tests.
	* Makefile.am        - add new files.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	maint: add GL_ATTRIBUTE_PURE where needed

	maint: fix NEWS syntax-check
	* NEWS: add missing empty line.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	maint: add coverage hints
	1. Add LCOV_EXCL_BR_LINE to skip few switch cases where the default case
	   should never be reached.
	2. Add LCOV_EXCL_LINE.

	LCOV_EXCL_BR_LINE requires geninfo from lcov>=1.11 .

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	maint: remove unused strcnt module

	datamash: improve parser module, add tests
	* src/datamash.c: remove redundant left-over code.
	* src/op-parser.c: improve token processing
	* src/op-defs.c: rename 'grp' alias to 'gb' (=groupby)
	* tests/datamash-parser.pl: new tests
	* Makefile.am: add new tests.

	maint: fix syntax-check errors

	datamash: move config vars to text-options
	* src/datamash.c,src/field-ops.c: move several configuration
	   parameters from here ...
	* src/text-options.{c,h}: ... to here.

	maint: fix empty variable init
	* src/field-ops.c: CLANG complained about '{0}'. replace with memset().

	refactor: move field-operation list.
	* src/field-ops.{c,h}: refactored to handle just one struct at a time.
	   private functions removed from the header file.
	* src/op-parser.{c,h}: the list of field-ops is handled here.
	* src/datamash.c: adapted as needed.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	refactor: create parsing module
	1. Better handling of processing modes (e.g. group-by/transpose/reverse/rmdup)
	   vs operations (e.g sum/count/min/max/mean).
	2. Support new syntax:
	     datamash groupby 1,2 sum 3
	   equivalent to:
	     datamash -g 1,2 sum 3

	* src/op-defs.{c,h} - list of processing modes and operations.
	* src/op-parser.{c,h} - parsing module. returns structure with parsed
	   information (mode, grouping fields, operations, etc.).
	* src/op-fields.{c,h} - adapt to new parsing, remove old pasring functions.
	* src/datamash.c - adapt to new parsing module.
	* tests/*.pl - minor changes to error messages.

2015-06-25  Assaf Gordon  <assafgordon@gmail.com>

	refactor: extract group-processing to a function
	* src/datamash.c:
	  process_group(): new function to print/summarize each group.

	refactor: fields-ops printing
	* src/field.ops{h,c}:
	  field_op_summarize_empty(), field_op_summarize():
	    store results in 'op->out_buf', don't directly print to stdout.
	  summarize_field_ops(), field_op_print_empty_value():
	    print buffer to stdout.

	refactor: print empty values (for testing)
	* src/datamash.c: move empty value printing code from here ...
	* src/field-ops.{h,c}: ... to new function field_op_print_empty_value().

2015-06-21  Assaf Gordon  <assafgordon@gmail.com>

	maint: add NEWS about 1.0.7 features

2015-05-28  Assaf Gordon  <assafgordon@gmail.com>

	build: update gettext/autoconf/automake versions
	* bootstrap.conf: require gettext>=0.19.4, autoconf=>2.62,
	automake>=1.11.1.
	* configure.ac: require gettext=>=0.19.4
	* po/ChangeLog: updated to mention gettext 0.19.4 by 'gettextize -f'

2015-05-27  Assaf Gordon  <assafgordon@gmail.com>

	maint: update gnulib to latest version.
	specifically, for mingw fixes:
	http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00026.html
	http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00030.html
	http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00031.html

2015-05-26  Assaf Gordon  <assafgordon@gmail.com>

	maint: improve printf portability, remove mingw hack
	* bootstrap.conf: use gnulib's inttypes,stdint,extensions modules.
	See http://lists.gnu.org/archive/html/bug-gnulib/2015-05/msg00021.html .
	* configure.ac: remove mingw hack. gnulib's extensions module should
	take care of making PRIuMAX work correctly.
	* src/datamash.c: use PRIuMAX as format speficier in printf, instead of
	previous ugly mingw hack (which also didn't work with translations, see
	http://lists.gnu.org/archive/html/bug-datamash/2015-05/msg00001.html ).

	maint: avoid compiler warning about no-return.
	* src/fields-ops.c: add 'return' which should never be reached.

2015-05-19  Assaf Gordon  <assafgordon@gmail.com>

	tests: improve portability of perl Digest::MD5
	On some systems (Centos7, Fedora21), Perl's Digest::MD5 is not installed
	by default (despite being official a core module).
	If so, skip the MD5 tests instead of failing.

	* tests/datamash-md5.pl: separate tests file for MD5.
	* tests/datamash-tests{,-2}.pl: don't use Digest::MD5 by default.
	* Makefile.am: add the new test file

2015-05-18  Assaf Gordon  <assafgordon@gmail.com>

	maint: improve tests portability of inf/nan
	Depending on the OS/libc, printf(Not-a-number) can be
	'nan' or 'NaN'. printf(Infinity) can be 'inf', 'Inf', 'Infinity'.
	Instead of guessing it, add undocumented option to print the
	value on the current system.

	* src/datamash.c: add undocumented options to print the values of
	  inf/nan/progname.
	* tests/datamash-{tests,tests-2,stats}.pl: use the undocumented
	  option as the expected result string of various tests.

2015-01-17  A. Gordon  <assafgordon@gmail.com>

	build: update to lastest gnulib
	* gnulib: Update to latest
	* tests/init.sh: update from gnulib

2015-01-17  Benno Schulenberg  <bensberg@justemail.net>

	doc: fix some inconsistencies

	doc: do not mention the nonexistent options -h and -v

2015-01-17  A. Gordon  <assafgordon@gmail.com>

	maint: update copyright year to 2015

	maint: enable po translation
	* bootstrap.conf: remove SKIP_PO
	* .gitignore: ignore fetched po/ files

2014-11-27  A. Gordon  <assafgordon@gmail.com>

	datamash: new option '--narm': ignore NA/NaN values
	Suggested by Brandon Invergo:
	http://lists.gnu.org/archive/html/bug-datamash/2014-11/msg00002.html

	* src/utils.{h,c}: is_na() new function
	* src/field-ops.{c,h}:
	    field_op_collect(): detect and skip NA/NaN values.
	    field_op_summarize_empty(): print results of empty values.
	    field_op_summarize(): call above function if no values.
	* src/datamash.c: update usage(), main()
	* doc/datamash.texi: mention new option
	* tests/datamash-tests-2.pl: add tests for new option.

2014-10-05  A. Gordon  <assafgordon@gmail.com>

	maint: update syntax-check rule to allow digits
	* cfg.mk: change regex in 'sc_prohibit_test_backticks' rule to allow digits
	  in file names of tests. Also remove two unrelated file names
	  (left-overs from 'coreutils')

2014-10-05  A. Gordon  <assafgordon@gmail.com>

	datamash: keep correct lines with '--full'
	Discussed in https://github.com/agordon/datamash/issues/3 ,
	and also existed in (very) old revisions of 'calc'.

	When using a selection operation (first/last/min/max/etc) which
	selects one line out of the group, and combining with --full,
	this ensures the correct line is selected (not just the correct
	fields intemixed with the values of the first line).

	* src/datamash.c: keep the correct line
	* src/field-ops.{c,h}: for selection operation, determine whether to
	    keep the line or not.
	* src/datamash-tests.pl: adapt one test of 'lst' to new behavior.
	* src/datamash-tests-2.pl: tests new --full behavour

2014-10-05  A. Gordon  <assafgordon@gmail.com>

	maint: add 'static-analysis' make target
	Example:
	    make static-analysis
	or:
	    make static-analysis-configure
	    make static-analysis-make

	Uses clang's scan-build static analysis tool to analyze the code.

	Use the two-step method to change code and re-analyze without
	re-runnning './configure' again.

2014-09-11  A. Gordon  <assafgordon@gmail.com>

	build: Enable build using Mingw cross-compilers
	* configure.ac: add flag and auto-detection for mingw
	* Makefile.am: add compilation flag
	* src/datamash.c: Use conditional printf type for size_t ("%zu" for all
	  unixes, "%Iu" for mingw)
	* HACKING.md: mention this issue
	* build-aux/check-remote-make-extra.sh: add mingw checks

	maint: add gnulib 'strsep' and 'random' modules
	These modules were missing when cross-compiling with mingw.
	* bootstrap.conf: add missing modules
	* m4/.gitignore: add files

2014-08-21  A. Gordon  <assafgordon@gmail.com>

	maint: expand HACKING.md file
	* HACKING.md: add notes.
	* cfg.mk: skip syntax-check on HACKING.md for few rules.

	datamash: improve delimiter edge-case handling
	* src/datamash.c: reject NUL delimiter, prevent shell-quoting problems
	  when sorting with single-quote delimiter.
	* tests/datamash-tests.pl: add tests for these edge-cases.

	datamash: improve '--group' parameter parsing
	* src/strcnt.{c,h}: new utility function to count characters in string.
	* Makefile.am: add new module.
	* src/datamash.c: parse_group_spec(): improve parsing code.
	* tests/datamash-tests.pl: add more tests.

2014-08-12  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new feature: accept named columns
	Examples:
	    datamash -H sum price < input.txt
	       (If 'input.txt' has a column named 'price').

	    datamash -H -g id sum 2 < FILE
	       (assuming FILE has column named 'id')

	Suggested by Shaun Jackman (sjackman@gmail.com).

	* bootstrap.conf: use gnulib's xstrndup module.
	* src/field-ops.{h,c}: if column parameter is not a valid number,
	  keep parameter as string, and defer finding the number to later.
	* src/column-headers.{h,c}: add a function to get the column number by
	  its name.
	* src/datamash.c: process_file(): if some column are named, try to find
	    the columns' number based on the header line, or exit with an error.
	  parse_group_spec(): optionally use names.
	  process_input_header(), remove_dups_in_file(): if grouping/operations
	    use named columns, find column number after reading the header line.
	  usage(): mention named columns.
	* tests/datamash-tests.pl: adapt existing tests to new error messages,
	  add new tests for this feature.
	* man/datamash.x: add named-columns examples.

2014-08-12  Assaf Gordon  <assafgordon@gmail.com>

	maint: improve 'syntax-check'

2014-08-08  A. Gordon  <assafgordon@gmail.com>

	maint: new 'coverage-expensive' target
	* cfg.mk: add 'coverage-expensive' target, for better coverage.

	maint: improve build-check scripts
	* build-aux/check-remote-make-all.sh: accept -c/-b/-m/-e arguments and
	pass them to 'check-remote-make.sh' script.
	* build-aux/check-remote-make-extra.sh: check cross-compilation and
	other compilers
	* build-aux/check-remote-make-git.sh: check building from git
	repository.
	* build-aux/prerelease-checks.sh: use new script.

2014-08-08  Assaf Gordon  <assafgordon@gmail.com>

	tests: test more rmdup edge-cases

	datamash: fix header line edge-case
	* src/datamash.c: if the input contains a header line but no further lines,
	print the output header line correctly.
	* tests/datamash-tests.pl: add tests for this edge case.

2014-08-08  A. Gordon  <assafgordon@gmail.com>

	datamash: improve header handling in rmdup/reverse
	* src/datamash.c: handle input/output header combinations.
	* tests/datamash-tests.pl: add tests
	* tests/datamash-transpose.pl: add tests

	maint: add git-log-fix file
	* build-aux/git-log-fix: this file is used by gnulib's build module,
	but after gnulib ugprade it was removed. Add it back.

	datamash: improve debase64 error handling
	* src/field-ops.{c,h}: return error code on failed base64 decoding.
	* src/datamash.c: handle decoding errors.
	* tests/datamash-tests.pl: test failed base64 decoding.
	* tests/datamash-valgrind.sh: test base64 encoding/decoding on large
	input.

2014-08-08  Assaf Gordon  <assafgordon@gmail.com>

	maint: improve output of parallel-tests
	* Makefile.am, init.cfg: redirect stderr to file-descriptor 9,
	improving error reporting using automake's parallel-tests.
	Based on similar setttings in GNU coreutils.

	build: add PURE attribute to functions

	build: add compiler warnings, -Werror

	build: speedup with gnulib's unlocked-io module
	* bootstrap.conf: add gnulib's unlocked-io module, providing
	significant speed improvement with readlinebuffer_delim().

2014-08-08  A. Gordon  <assafgordon@gmail.com>

	datamash: improve field-parsing code
	* src/text-lines.c:
	  line_record_parse_fields(): revise code in case of single-character delimiter.

2014-08-08  A. Gordon  <assafgordon@gmail.com>

	datamash: new operations: rmdup, noop
	rmdup: remove lines based on duplicated keys. Similar to:
	   awk '!a[$1]++'
	noop: no-operation (optionally with --full: print file as-is). Used for
	testing and profiling.

	* bootstrap.conf: use gnulib's hash module.
	* src/field-ops.{c,h}: add new operations
	* src/utils.{h,c}:
	   hash_compare_strings(): helper function for gnulib's hash module.
	* src/datamash.c:
	   noop_file(), remove_dups_in_file(): functions for new operations;
	   main(): call new functions.
	   usage(): mention new operation.
	* tests/datamash-valgrind.sh: test 'rmdup' operation with large input.
	* man/datamash.x: mention new operation, add example.

2014-08-08  A. Gordon  <assafgordon@gmail.com>

	maint: improve syntax-check
	* src/field-ops.c: replace tabs with spaces.

	datamash: improve assert and code coverage
	Asserts impossible conditions, and exclude from code coverage.

	tests: test more edge-case

	datamash: refactor operation output type
	* src/field-ops.{h,c} - define the output type (numeric/string) in the
	operations table, instead of during runtime.

	maint: fix/improve 'make coverage'
	* cfg.mk: force deletion of '*.gcno/*.gcda' when using 'make coverage'.
	Otherwise, some failures occur with lcov reporting 'unexpected end of
	file'.

	maint: fix syntax-check, part 3

	maint: fix syntax-check issues, part 2

	maint: fix source files for 'syntax-check', part 1

	maint: add few more syntax-check rules
	* cfg.mk: copy syntax-check rules from GNU coreutils.

	build: update gnulib submodule to latest

	build: disable --debug option
	* configure.ac: remove --enable-debug option.
	* src/*.c: remove #ifdef debug code.

2014-08-08  Assaf Gordon  <assafgordon@gmail.com>

	datamash: refactor field-splitting
	Instead of using gnulib's linebuffer directly, handle line-reading and
	field-splitting with a new structure 'line_record_t' .
	Field-splitting by delimiter is performed once, automatically, when a
	line is read.
	Pointers to each field are stored in 'line_record_t'.

	* src/text-lines.{c,h}: implement 'line_record_t' functionality.
	* src/datamash.c: replace 'linebuffer' with 'line_record_t' .
	* src/column-headers.{c,h}: use new functionality.
	* tests/datamash-tests.pl: adapt tests for new error messages.
	* tests/datamash-valgrind.sh: fix field delimiter in tests.

2014-08-07  Assaf Gordon  <assafgordon@gmail.com>

	maint: add 'default' case to prevent compiler warning

	datamash: bugfix: detect invalid column values
	* src/field-ops.c: add more checks
	* tests/datamash-tests.pl: add more tests

	tests: tests few more edge-cases

	datamash: improve field-op output handling
	* src/field-ops.{c,h}: pre-allocate buffer for string output when
	initializing the field-op, instead of malloc/free on every print.
	   field_op_reserve_out_buf(): ensures the field-op's output buffer is
	      large enough to hold the resulting string;
	   field_op_to_hex(), unique_values(), count_unique_values(),
	   collapse_values(), field_op_summarize(): use new output buffer.

2014-08-07  A. Gordon  <assafgordon@gmail.com>

	datamash: new line operations: md5/sha*, base64
	Line-Operations work on each line on the file (no grouping by key).

	Example: md5 on the first column on a file:
	    datamash md5 1 < FILE
	Is similar to:
	    perl -MDigest::MD5=md5_hex -lane 'print md5_hex($F[0])' < FILE

	* bootstrap.conf: add gnulib's md5/sha*/base64 modules
	* src/field-ops.{c,h}: implement new operations
	* src/datamash.c:
	    process_file(): implement new 'line mode' processing;
	    usage() mention new options.
	* man/datamash.x: mention new operations
	* doc/datamash.texi: ditto
	* tests/datamash-tests.pl: test new operations
	* tests/datamash-sha.pl: test sha1/256/512 opertions (requiring recent
	perl module Digest::SHA, this test might be skipped on systems with old Perl).
	* Makefile.am: add new test file.

2014-08-02  A. Gordon  <assafgordon@gmail.com>

	maint: fix wrong path in previous commit

	maint: added bash-completion script
	* contrib/bash-completion/datamash - bash completion script
	* Makefile.am: include script in distribution (without installing it)
	* .gitignore: ignore the binary executable only

2014-07-29  A. Gordon  <assafgordon@gmail.com>

	maint: update NEWS

	maint: gitignore more files

	maint: add pre-release build-and-check script

	maint: improve check-and-build scripts
	* build-aux/check-remote-make.sh: report system inforation, accept
	custom git branch to check-out.
	* build-aux/check-remote-make-all.sh: add more hosts.

	tests: skip some tests if perl isn't found
	* configure.ac: test for Perl, setup PERL_FOUND automake varaible.
	* Makefile.am: enable parallel tests for pl,sh files, and use a stub to
	skip tests if Perl is not found on the system.

	tests: mark valgrind test as 'expensive'

2014-07-26  A. Gordon  <assafgordon@gmail.com>

	tests: improve portability under qemu/binfmt
	When building with cross-compiling AND running (non-native) binary
	locally with qemu/binfmt, the argv[0] (binary name) is changed by qemu.
	argv[0] is used for error reporting.

	Example with most systems, argv[0] is exactly the same as the user
	entered:
	    $ datamash --foobar
	    datamash: invalid option --foobar

	    $ /custom/path/datamash --foobar
	    /custom/path/datamash: invalid option --foobar

	But under qemu/binfmt, argv[0] becomes the full path:

	    $ datamash --foobar
	    /home/gordon/projects/datamash/datamash: invalid option --foobar

	The tests were modified to detect the actual path reported by the
	program, or fall back to 'datamash' (as it was before).

2014-07-26  A. Gordon  <assafgordon@gmail.com>

	maint: improve build-aux check scripts
	* renamed remote-make-check.sh => check-remote-make.sh
	* renamed remote-make-check-all.sh => check-remote-make-all.sh
	* check-remote-make.sh: added features:
	  1) more source: local/remote tarball, git
	  2) more compressions: gz/bz2/xz
	  3) building from git with './bootstrap'
	  4) command-line options to set parameters to env/configure/make

2014-07-26  A. Gordon  <assafgordon@gmail.com>

	maint: improve debian-hardening build method
	* configure.ac: move option from './configure' to ..
	* cfg.mk: make rules.

	Instead of:
	    ./configure --enable-debian-hardenning
	Now use:
	    make deb-hard

2014-07-26  A. Gordon  <assafgordon@gmail.com>

	man page: improve hyphen vs minus characters
	* man/datamash.x: escape minus characters where needed, to distinguish between
	hyphens and minus/dash.
	Suggested by Alejandro Garrido Mota <alejandro@debian.org>

	tests: test I/O errors
	* tests/datamash-io-errors.sh: tests I/O errors using specially pre-mounted
	filesystems.
	* Makefile.am: add test.
	* build-aux/create_corrupted_filesystem.sh: script to create corrupted
	ext3 filesystem image.
	* build-aux/create_small_filesystem.sh: script to create small ext3
	filesystem which can be filled easily.

2014-07-24  A. Gordon  <assafgordon@gmail.com>

	datamash: add 'internal_error' macro
	* src/system.h: define 'internal_error' macro.
	* src/field-ops.c: Replace 'error' call with 'internal_error' macro.
	* src/datamash.c: ditto.

	build: don't re-generate manpage from tarball
	* configure.ac: search for '.git' directory, implying building from git
	(if found) or tarball (if not found).
	* Makefile.am: If building from GIT, re-generate manpage. If building
	rom tarball, assume the manpage is already there, do not regenerate it,
	and do not clean it (with 'make clean').

2014-07-22  Assaf Gordon  <assafgordon@gmail.com>

	datamash: new operations: transpose, reverse
	* src/datamash.c: new functions: transpose_file(), reverse_fields_in_file().
	main(): parse new options
	usage(): update help screen
	* src/field-ops.{h,c}: new function: parse_operation_mode().
	parse_operations() renamed to parse_grouping_operations().
	* man/datamash.x: updated man-page information
	* doc/datamash.texi: updated texinfo manual
	* tests/datamash-transpose.pl - new tests
	* tests/datamash-valgrind.sh - new tests
	* Makefile.am: include new tests

2014-07-17  A. Gordon  <assafgordon@gmail.com>

	datamash: fix typo in help screen
	* src/datamash.c: usage(): fix 'pto' => 'dpo' typo.

2014-07-16  A. Gordon  <assafgordon@gmail.com>

	build: fix configure's message of examples path
	* configure.ac: Report correct path of installed examples
	( PACKAGE_NAME = "GNU Datamash" while PACKAGE = "datamash" ).

	build: fix configure.ac parameter typo
	* configure.ac: fix param definition (otherwise --disable-debug would fail).

	build: add build prerequisites
	* bootstrap.conf: add gettext, gperf, makeinfo as prerequisites when
	building from git source.

	tests: test headers with whitespace delimiters
	* tests/datamash-tests.pl: add test for header line with whitespace
	delimiters.

	datamash: simplify line buffer handling
	* src/text-lines.c: linebuffer_nullify(): based on
	readlinebuffer_delim(), there is always a EOL-delimiter present in the
	buffer.

	tests: add Sample-Skewness test
	* tests/datamash-stats.pl: test sample-skewness with just 2 data points.

	maint: improve internal errors
	* src/field-ops.c: don't gettextize internal errors (no need to
	translate them), and exclude them from coverage reports.
	* src/utils.c: exclude internal error from coverage reports.

	datamash: improve gettext strings
	* src/datamash.c: usage(): improve wording, gettextize missed string,
	line up long options.
	Based on suggestion by Benno Schulenberg from the Translation Project.

2014-07-15  A. Gordon  <assafgordon@gmail.com>

	maint: update NEWS and README

	maint: syntax-check fix
	* Makefile.am: reduce spaces to appease 'make syntax-check' rule.

	build: Explicitly use perl for help2man
	* Makefile.am: Use 'perl' executable in $PATH for help2man,
	don't count on #! path in help2man - Hydra/NixOS doesn't have
	"/usr/bin/env", so it can't be used.
	NOTE: Using customized help2man (see commit 33c75d), so don't use
	system's installed help2man.

2014-07-14  A. Gordon  <assafgordon@gmail.com>

	Expand manual page
	* man/datamash.x: expand manual page with content from old help screen.

	datamash: shorten help screen
	src/datamash.c: usage(): shorten help screen.

	build: man page depends on .x template
	* Makefile.am: make manual page generation depend on datamash.x
	template.

	build: accept single example in help2man
	* man/help2man: Modify the EXAMPLES pattern detection to accept
	a single example.

2014-07-14  A. Gordon  <assafgordon@gmail.com>

	build: don't hard-code Perl path in scripts
	* man/help2man - Use "/usr/bin/env perl" instead of "/usr/bin/perl".
	* tests/datamash-stats.pl - ditto
	* tests/datamash-tests.pl - ditto

	Hard-coded Perl fails Hydra/NixOS builds
	(http://hydra.nixos.org/build/12516876), and is also generally bad form.

2014-07-05  A. Gordon  <assafgordon@gmail.com>

	GNU Datamash: remove files relating to external sites

	GNU Datamash: update README

	GNU Datamash: rename package

2014-05-19  A. Gordon  <assafgordon@gmail.com>

	maint: improve comments in tests

2014-05-12  A. Gordon  <assafgordon@gmail.com>

	maint: add 'texlive' package to Travis-CI

	maint: add 'texinfo' package to travis-CI

2014-05-12  A. Gordon  <agordon@wi.mit.edu>

	doc: add texinfo documentation

2014-04-29  A. Gordon  <agordon@wi.mit.edu>

	maint: update copyright/license in files

2014-04-18  A. Gordon  <agordon@wi.mit.edu>

	maint: update 'git-log-fix' due to gnulib upgrade.

	gnulib: upgrade to latest version

	maint: add more hosts to build-check script

	maint: .gitignore more files

	maint: fix 'make syntax-check' errors

	maint: replace old bcopy/bzero calls with memmove/memset

2014-04-14  A. Gordon  <agordon@wi.mit.edu>

	maint: add cygwin distribution packing script

	build: work-around strtold() bug on cygwin

	build: remove unneeded header from src/compute.c
	Compilation failed on Cygwin with this header.

	maint: improve automatic checks script

	Formalize rarely used debug option
	To build with debug option:
	   ./configure --enable-debug
	To use:
	   compute --debug [other options]

	build: fix compilation on Cygwin (missing nanl/expl)

2014-04-11  A. Gordon  <agordon@wi.mit.edu>

	maint: improve instructions in 'tag-new-version' script

	maint: .gitignore few more files

	maint: add script to build and test on multiple hosts.

	maint: Improve output of 'aws-upload' script

	portability: cater to systems without a stable sort

	tests: improve portability when detecting 'nan'
	It's 'nan' on most systems, but 'NaN' on some.

	build: portability: add missing <strings.h> header
	bzero() and bcopy() fail to compile on DilOS without it.

	tests: improve portability of mktemp
	Five X's fail on OpenBSD.

	compute: default to TAB instead of Whitespace as delimiter

	compute: fix typos

2014-04-10  A. Gordon  <agordon@wi.mit.edu>

	maint: add script to build & check on remote machine

	tests: improve portability of error message detection.

	tests: don't assume 'seq' is installed. SKIP if not found.

	build: improve 'inline' declaration for two functions.
	They failed to build on OpenBSD.

	compute: improve help screen

	compute: new operation: D'Agostino-Pearson omnibus (dpo) normality test

	src/utils: adjust math functions for consistant nan results

	compute: new operation: Jarque-Bera normality test

	tests: test mad/madraw with unsorted input

2014-04-09  A. Gordon  <agordon@wi.mit.edu>

	tests: tests more sequences

	compute: new operation: excess kurtosis

	compute: new operation: skewness (for pop./sample)

	src/utils: extract function for arithmetic mean.

	tests: document equivalent R code for stat tests + reorder.

	compute: new operations: mad,madraw

	tests: add tests for pop/sample stdev/variance

	compute: new operations: q1,q3,iqr

	compute: new operation: rand

2014-04-08  A. Gordon  <agordon@wi.mit.edu>

	build: add -Werror to ./src/ files.

	tests: fix comments

	compute: new operations: first,last

2014-04-07  A. Gordon  <agordon@wi.mit.edu>

	compute: set numeric output precision

	build: improve comment in configure.ac

2014-04-07  A. Gordon  <agordon@wi.mit.edu>

	build: Use compiler warnings from gl_WARN_ADD
	Those were wrongly dropped when changed to non-recursive makefile.

	The new flags are used only with the 'compute' sources,
	but not with the gnulib sources.

2014-04-07  A. Gordon  <agordon@wi.mit.edu>

	compute: detect invalid suffix in numeric input.

	fields-ops: remove 'keep_lines' feature.
	Perhaps will be added in future versions.

	compute: move numeric conversion into 'field-ops' module.

2014-03-21  A. Gordon  <agordon@wi.mit.edu>

	build: add helper scripts to EXTRA_DIST

	build: work-around for missing '.tarball-version'
	See:
	http://lists.gnu.org/archive/html/bug-hello/2014-03/msg00017.html

	maint: update helper scripts

	build: include 'help2man' and use it.
	Not all systems have "help2man" installed.

2014-03-19  A. Gordon  <agordon@wi.mit.edu>

	maint: add helper script to upload files to AWS S3

	build: update helper scripts to new name

2014-03-18  A. Gordon  <agordon@wi.mit.edu>

	RENAME: calc -> compute
	To avoid name conflicts with existing software.

2014-03-17  A. Gordon  <agordon@wi.mit.edu>

	TravisCI - no need for GNU Sed 4.2.2 anymore.

	calc: bugfix on --sort without grouping.
	'pipe_through_sort' was not cleared, caused errors on FreeBSD
	(all other systems seems not to mind calling pclose on a non-popen
	FILE).

	calc: sort+headers: don't use GNU sed.
	Implement unbuffered input to avoid GNU sed dependency.

2014-03-14  A. Gordon  <agordon@wi.mit.edu>

	calc: fix 'make syntax-check' errors

	build: improve ./configure messages

	gitignore: ignore more files
	Automatically generated by gnulib

2014-03-13  A. Gordon  <agordon@wi.mit.edu>

	Travis-CI: add 'make distcheck', disable encode binary
	No need to save the static binary from a Linux build - can be
	easily created anywhere.

	build: make-bin script: improve tar filename

	build: update gnulib

	build: add empty git-log-fix
	Will be needed if there are ever commit tyops/errors,
	see http://lists.gnu.org/archive/html/coreutils/2011-11/msg00004.html

	build: fix help2man issue on FreeBSD
	http://lists.gnu.org/archive/html/bug-hello/2014-03/msg00003.html

2014-03-12  A. Gordon  <agordon@wi.mit.edu>

	Travis-CI: don't get git submodules. 'bootstrap' should do it.

	Travis-CI: build with debian hardening flags

	src/calc: (temporarily) ignore the return value of fwrite
	using gnulib's 'clouseout' module will check for write
	errors when the program terminates.

	build: add '--enable-debian-hardening' to './configure'
	report CPPFLAGS at the end of './configure'

	tests: minor change to improve portability
	Previous syntax failed on Mac-OS X.

	Switch to non-recursive Makefile

2014-03-10  A. Gordon  <agordon@wi.mit.edu>

	Travis-CI: check coverage after successful build

	gitignore: ignore coverage files

	tests: tests sort-pipe failure

	coverage tests: exclude unreachable line

	build: remove unused module 'strnumcmp'

	src/field-ops.c: document unreachable code.

	src/field-ops.c: refactor free() code.

	tests: add tests, improve coverage

	src/column-headers.c: improve error message

	build: add scripts to generate coverage information

	build: define inline'd symbols in src/text-options.c
	Avoids 'undefined reference' errors when compiling with coverage
	instrumentation.

2014-03-09  A. Gordon  <agordon@wi.mit.edu>

	Travis: improve build, add scripts

2014-03-08  A. Gordon  <agordon@wi.mit.edu>

	build: add 'make-bin' script to distribution

	build: print message at the end of ./configure

	build: make GZ tarballs, not XZ.

	build: add required README file as a stub.

	.gitignore: ignore more files

	build: helper script to build static binaries

	README: update information, refer to website

	.gitignore: ignore build-related files

	calc: free column headers, add tests

	calc: bugfix for headers without grouping

	tests: don't use valgrind on static binaries

2014-03-07  A. Gordon  <agordon@wi.mit.edu>

	calc: new global case-sensitive option '-i' + tests

	build: fix minor errors

	refactor: extract common functions into modules

	maint: update copyright year, add GPL

	calc: conditionally compile '--debug' option.
	To enable it, Use
	    ./configure CFLAGS="-DENABLE_DEBUG"

	calc: improve help screen.

	examples: improve 'scores' example

2014-03-06  A. Gordon  <agordon@wi.mit.edu>

	build: remove 'make distcheck' from Travis-CI.
	It fails for unclear reason.

	calc: remove extraneous 'const'
	Caused compilation errors with clang.

	build: Add ".travis.yml" for Travis-CI

	calc: fix sort+headers, add tests

	examples: use '-s' instead of piping to 'sort|'

	calc: implement auto-sorting, add tests

	calc: add stub for '--sort' option.

	build: remove 'key-compare' from PO list

	calc: simplify code, don't use key-compare module.

	calc: simply parameters, remove '--key' option.

	calc: add '-T' as shortcut for tab separator.

	Merge branch 'examples'

	examples: add example files.

2014-03-05  A. Gordon  <agordon@wi.mit.edu>

	tests: fix valgrind test for 'make distcheck'

	tests: add valgrind tests

	calc: fix memory problems

2014-03-04  A. Gordon  <agordon@wi.mit.edu>

	examples: new sub-directory

	tests: add countunique tests

	new operation: countunique

2014-03-03  A. Gordon  <agordon@wi.mit.edu>

	tests: test single-line groups

2014-02-26  A. Gordon  <agordon@wi.mit.edu>

	tests: check empty input

	bugfix: '--full' and no groups would return the wrong line.
	Returned the last line of the last group, instead of the first line of
	the last group (as it returns the first line of every other group).

	tests: add --header-in tests

	headers: don't print group headers with --full.

	tests: test count on non-numeric fields

	remove unused cruft (from header feature)

	bugfix: Allow 'count' to count non-numeric fields

	key-compare: make 'blanks' public.

	implement headers support.

	Implement output headers (without --full).

	Command-line processing and Help for 'headers' options.

2013-05-03  Assaf Gordon  <assafgordon@gmail.com>

	build: touch missing files

2013-04-26  Assaf Gordon  <assafgordon@gmail.com>

	build: use gl_WARN_ADD for compiler warnings

	key-compare: fix compilation warnings
	-Wunused-parameter and -Wswitch-default will trigger warnings.
	change code to avoid them.

2013-04-25  Assaf Gordon  <assafgordon@gmail.com>

	Merge branch 'gitchangelog'

	build: add gnulib's gitlog-to-changelog

2013-04-11  Assaf Gordon  <assafgordon@gmail.com>

	calc: improve help message for help2man

	gettext-ify the package

	autoconf: switch from gz to xz

	system.h: minor improvements

2013-04-09  Assaf Gordon  <assafgordon@gmail.com>

	calc: use gnulib closeout module
	Protect against write errors at the end of te program,
	e.g. 'calc XXX > /dev/full' (which should fail).

	Merge branch 'better_autotools'

	GNU-ify: add auto-generated man page

	cleanups: remove 'scripts' directory
	There are no add-on scripts for calc (at the moment).

	GNU-ify: update src/Makefile.am

	GNU-ify: update tests/Makefile.am

	GNU-ify: add AUTHORS,THANKS

	GNU-ify based on GNU-hello, step 1 (configure.ac)

	code cleanups and more comments

	add GPLv3+ text to source files

2013-04-08  Assaf Gordon  <assafgordon@gmail.com>

	some more comments

	minor code cleanups

	minor code cleanups

	calc: groupping support (with proper output)

	calc: process groups.

	calc: add tests for groups

	calc: re-arrange headers

	calc: compare lines using --key

	calc: prepare code for key-compare.

	calc: import key-compare form coreutils.

2013-04-05  Assaf Gordon  <assafgordon@gmail.com>

	calc: expand '--help' section

	README: add simple use-case.

	tests: more tests (groups)

	tests: fix automake for out-of-tree builds

	calc: more tests

	calc: more tests

	calc: initial testing framework
	run with:  make check
	or: make check VERBOSE=yes
	or: make check VERBOSE=yes DEBUG=yes SAVE_TEMPS=yes

	calc: proper printing of output

	calc: field extractiong works

2013-04-04  Assaf Gordon  <assafgordon@gmail.com>

	calc: re-factor, prepare for field support.

	calc: bugfix for numeric values with groups

	calc: initial grouping, by empty line

	calc: re-implement unique/collapse

	calc: implement unique/unique-nocase

	calc: implement mode/antimode

	calc: implement stdev/variance, other fixes.

2013-04-03  Assaf Gordon  <assafgordon@gmail.com>

	calc: first shot at multi-valued numeric (median)

	calc: single-value operations working.

	calc: add stub input reading

	calc: create field/op structures

	calc: parse operation arguments

2013-04-02  Assaf Gordon  <assafgordon@gmail.com>

	calc: set GNU coding styles for VIM

	calc: process -z and --debug

2013-03-29  Assaf Gordon  <assafgordon@gmail.com>

	build system: fix auto generated version.c

	calc: add template code
	Add version, coyright, help, usage messages.

	gnulib: add modules.

	configure.ac: remove extra GCC checks
	gnulib doesn't compile with them.
	TODO: add GCC warnings to projec'ts build in src/Makefile.am.
	      (but only if using GCC).

	added gnulib submodule

	Initial Commit
