Skip to content
Snippets Groups Projects
  1. Jan 03, 2024
  2. Sep 29, 2023
  3. Jan 16, 2023
  4. Dec 14, 2022
    • Martin Liska's avatar
      contrib: add copyright for my scripts · 81f86cb9
      Martin Liska authored
      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.
      81f86cb9
  5. Dec 11, 2022
    • Martin Liska's avatar
      unidiff: use newline='\n' argument · b0451799
      Martin Liska authored
      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.
      b0451799
  6. Jan 19, 2022
  7. Nov 19, 2018
  8. May 29, 2017
    • Tom de Vries's avatar
      check_GNU_style_lib.py: Fix trailing whitespace check · 0a71c876
      Tom de Vries authored
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py (TrailingWhitespaceCheck.check): Assert no
      	trailing eol.
      	(TrailingWhitespaceTest): New unit test.
      	(check_GNU_style_file): Remove eol before checking.
      
      From-SVN: r248556
      0a71c876
    • Tom de Vries's avatar
      check_GNU_style.py: Read stdin if file argument is '-' · 75017bb9
      Tom de Vries authored
      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
      75017bb9
    • Tom de Vries's avatar
      check_GNU_style_lib.py: Suggest to install all missing pip3 packages at once · 76baf5ca
      Tom de Vries authored
      Instead of:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor module is missing (run: pip3 install termcolor)
      $ pip3 install termcolor
      $ ./contrib/check_GNU_style.py
      unidiff module is missing (run: pip3 install unidiff)
      $ pip3 install unidiff
      $
      ...
      
      Do:
      ...
      $ ./contrib/check_GNU_style.py
      termcolor and unidiff modules are missing (run: pip3 install termcolor unidiff)
      $ pip3 install termcolor unidiff
      $
      ...
      
      2017-05-29  Tom de Vries  <tom@codesourcery.com>
      
      	* check_GNU_style_lib.py: Use import_pip3 to import pip3 packages.
      	(import_pip3): New function.
      
      From-SVN: r248554
      76baf5ca
  9. May 24, 2017
  10. May 19, 2017
Loading