- Jan 03, 2024
-
-
Jakub Jelinek authored
update-copyright.py --this-year FAILs on two spots in the modula2 directories. One is gpl_v3_without_node.texi, I think that is similar to other license files which we already exclude from updates. And the other is GmcOptions.cc, which has lines like mcPrintf_printf0 ((const char *) "Copyright ", 10); mcPrintf_printf1 ((const char *) "Copyright (C) %d Free Software Foundation, Inc.\\n", 49, (const unsigned char *) &year, (sizeof (year)-1)); mcPrintf_printf1 ((const char *) "Copyright (C) %d Free Software Foundation, Inc.\\n", 49, (const unsigned char *) &year, (sizeof (year)-1)); which update-copyhright.py obviously can't grok. The file is generated and doesn't contain normal Copyright year which should be updated, so I think it is also ok to skip it. 2024-01-03 Jakub Jelinek <jakub@redhat.com> * update-copyright.py (GenericFilter): Skip gpl_v3_without_node.texi. (GCCFilter): Skip GmcOptions.cc.
-
- Jan 17, 2023
-
-
Martin Liska authored
contrib/ChangeLog: * update-copyright.py: Ignore test_patches.txt.
-
- Jan 16, 2023
-
-
Jakub Jelinek authored
-
Jakub Jelinek authored
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.
-
Jakub Jelinek authored
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.
-
- Jan 06, 2023
-
-
Martin Liska authored
contrib/ChangeLog: * update-copyright.py: Add contrib as a default dir.
-
- Dec 28, 2022
-
-
Martin Liska authored
contrib/ChangeLog: * update-copyright.py: Add contrib folder.
-
- Nov 04, 2022
-
-
Thomas Schwinge authored
... after its deprecation in GCC 12. * Makefile.def: Remove module 'liboffloadmic'. * Makefile.in: Regenerate. * configure.ac: Remove 'liboffloadmic' handling. * configure: Regenerate. contrib/ * gcc-changelog/git_commit.py (default_changelog_locations): Remove 'liboffloadmic'. * gcc_update (files_and_dependencies): Remove 'liboffloadmic' files. * update-copyright.py (GCCCmdLine): Remove 'liboffloadmic' comment. gcc/ * config.gcc [target *-intelmic-* | *-intelmicemul-*]: Remove. * config/i386/i386-options.cc (ix86_omp_device_kind_arch_isa) [ACCEL_COMPILER]: Remove. * config/i386/intelmic-mkoffload.cc: Remove. * config/i386/intelmic-offload.h: Likewise. * config/i386/t-intelmic: Likewise. * config/i386/t-omp-device: Likewise. * configure.ac [target *-intelmic-* | *-intelmicemul-*]: Remove. * configure: Regenerate. * doc/install.texi (--enable-offload-targets=[...]): Update. * doc/sourcebuild.texi: Remove 'liboffloadmic' documentation. include/ * gomp-constants.h (GOMP_DEVICE_INTEL_MIC): Comment out. (GOMP_VERSION_INTEL_MIC): Remove. libgomp/ * libgomp-plugin.h (OFFLOAD_TARGET_TYPE_INTEL_MIC): Remove. * libgomp.texi (OpenMP Context Selectors): Remove Intel MIC documentation. * plugin/configfrag.ac <enable_offload_targets> [*-intelmic-* | *-intelmicemul-*]: Remove. * configure: Regenerate. * testsuite/lib/libgomp.exp (libgomp_init): Remove 'liboffloadmic' handling. (offload_target_to_openacc_device_type) [$offload_target = *-intelmic*]: Remove. (check_effective_target_offload_device_intel_mic) (check_effective_target_offload_device_any_intel_mic): Remove. * testsuite/libgomp.c-c++-common/on_device_arch.h (device_arch_intel_mic, on_device_arch_intel_mic, any_device_arch) (any_device_arch_intel_mic): Remove. * testsuite/libgomp.c-c++-common/target-45.c: Remove 'offload_device_any_intel_mic' XFAIL. * testsuite/libgomp.fortran/target10.f90: Likewise. liboffloadmic/ * ChangeLog: Remove. * Makefile.am: Likewise. * Makefile.in: Likewise. * aclocal.m4: Likewise. * configure: Likewise. * configure.ac: Likewise. * configure.tgt: Likewise. * doc/doxygen/config: Likewise. * doc/doxygen/header.tex: Likewise. * include/coi/common/COIEngine_common.h: Likewise. * include/coi/common/COIEvent_common.h: Likewise. * include/coi/common/COIMacros_common.h: Likewise. * include/coi/common/COIPerf_common.h: Likewise. * include/coi/common/COIResult_common.h: Likewise. * include/coi/common/COISysInfo_common.h: Likewise. * include/coi/common/COITypes_common.h: Likewise. * include/coi/sink/COIBuffer_sink.h: Likewise. * include/coi/sink/COIPipeline_sink.h: Likewise. * include/coi/sink/COIProcess_sink.h: Likewise. * include/coi/source/COIBuffer_source.h: Likewise. * include/coi/source/COIEngine_source.h: Likewise. * include/coi/source/COIEvent_source.h: Likewise. * include/coi/source/COIPipeline_source.h: Likewise. * include/coi/source/COIProcess_source.h: Likewise. * liboffloadmic_host.spec.in: Likewise. * liboffloadmic_target.spec.in: Likewise. * plugin/Makefile.am: Likewise. * plugin/Makefile.in: Likewise. * plugin/aclocal.m4: Likewise. * plugin/configure: Likewise. * plugin/configure.ac: Likewise. * plugin/libgomp-plugin-intelmic.cpp: Likewise. * plugin/offload_target_main.cpp: Likewise. * runtime/cean_util.cpp: Likewise. * runtime/cean_util.h: Likewise. * runtime/coi/coi_client.cpp: Likewise. * runtime/coi/coi_client.h: Likewise. * runtime/coi/coi_server.cpp: Likewise. * runtime/coi/coi_server.h: Likewise. * runtime/compiler_if_host.cpp: Likewise. * runtime/compiler_if_host.h: Likewise. * runtime/compiler_if_target.cpp: Likewise. * runtime/compiler_if_target.h: Likewise. * runtime/dv_util.cpp: Likewise. * runtime/dv_util.h: Likewise. * runtime/emulator/coi_common.h: Likewise. * runtime/emulator/coi_device.cpp: Likewise. * runtime/emulator/coi_device.h: Likewise. * runtime/emulator/coi_host.cpp: Likewise. * runtime/emulator/coi_host.h: Likewise. * runtime/emulator/coi_version_asm.h: Likewise. * runtime/emulator/coi_version_linker_script.map: Likewise. * runtime/liboffload_error.c: Likewise. * runtime/liboffload_error_codes.h: Likewise. * runtime/liboffload_msg.c: Likewise. * runtime/liboffload_msg.h: Likewise. * runtime/mic_lib.f90: Likewise. * runtime/offload.h: Likewise. * runtime/offload_common.cpp: Likewise. * runtime/offload_common.h: Likewise. * runtime/offload_engine.cpp: Likewise. * runtime/offload_engine.h: Likewise. * runtime/offload_env.cpp: Likewise. * runtime/offload_env.h: Likewise. * runtime/offload_host.cpp: Likewise. * runtime/offload_host.h: Likewise. * runtime/offload_iterator.h: Likewise. * runtime/offload_omp_host.cpp: Likewise. * runtime/offload_omp_target.cpp: Likewise. * runtime/offload_orsl.cpp: Likewise. * runtime/offload_orsl.h: Likewise. * runtime/offload_table.cpp: Likewise. * runtime/offload_table.h: Likewise. * runtime/offload_target.cpp: Likewise. * runtime/offload_target.h: Likewise. * runtime/offload_target_main.cpp: Likewise. * runtime/offload_timer.h: Likewise. * runtime/offload_timer_host.cpp: Likewise. * runtime/offload_timer_target.cpp: Likewise. * runtime/offload_trace.cpp: Likewise. * runtime/offload_trace.h: Likewise. * runtime/offload_util.cpp: Likewise. * runtime/offload_util.h: Likewise. * runtime/ofldbegin.cpp: Likewise. * runtime/ofldend.cpp: Likewise. * runtime/orsl-lite/include/orsl-lite.h: Likewise. * runtime/orsl-lite/lib/orsl-lite.c: Likewise. * runtime/orsl-lite/version.txt: Likewise.
-
- Jan 03, 2022
-
-
Jakub Jelinek authored
* update-copyright.py: Add University of Illinois as external author.
-
- Nov 08, 2021
-
-
Thomas Schwinge authored
Running 'contrib/update-copyright.py' currently fails: [...] Traceback (most recent call last): File "contrib/update-copyright.py", line 365, in update_copyright canon_form = self.canonicalise_years (dir, filename, filter, years) File "contrib/update-copyright.py", line 270, in canonicalise_years (min_year, max_year) = self.year_range (years) File "contrib/update-copyright.py", line 253, in year_range year_list = [self.parse_year (year) File "contrib/update-copyright.py", line 253, in <listcomp> year_list = [self.parse_year (year) File "contrib/update-copyright.py", line 250, in parse_year raise self.BadYear (string) TypeError: exceptions must derive from BaseException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "contrib/update-copyright.py", line 796, in <module> GCCCmdLine().main() File "contrib/update-copyright.py", line 527, in main self.copyright.process_tree (dir, filter) File "contrib/update-copyright.py", line 458, in process_tree self.process_file (dir, filename, filter) File "contrib/update-copyright.py", line 421, in process_file res = self.update_copyright (dir, filename, filter, File "contrib/update-copyright.py", line 366, in update_copyright except self.BadYear as e: TypeError: catching classes that do not inherit from BaseException is not allowed Fix up for commit 3b25e835 "Port update-copyright.py to Python3". contrib/ * update-copyright.py (class BadYear): Derive from 'Exception'.
-
- May 25, 2021
-
-
Jakub Jelinek authored
While looking at PR100731, I have noticed the copyright years are 2020-ish only. This patch adds it to update-copyright.py and updates those. 2021-05-25 Jakub Jelinek <jakub@redhat.com> contrib/ * update-copyright.py: Add c++tools. c++tools/ * Makefile.in: Update copyright year. * configure.ac: Likewise. * resolver.cc: Likewise. * resolver.h: Likewise. * server.cc: Likewise. (print_version): Update copyright notice date.
-
- May 11, 2021
-
-
Martin Liska authored
ChangeLog: * Makefile.def: Remove libhsail-rt. * Makefile.in: Likewise. * configure.ac: Likewise. * configure: Regenerate. * libhsail-rt/ChangeLog: Removed. * libhsail-rt/Makefile.am: Removed. * libhsail-rt/Makefile.in: Removed. * libhsail-rt/README: Removed. * libhsail-rt/aclocal.m4: Removed. * libhsail-rt/configure: Removed. * libhsail-rt/configure.ac: Removed. * libhsail-rt/configure.tgt: Removed. * libhsail-rt/include/internal/fibers.h: Removed. * libhsail-rt/include/internal/phsa-queue-interface.h: Removed. * libhsail-rt/include/internal/phsa-rt.h: Removed. * libhsail-rt/include/internal/workitems.h: Removed. * libhsail-rt/rt/arithmetic.c: Removed. * libhsail-rt/rt/atomics.c: Removed. * libhsail-rt/rt/bitstring.c: Removed. * libhsail-rt/rt/fbarrier.c: Removed. * libhsail-rt/rt/fibers.c: Removed. * libhsail-rt/rt/fp16.c: Removed. * libhsail-rt/rt/misc.c: Removed. * libhsail-rt/rt/multimedia.c: Removed. * libhsail-rt/rt/queue.c: Removed. * libhsail-rt/rt/sat_arithmetic.c: Removed. * libhsail-rt/rt/segment.c: Removed. * libhsail-rt/rt/workitems.c: Removed. * libhsail-rt/target-config.h.in: Removed. contrib/ChangeLog: * gcc_update: Remove libhsail-rt folder. * update-copyright.py: Likewise.
-
- Jan 11, 2021
-
-
Martin Liska authored
contrib/ChangeLog: * update-copyright.py: Port to python3 by guessing encoding (first utf8, then iso8859). Add 2 more ignores: .png and .pyc.
-
- Jan 04, 2021
-
-
Jakub Jelinek authored
* update-copyright.py: Add AMD and Ulf Adams as external authors.
-
Jakub Jelinek authored
* update-copyright.py: Use 8 spaces instead of tab to indent.
-
- Jan 01, 2020
-
-
Jakub Jelinek authored
* update-copyright.py: Add Mentor Graphics Corporation and Yoshinori Sato as external authors. Skip LICENSE.txt files. From-SVN: r279812
-
- Jan 01, 2019
-
-
Jakub Jelinek authored
From-SVN: r267493
-
- Nov 26, 2018
-
-
Iain Buclaw authored
2018-11-26 Iain Buclaw <ibuclaw@gdcproject.org> * update-copyright.py (TestsuiteFilter): Skip .d tests. (LibPhobosFilter): Add filter for upstream D sources. (GCCCopyright): Add D Language Foundation as external author. (GCCCmdLine): Add libphobos. From-SVN: r266491
-
- Mar 02, 2018
-
-
Thomas Schwinge authored
contrib/ * update-copyright.py: Remove "libcilkrts" reference. gcc/c-family/ * c-attribs.c (c_common_attribute_table): Remove "cilk simd function". gcc/ * doc/invoke.texi: Remove "Cilk Plus" references. From-SVN: r258141
-
- Jan 03, 2018
-
-
Jakub Jelinek authored
From-SVN: r256168
-
- Jan 30, 2017
-
-
Bernhard Reutner-Fischer authored
2017-01-31 Bernhard Reutner-Fischer <aldot@gcc.gnu.org> * update-copyright.py (Copyright.process_file): Retain original file mode. From-SVN: r245028
-
- Jan 29, 2017
-
-
Gerald Pfeifer authored
From-SVN: r245017
-
- Jan 26, 2017
-
-
Jakub Jelinek authored
contrib/ * update-copyright.py: Add libhsail-rt to self.default_dirs and call self.add_dir on it. Add Intel Corporation to external authors. gcc/ * brig-builtins.def: Update copyright years. * config/arm/arm_acle_builtins.def: Update copyright years. gcc/brig/ Update copyright years. gcc/testsuite/ * brig.dg/dg.exp: Update copyright years. * lib/brig-dg.exp: Update copyright years. * lib/brig.exp: Update copyright years. libhsail-rt/ Update copyright years. libstdc++-v3/ * libsupc++/eh_atomics.h: Update copyright years. * testsuite/20_util/unique_ptr/cons/default.cc: Update copyright years. From-SVN: r244919
-
- Jan 20, 2017
-
-
Gerald Pfeifer authored
From-SVN: r244719
-
- Jan 04, 2017
-
-
Jakub Jelinek authored
update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty, libssp, libvtv and lto-plugin to default_dirs. * update-copyright.py (GCCCmdLine): Add include, libcc1, libiberty, libssp, libvtv and lto-plugin to default_dirs. From-SVN: r244060
-
- Jan 01, 2017
-
-
Jakub Jelinek authored
* update-copyright.py (TestsuiteFilter): Skip params/README. (GCCCmdLine): Remove libjava and libjava/testsuite add_dir. From-SVN: r243993
-
- Jun 07, 2016
-
-
Rainer Orth authored
libcc1: Update copyrights. gotools: Update copyrights. contrib: * update-copyright.py (LibMudflapFilter): Remove. (GCCCmdLine.__init__): Add gotools, libcc1. Remove libmudflap. List unhandled intl, libcilkrts, libgo, liboffloadmic, maintainer-scripts. From-SVN: r237169
-
- Jan 04, 2016
-
-
Jakub Jelinek authored
* update-copyright.py (GCCCopyright): Add NVIDIA Corporation as external author. From-SVN: r232056
-
- Aug 27, 2015
-
-
Rainer Orth authored
libvtv: Update copyrights. contrib: * update-copyright.py (GCCCmdLine): Add libvtv. From-SVN: r227262
-
- Jan 15, 2015
-
-
Richard Sandiford authored
contrib/ * update-copyright.py (Copyright.__init__): Add a regexp for "copyright = u'". (Copyright.update_copyright): Don't add a space before the year in that case. From-SVN: r219692
-
- Feb 06, 2013
-
-
Richard Sandiford authored
contrib/ * update-copyright.py: Add libdecnumber to the default list. Remove libquadmath and libssp. From-SVN: r195822
-
- Feb 04, 2013
-
-
Richard Sandiford authored
From-SVN: r195736
-
Richard Sandiford authored
From-SVN: r195734
-