1117 Commits
Author SHA1 Message Date
Karl Berry 6c12411d54 autoupdate 2017-08-24 08:10:28 -07:00
Paul Eggert efec5175a6 vc-list-files: port to Solaris 10
* build-aux/vc-list-files: Don't assume test -e works.
2017-08-21 12:41:47 -07:00
Karl Berry 2c309a373e autoupdate 2017-08-21 07:57:47 -07:00
Paul Eggert dd76853a03 git-version-gen: port to Solaris 10
Problem reported by Dagobert Michelsen in:
http://lists.gnu.org/archive/html/grep-devel/2017-08/msg00002.html
* build-aux/git-version-gen (v_from_git):
Use expr instead of shell substitution.
2017-08-20 17:04:21 -07:00
Karl Berry 009e65cc80 autoupdate 2017-08-09 15:56:01 -07:00
Reuben Thomas ddbba9b3b8 manywarnings: Add support for C++.
* build-aux/g++-warning.spec: New file.
* m4/manywarnings-c++.m4: New file.
* modules/manywarnings (Files): Add it.
2017-08-07 17:32:18 +02:00
Paul Eggert d93aa1d57d git-version-gen: another fix for tags with "-"
* build-aux/git-version-gen: Improve fix for tags containing "-".
Suggested by Markus Armbruster in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-08/msg00034.html
2017-08-06 23:24:39 -07:00
Paul Eggert cbc700208e git-version-gen: port better to older Git
Work even if the hash contains more than 4 digits.
2017-08-06 09:21:35 -07:00
Markus Armbruster 875d74694c git-version-gen: Fix for tags containing '-'
Really old versions of git-describe (before v1.5.0, Feb 2007) don't
have the number of commits in their long format output, i.e. where
modern 'git describe --abbrev=4 --match="v*"' prints
"v0.1-1494-g124b9", they print "v0.1-1494-g124b9".  git-version-gen
recognizes both patterns, and normalizes the old format to the new
one.

Unfortunately, this normalization code gets confused when the tag
contains '-'.  Reproducer:

    $ git-tag -m test v0.2-rc1
    $ build-aux/git-version-gen .tarball-version; echo
    build-aux/git-version-gen: WARNING: git rev-list failed
    UNKNOWN

We take exact tag "v0.2-rc1" for the old format, extract the presumed
tag "v0.2" from it, then run "git rev-list v0.2..HEAD" to count
commits since tha tag.  Fails, because tag "v0.2" does not exist.

