summaryrefslogtreecommitdiffstats
path: root/bin/chkcopyright
Commit message (Collapse)AuthorAgeFilesLines
* [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