From 309364fee5640e416e4d775e379e3b3b379a175d Mon Sep 17 00:00:00 2001 From: Andy Heninger Date: Fri, 17 Mar 2017 00:37:59 +0000 Subject: [PATCH] ICU-13049 svn utf-8 & other property fixes. X-SVN-Rev: 39844 --- .gitattributes | 4 - icu4c/source/data/makedata.vcxproj | 438 +++++++++++------------ icu4c/source/data/xml/brkitr/de.xml | 2 +- icu4c/source/data/xml/brkitr/es.xml | 2 +- icu4c/source/data/xml/brkitr/fr.xml | 2 +- icu4c/source/data/xml/brkitr/it.xml | 2 +- icu4c/source/data/xml/brkitr/pt.xml | 2 +- icu4c/source/data/xml/brkitr/ru.xml | 2 +- icu4c/source/tools/icu-svnprops-check.py | 59 +-- 9 files changed, 226 insertions(+), 287 deletions(-) diff --git a/.gitattributes b/.gitattributes index 8c0e8f6e898..2d16e1becbe 100644 --- a/.gitattributes +++ b/.gitattributes @@ -66,8 +66,6 @@ icu4c/source/data/in/uprops.icu -text icu4c/source/data/in/uts46.nrm -text icu4c/source/data/lang/pool.res -text icu4c/source/data/locales/pool.res -text -icu4c/source/data/makedata.vcxproj -text -icu4c/source/data/mappings/gsm-03.38-2009.ucm -text icu4c/source/data/region/pool.res -text icu4c/source/data/unit/pool.res -text icu4c/source/data/zone/pool.res -text @@ -96,7 +94,6 @@ icu4c/source/samples/udata/reader.vcxproj -text icu4c/source/samples/udata/writer.vcxproj -text icu4c/source/samples/ufortune/ufortune.vcxproj -text icu4c/source/samples/ugrep/ugrep.vcxproj -text -icu4c/source/samples/uresb/resources.vcxproj -text icu4c/source/samples/uresb/uresb.vcxproj -text icu4c/source/samples/ustring/ustring.vcxproj -text icu4c/source/test/depstest/icu-dependencies-mode.el -text @@ -108,7 +105,6 @@ icu4c/source/test/perf/README -text icu4c/source/test/perf/charperf/charperf.vcxproj -text icu4c/source/test/perf/collperf/collperf.vcxproj -text icu4c/source/test/perf/convperf/convperf.vcxproj -text -icu4c/source/test/perf/icuperf2report.xsl -text icu4c/source/test/perf/normperf/normperf.vcxproj -text icu4c/source/test/perf/strsrchperf/strsrchperf.vcxproj -text icu4c/source/test/perf/ubrkperf/ubrkperf.vcxproj -text diff --git a/icu4c/source/data/makedata.vcxproj b/icu4c/source/data/makedata.vcxproj index b5eecb962ba..529d481367e 100644 --- a/icu4c/source/data/makedata.vcxproj +++ b/icu4c/source/data/makedata.vcxproj @@ -1,219 +1,219 @@ - - - - - Debug - Win32 - - - Debug - x64 - - - Release - Win32 - - - Release - x64 - - - - {D9DF7F2F-93B7-4810-B5CD-96F4F33C079B} - MakeFileProj - v140 - Makefile - false - - - - - - - - - - - - <_ProjectFileVersion>10.0.30319.1 - .\x86\Release\ - .\x86\Release\ - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release clean all - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release clean - - $(NMakePreprocessorDefinitions) - $(NMakeIncludeSearchPath) - $(NMakeForcedIncludes) - $(NMakeAssemblySearchPath) - $(NMakeForcedUsingAssemblies) - .\x86\Debug\ - .\x86\Debug\ - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug clean all - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug clean - - $(NMakePreprocessorDefinitions) - $(NMakeIncludeSearchPath) - $(NMakeForcedIncludes) - $(NMakeAssemblySearchPath) - $(NMakeForcedUsingAssemblies) - .\x64\Release\ - .\x64\Release\ - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release clean all - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release clean - - $(NMakePreprocessorDefinitions) - $(NMakeIncludeSearchPath) - $(NMakeForcedIncludes) - $(NMakeAssemblySearchPath) - $(NMakeForcedUsingAssemblies) - .\x64\Debug\ - .\x64\Debug\ - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug clean all - NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug clean - - $(NMakePreprocessorDefinitions) - $(NMakeIncludeSearchPath) - $(NMakeForcedIncludes) - $(NMakeAssemblySearchPath) - $(NMakeForcedUsingAssemblies) - - - - .\out\tmp\x86\ReleaseBuildLog.html - - - - - .\out\tmp\x86\DebugBuildLog.html - - - - - .\out\tmp\x64\ReleaseBuildLog.html - - - - - .\out\tmp\x64\DebugBuildLog.html - - - - - - - - - - - - - - - - - - - {73c0a65b-d1f2-4de1-b3a6-15dad2c23f3d} - false - - - {dba4088d-f6f9-4f8f-8820-082a4765c16c} - false - - - {0178b127-6269-407d-b112-93877bb62776} - false - - - {c2b04507-2521-4801-bf0d-5fd79d6d518c} - false - - - {203ec78a-0531-43f0-a636-285439bde025} - false - - - {3d1246ae-1b32-479b-beca-aefa97be2321} - false - - - {73632960-b3a6-464d-83a3-4b43365f19b8} - false - - - {e4993e82-d68a-46ca-bae0-9d35e172e46f} - false - - - {eca6b435-b4fa-4f9f-bf95-f451d078fc47} - false - - - {c2be5000-7501-4e87-9724-b8d82494fae6} - false - - - {fdd3c4f2-9805-44eb-9a77-bc1c1c95b547} - false - - - {691ee0c0-dc57-4a48-8aee-8ed75eb3a057} - false - - - {a8d36f8d-09e6-4174-91c3-7beaa9c3f04f} - false - - - {8b41752b-5a52-41e4-b7e0-07921c0cc6bf} - false - - - {9d4211f7-2c77-439c-82f0-30a4e43ba569} - false - - - {c7891a65-80ab-4245-912e-5f1e17b0e6c4} - false - - - {d3065adb-8820-4cc7-9b6c-9510833961a3} - false - - - {97521d06-ec47-45d4-8bd0-9e16b3f93b2a} - false - - - {631c23ce-6c1d-4875-88f0-85e0a42b36ea} - false - - - {77c78066-746f-4ea6-b3fe-b8c8a4a97891} - false - - - {62d4b15d-7a90-4ecb-ba19-5e021d6a21bc} - false - - - {f5ad9738-1a3d-4906-b9c4-a7d9ce33dc2c} - false - - - {4c8454fe-81d3-4ca3-9927-29ba96f03dac} - false - - - {6b231032-3cb5-4eed-9210-810d666a23a0} - false - - - - - - + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + {D9DF7F2F-93B7-4810-B5CD-96F4F33C079B} + MakeFileProj + v140 + Makefile + false + + + + + + + + + + + + <_ProjectFileVersion>10.0.30319.1 + .\x86\Release\ + .\x86\Release\ + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release clean all + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Release clean + + $(NMakePreprocessorDefinitions) + $(NMakeIncludeSearchPath) + $(NMakeForcedIncludes) + $(NMakeAssemblySearchPath) + $(NMakeForcedUsingAssemblies) + .\x86\Debug\ + .\x86\Debug\ + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug clean all + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x86\Debug clean + + $(NMakePreprocessorDefinitions) + $(NMakeIncludeSearchPath) + $(NMakeForcedIncludes) + $(NMakeAssemblySearchPath) + $(NMakeForcedUsingAssemblies) + .\x64\Release\ + .\x64\Release\ + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release clean all + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Release clean + + $(NMakePreprocessorDefinitions) + $(NMakeIncludeSearchPath) + $(NMakeForcedIncludes) + $(NMakeAssemblySearchPath) + $(NMakeForcedUsingAssemblies) + .\x64\Debug\ + .\x64\Debug\ + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug clean all + NMAKE /f makedata.mak ICUMAKE="$(ProjectDir)\" CFG=x64\Debug clean + + $(NMakePreprocessorDefinitions) + $(NMakeIncludeSearchPath) + $(NMakeForcedIncludes) + $(NMakeAssemblySearchPath) + $(NMakeForcedUsingAssemblies) + + + + .\out\tmp\x86\ReleaseBuildLog.html + + + + + .\out\tmp\x86\DebugBuildLog.html + + + + + .\out\tmp\x64\ReleaseBuildLog.html + + + + + .\out\tmp\x64\DebugBuildLog.html + + + + + + + + + + + + + + + + + + + {73c0a65b-d1f2-4de1-b3a6-15dad2c23f3d} + false + + + {dba4088d-f6f9-4f8f-8820-082a4765c16c} + false + + + {0178b127-6269-407d-b112-93877bb62776} + false + + + {c2b04507-2521-4801-bf0d-5fd79d6d518c} + false + + + {203ec78a-0531-43f0-a636-285439bde025} + false + + + {3d1246ae-1b32-479b-beca-aefa97be2321} + false + + + {73632960-b3a6-464d-83a3-4b43365f19b8} + false + + + {e4993e82-d68a-46ca-bae0-9d35e172e46f} + false + + + {eca6b435-b4fa-4f9f-bf95-f451d078fc47} + false + + + {c2be5000-7501-4e87-9724-b8d82494fae6} + false + + + {fdd3c4f2-9805-44eb-9a77-bc1c1c95b547} + false + + + {691ee0c0-dc57-4a48-8aee-8ed75eb3a057} + false + + + {a8d36f8d-09e6-4174-91c3-7beaa9c3f04f} + false + + + {8b41752b-5a52-41e4-b7e0-07921c0cc6bf} + false + + + {9d4211f7-2c77-439c-82f0-30a4e43ba569} + false + + + {c7891a65-80ab-4245-912e-5f1e17b0e6c4} + false + + + {d3065adb-8820-4cc7-9b6c-9510833961a3} + false + + + {97521d06-ec47-45d4-8bd0-9e16b3f93b2a} + false + + + {631c23ce-6c1d-4875-88f0-85e0a42b36ea} + false + + + {77c78066-746f-4ea6-b3fe-b8c8a4a97891} + false + + + {62d4b15d-7a90-4ecb-ba19-5e021d6a21bc} + false + + + {f5ad9738-1a3d-4906-b9c4-a7d9ce33dc2c} + false + + + {4c8454fe-81d3-4ca3-9927-29ba96f03dac} + false + + + {6b231032-3cb5-4eed-9210-810d666a23a0} + false + + + + + + diff --git a/icu4c/source/data/xml/brkitr/de.xml b/icu4c/source/data/xml/brkitr/de.xml index 6649e6bce49..23144d3124c 100644 --- a/icu4c/source/data/xml/brkitr/de.xml +++ b/icu4c/source/data/xml/brkitr/de.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/data/xml/brkitr/es.xml b/icu4c/source/data/xml/brkitr/es.xml index bc08a1a6c08..3465f1981fc 100644 --- a/icu4c/source/data/xml/brkitr/es.xml +++ b/icu4c/source/data/xml/brkitr/es.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/data/xml/brkitr/fr.xml b/icu4c/source/data/xml/brkitr/fr.xml index 0ab5e8a1017..af51689f9ae 100644 --- a/icu4c/source/data/xml/brkitr/fr.xml +++ b/icu4c/source/data/xml/brkitr/fr.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/data/xml/brkitr/it.xml b/icu4c/source/data/xml/brkitr/it.xml index a5ebe420e7e..4d078d0e9f6 100644 --- a/icu4c/source/data/xml/brkitr/it.xml +++ b/icu4c/source/data/xml/brkitr/it.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/data/xml/brkitr/pt.xml b/icu4c/source/data/xml/brkitr/pt.xml index 6462782283e..153f0550ae3 100644 --- a/icu4c/source/data/xml/brkitr/pt.xml +++ b/icu4c/source/data/xml/brkitr/pt.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/data/xml/brkitr/ru.xml b/icu4c/source/data/xml/brkitr/ru.xml index f70b4b559d7..45026ee701a 100644 --- a/icu4c/source/data/xml/brkitr/ru.xml +++ b/icu4c/source/data/xml/brkitr/ru.xml @@ -14,7 +14,7 @@ > - + diff --git a/icu4c/source/tools/icu-svnprops-check.py b/icu4c/source/tools/icu-svnprops-check.py index 4eb505c7fe3..92fbf5a820b 100755 --- a/icu4c/source/tools/icu-svnprops-check.py +++ b/icu4c/source/tools/icu-svnprops-check.py @@ -30,64 +30,6 @@ import os.path import re import getopt -# -# svn autoprops definitions. -# Copy and paste here the ICU recommended auto-props from -# http://icu-project.org/docs/subversion_howto/index.html -# -# This program will parse this autoprops string, and verify that files in -# the repository have the recommeded properties set. -# -svn_auto_props = """ -### Section for configuring automatic properties. -[auto-props] -### The format of the entries is: -### file-name-pattern = propname[=value][;propname[=value]...] -### The file-name-pattern can contain wildcards (such as '*' and -### '?'). All entries which match will be applied to the file. -### Note that auto-props functionality must be enabled, which -### is typically done by setting the 'enable-auto-props' option. -*.c = svn:eol-style=native -*.cc = svn:eol-style=native -*.cpp = svn:eol-style=native -*.h = svn:eol-style=native -*.rc = svn:eol-style=native -*.dsp = svn:eol-style=native -*.dsw = svn:eol-style=native -*.sln = svn:eol-style=native -*.vcproj = svn:eol-style=native -configure = svn:eol-style=native;svn:executable -*.sh = svn:eol-style=native;svn:executable -*.pl = svn:eol-style=native;svn:executable -*.py = svn:eol-style=native;svn:executable -*.txt = svn:mime-type=text/plain;svn:eol-style=native -*.java = svn:eol-style=native;svn:mime-type=text/plain;;charset=utf-8 -*.ucm = svn:eol-style=native -*.html = svn:eol-style=native;svn:mime-type=text/html -*.htm = svn:eol-style=native;svn:mime-type=text/html -*.xml = svn:eol-style=native -Makefile = svn:eol-style=native -*.in = svn:eol-style=native -*.mak = svn:eol-style=native -*.mk = svn:eol-style=native -*.png = svn:mime-type=image/png -*.jpeg = svn:mime-type=image/jpeg -*.jpg = svn:mime-type=image/jpeg -*.bin = svn:mime-type=application/octet-stream -*.brk = svn:mime-type=application/octet-stream -*.cnv = svn:mime-type=application/octet-stream -*.dat = svn:mime-type=application/octet-stream -*.icu = svn:mime-type=application/octet-stream -*.res = svn:mime-type=application/octet-stream -*.spp = svn:mime-type=application/octet-stream -# new additions 2007-dec-5 srl -*.rtf = mime-type=text/rtf -*.pdf = mime-type=application/pdf -# changed 2008-04-08: modified .txt, above, adding mime-type -# changed 2010-11-09: modified .java, adding mime-type -# Note: The escape syntax for semicolon (";;") is supported since subversion 1.6.1 -""" - # file_types: The parsed form of the svn auto-props specification. # A list of file types - .cc, .cpp, .txt, etc. @@ -148,6 +90,7 @@ def runCommand(cmd): sys.exit(exit_status) return output_text +svn_auto_props = runCommand("svn propget svn:auto-props http://source.icu-project.org/repos/icu") def usage(): print "usage: " + sys.argv[0] + " [-f | --fix] [-h | --help]" -- 2.40.0