* git-version-gen: We could perhaps drop support for versions from more
than a decade ago.  But tightening the pattern match is easy enough,
so do that.  Still breaks when you use version tags ending in something
matching -g????, but you arguably get what you deserve then.
2017-08-06 09:02:25 -07:00
Erik Skultety e97dce1b84 vc-list-files: Adjust the script to support git worktrees
Git's worktree feature creates a ".git" which refers to references from
the original (main) repository. This makes vc-list-files to fail for
worktrees since it checks for both file's existence and the file being a
directory. Checking for existence should be okay in this case, since the
script doesn't touch anything within ".git" directly. Instead, it
invokes git commands, which work from within a worktree nicely.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Message-Id: <0ad867fe1a1e0999e6666ef75398630f28e78e35.1501156018.git.eskultet@redhat.com>
2017-07-27 07:16:50 -05:00
Karl Berry f014f540f1 autoupdate 2017-07-19 07:56:20 -07:00
Karl Berry 3824bd7978 autoupdate 2017-07-05 09:03:45 -07:00
Karl Berry f516db4f6b autoupdate 2017-06-05 06:46:00 -07:00
Karl Berry 6ec17baf91 autoupdate 2017-05-28 08:43:13 -07:00
Paul Eggert 5e22aee79f manywarnings: update for GCC 7
* build-aux/gcc-warning.spec:
* m4/manywarnings.m4 (gl_MANYWARN_ALL_GCC):
Add GCC 7 warnings, notably -Wimplicit-fallthrough=5, which
requires a non-comment fallthrough attribute.  This is a bit
cleaner than the comment versions.
* lib/strftime.c, lib/dfa.c, lib/fnmatch.c, lib/mbrtowc.c:
* lib/vasnprintf.c, tests/macros.h (FALLTHROUGH): New macro.
Use it whenever one switch case falls through into the next.
2017-05-16 09:32:31 -07:00
Karl Berry 748ecce502 autoupdate 2017-05-15 08:35:02 -07:00
Karl Berry 757a0f5afe autoupdate 2017-05-12 06:18:50 -07:00
Karl Berry d8c3882dfe autoupdate 2017-05-11 06:50:43 -07:00
Karl Berry 68c797a732 autoupdate 2017-04-15 14:37:10 -07:00
Karl Berry dd005fce8e autoupdate 2017-04-02 06:51:11 -07:00
Karl Berry 948db16eee autoupdate 2017-03-27 07:57:41 -07:00
Karl Berry 7b8cbb9533 autoupdate 2017-03-21 06:51:56 -07:00
Paul Eggert 47cbe8bab2 snippets: move unadjusted snippet sources to lib
Problem reported by Michal Privoznik in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-03/msg00039.html
* lib/_Noreturn.h: Rename from build-aux/snippet/_Noreturn.h.
* lib/arg-nonnull.h: Rename from build-aux/snippet/arg-nonnull.h.
* lib/c++defs.h: Rename from build-aux/snippet/c++defs.h.
* lib/unused-parameter.h: Rename from
build-aux/snippet/unused-parameter.h.
* lib/warn-on-use.h: Rename from build-aux/snippet/warn-on-use.h.
* modules/snippet/_Noreturn (Files:, _NORETURN_H):
* modules/snippet/arg-nonnull (Files:, ARG_NONNULL_H):
* modules/snippet/c++defs (Files:, CXXDEFS_H):
* modules/snippet/unused-parameter (Files:, UNUSED_PARAMETER_H):
* modules/snippet/warn-on-use (Files: WARN_ON_USE_H):
Adjust to file renamings.
2017-03-14 14:31:30 -07:00
Karl Berry b800e567ad autoupdate 2017-03-08 06:37:57 -08:00
Karl Berry a490e6357a autoupdate 2017-03-07 07:51:04 -08:00
Karl Berry 934da14a7a autoupdate 2017-03-06 06:38:58 -08:00
Karl Berry d328ea1e12 autoupdate 2017-03-05 08:55:23 -08:00
Karl Berry 0bf7671558 autoupdate 2017-02-07 08:50:57 -08:00
Karl Berry fadd80aef9 update from texinfo 2017-01-16 07:09:50 -08:00
Paul Eggert e89646ad6f maint: time stamp -> timestamp
Use the spelling "timestamp", as that is what POSIX uses.
2017-01-09 11:58:08 -08:00
Karl Berry 31bc499696 exec 2017-01-03 09:47:53 -08:00
Karl Berry 0b730bddf6 build-aux/mdate-sh 2017-01-03 09:47:08 -08:00
Paul Eggert 8e0bdfa5d4 Revert copyright-year change to synced files
Problem reported by Karl Berry in:
http://lists.gnu.org/archive/html/bug-gnulib/2017-01/msg00019.html
2017-01-02 16:13:38 -08:00
Paul Eggert a3fd683de3 version-etc: new year
* build-aux/gendocs.sh (version):
* doc/gendocs_template:
* doc/gendocs_template_min:
* doc/gnulib.texi:
* lib/version-etc.c (COPYRIGHT_YEAR):
Update copyright dates by hand in templates and the like.
* all files: Run 'make update-copyright'.
2017-01-01 02:59:23 +00:00
Eric Blake 52a5514ddf do-release-commit-and-tag: avoid shell syntax error
Tagging during a rebase doesn't make sense, but it at least should
not choke with:

$ ./build-aux/do-release-commit-and-tag 1.4.18 stable
./build-aux/do-release-commit-and-tag: line 146: test: too many arguments
do-release-commit-and-tag: not on branch (no branch, rebasing branch-1.4)

