Home | History | Annotate | Download | only in contrib

Lines Matching defs:Copyright

3 # Copyright (C) 2013-2022 Free Software Foundation, Inc.
10 # This script adjusts the copyright notices at the top of source files
13 # Copyright XXXX-YYYY Free Software Foundation, Inc.
16 # that carries a non-FSF copyright.
31 # update-copyright.py --this-year
34 # all copyright notices (and possibly at other times to check whether
37 # update-copyright.py --this-year libitm
120 # Ignore references to copyright in changelog entries.
166 class Copyright:
173 # Non-whitespace characters in a copyright holder's name.
179 # Matches part of a year or copyright holder.
182 # Matches a full copyright notice:
184 # 1: 'Copyright (C)', etc.
189 '|[Cc]opyright\s+@copyright{}'
190 '|copyright = u\''
191 '|@set\s+copyright[\w-]+)'
201 # 4: the copyright holder. Don't allow multiple consecutive
207 # 'copyright' is too noisy, and 'copyright.*[0-9]' falls foul of
208 # HTML header markers, so check for 'copyright' and two digits.
209 self.other_copyright_re = re.compile ('copyright.*[0-9][0-9]',
310 # If it looks like the copyright is incomplete, add the next line.
339 self.errors.report (pathname, 'missing copyright holder')
344 'unrecognised copyright holder: ' + holder)
348 # See whether the copyright is associated with the package
362 # Update the copyright years.
371 + ('' if intro.startswith ('copyright = ') else ' ')
426 # Check for copyright lines that might have slipped by.
429 'unrecognised copyright: %s'
461 def __init__ (self, copyright = Copyright):
463 self.copyright = copyright (self.errors)
502 self.copyright.set_use_quilt (True)
505 self.copyright.include_year (time.localtime().tm_year)
527 self.copyright.process_tree (dir, filter)
602 # g++.niklas/README contains historical copyright information
658 # Contains no copyright of its own, but quotes the GPL.
674 # Contains markup around the copyright owner.
680 return re.compile ('// \(C\) Copyright Jeremy Siek')
683 class GCCCopyright (Copyright):
685 Copyright.__init__ (self, errors)