Skip to content

Commits

Permalink
branch-1.4.0
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Dec 5, 2018

  1. unit tests: fix non-void functions returning void

    This causes compiler warnings which are considered fatal
    by rpmlint.
    mwilck committed Dec 5, 2018
    Copy the full SHA
    68239b4 View commit details
    Browse the repository at this point in the history
  2. testutils/yes: don't ignore SIGPIPE

    In rpm build environments, the inherited signal settings may be
    such that SIGPIPE is ignored. That would cause the "yes" tool
    to never terminate.
    mwilck committed Dec 5, 2018
    Copy the full SHA
    9fa8951 View commit details
    Browse the repository at this point in the history
  3. sccs.1: fix undefined macro

    ".om" is not defined in groff. I haven't found it anywhere in the
    docs.I believe this is a typo.
    mwilck committed Dec 5, 2018
    Copy the full SHA
    5d1a72c View commit details
    Browse the repository at this point in the history
  4. sccs: comply with POSIX POS36-C rule

    POS36-C compliance requires that setgid() is called before
    setuid(), and both called after relinquishing extra groups
    with setgroups().
    
    See
    https://wiki.sei.cmu.edu/confluence/display/c/POS36-C.+Observe+correct+revocation+order+while+relinquishing+privileges
    mwilck committed Dec 5, 2018
    Copy the full SHA
    86f0fc9 View commit details
    Browse the repository at this point in the history
  5. configure.ac: check for setgroups()

    This is required for the follow-up patch.
    mwilck committed Dec 5, 2018
    Copy the full SHA
    ea63e7d View commit details
    Browse the repository at this point in the history
  6. mylist.h: fix non-void functions returning void

    This causes compiler warnings which are considered fatal
    by rpmlint.
    mwilck committed Dec 5, 2018
    Copy the full SHA
    f675e97 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2014

  1. Release CSSC-1.4.0.

    * configure.ac (AC_INIT): Update the version number.
    * NEWS: Describe the new release.
    jamesyoungman committed Jul 11, 2014
    Copy the full SHA
    bc459fb View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2014

  1. Release CSSC-1.3.2.

    * configure.ac: Change version number to 1.3.2.
    * NEWS: Update the version number of the first section.
    jamesyoungman committed Jun 30, 2014
    Copy the full SHA
    b7d899b View commit details
    Browse the repository at this point in the history
  2. Update googletest unit test framework from r424 to r690.

    * gl/lib/.gitignore: Add the files generated by the pthread module
    (since we now depend on that).
    * bootstrap.conf (bootstrap_epilogue): Upgrade from r424 to r690
    of the googletest test framework.
    (buildreq): Update tool versions to the ones I'm actually using
    now, since these are really the only tools I test with routinely.
    (gnulib_modules): Depend on the pthread module.  Download
    googletest before we run gnulib-tool (instead of in the epilogue),
    so that the googletest/m4 directory is available to autoconf.
    * configure.ac: Include the googletest m4 library,
    unit-tests/googletest/m4.  Turn on the Automake option 'tar-ustar'
    which switches the dist file format from v7 Unix to the selects
    the ustar format defined by POSIX 1003.1-1988.  We need to do this
    since the distribution now contains path names longer than 99
    characters and the v7 format (or its consumers) cannot reliably
    deal with this.  Also make explicit some of the options which in
    any case are implied by the "gnits" option, since we would want to
    keep them even if turning off gnits.  Add configure tests required
    by the googletest framework.
    * NEWS: Point out the change of tar file format used for the
    distribution file.  Also mention the recent updates to googletest
    and gnulib.
    * unit-tests/Makefile.am: Update the build rules used to build the
    googletest unit test framework.  Don't build the samples.  Build
    libgtest by compiling individual source files, instead of only
    libgtest-all.cc (this fixes a problem in which "make distcheck"
    would otherwise fail due to dependency rule files being left
    around.  Also, don't compile the sample programs.  Remove the
    rules for fusing the sources.  We don't use them, and the rules
    themselves are still available in googletest/Makefile.am.
    * Makefile.am (ACLOCAL_AMFLAGS): Include the googletest m4
    library.
    (distcheck-hook): Call build-aux/check-googletest-files.sh
    (this is described below).
    * build-aux/check-googletest-files.sh: New script; verifies that
    all the files for the "googletest" C++ Unit test framework are
    included in the distribution.  This script is called from
    distcheck-hook.
    * .gitignore: Don't ignore build-aux
    jamesyoungman committed Jun 30, 2014
    Copy the full SHA
    fa40042 View commit details
    Browse the repository at this point in the history
  3. Update gnulib.

    * bootstrap: Update from current gnulib.
    * bootstrap.conf: Remove second (and wrong) --tests-base
    argument.  Don't munge include paths in gl/tests/Makefile.am
    (since now, doing that breaks the build and whatever made it
    necessary before no longer does).
    * src/canonify.cc: Include <config.h> before (gnulib's replacement
    of) <unistd.h>.
    jamesyoungman committed Jun 30, 2014
    Copy the full SHA
    7acdb03 View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2014

  1. Copy the full SHA
    15e2d91 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2013

  1. Typo fix ('modifiactions').

    * COPYING.bsd: Fix typo 'modifiactions'.
    jamesyoungman committed Apr 20, 2013
    Copy the full SHA
    26f023c View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2011

  1. Fix Savannah bug #33633 (coredump in prs -d:GB:)

    * src/sf-prs.cc (sccs_file::get): pass in the correct delta
    information for keyword expansion instead of a blank (that is,
    invalid) delta.  This fixes Savannah bug #33633.
    * tests/prs/sv33633.sh: New file, test for this bug.
    * tests/prs/s.sv33633.txt: Test input for the new test.
    * NEWS: Mention this bug fix.
    jamesyoungman committed Nov 19, 2011
    Copy the full SHA
    28a07d9 View commit details
    Browse the repository at this point in the history

Commits on May 22, 2011

  1. Add unit test for cssc_linebuf.

    * unit-tests/Makefile.am (unit_tests): Add test_linebuf.
    (test_linebuf_SOURCES): Build test_linebuf.
    * unit-tests/test_linebuf.cc: New unit test file.
    jamesyoungman committed May 22, 2011
    Copy the full SHA
    b4a35ec View commit details
    Browse the repository at this point in the history

Commits on May 21, 2011

  1. Print clearer test labels.

    * tests/common/test-common (docommand): Print the test directory
    and the test script as part of the label of each test, for
    additional clarity and because many of them are actually not
    unique.
    * tests/get/sf111140.sh (label_prefix): Print qualified labels (as
    for docommand).
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    c703071 View commit details
    Browse the repository at this point in the history
  2. Source the command-names script only once per test script.

    * tests/common/real-thing: Instead of sourcing the command-names
    script unconditionally, just complain if it was not already
    sourced.
    * tests/common/command-names: Error out if the command-names
    script is sourced twice.
    * tests/common/config-data: Don't source the command-names script
    more than once.
    * tests/common/need-prt: Likewise.
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    2e50c99 View commit details
    Browse the repository at this point in the history
  3. Indicate the full path of each test script.

    * tests/Makefile.am (test-*): Indicate the full path of each test
    script.
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    6fa29d5 View commit details
    Browse the repository at this point in the history
  4. Set TZ=GMT in the y2k tests.

    * tests/year-2000/ext.sh: Set $TZ to GMT in order to make it
    possible for implementations which convert SCCS file dates to
    time_t values (but which otherwise have no bugs) to pass the
    tests.
    * tests/year-2000/prs-y2k.sh: Likewise.
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    f366bb0 View commit details
    Browse the repository at this point in the history
  5. Fix typo

    jamesyoungman committed May 21, 2011
    Copy the full SHA
    fc3b3c4 View commit details
    Browse the repository at this point in the history
  6. Remove spurious space in definition of admin.

    * tests/common/command-names (admin): remove spurious space.
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    6adf971 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    7f92867 View commit details
    Browse the repository at this point in the history
  8. Move on from release 1.3.1.

    * configure.ac: Update version number to 1.3.2-git, to indicate
    that compiled versions of this code are no longer identical to the
    1.3.1 release.
    * NEWS: Likewise.
    jamesyoungman committed May 21, 2011
    Copy the full SHA
    c3a605b View commit details
    Browse the repository at this point in the history

Commits on May 14, 2011

  1. Copy the full SHA
    0f07d6e View commit details
    Browse the repository at this point in the history

Commits on May 10, 2011

  1. Release version 1.3.1.

    * NEWS: Update version number to 1.3.1.
    * configure.ac: Likewise.
    jamesyoungman committed May 10, 2011
    Copy the full SHA
    d7ebad8 View commit details
    Browse the repository at this point in the history
  2. Modify "prs -d :DI:" to print ignored deltas.

    * tests/prs/delta_ixg.sh: New test script for "prs -d :DI:".
    * tests/prs/s.delta_ixg: New test input file for delta_ixg.sh.
    * src/sf-prs.cc (print_delta): For :DI:, also print ignored
    deltas.  Follow the conventions of OpenSolaris 2009.06 on the
    question of how many slashes to produce.
    * docs/cssc.texi (Data Keywords): Describe in more detail just how
    the keyword :DI: is expanded.
    (SCCS Version Differences): Explain how the expansion of :DI:
    varies across implementations.
    * NEWS: Mention this change.
    jamesyoungman committed May 10, 2011
    Copy the full SHA
    40c5a82 View commit details
    Browse the repository at this point in the history
  3. Accept entirely empty comment lines (lacking the initial space).

    * src/sccsfile.cc (read_delta): Accept comment lines containing
    nothing at all (not even a space after the 'c').  Some historis
    versions of SCCS seem to have produced these, and later versions
    tolerate it.
    jamesyoungman committed May 10, 2011
    Copy the full SHA
    51f6518 View commit details
    Browse the repository at this point in the history
  4. Check we distributed all the tests. Remove redundant Makefile.am files.

    * auxfiles/check-testfiles.sh: New script (copied from GNU
    findutils e66802375963941b3b54a0e038d18eccde449e14 with some
    adaptations for CSSC) for checking that we installed all the test
    scripts in "make dist".
    * tests/Makefile.am (dist-hook): Invoke the
    auxfiles/check-testfiles.sh script.
    * tests/common/Makefile.am: remove unreferenced file;
    tests/Makefile.am does not recurse.
    * tests/delta/Makefile.am, tests/prs/Makefile.am: Likewise.
    * tests/prt/Makefile.am, tests/sact/Makefile.am: Likewise.
    * tests/admin/Makefile.am, tests/unget/Makefile.am: Likewise.
    * tests/val/Makefile.am, tests/what/Makefile.am: Likewise.
    jamesyoungman committed May 10, 2011
    Copy the full SHA
    f870534 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2011

  1. Change output order in "sccs unedit" to match OpenSolaris.

    * tests/bsd-sccs/driver-basic.sh (h1): Modify the ordering of the
    expected ouput to match OpenSolaris 2009.06.
    * src/sccs.c (command): For the UNEDIT case, flush stdout before
    invoking 'get' in order to pass the changed test.
    * NEWS: Mention this change.
    jamesyoungman committed Apr 30, 2011
    Copy the full SHA
    cc8487a View commit details
    Browse the repository at this point in the history
  2. Allow an empty MR list to be passed to admin.

    * tests/admin/init-mr.sh: Don't expect "admin -m" to interpret
    a plain "-m" as meaning an empty MR list.  Distinguishing the
    absence of an argument to -m requires a traditional SCCS argument
    processor, and this behaviour is incompatible with modern
    implementations of SCCS (for example OpenSolaris).
    * tests/admin/flags.sh: Likewise.
    * src/admin.cc (main): Allow an empty list of MRs to be specified
    to admin, for example "admin -fv -m' '".  OpenSolaris allows
    this, and we can no longer use the previous method which was to
    omit the optional argument.  Elminiate doubled space in error
    message.
    * docs/cssc.texi (admin): document this clearly.
    * NEWS: mention this change.
    
    Remove duplicate space in "MR number(s) must be  supplied."
    
    * src/admin.cc (main): elminiate doubled space in error message.
    jamesyoungman committed Apr 30, 2011
    Copy the full SHA
    950eb7b View commit details
    Browse the repository at this point in the history
  3. Fix delta summary; when it goes to stdout, send other to stderr.

    * tests/get/delta-summary.sh: OpenSolaris get emits the delta
    summary (produced by get -L) to stdout and the SID of the gotten
    delta and the number of body lines to stderr.  Expect this
    behaviour.
    * tests/get/delta-summary.sh (L2e): Check that the "new delta"
    message also goes to stderr when we are using "get -e -L" (since
    the delta summary goes to stdout).
    * src/get.cc (print_id_list): New parameter, fp: the file handle
    to print the IDs to.
    (main): rename use_stdout to send_body_to_stdout (being a more
    accurate description).
    (main): add variable commentary, the file descriptor on which we
    announce which delta we're getting and so forth.   This is usually
    stdout, but if stdout needs to be used for something else (for
    example the delta summary), commentary can be set to stderr.
    * src/sf-get2.cc (get): Correct the spacing before the items in
    the delta summary.  Add a trailing newline.
    * NEWS: Mention this change.
    jamesyoungman committed Apr 30, 2011
    Copy the full SHA
    8428c30 View commit details
    Browse the repository at this point in the history
  4. Update sccsdiff to work like sccsdiff on OpenSolaris.

    * tests/sccsdiff/rap.sh: Update the tests to match the results we
    actually get from sccsdiff on OpenSolaris.
    * src/sccsdiff.sh.in: Update to pass the modified tests.
    Specifically, use a different header for the case where -p is
    specified and when it's not.
    * NEWS: Mention this change.
    jamesyoungman committed Apr 30, 2011
    Copy the full SHA
    a58312c View commit details
    Browse the repository at this point in the history
  5. Fix Savannah bug #33153: "prs" includes "AUTO NULL DELTA"s.

    * src/prs.cc (main): Change type of all_deltas from int to bool.
    (main): Move detection of errors writing to stdout to here,
    instead of sccs_file::prs().  Likewise diagnosis of the fact that
    no deltas were matched.
    * src/sf-prs.cc (prs): Add an output parameter, "matched", which
    is set if any delta was matched (and printed).
    (prs): Rewrite this method to evaluate the earlier/later cutoff in
    terms of SIDs where this is necessary.  That is, avoid the
    assumption that different SIDs have different timestamps.
    * src/sccsfile.h (sccs_file::prs): Modify the declaration
    of sccs_file::prs() to add the output parameter, "matched".
    * tests/prs/sv33153.sh: New test for this bug.
    * tests/prs/s.sv33153: New test input file.
    * NEWS: Mention this bugfix.
    jamesyoungman committed Apr 30, 2011
    Copy the full SHA
    dd1a8bf View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2011

  1. mogrify.awk: Preserve comment lines that have no space character.

    * testutils/mogrify.awk: Preserve comment lines which have no
    space (that is, \001Ac\n).
    jamesyoungman committed Apr 29, 2011
    Copy the full SHA
    4e41a18 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2011

  1. Fix some minor issues identified by 'make syntax-check'.

    * testutils/uu_decode.c: avoid including unnecessary header
    <stddef.h>.
    * src/sf-delta.cc (add_delta): Remove doubled word in a comment.
    * docs/cssc.texi (Other Variables): Remove doubled word.
    (Year 2000 Summary): Likewise.
    * cfg.mk: Modify spelling of a comment in order not to have a
    false positive from the sc_makefile_at_at_check syntax check.
    * tests/year-2000/ext.sh: Remove blank line at the end of the
    file.
    * tests/year-2000/prs-y2k.sh: Likewise.
    * .x-sc_unmarked_diagnostics: Likewise.
    * unit-tests/testwrapper.sh.in: Add final newline.
    * README-hacking: Remove space-tab combinations.
    jamesyoungman committed Apr 26, 2011
    Copy the full SHA
    c7acce5 View commit details
    Browse the repository at this point in the history
  2. Update hacking instructions to explain the git submodule.

    * README-hacking: Update instructions detailing how to collect
    gnulib (since we now use it as a submodule).
    jamesyoungman committed Apr 26, 2011
    Copy the full SHA
    5717927 View commit details
    Browse the repository at this point in the history
Older