aboutsummaryrefslogtreecommitdiff
path: root/contrib
AgeCommit message (Collapse)AuthorFilesLines
2023-01-16Update copyright years.Jakub Jelinek79-84/+83
2023-01-16contrib: Yet another update-copyright.py tweak [PR108413]Jakub Jelinek1-1/+2
Ignore __builtins.di like object.d is already ignored. 2023-01-16 Jakub Jelinek <jakub@redhat.com> PR other/108413 * update-copyright.py (LibPhobosFilter): Add __builtins.di to skipped files.
2023-01-16contrib: Partial fix for failed update-copyright --this year [PR108413]Jakub Jelinek1-0/+3
As mentioned on IRC or in PR108413, the last update-copyright.py --this year failed and that is why we are in a strange state where some copyrights have been updated and others have not. The full list of errors I got was I think: gcc/m2/mc-boot/GmcOptions.c: unrecognised copyright: comment (f, (const char *) "Copyright (C) ''2021'' Free Software Foundation, Inc.", 53); gcc/m2/mc-boot/GmcOptions.c: unrecognised copyright: comment (f, (const char *) "Copyright (C) ''2021'' Free Software Foundation, Inc.", 53); gcc/testsuite/gm2/switches/pedantic-params/pass/Strings.mod: unrecognised copyright holder: Faculty of Information Technology, gcc/testsuite/gm2/switches/pedantic-params/pass/Strings2.mod: unrecognised copyright holder: Faculty of Information Technology, libphobos/libdruntime/__builtins.di: unrecognised copyright: * Copyright: Copyright Digital Mars 2022 libstdc++-v3/src/c++17/fast_float/fast_float.h: unrecognised copyright holder: The fast_float authors libstdc++-v3/include/c_compatibility/stdatomic.h: unrecognised copyright holder: The GCC developers The following patch deals with the gcc/testsuite/gm2 ones and with the fast_float.h one, ok for trunk? Not really sure what we should do in the GmcOptions.c case (perhaps obfuscate it in the source somehow by splitting the string literals into different substrings Perhaps "Copy" "right (" "C) ''..." would do it? Or do we want to bump there each year (manually or by the script)? E.g. in gcc.cc we have printf ("Copyright %s 2023 Free Software Foundation, Inc.\n", _("(C)")); which also prints (C) nicer in Unicode if possible and is updated by hand each year. I have no idea about the libphobos case, we have tons of libphobos/src/std/format/spec.d:Copyright: Copyright The D Language Foundation 2000-2013. libphobos/src/std/random.d:Copyright: Copyright Andrei Alexandrescu 2008 - 2009, Joseph Rushton Wakeling 2012. etc. lines and those aren't reported as errors. And the last one is that I think for The GCC developers we should treat it similarly like FSF and bump copyright on it. Would canon_gcc = 'The GCC developers' self.add_package_author ('The GCC developers', canon_gcc) self.add_package_author ('The GCC Developers', canon_gcc) or something similar do the trick? 2023-01-16 Jakub Jelinek <jakub@redhat.com> PR other/108413 * update-copyright.py (TestsuiteFilter): Add .mod and .rs extensions. (GCCCopyright): Add 'The fast_float authors' as external author.
2023-01-16Daily bump.GCC Administrator1-0/+5
2023-01-15config-list.mk: Modernize FreeBSD targets towards version 13Gerald Pfeifer1-4/+4
contrib/ChangeLog: 2023-01-15 Gerald Pfeifer <gerald@pfeifer.com> * config-list.mk: Update FreeBSD targets to version 13. Add aarch64-freebsd13.
2023-01-12Daily bump.GCC Administrator1-0/+5
2023-01-12config-list.mk: Remove obsolete FreeBSD targetsGerald Pfeifer1-3/+3
ia64-freebsd is officially dead, and sparc64-freebsd has not been able to build GCC for half a dozen years (or so) and is essentially end of life. The default per gcc/config/i386/freebsd.h has been i586 for a while, so i486-freebsd can go as well. (We still have i686-freebsd.) contrib/ChangeLog: * config-list.mk: Remove i486-freebsd4, ia64-freebsd6, and sparc64-freebsd6.
2023-01-07Daily bump.GCC Administrator1-0/+4
2023-01-06contrib: add 'contrib' to default dirs in update-copyright.pyMartin Liska1-0/+1
contrib/ChangeLog: * update-copyright.py: Add contrib as a default dir.
2022-12-29Daily bump.GCC Administrator1-0/+4
2022-12-28contrib: add contrib to update-copyright.py scriptMartin Liska1-1/+14
contrib/ChangeLog: * update-copyright.py: Add contrib folder.
2022-12-24Daily bump.GCC Administrator1-0/+4
2022-12-22contrib: Add dg-out-generator.plArsen Arsenović1-0/+79
This script is a helper used to generate dg-output lines from an existing program output conveniently. It takes care of escaping Tcl and ARE stuff. contrib/ChangeLog: * dg-out-generator.pl: New file.
2022-12-22Daily bump.GCC Administrator1-0/+8
2022-12-21contrib: simplify filter-clang-warnings.pyMartin Liska1-3/+2
contrib/ChangeLog: * filter-clang-warnings.py: Simplify.
2022-12-21contrib: filter out more unrelated warningsMartin Liska1-0/+2
contrib/ChangeLog: * filter-clang-warnings.py: Skip Makefile and libffi warnings.
2022-12-20Daily bump.GCC Administrator1-0/+31
2022-12-19gcc-changelog: support digits in PR's component in subjectMartin Liska1-1/+1
contrib/ChangeLog: * gcc-changelog/git_commit.py: Support digits in PR's component in subject.
2022-12-19gcc-changelog: allow digit in component nameMartin Liska3-1/+30
contrib/ChangeLog: * gcc-changelog/git_commit.py: Allow digit in component name. contrib/ChangeLog: * gcc-changelog/test_email.py: Add new test. * gcc-changelog/test_patches.txt: Add new patch.
2022-12-19gcc-changelog: Add warning for auto-added filesTobias Burnus5-1/+135
git_email.py prints now a warning for files added automatically. git_check_commit.py does likewise but only with --verbose. It prints one line per ChangeLog file, either stating the file or if more than one the number of files. contrib/ChangeLog: * gcc-changelog/git_check_commit.py (__main__): With -v print a warning for the auto-added files. * gcc-changelog/git_commit.py (GitCommit.__init__): Add self.warnings. (GitCommit.check_mentioned_files): Add warning for auto-added files. (GitCommit.print_warnings): New function. * gcc-changelog/git_email.py (__main__): Remove bogus argument to GitEmail constructor; print auto-added-files warning. * gcc-changelog/test_email.py (test_auto_add_file_1, test_auto_add_file_2): New tests. * gcc-changelog/test_patches.txt: Add two test cases.
2022-12-19gcc-changelog: stop using --flake8Martin Liska1-1/+1
The flake8 pytest plug-in is broken and we should not use it. contrib/ChangeLog: * gcc-changelog/setup.cfg: Do not use flake8 pytest plug-in.
2022-12-17Daily bump.GCC Administrator1-0/+16
2022-12-16contrib: make warnings unique in filter-clang-warnings.pyMartin Liska1-2/+2
contrib/ChangeLog: * filter-clang-warnings.py: Print each warning only one time.
2022-12-16gcc-changelog: do not use PatchSet.from_filenameMartin Liska1-7/+4
Use rather PatchSet constructor where we can pass properly opened file with newline='\n'. contrib/ChangeLog: * gcc-changelog/git_email.py: Use PatchSet constructor as newline argument is not supported with older unidiff library.
2022-12-16gcc-changelog/git_email.py: Support older unidiff.PatchSetTobias Burnus1-1/+5
Commit "unidiff: use newline='\n' argument", r13-4603-gb045179973161115c7ea029b2788f5156fc55cda, added support CR on a line, but that broke support for older unidiff.PatchSet. This patch uses a fallback for git_email.py (drop argument) if not available (TypeError exception) but keeps using it in test_email.py unconditionally. contrib/ChangeLog: * gcc-changelog/git_email.py (GitEmail:__init__): Support older unidiff.PatchSet that do not have a newline= argument of from_filename.
2022-12-15Daily bump.GCC Administrator1-0/+21
2022-12-14contrib: add copyright for my scriptsMartin Liska13-0/+26
contrib/ChangeLog: * analyze_brprob.py: Add copyright header. * analyze_brprob_spec.py: Likewise. * check-params-in-docs.py: Likewise. * check_GNU_style.py: Likewise. * check_GNU_style_lib.py: Likewise. * filter-clang-warnings.py: Likewise. * gcc-changelog/git_check_commit.py: Likewise. * gcc-changelog/git_commit.py: Likewise. * gcc-changelog/git_email.py: Likewise. * gcc-changelog/git_repository.py: Likewise. * gcc-changelog/git_update_version.py: Likewise. * gcc-changelog/test_email.py: Likewise. * mark_spam.py: Likewise.
2022-12-14mklog: do not depend on recent unidiff versionMartin Liska1-2/+3
contrib/ChangeLog: * mklog.py: Check for number of hunks and not if a modified file is binary.
2022-12-13Daily bump.GCC Administrator1-0/+4
2022-12-12mklog: do not parse binary file for PR entryMartin Liska1-16/+18
contrib/ChangeLog: * mklog.py: Do not search PR entry in a file that is binary.
2022-12-12Daily bump.GCC Administrator1-0/+11
2022-12-11unidiff: use newline='\n' argumentMartin Liska7-13/+44
In order to support CR on a line, we need to open files with newline='\n' as our line endings supposed to be of UNIX style. contrib/ChangeLog: * check_GNU_style.py: Use newline=\n. * check_GNU_style_lib.py: Simplify. * gcc-changelog/git_commit.py: Fix issues seen Rust patchset. * gcc-changelog/git_email.py: Use newline argument. * gcc-changelog/test_email.py: New test. * gcc-changelog/test_patches.txt: New test. * mklog.py: Use newline argument.
2022-12-11Daily bump.GCC Administrator1-0/+11
2022-12-10Prepare 'contrib/gcc-changelog/git_commit.py' for GCC/RustThomas Schwinge1-0/+2
contrib/ * gcc-changelog/git_commit.py (default_changelog_locations): Add 'gcc/rust'. (bug_components): Add 'rust'.
2022-12-10Add ChangeLog directories for modula2 into git_commit.py.Gaius Mulley1-0/+2
Prepare to add changelogs for the Modula2 front end by changing the contrib git_commit.py script. contrib/ChangeLog: * gcc-changelog/git_commit.py (default_changelog_locations): New entry for gcc/m2. New entry for libgm2. Signed-off-by: Gaius Mulley <gaiusmod2@gmail.com>
2022-12-07Daily bump.GCC Administrator1-0/+4
2022-12-06contrib: doxygen: add gcc/analyzer subdirectory to INPUTDavid Malcolm1-1/+1
contrib/ChangeLog: * gcc.doxy (INPUT): Add gcc/analyzer subdirectory. Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2022-11-26Daily bump.GCC Administrator1-0/+8
2022-11-25Revert "gcc-changelog: temporarily disable check_line_start"Martin Liska1-2/+0
This reverts commit a5878983d53db7513edb0e6bd99250dbb0c7d147.
2022-11-25Daily bump.GCC Administrator1-0/+5
2022-11-25gcc-changelog: temporarily disable check_line_startMartin Liska1-0/+2
contrib/ChangeLog: * gcc-changelog/git_commit.py: Temporarily disable check_line.start.
2022-11-22Daily bump.GCC Administrator1-0/+8
2022-11-21changelog: Fix extra space after tab.Martin Liska1-7/+7
2022-11-21Revert "gcc-changelog: temporarily disable check_line_start"Martin Liska1-2/+0
This reverts commit 0275ff207027954d16e873ccdbd92f9881a14e72.
2022-11-21Daily bump.GCC Administrator1-0/+5
2022-11-20gcc-changelog: temporarily disable check_line_startMartin Liska1-0/+2
contrib/ChangeLog: * gcc-changelog/git_commit.py: Temporarily disable check_line.start.
2022-11-18Daily bump.GCC Administrator1-0/+5
2022-11-18Add another commit to ignoreJakub Jelinek1-1/+2
We can't handle r13-4128-g1957bedf29a1b2cc231972aba680fe80199d5498 * gcc-changelog/git_update_version.py: Add 1957bedf29a1b2cc231972aba680fe80199d5498 to ignored commits.
2022-11-16Daily bump.GCC Administrator1-0/+5
2022-11-15gcc-changelog: revert temporary rule relaxationMartin Liska1-2/+0
contrib/ChangeLog: * gcc-changelog/git_commit.py: Revert temporary rule relaxation.