|
From: <ai...@us...> - 2014-02-18 21:07:41
|
Revision: 13014
http://sourceforge.net/p/plplot/code/13014
Author: airwin
Date: 2014-02-18 21:07:37 +0000 (Tue, 18 Feb 2014)
Log Message:
-----------
Do long-neglected maintenance of parity_bit_check.sh, a script that
checks for non-ascii files in the source tree, i.e., files which
include characters with the parity bit set. Note this check does
not include files which are already well known to contain non-ascii
characters. In other words, this check only looks for unexpected
non-ascii characters.
Use the "svn export" command to create a clean directory tree that is
checked for such files.
Update the list of files (scripts/parity_bit_check.exclude) known to contain non-ascii characters.
All these changes concerned source files which have been changed from ascii to
UTF-8.
Modified Paths:
--------------
trunk/scripts/parity_bit_check.exclude
trunk/scripts/parity_bit_check.sh
Modified: trunk/scripts/parity_bit_check.exclude
===================================================================
--- trunk/scripts/parity_bit_check.exclude 2014-02-14 19:46:46 UTC (rev 13013)
+++ trunk/scripts/parity_bit_check.exclude 2014-02-18 21:07:37 UTC (rev 13014)
@@ -1,13 +1,19 @@
-\.svn
-~$
+\.shp
+\.shx
\.jpg$
\.gif$
\.cgm$
\.map$
\.fnt$
+x18
x2[46]
+x33
+xw18
xw2[46]
+xw33
+xthick18
xthick2[46]
+xthick33
lena
README.release
test_hebrew_diacritic.py
@@ -23,3 +29,11 @@
api2text.pl
docbook/AUTHORS
__pl_pltext.m
+plplot_auxiliary.adb
+plplot_auxiliary.ads
+doc/docbook/README.developers
+doc/docbook/src/CMakeLists.txt
+doc/docbook/src/advanced.xml
+doc/docbook/src/api.xml
+examples/python/test_linebreak.py
+examples/ocaml/xplot01.ml
Modified: trunk/scripts/parity_bit_check.sh
===================================================================
--- trunk/scripts/parity_bit_check.sh 2014-02-14 19:46:46 UTC (rev 13013)
+++ trunk/scripts/parity_bit_check.sh 2014-02-18 21:07:37 UTC (rev 13014)
@@ -6,7 +6,7 @@
# source tree (except those listed below) to discover which of those
# files have any character with the eighth (parity) bit set.
-# Copyright (C) 2010 Alan W. Irwin
+# Copyright (C) 2010-2014 Alan W. Irwin
#
# This file is part of PLplot.
#
@@ -50,9 +50,11 @@
# Assumption: top-level source tree is parent directory of where script
# is located.
SOURCE_TREE="$(dirname ${SCRIPT_PATH})"
-cd "${SOURCE_TREE}"
#List of all files in source tree other than .svn ones....
+rm -rf /tmp/parity_bit_check
+svn --quiet export ${SOURCE_TREE} /tmp/parity_bit_check
+cd /tmp/parity_bit_check
find -type f >| /tmp/temporary_source_tree_list
for FILE in $(grep -v -f "$SOURCE_TREE"/scripts/parity_bit_check.exclude /tmp/temporary_source_tree_list); do
@@ -62,4 +64,4 @@
printf "%s %x\n" $FILE $parity_bit_check_rc
fi
done
-rm -f /tmp/temporary_source_tree_list
\ No newline at end of file
+rm -f /tmp/temporary_source_tree_list
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|