Jonathan Wakely
29abd09a74
contrib: Remove C-style comments from Python files
...
These Python scripts have "*/" at the end of the license header comment
blocks, presumably copy&pasted from C files.
contrib/ChangeLog:
* analyze_brprob.py: Remove stray text at end of comment.
* 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.
* gen_autofdo_event.py: Likewise.
* mark_spam.py: Likewise.
* unicode/gen-box-drawing-chars.py: Likewise.
* unicode/gen-combining-chars.py: Likewise.
* unicode/gen-printable-chars.py: Likewise.
* unicode/gen_wcwidth.py: Likewise.
2024-01-05 13:57:05 +00:00
Jakub Jelinek
a945c346f5
Update copyright years.
2024-01-03 12:19:35 +01:00
Jakub Jelinek
83ffe9cde7
Update copyright years.
2023-01-16 11:52:17 +01:00
Martin Liska
81f86cb969
contrib: add copyright for my scripts
...
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-14 14:06:58 +01:00
Martin Liska
b045179973
unidiff: use newline='\n' argument
...
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-11 17:22:25 +01:00
Tom de Vries
75017bb975
check_GNU_style.py: Read stdin if file argument is '-'
...
2017-05-29 Tom de Vries <tom@codesourcery.com>
* check_GNU_style_lib.py (check_GNU_style_file): Treat file argument as
file handle. Add and handle file_encoding argument.
* check_GNU_style.py (main): Handle '-' file argument. Call
check_GNU_style_file with file handle as argument.
From-SVN: r248555
2017-05-29 07:31:02 +00:00
Tom de Vries
b7fc9ae0aa
check_GNU_style.py: print usage if no file specified
...
2017-05-24 Tom de Vries <tom@codesourcery.com>
* check_GNU_style_lib.py: New file, factored out of ...
* check_GNU_style.py: ... here. Call main unconditionally.
From-SVN: r248403
2017-05-24 08:49:56 +00:00
Martin Liska
43e89e0a1e
Make the script executable.
...
From-SVN: r248282
2017-05-19 13:48:52 +00:00
Martin Liska
850098ebf0
Introduce new check_GNU_style.py script.
...
2017-05-19 Martin Liska <mliska@suse.cz>
* check_GNU_style.py: New file.
From-SVN: r248281
2017-05-19 13:47:53 +00:00