]> granicus.if.org Git - icu/commitdiff
Rename getunitsdata.{cpp,h} to unitsdata.{cpp,h}
authorHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Sat, 28 Mar 2020 17:42:57 +0000 (18:42 +0100)
committerHugo van der Merwe <17109322+hugovdm@users.noreply.github.com>
Sat, 28 Mar 2020 17:42:57 +0000 (18:42 +0100)
13 files changed:
icu4c/source/i18n/Makefile.in
icu4c/source/i18n/complexunitsconverter.cpp
icu4c/source/i18n/complexunitsconverter.h
icu4c/source/i18n/i18n.vcxproj
icu4c/source/i18n/i18n.vcxproj.filters
icu4c/source/i18n/i18n_uwp.vcxproj
icu4c/source/i18n/unitconverter.cpp
icu4c/source/i18n/unitconverter.h
icu4c/source/i18n/unitsdata.cpp [moved from icu4c/source/i18n/getunitsdata.cpp with 99% similarity]
icu4c/source/i18n/unitsdata.h [moved from icu4c/source/i18n/getunitsdata.h with 100% similarity]
icu4c/source/i18n/unitsrouter.cpp
icu4c/source/i18n/unitsrouter.h
icu4c/source/test/intltest/unitstest.cpp

index 013f5ba18912c352f77cedec011dd139e6191e00..10f35a866af2cf075bfb060c358b718940063a64 100644 (file)
@@ -115,7 +115,7 @@ numparse_affixes.o numparse_compositions.o numparse_validators.o \
 numrange_fluent.o numrange_impl.o \
 erarules.o \
 formattedvalue.o formattedval_iterimpl.o formattedval_sbimpl.o formatted_string_builder.o \
-unitconverter.o unitsrouter.o complexunitsconverter.o getunitsdata.o
+unitconverter.o unitsrouter.o complexunitsconverter.o unitsdata.o
 
 ## Header files to install
 HEADERS = $(srcdir)/unicode/*.h
index e9dae22388db6d06735eefc1adc2b9675a309c68..1b6389b5953b4a2b394460dcbd23ae89431b7120 100644 (file)
@@ -11,7 +11,6 @@
 #include "uassert.h"
 #include "unicode/fmtable.h"
 #include "unitconverter.h"
-#include "getunitsdata.h"
 
 U_NAMESPACE_BEGIN
 
@@ -93,4 +92,4 @@ MaybeStackVector<Measure> ComplexUnitsConverter::convert(double quantity, UError
 
 U_NAMESPACE_END
 
-#endif /* #if !UCONFIG_NO_FORMATTING */
\ No newline at end of file
+#endif /* #if !UCONFIG_NO_FORMATTING */
index e0bd44765044ce153fc08992e5c83ce62a0add71..d021ed9cc3a7e0b649d1abc6ee499f4eda4cb2bf 100644 (file)
@@ -8,11 +8,11 @@
 #define __COMPLEXUNITSCONVERTER_H__
 
 #include "cmemory.h"
-#include "unitconverter.h"
-#include "getunitsdata.h"
 #include "unicode/errorcode.h"
 #include "unicode/measunit.h"
 #include "unicode/measure.h"
+#include "unitconverter.h"
+#include "unitsdata.h"
 
 U_NAMESPACE_BEGIN
 
index c124d8fce457344b9e9abfd7cdc01424b51dc229..cb26ceca32759b5bef5084d4ab3372ffb9697415 100644 (file)
     <ClCompile Include="unitconverter.cpp" />
     <ClCompile Include="complexunitsconverter.cpp" />
     <ClCompile Include="unitsrouter.cpp" />
-    <ClCompile Include="getunitsdata.cpp" />
+    <ClCompile Include="unitsdata.cpp" />
     <ClCompile Include="unum.cpp" />
     <ClCompile Include="unumsys.cpp" />
     <ClCompile Include="upluralrules.cpp" />
     <ClInclude Include="unitconverter.h" />
     <ClInclude Include="complexunitsconverter.h" />
     <ClInclude Include="unitsrouter.h" />
-    <ClInclude Include="getunitsdata.h" />
+    <ClInclude Include="unitsdata.h" />
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="i18n.rc" />
index c1ce5b76c5a561223d40c4ac96e26b51f334c0a4..d78f8f80d4375c46a57d73c7b0bc15163cf5158f 100644 (file)
     <ClCompile Include="unitsrouter.cpp">
       <Filter>formatting</Filter>
     </ClCompile>
-    <ClCompile Include="getunitsdata.cpp">
+    <ClCompile Include="unitsdata.cpp">
       <Filter>formatting</Filter>
     </ClCompile>
   </ItemGroup>
     <ClInclude Include="unitsrouter.h">
       <Filter>formatting</Filter>
     </ClInclude>
