diff options
author | Karl Berry <karl@freefriends.org> | 2017-03-13 23:41:21 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-03-13 23:41:21 +0000 |
commit | c1d91990fc364cd59b82fa33adab656e4374448e (patch) | |
tree | 6404a895f6e055ef157071b6f6fdbdd039871bf2 /Build/source/libs/icu/icu-src/source/io | |
parent | 2edb5793943361b66fc27160a8f06ce24bdc0e0e (diff) |
icu 58.2 (release), original sources
git-svn-id: svn://tug.org/texlive/trunk@43491 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/icu/icu-src/source/io')
23 files changed, 58 insertions, 10 deletions
diff --git a/Build/source/libs/icu/icu-src/source/io/Makefile.in b/Build/source/libs/icu/icu-src/source/io/Makefile.in index 97cbc8064db..84843254334 100644 --- a/Build/source/libs/icu/icu-src/source/io/Makefile.in +++ b/Build/source/libs/icu/icu-src/source/io/Makefile.in @@ -1,3 +1,5 @@ +# Copyright (C) 2016 and later: Unicode, Inc. and others. +# License & terms of use: http://www.unicode.org/copyright.html #****************************************************************************** # # Copyright (C) 1999-2011, International Business Machines diff --git a/Build/source/libs/icu/icu-src/source/io/io.rc b/Build/source/libs/icu/icu-src/source/io/io.rc index 44941326adb..b3c750b5f00 100644 --- a/Build/source/libs/icu/icu-src/source/io/io.rc +++ b/Build/source/libs/icu/icu-src/source/io/io.rc @@ -1,6 +1,8 @@ // Do not edit with Microsoft Developer Studio Resource Editor. // It will permanently substitute version numbers that are intended to be // picked up by the pre-processor during each build. +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html // Copyright (c) 2001-2010 International Business Machines // Corporation and others. All Rights Reserved. // diff --git a/Build/source/libs/icu/icu-src/source/io/io.vcxproj b/Build/source/libs/icu/icu-src/source/io/io.vcxproj index 28364dd700e..3173e920809 100644 --- a/Build/source/libs/icu/icu-src/source/io/io.vcxproj +++ b/Build/source/libs/icu/icu-src/source/io/io.vcxproj @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> +<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> @@ -26,21 +26,25 @@ <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v140</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v140</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v140</PlatformToolset> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <ConfigurationType>DynamicLibrary</ConfigurationType> <UseOfMfc>false</UseOfMfc> <CharacterSet>MultiByte</CharacterSet> + <PlatformToolset>v140</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <ImportGroup Label="ExtensionSettings"> @@ -107,7 +111,7 @@ <AdditionalIncludeDirectories>..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ResourceCompile> <Link> - <OutputFile>..\..\bin\icuio57.dll</OutputFile> + <OutputFile>..\..\bin\icuio58.dll</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> <ProgramDatabaseFile>.\..\..\lib\icuio.pdb</ProgramDatabaseFile> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -151,7 +155,7 @@ <AdditionalIncludeDirectories>..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ResourceCompile> <Link> - <OutputFile>..\..\bin\icuio57d.dll</OutputFile> + <OutputFile>..\..\bin\icuio58d.dll</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>.\..\..\lib\icuiod.pdb</ProgramDatabaseFile> @@ -192,7 +196,7 @@ <AdditionalIncludeDirectories>..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ResourceCompile> <Link> - <OutputFile>..\..\bin64\icuio57.dll</OutputFile> + <OutputFile>..\..\bin64\icuio58.dll</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> <ProgramDatabaseFile>.\..\..\lib64\icuio.pdb</ProgramDatabaseFile> <EnableCOMDATFolding>true</EnableCOMDATFolding> @@ -234,7 +238,7 @@ <AdditionalIncludeDirectories>..\common;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> </ResourceCompile> <Link> - <OutputFile>..\..\bin64\icuio57d.dll</OutputFile> + <OutputFile>..\..\bin64\icuio58d.dll</OutputFile> <SuppressStartupBanner>true</SuppressStartupBanner> <GenerateDebugInformation>true</GenerateDebugInformation> <ProgramDatabaseFile>.\..\..\lib64\icuiod.pdb</ProgramDatabaseFile> @@ -316,4 +320,4 @@ <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ImportGroup Label="ExtensionTargets"> </ImportGroup> -</Project> +</Project>
\ No newline at end of file diff --git a/Build/source/libs/icu/icu-src/source/io/locbund.cpp b/Build/source/libs/icu/icu-src/source/io/locbund.cpp index 594ecc3b02f..298452859f7 100644 --- a/Build/source/libs/icu/icu-src/source/io/locbund.cpp +++ b/Build/source/libs/icu/icu-src/source/io/locbund.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * diff --git a/Build/source/libs/icu/icu-src/source/io/locbund.h b/Build/source/libs/icu/icu-src/source/io/locbund.h index 1eac6227b1d..b9e19484b65 100644 --- a/Build/source/libs/icu/icu-src/source/io/locbund.h +++ b/Build/source/libs/icu/icu-src/source/io/locbund.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * diff --git a/Build/source/libs/icu/icu-src/source/io/sprintf.c b/Build/source/libs/icu/icu-src/source/io/sprintf.c index 9f86e254812..ff143deb288 100644 --- a/Build/source/libs/icu/icu-src/source/io/sprintf.c +++ b/Build/source/libs/icu/icu-src/source/io/sprintf.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * @@ -179,7 +181,7 @@ u_vsnprintf(UChar *buffer, int32_t size = (int32_t)strlen(patternSpecification) + 1; /* convert from the default codepage to Unicode */ - if (size >= MAX_UCHAR_BUFFER_SIZE(patBuffer)) { + if (size >= (int32_t)MAX_UCHAR_BUFFER_SIZE(patBuffer)) { pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); if(pattern == 0) { return 0; diff --git a/Build/source/libs/icu/icu-src/source/io/sscanf.c b/Build/source/libs/icu/icu-src/source/io/sscanf.c index ffc850c84f4..31ad8965fc2 100644 --- a/Build/source/libs/icu/icu-src/source/io/sscanf.c +++ b/Build/source/libs/icu/icu-src/source/io/sscanf.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * @@ -71,7 +73,7 @@ u_vsscanf(const UChar *buffer, int32_t size = (int32_t)uprv_strlen(patternSpecification) + 1; /* convert from the default codepage to Unicode */ - if (size >= MAX_UCHAR_BUFFER_SIZE(patBuffer)) { + if (size >= (int32_t)MAX_UCHAR_BUFFER_SIZE(patBuffer)) { pattern = (UChar *)uprv_malloc(size * sizeof(UChar)); if(pattern == 0) { return 0; diff --git a/Build/source/libs/icu/icu-src/source/io/ucln_io.cpp b/Build/source/libs/icu/icu-src/source/io/ucln_io.cpp index 1775d5c5094..21a0baf58db 100644 --- a/Build/source/libs/icu/icu-src/source/io/ucln_io.cpp +++ b/Build/source/libs/icu/icu-src/source/io/ucln_io.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * @@ -33,7 +35,7 @@ static const char copyright[] = U_COPYRIGHT_STRING; static cleanupFunc *gCleanupFunctions[UCLN_IO_COUNT]; -static UBool io_cleanup(void) +static UBool U_CALLCONV io_cleanup(void) { int32_t libType = UCLN_IO_START; diff --git a/Build/source/libs/icu/icu-src/source/io/ucln_io.h b/Build/source/libs/icu/icu-src/source/io/ucln_io.h index 105eca8b136..97d06a12ffd 100644 --- a/Build/source/libs/icu/icu-src/source/io/ucln_io.h +++ b/Build/source/libs/icu/icu-src/source/io/ucln_io.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * diff --git a/Build/source/libs/icu/icu-src/source/io/ufile.c b/Build/source/libs/icu/icu-src/source/io/ufile.c index ab9f70a3d5c..87ed3f1e969 100644 --- a/Build/source/libs/icu/icu-src/source/io/ufile.c +++ b/Build/source/libs/icu/icu-src/source/io/ufile.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/ufile.h b/Build/source/libs/icu/icu-src/source/io/ufile.h index 42be4662c6e..3a1a22335ec 100644 --- a/Build/source/libs/icu/icu-src/source/io/ufile.h +++ b/Build/source/libs/icu/icu-src/source/io/ufile.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * diff --git a/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.c b/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.c index 90eaf8b7919..e24d0d7a039 100644 --- a/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.c +++ b/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.h b/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.h index f712bb3e1fb..97079ed9d28 100644 --- a/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.h +++ b/Build/source/libs/icu/icu-src/source/io/ufmt_cmn.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/unicode/ustdio.h b/Build/source/libs/icu/icu-src/source/io/unicode/ustdio.h index 251a2b5b89e..8f38398cdb9 100644 --- a/Build/source/libs/icu/icu-src/source/io/unicode/ustdio.h +++ b/Build/source/libs/icu/icu-src/source/io/unicode/ustdio.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/unicode/ustream.h b/Build/source/libs/icu/icu-src/source/io/unicode/ustream.h index 41ccf5ae036..ab52f6a28a0 100644 --- a/Build/source/libs/icu/icu-src/source/io/unicode/ustream.h +++ b/Build/source/libs/icu/icu-src/source/io/unicode/ustream.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** * Copyright (C) 2001-2014 International Business Machines diff --git a/Build/source/libs/icu/icu-src/source/io/uprintf.cpp b/Build/source/libs/icu/icu-src/source/io/uprintf.cpp index a7e79f8ea89..b12ef0efed7 100644 --- a/Build/source/libs/icu/icu-src/source/io/uprintf.cpp +++ b/Build/source/libs/icu/icu-src/source/io/uprintf.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/uprintf.h b/Build/source/libs/icu/icu-src/source/io/uprintf.h index 4b538451023..0a07e6b7d6a 100644 --- a/Build/source/libs/icu/icu-src/source/io/uprintf.h +++ b/Build/source/libs/icu/icu-src/source/io/uprintf.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/uprntf_p.c b/Build/source/libs/icu/icu-src/source/io/uprntf_p.c index fcb6ff8016e..9890b29b964 100644 --- a/Build/source/libs/icu/icu-src/source/io/uprntf_p.c +++ b/Build/source/libs/icu/icu-src/source/io/uprntf_p.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/uscanf.c b/Build/source/libs/icu/icu-src/source/io/uscanf.c index 3ef9b3c7bee..34368dade45 100644 --- a/Build/source/libs/icu/icu-src/source/io/uscanf.c +++ b/Build/source/libs/icu/icu-src/source/io/uscanf.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/uscanf.h b/Build/source/libs/icu/icu-src/source/io/uscanf.h index c192d66537c..1140eee1c36 100644 --- a/Build/source/libs/icu/icu-src/source/io/uscanf.h +++ b/Build/source/libs/icu/icu-src/source/io/uscanf.h @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * diff --git a/Build/source/libs/icu/icu-src/source/io/uscanf_p.c b/Build/source/libs/icu/icu-src/source/io/uscanf_p.c index 716885d4957..ded984cef2d 100644 --- a/Build/source/libs/icu/icu-src/source/io/uscanf_p.c +++ b/Build/source/libs/icu/icu-src/source/io/uscanf_p.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ******************************************************************************* * diff --git a/Build/source/libs/icu/icu-src/source/io/ustdio.c b/Build/source/libs/icu/icu-src/source/io/ustdio.c index 6b4d03cf1ed..1c2225a9423 100644 --- a/Build/source/libs/icu/icu-src/source/io/ustdio.c +++ b/Build/source/libs/icu/icu-src/source/io/ustdio.c @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * @@ -428,7 +430,7 @@ ufile_fill_uchar_buffer(UFILE *f) /* shift the buffer if it isn't empty */ if(dataSize != 0) { - uprv_memmove(f->fUCBuffer, str->fPos, dataSize * sizeof(UChar)); /* not accessing beyond memory */ + u_memmove(f->fUCBuffer, str->fPos, dataSize); /* not accessing beyond memory */ } diff --git a/Build/source/libs/icu/icu-src/source/io/ustream.cpp b/Build/source/libs/icu/icu-src/source/io/ustream.cpp index 25c54eb5553..8e0087edbe6 100644 --- a/Build/source/libs/icu/icu-src/source/io/ustream.cpp +++ b/Build/source/libs/icu/icu-src/source/io/ustream.cpp @@ -1,3 +1,5 @@ +// Copyright (C) 2016 and later: Unicode, Inc. and others. +// License & terms of use: http://www.unicode.org/copyright.html /* ********************************************************************** * Copyright (C) 2001-2016, International Business Machines |