Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Side by Side Diff: README.chromium

Issue 102283003: Update icudt46l.dat and related files. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/icu46/
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | android/icudt46l.dat » ('j') | source/data/translit/css3transform.txt » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 License: MIT 4 License: MIT
5 Security Critical: yes 5 Security Critical: yes
6 6
7 Description: 7 Description:
8 This directory contains the source code of ICU 4.6 for C/C++ 8 This directory contains the source code of ICU 4.6 for C/C++
9 9
10 1. It was obtained with the following: 10 1. It was obtained with the following:
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 121
122 8. Timezone data update 122 8. Timezone data update
123 - Grab the latest version of the following timezone data files and 123 - Grab the latest version of the following timezone data files and
124 put them in source/data/misc. 124 put them in source/data/misc.
125 125
126 metaZones.txt 126 metaZones.txt
127 timezoneTypes.txt 127 timezoneTypes.txt
128 windowsZones.txt 128 windowsZones.txt
129 zoneinfo64.txt 129 zoneinfo64.txt
130 130
131 As of Nov, 2011, the latest version is 2011n and the above files 131 As of Dec 2013, the latest version is 2013h and the above files
132 are available at 132 are available at
133 http://source.icu-project.org/repos/icu/data/trunk/tzdata/icunew/2011n/44/ 133 http://source.icu-project.org/repos/icu/data/trunk/tzdata/icunew/2013h/44/
134 134
135 9. Build-related changes 135 9. Transliterator customization
136
137 - Add the following files taken from ICU 52 to source/data/trnslit
138
139 {tr,el,az}_{Upper,Lower,Title}.txt
140
141 - Also add css3transform.txt to the same directory
142 - Put the following line in trnslocal.mk
143
144 TRANSLIT_SOURCE=css3transform.txt
145
146 10. Build-related changes
136 147
137 - patches/wpo.patch 148 - patches/wpo.patch
138 - patches/vscomp.patch 149 - patches/vscomp.patch
139 (see http://bugs.icu-project.org/trac/ticket/8355 and 150 (see http://bugs.icu-project.org/trac/ticket/8355 and
140 http://bugs.icu-project.org/trac/ticket/8356 ) 151 http://bugs.icu-project.org/trac/ticket/8356 )
141 - patches/rtti.patch : Make RTTI work without exception handling on Windows 152 - patches/rtti.patch : Make RTTI work without exception handling on Windows
142 (see http://bugs.icu-project.org/trac/ticket/8343) 153 (see http://bugs.icu-project.org/trac/ticket/8343)
143 - patches/data.build.patch : 154 - patches/data.build.patch :
144 To remove some data files we don't use and cut down the data size. 155 To remove some data files we don't use and cut down the data size.
145 - patches/data.build.win.patch : 156 - patches/data.build.win.patch :
146 Windows-only data build patch. Add a new target DATALIB to makedata.mak 157 Windows-only data build patch. Add a new target DATALIB to makedata.mak
147 - patches/clang.patch: To build with Clang. 158 - patches/clang.patch: To build with Clang.
148 (see http://bugs.icu-project.org/trac/ticket/8954 Two other chunks in 159 (see http://bugs.icu-project.org/trac/ticket/8954 Two other chunks in
149 the patch have already been fixed in the ICU trunk.) 160 the patch have already been fixed in the ICU trunk.)
150 - add an empty file (stubdatabuilt.txt) to source/stubdata 161 - add an empty file (stubdatabuilt.txt) to source/stubdata
151 162
152 10. Pre-built data libraries are checked in. 163 11. Pre-built data libraries are checked in.
153 164
154 Before building data file on Linux, re-run runConfigureICU Linux again 165 Before building data file on Linux, re-run 'runConfigureICU Linux' again
155 if it's run without data.build.patch in #8 above. 166 if it's run without data.build.patch in #10 above.
167
168 Because we removed layout and layoutex directories in step 3,
169 'runConfigureICU Linux' will fail even with '--disable-layout'. A
170 work-around is to have a copy of our icu tree in a separate build directory
171 and add back directories we removed in step 3 before
172 running 'runConfigure'.
156 173
157 'make' will fail in the 1st pass. Copy source/data/in/coll/invuca.icu 174 'make' will fail in the 1st pass. Copy source/data/in/coll/invuca.icu
158 to {BUILD_DIR_ROOT}/data/out/build/icudt46l/coll and re-run 'make' 175 to {BUILD_DIR_ROOT}/data/out/build/icudt46l/coll and re-run 'make'
159 in {BUILD_DIR_ROOT}/data. 176 in {BUILD_DIR_ROOT}/data.
160 177
178 'make' will fail again when pkgdata looks for css3transform.res. Edit
179 data/out/tmp/icudata.lst to replace 'css3transform.res' with 'root.res'.
180 (see http://bugs.icu-project.org/trac/ticket/10570 ) and run 'make' again.
181
182
161 - source/data/in/icudt46l.dat : Built on Linux with all the patches 183 - source/data/in/icudt46l.dat : Built on Linux with all the patches
162 above applied, 184 above applied. This file will be generated in
185 {BUILD_DIR_ROOT}/data/out/tmp.
163 186
164 - windows/icudt.dll : With icudt46l.dat in place, all the patches applied 187 - windows/icudt.dll : With icudt46l.dat in place, all the patches applied
165 and header files moved (#11 below), generated by building icudt_build 188 and header files moved (#11 below), generated by building icudt_build
166 project of build/icudt_build.sln on Windows. icudt46.dll is 189 project of build/icudt_build.sln on Windows. icudt46.dll is
167 generated in bin/{Release,Debug} and copied to windows/icudt.dll 190 generated in bin/{Release,Debug} and copied to windows/icudt.dll
168 and checked in. Note that we drop the version number ('46') from the 191 and checked in. Note that we drop the version number ('46') from the
169 dll name to avoind having to update our build scripts/configuration 192 dll name to avoind having to update our build scripts/configuration
170 files everytime ICU is upgraded to a new version. 193 files everytime ICU is upgraded to a new version.
171 194
172 - {mac,linux}/icudt46l_dat.S : Built on Mac and Linux with all the 195 - {mac,linux}/icudt46l_dat.S : Built on Mac and Linux with all the
173 patches above (except android/brkitr.patch) applied and checked in. 196 patches above (except android/brkitr.patch) applied and checked in.
197 This file will be generated in {BUILD_DIR_ROOT}/data/out/tmp.
198
199 Alternatively, one can just generate icudt46l_dat.S on Linux and adopt
200 the header portion to match the current header in mac/icudt46l_dat.S.
201 That is as following without no leading space in each line:
202
203 .globl _icudt46_dat
204 #ifdef U_HIDE_DATA_SYMBOL
205 .private_extern _icudt46_dat
206 #endif
207 .data
208 .const
209 .align 4
210 _icudt46_dat:
211
174 212
175 - android/icudt46l_dat.S : Built on Linux with all the patches above and 213 - android/icudt46l_dat.S : Built on Linux with all the patches above and
176 android/brkitr.patch applied and android/patch_locale.sh executed, and 214 android/brkitr.patch applied and android/patch_locale.sh executed, and
177 checked in. 215 checked in.
178 216
179 11. The header files were moved as shown below:
180
181 source/common/unicode ==> public/common/unicode
182 source/i18n/unicode ==> public/i18n/unicode
183
184 12. Apply the fix found with static analysis tools such as PSV and coverity 217 12. Apply the fix found with static analysis tools such as PSV and coverity
185 218
186 - patches/static.analysis.patch 219 - patches/static.analysis.patch
187 - upstream trunk/4.8 do not have this code any more. 220 - upstream trunk/4.8 do not have this code any more.
188 221
189 13. Fix for msvs2010 applied: 222 13. Fix for msvs2010 applied:
190 --- D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp 223 --- D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp
191 (revision 78292) 224 (revision 78292)
192 +++ D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp 225 +++ D:/src/ent/src/third_party/icu/source/common/stringpiece.cpp
193 (working copy) 226 (working copy)
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 24. Fix compilation errors on VS2012 and above. 284 24. Fix compilation errors on VS2012 and above.
252 - patches/vs2012.patch 285 - patches/vs2012.patch
253 286
254 25. Fix a buffer overflow in UTF-16/32 detection. 287 25. Fix a buffer overflow in UTF-16/32 detection.
255 - patches/csetdet.patch 288 - patches/csetdet.patch
256 - upstream bug: http://bugs.icu-project.org/trac/ticket/10318 289 - upstream bug: http://bugs.icu-project.org/trac/ticket/10318
257 290
258 26. Add BreakIterator::getRuleStatus 291 26. Add BreakIterator::getRuleStatus
259 - patches/breakiterator.patch 292 - patches/breakiterator.patch
260 - Copy and paste BreakIterator::getRuleStatus API from ICU 52 293 - Copy and paste BreakIterator::getRuleStatus API from ICU 52
OLDNEW
« no previous file with comments | « no previous file | android/icudt46l.dat » ('j') | source/data/translit/css3transform.txt » ('J')

Powered by Google App Engine
This is Rietveld 408576698