| OLD | NEW |
| 1 Name: icu | 1 Name: icu |
| 2 URL: http://site.icu-project.org/ | 2 URL: http://site.icu-project.org/ |
| 3 Version: 4.6 | 3 Version: 4.6 |
| 4 | 4 |
| 5 Description: | 5 Description: |
| 6 This directory contains the source code of ICU 4.6 for C/C++ | 6 This directory contains the source code of ICU 4.6 for C/C++ |
| 7 | 7 |
| 8 1. It was obtained with the following: | 8 1. It was obtained with the following: |
| 9 | 9 |
| 10 $ svn export --native-eol LF http://source.icu-project.org/repos/icu/icu/tag
s/release-4-6 icu46 | 10 $ svn export --native-eol LF http://source.icu-project.org/repos/icu/icu/tag
s/release-4-6 icu46 |
| 11 | 11 |
| 12 2. The following directories were removed because they're not used by Chromium | 12 2. The following directories were removed because they're not used by Chromium |
| 13 at the moment: | 13 at the moment: |
| 14 as_is | 14 as_is |
| 15 packaging | 15 packaging |
| 16 source/extra | 16 source/extra |
| 17 source/sample | 17 source/sample |
| 18 source/layout | 18 source/layout |
| 19 source/layoutex | 19 source/layoutex |
| 20 | 20 |
| 21 3. Platform header files for Linux and Mac OS X: | 21 3. Platform header files for Linux, FreeBSD, and Mac OS X: |
| 22 | 22 |
| 23 - Apply platform.patch in patches directory. : It applies the upstream | 23 - Apply platform.patch in patches directory. : It applies the upstream |
| 24 patch to platform.h.in (see http://bugs.icu-project.org/trac/ticket/8248) | 24 patch to platform.h.in (see http://bugs.icu-project.org/trac/ticket/8248) |
| 25 and change source/common/unicode/ptypes.h to refer to plinux.h and | 25 and change source/common/unicode/ptypes.h to refer to plinux.h and |
| 26 pmac.h generated below. | 26 pmac.h generated below. |
| 27 | 27 |
| 28 - On Linux and Mac OS X, 'runConfigureICU Linux' and 'runConfigureICU MacOSX' | 28 - 'runConfigureICU Linux', 'runConfigureICU FreeBSD', and |
| 29 are run to generate source/common/unicode/platform.h. | 29 'runConfigureICU MacOSX' are run to generate |
| 30 source/common/unicode/platform.h. |
| 30 | 31 |
| 31 - Rename it to 'plinux.h' and 'pmac.h' on Linux and Mac | 32 - Rename it to 'plinux.h', 'pfreebsd.h', and 'pmac.h' |
| 32 | 33 |
| 33 - Apply patches/pmach.h.patch on Mac to pmac.h | 34 - Apply patches/pmach.h.patch on Mac to pmac.h |
| 34 | 35 |
| 35 | 36 |
| 36 4. The word breaking for Chinese and Japanese were modified to use a word | 37 4. The word breaking for Chinese and Japanese were modified to use a word |
| 37 frequency list with the following patch and cjdict.txt. | 38 frequency list with the following patch and cjdict.txt. |
| 38 | 39 |
| 39 - patches/segmentation.patch : | 40 - patches/segmentation.patch : |
| 40 Adds a dictionary (word-frequency)-based word breaking for CJK | 41 Adds a dictionary (word-frequency)-based word breaking for CJK |
| 41 (Korean is supported in the code, but it does not do anything | 42 (Korean is supported in the code, but it does not do anything |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 +++ D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp | 144 +++ D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp |
| 144 (working copy) | 145 (working copy) |
| 145 @@ -75,7 +75,7 @@ | 146 @@ -75,7 +75,7 @@ |
| 146 * Visual Studios 9.0. | 147 * Visual Studios 9.0. |
| 147 * Cygwin with MSVC 9.0 also complains here about redefinition. | 148 * Cygwin with MSVC 9.0 also complains here about redefinition. |
| 148 */ | 149 */ |
| 149 -#if (!defined(_MSC_VER) || (_MSC_VER > 1500)) && !defined(CYGWINMSVC) | 150 -#if (!defined(_MSC_VER) || (_MSC_VER > 1500)) && !defined(CYGWINMSVC) |
| 150 +#if (!defined(_MSC_VER) || (_MSC_VER > 1600)) && !defined(CYGWINMSVC) | 151 +#if (!defined(_MSC_VER) || (_MSC_VER > 1600)) && !defined(CYGWINMSVC) |
| 151 const int32_t StringPiece::npos; | 152 const int32_t StringPiece::npos; |
| 152 #endif | 153 #endif |
| OLD | NEW |