* build-aux/do-release-commit-and-tag (curr_br): $branch can
contain spaces when rebasing.

Signed-off-by: Eric Blake <eblake@redhat.com>
2016-12-31 14:44:51 -06:00
Karl Berry d00d3c0cdb autoupdate 2016-12-24 05:27:13 -08:00
Karl Berry aab627ea89 autoupdate 2016-12-18 14:32:40 -08:00
Bruno Haible 6b26660a01 snippet/c++defs: Simplify _GL_CXXALIAS_* macros.
* build-aux/snippet/c++defs.h [__cplusplus && GNULIB_NAMESPACE]
(_GL_CXXALIAS_RPL_1, _GL_CXXALIAS_RPL_CAST_1,
_GL_CXXALIAS_SYS, _GL_CXXALIAS_SYS_CAST, _GL_CXXALIAS_SYS_CAST2):
Inline and remove member function 'rpl ()' of the wrapper struct.
2016-11-22 00:26:09 +01:00
Karl Berry fc2f40c137 autoupdate 2016-11-19 06:45:25 -08:00
Bruno Haible d91ad340b4 relocatable-prog-wrapper: Fix breakage on Cygwin.
* modules/relocatable-prog-wrapper (Files): Add lib/stat.c, lib/lstat.c.
(Depends-on): Remove intprops.
* lib/relocwrapper.c: Update dependency tree.
(strerror): Undefine.
* build-aux/install-reloc (func_create_wrapper): Do not compile
strerror.c and strerror-override.c. Erase stat.o and lstat.o.
2016-11-19 14:05:26 +01:00
Pedro Alves c907efdb07 snippet/c++defs: fix real-floating arg functions in C++ mode
Also, define isfinite, isinf, isnan, signbit in the gnulib
namespace instead of in the global namespace.
* build-aux/snippet/c++defs.h (_GL_BEGIN_NAMESPACE)
(_GL_END_NAMESPACE): New.
* lib/math.in.h (_GL_MATH_CXX_REAL_FLOATING_DECL_2): Use them.
(isfinite, isinf, isnan, signbit) [__cplusplus &&
GNULIB_NAMESPACE]: Define them in the GNULIB_NAMESPACE namespace
instead of in the global namespace.
* tests/test-math-c++.cc: Check that the isfinite, isinf, isnan,
signbit overloads exist in the GNULIB_NAMESPACE namespace, instead
of in the global namespace.
2016-11-15 09:12:53 -08:00
Pedro Alves ce91640d4c GNULIB_NAMESPACE::func need not pull in rpl_func
* build-aux/snippet/c++defs.h [__cplusplus && GNULIB_NAMESPACE]
(_GL_CXXALIAS_RPL_1, _GL_CXXALIAS_RPL_CAST_1, _GL_CXXALIAS_SYS)
(_GL_CXXALIAS_SYS_CAST, _GL_CXXALIAS_SYS_CAST2): Define a wrapper
struct instead of a function pointer.
2016-11-12 09:27:47 -08:00
Karl Berry 64d4d637b1 autoupdate 2016-11-04 08:32:09 -07:00
Eric Blake 4f9007e246 bootstrap: Fix get_version() for AIX 5.3
* build-aux/bootstrap (get_version): Factor out sed script, since
indented comments choke AIX 5.3 sed.

Reported-by: Michael Felt <aixtools@gmail.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
2016-11-04 10:13:56 -05:00
Karl Berry 68c5afe6a1 autoupdate 2016-11-03 06:52:50 -07:00
Karl Berry d0afb6a571 autoupdate 2016-10-03 14:26:04 -07:00
Karl Berry dfcf8b0b95 update from texinfo 2016-09-19 09:32:31 -07:00
Karl Berry e89b4a7aef update from texinfo 2016-09-18 09:12:57 -07:00
Karl Berry b3ffc1d8fd update from texinfo 2016-09-13 08:53:06 -07:00
Karl Berry 23899700bb update from texinfo 2016-09-12 07:26:44 -07:00