1. 27 Jan, 2019 6 commits
  2. 05 Jan, 2019 3 commits
    • Colin Watson's avatar
      Note requirement of Automake 1.11.2 · 32d61235
      Colin Watson authored
      AM_PROG_AR was actually introduced in 1.11.2, not 1.11.
      
      * bootstrap.conf (buildreq): Bump required automake version to 1.11.2.
      * NEWS: Clarify.
      32d61235
    • Colin Watson's avatar
      Upgrade to Gnulib 20190105 · 384358ad
      Colin Watson authored
      In line with Gnulib, we now require Autoconf 2.63 and Automake 1.11.
      
      * bootstrap: Sync to Gnulib d271f868a8df9bbec29049d01e056481b7a1a263.
      * bootstrap.conf (GNULIB_REVISION): Set to
      d271f868a8df9bbec29049d01e056481b7a1a263.
      (buildreq): Bump required autoconf version to 2.63.
      * configure.ac (AM_INIT_AUTOMAKE): Bump to 1.11.
      (AM_SILENT_RULES, AM_PROG_AR): Remove conditionals, which were there for
      Automake 1.10 support.
      (AC_PREREQ): Bump to 2.63.
      * NEWS: Document this.
      384358ad
    • Colin Watson's avatar
      Use tar --sort=name if available · 1c2faf2c
      Colin Watson authored
      * m4/pipeline-tar-sort-name.m4: New file.
      * configure.ac: Call PIPELINE_TAR_SORT_NAME.
      1c2faf2c
  3. 24 Dec, 2018 2 commits
    • Colin Watson's avatar
      More (void *) 0 as variadic sentinel · 1569f8f1
      Colin Watson authored
      * tests/basic.c (test_basic_status, test_basic_args,
      test_basic_pipeline, test_basic_wait_all, test_basic_setenv,
      test_basic_unsetenv, test_basic_clearenv, test_basic_chdir,
      test_basic_fchdir, test_basic_pre_exec, test_basic_sequence): Use
      (void *) rather than NULL as a sentinel for variadic functions.
      * tests/common.c (temp_dir_teardown): Likewise.
      * tests/exec.c (test_exec_process): Likewise.
      * tests/inspect.c (test_inspect_command, test_inspect_pipeline):
      Likewise.
      * tests/pump.c (fail_unless_files_equal,
      test_pump_connect_attaches_correctly, test_pump_tee): Likewise.
      * tests/redirect.c (test_redirect_files, test_redirect_outfile):
      Likewise.
      1569f8f1
    • Colin Watson's avatar
      Use (void *) 0 as a variadic sentinel · e6ff06b8
      Colin Watson authored
      NULL is formally incorrect here since the standard allows it to be an
      integer constant expression.
      
      * lib/pipeline.c (argstr_get_word, pipecmd_tostring, pipeline_tostring):
      Use (void *) rather than NULL as a sentinel for variadic functions.
      e6ff06b8
  4. 03 Nov, 2018 1 commit
  5. 27 Oct, 2018 2 commits
  6. 18 Jun, 2018 6 commits
  7. 16 Jun, 2018 1 commit
  8. 29 May, 2018 1 commit
  9. 28 May, 2018 3 commits
    • Colin Watson's avatar
      Prefer the Gnulib versions of some more files · 59b4307c
      Colin Watson authored
      * bootstrap.conf (gnulib_extra_files): Remove.  (This has the effect of
      reverting to bootstrap's default of also copying some files in
      build-aux/ from Gnulib.)
      59b4307c
    • Colin Watson's avatar
      Clean up bootstrap configuration slightly · 9253fb77
      Colin Watson authored
      * bootstrap.conf (gnulib_name, source_base, m4_base): Set these instead
      of the corresponding options in gnulib_tool_option_extras.
      9253fb77
    • Colin Watson's avatar
      Upgrade to Gnulib 20180527 · 98002165
      Colin Watson authored
      * bootstrap.conf (GNULIB_URL): Remove.
      (GNULIB_REVISION): Set to 90f289f249a266b1afb9c63e182f5d979d17df5f.
      * configure.ac (AM_PROG_AR, LT_INIT): Move below gl_EARLY.
      98002165
  10. 27 May, 2018 1 commit
    • Colin Watson's avatar
      Switch to bootstrap · 9b7b0d22
      Colin Watson authored
      We no longer keep autogenerated files in git.
      
      * .gitignore: Add **/Makefile.in, /INSTALL, /aclocal.m4, /build-aux,
      /config.h.in, /configure, /gl, and /gnulib.  Remove gnulib/*.
      * INSTALL, Makefile.in, aclocal.m4, autogen.sh, build-aux, config.h.in,
      configure, gnulib, lib/Makefile.in, man/Makefile.in, tests/Makefile.in:
      Remove.
      * bootstrap, bootstrap.conf: New files.
      * Makefile.am (SUBDIRS, EXTRA_DIST, ACLOCAL_AMFLAGS): Refer to gl/
      rather than gnulib/ (gnulib/ now contains pristine source).
      (EXTRA_DIST): Replace autogen.sh with bootstrap and bootstrap.conf.
      Remove gnulib/m4/gnulib-cache.m4 and gnulib/m4/gnulib-tool.m4.
      * configure.ac (AC_CONFIG_FILES): Refer to gl/ rather than gnulib/.
      * lib/Makefile.am (libpipeline_la_CPPFLAGS, libpipeline_la_LIBADD):
      Likewise.
      * tests/Makefile.am (LIBS, AM_CPPFLAGS): Likewise.
      * release.sh: Call ./bootstrap rather than ./autogen.sh.
      9b7b0d22
  11. 22 Jan, 2018 1 commit
  12. 14 Nov, 2017 6 commits
    • Colin Watson's avatar
      43a43f43
    • Colin Watson's avatar
      New upstream release (1.5.0) · 58d806c1
      Colin Watson authored
      58d806c1
    • Colin Watson's avatar
      Import libpipeline_1.5.0.orig.tar.gz · 75c7a306
      Colin Watson authored
      75c7a306
    • Colin Watson's avatar
      Switch debian/watch to HTTPS. · 364e259d
      Colin Watson authored
      364e259d
    • Colin Watson's avatar
      Version: 1.5.0. · 5b448639
      Colin Watson authored
      * lib/Makefile.am (libpipeline_la_LDFLAGS): Bump -version-info to 6:0:5.
      5b448639
    • Colin Watson's avatar
      Add pipecmd_pre_exec function · be7edd06
      Colin Watson authored
      * lib/pipeline-private.h (struct pipecmd): Add pre_exec_func,
      pre_exec_free_func, and pre_exec_data.
      * lib/pipeline.c (pipecmd_new, pipecmd_new_function,
      pipecmd_new_sequencev): Initialise cmd->pre_exec_func,
      cmd->pre_exec_free_func, and cmd->pre_exec_data.
      (pipecmd_dup): Copy cmd->pre_exec_func, cmd->pre_exec_free_func, and
      cmd->pre_exec_data if necessary.
      (pipecmd_pre_exec): New function.
      (pipecmd_exec): If cmd->pre_exec_func is set, call it immediately before
      calling execvp or cmd->func.
      * lib/pipeline.h (pipecmd_pre_exec): Add prototype.
      (pipeline_install_post_fork): Cross-reference pipecmd_pre_exec in
      comment.
      * man/Makefile.am (FUNCTIONS): Add pipecmd_pre_exec.
      * man/libpipeline.3 (Functions to build individual commands): Document
      pipecmd_pre_exec.
      (Functions to run pipelines and handle signals): Cross-reference
      pipecmd_pre_exec from pipeline_install_post_fork.
      * tests/basic.c (test_basic_pre_exec): Test pipecmd_pre_exec.
      * NEWS: Document this.
      * README: Update copyright years.
      be7edd06
  13. 10 Jul, 2017 7 commits