-    <ClInclude Include="getunitsdata.h">
+    <ClInclude Include="unitsdata.h">
       <Filter>formatting</Filter>
     </ClInclude>
     <ClInclude Include="vzone.h">
       <Filter>misc</Filter>
     </ResourceCompile>
   </ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
index c8bdb9309a4b4cce3f903ee6f02a0bdfec863a12..590473b1a3da7b0b62cf8d5a681e0f3bc05453fd 100644 (file)
     <ClCompile Include="unitconverter.cpp" />
     <ClCompile Include="complexunitsconverter.cpp" />
     <ClCompile Include="unitsrouter.cpp" />
-    <ClCompile Include="getunitsdata.cpp" />
+    <ClCompile Include="unitsdata.cpp" />
     <ClCompile Include="unum.cpp" />
     <ClCompile Include="unumsys.cpp" />
     <ClCompile Include="upluralrules.cpp" />
     <ClInclude Include="unitconverter.h" />
     <ClInclude Include="complexunitsconverter.h" />
     <ClInclude Include="unitsrouter.h" />
-    <ClInclude Include="getunitsdata.h" />
+    <ClInclude Include="unitsdata.h" />
   </ItemGroup>
   <ItemGroup>
     <ResourceCompile Include="i18n.rc" />
   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" Condition="'$(SkipUWP)'!='true'" />
   <ImportGroup Label="ExtensionTargets">
   </ImportGroup>
-</Project>
\ No newline at end of file
+</Project>
index 36104ae5f1885ebf43d44c9ef90e6224a0c3e2ff..c5e673b8dc1e3ec13472b1285143d51b8fe18b49 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "charstr.h"
 #include "double-conversion.h"
-#include "getunitsdata.h"
 #include "measunit_impl.h"
 #include "resource.h"
 #include "uassert.h"
@@ -502,4 +501,4 @@ double UnitConverter::convert(double inputValue) const {
 
 U_NAMESPACE_END
 
-#endif /* #if !UCONFIG_NO_FORMATTING */
\ No newline at end of file
+#endif /* #if !UCONFIG_NO_FORMATTING */
index 0963b1ec9d616bc141e9dccd8aa18f73a53bc986..e33ed0920dc702fd12a30ab875963d6b1d233412 100644 (file)
@@ -8,11 +8,11 @@
 #define __UNITCONVERTER_H__
 
 #include "cmemory.h"
-#include "getunitsdata.h"
 #include "unicode/errorcode.h"
 #include "unicode/measunit.h"
 #include "unicode/measure.h"
 #include "unicode/stringpiece.h"
+#include "unitsdata.h"
 
 U_NAMESPACE_BEGIN
 // Data Skeleton.
similarity index 99%
rename from icu4c/source/i18n/getunitsdata.cpp
rename to icu4c/source/i18n/unitsdata.cpp
index 38740c64555303ad3c738606fa23711a5a1c4bd9..2f751562122cc0e3ed487696537881d3982f0fd1 100644 (file)
@@ -9,9 +9,9 @@
 
 #include "cmemory.h"
 #include "cstring.h"
-#include "getunitsdata.h"
 #include "number_decimalquantity.h"
 #include "resource.h"
+#include "unitsdata.h"
 #include "uresimp.h"
 
 U_NAMESPACE_BEGIN
index db6018c9f47d4cdb563cff78727c419ebcff50aa..b5464b81691604068dc956f1cc363a85c4c786b7 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "cmemory.h"
 #include "cstring.h"
-#include "getunitsdata.h"
 #include "number_decimalquantity.h"
 #include "resource.h"
 #include "unitsrouter.h"
index 8fe7bb463b7bbbd7da7787807446d70e53d90746..0b25c63c11938a3f355ae5dbba109490e8c6383f 100644 (file)
 #include "charstr.h" // CharString
 #include "cmemory.h"
 #include "complexunitsconverter.h"
-#include "getunitsdata.h"
 #include "unicode/errorcode.h"
 #include "unicode/measunit.h"
 #include "unicode/measure.h"
 #include "unicode/stringpiece.h"
+#include "unitsdata.h"
 
 U_NAMESPACE_BEGIN
 
index d6268ea3f1118535c6e634028575fdf3c8c74bc4..a130e38dc0cc49095e4f2904d051b57df676c7dd 100644 (file)
@@ -9,7 +9,6 @@
 
 #include "charstr.h"
 #include "filestrm.h"
-#include "getunitsdata.h"
 #include "intltest.h"
 #include "number_decimalquantity.h"
 #include "unicode/ctest.h"
@@ -17,6 +16,7 @@
 #include "unicode/unistr.h"
 #include "unicode/unum.h"
 #include "unitconverter.h"
+#include "unitsdata.h"
 #include "unitsrouter.h"
 #include "uparse.h"