summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r13352] Added support for configure.in type files.Albert Cheng2007-02-201-0/+45
| | | | Tested in kagiso.
* [svn-r13319] Added Caution message of the limit of the -fix feature.Albert Cheng2007-02-151-1/+15
|
* [svn-r13313] Added HTML files fixing feature.Albert Cheng2007-02-141-0/+3
| | | | Tested: kagiso.
* [svn-r13310] Aded recognition of Perl script file s (*.pl) and Makefile.dist.Albert Cheng2007-02-141-1/+5
|
* [svn-r13307] ImprovementAlbert Cheng2007-02-141-25/+60
| | | | | Separated the file type guessing from UNKNOWN_TYPE into a function itself to be used by other routines later. Added debug printing feature.
* [svn-r13268] Added VMS COMMAND files support.Albert Cheng2007-02-081-0/+43
| | | | Tested: kagiso.
* [svn-r13265] Changed Makefile to use only the single hash mark style of ↵Albert Cheng2007-02-071-11/+19
| | | | copyright notice.
* [svn-r13259] Separated the processing of Shell-script files from Make-style ↵Albert Cheng2007-02-071-2/+30
| | | | | | files. Tested in kagiso.
* [svn-r13256] Updated fortran source code with new THG copyright.Albert Cheng2007-02-071-0/+3
| | | | Tested: kagiso.
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-12/+138
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r13251] upgrade.Albert Cheng2007-02-071-19/+39
| | | | | | Changed all copyright notice to the THG version. Tested in kagiso.
* [svn-r11696] Purpose:Albert Cheng2005-11-091-16/+10
| | | | | | | | | | | | | | | | | Improvement Description: The previous HTML files strategy was to expect the very first comment block is the copyright notice. That did not work well as more and more other comments appear now. Solution: Changed the strategy to look for the only the essential body of copyright notice. This no longer verifies this body of text is a comment block. But the previous strategy is not really bullet-proof either. Platforms tested: tested in heping.
* [svn-r11678] Purpose:Albert Cheng2005-11-031-20/+44
| | | | | | | | | | | | Bug fix, feature. Description: Fix a bug to recognize "#xyz..." is a comment in the init file. Add more binary data file types. Added prunepath command. Platforms tested: heping.
* [svn-r11672] Purpose:Albert Cheng2005-11-021-1/+4
| | | | Added more Windows binary file types and exempted file.
* [svn-r11664] Purpose:Albert Cheng2005-11-011-1/+0
| | | | Forgot to remove a debug echo statment. Fixed.
* [svn-r11652] Purpose:Albert Cheng2005-11-011-3/+18
| | | | | | | | | | | | | | | | | | Improvement Description: The copyright notice of some files may contain some white spaces such as tabs, trailing blanks and \r (common in Windows files). Diff will flag them as not matching. Could not just use -b or -w of diff because it will ignore embedded spaces and could not handle \r anyway. Solution: Added a RINSE function will remove all \r and trailing spaces and expand tabs to proper number of spaces. Now, diff can compare without worry of cosmetic white spaces. Platforms tested: heping, applying on a Windows/copy_hdf.bat file.
* [svn-r11648] Purpose:Albert Cheng2005-11-011-0/+44
| | | | | | | | | | | Feature Description: Added copyright detection for Windows files, *.dsw, *.dsp, *.zip (these are ignored), and *.bat files. Platforms tested: heping.
* [svn-r11627] Purpose:Albert Cheng2005-10-301-6/+18
| | | | | | | improvement. Description: It records passed files and reports numbers of both passed and failed files.
* [svn-r11624] Purpose:Albert Cheng2005-10-291-1/+5
| | | | | | | Added *.jpg and *.hdf5 as binary data files to be ignored. Platforms tested: heping.
* [svn-r11622] Purpose:Albert Cheng2005-10-291-0/+3
| | | | | | | | | | Improvement. Description: Added knowledge to recognized an HTML file by its content by looking for <html> tag. Platforms tested: heping.
* [svn-r11548] Purpose:Albert Cheng2005-10-111-16/+24
| | | | | | | | Added another case of shell-like style file--if lines leading by #'s are found, treat it like a shell-like style file. Platforms tested: hand tested in heping.
* [svn-r11544] Purpose:Albert Cheng2005-10-111-1/+26
| | | | | | | | | New feature. Description: Added code that try to guess what type of file it is by inspecting the first 5 lines. Then it tries to find the Copyright notice according to the guess.
* [svn-r11535] Purpose:Albert Cheng2005-10-111-42/+54
| | | | | | | | | | | | Another revamp. Description: Now search the copyright notice within the beginning 60 lines only. (This applies to source code. For HTML files, it is still search all the way through the file.) Platforms tested: Hand tested.
* [svn-r11526] Description:Albert Cheng2005-10-111-127/+278
| | | | | | | | A near total rewrite, added initialization feature, more flexible where the copyright notice is. Platforms tested: Hand tested.
* [svn-r11471] Purpose:Albert Cheng2005-09-271-17/+17
| | | | | | | | | | | | | | | | | | revision. Description: The copyright notice for Makefile(in) were fixed at the beginning of the files. But they are now generated by automake and autoconf such that Gnu jams its own copyright block at the beginning. Solution: Changed the rule such that the HDF5 copyright notice can be somewhere else in the file as long as they are together as one paragraph. Also added recognition of Makefile.am as a possible MAKEFILE type. Platforms tested: Tested by hand in heping.
* [svn-r7359] Purpose:Albert Cheng2003-08-131-4/+30
| | | | | | | | | | | | | | | | New features Description: Add options of verbose (-v, -v9) and -fname which limits to checking file with the file name pattern. Solution: Platforms tested: Did not h5committest which does not cover this command. Verified it by hand. Misc. update:
* [svn-r7344] Purpose:Albert Cheng2003-08-111-1/+39
| | | | | | | | | | | | | | | feature Description: Added the checking for Makefile. Skip checking CVS files. Printed filename of unknown file types. Platforms tested: No h5committest. Tested by hand on various files. Misc. update:
* [svn-r7251] Purpose:Albert Cheng2003-07-231-0/+224
New Feature Description: A command script to check if the Copyright notice is included in the files. Platforms tested: no h5committest since it does not apply. Tested by hand. Misc. update: Updated MANIFEST