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

Side by Side Diff: third_party/libxslt/README.chromium

Issue 1193533007: Upgrade to libxml 2.9.2 and libxslt 1.1.28 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: no iconv Created 5 years, 6 months 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
« no previous file with comments | « third_party/libxslt/README ('k') | third_party/libxslt/TODO » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: libxslt 1 Name: libxslt
2 URL: http://xmlsoft.org/XSLT 2 URL: http://xmlsoft.org/XSLT
3 Version: 1.1.26 3 Version: 1.1.28
4 Security Critical: yes 4 Security Critical: yes
5 License: MIT 5 License: MIT
6 License File: Copyright 6 License File: Copyright
7 7
8 Description: 8 Description:
9 This directory contains a partial snapshot of the libxslt library
10 with the following modification:
11 9
12 1) Modified win32/configure.js to be able to clobber a read-only Makefile 10 libxslt from libxml.org.
13 This consists of:
14 replace ---
15 fso.CopyFile(makefile, ".\\Makefile", true);
16 with ---
17 var new_makefile = ".\\Makefile";
18 var f = fso.FileExists(new_makefile);
19 if (f) {
20 var t = fso.GetFile(new_makefile);
21 t.Attributes =0;
22 }
23 fso.CopyFile(makefile, new_makefile, true);
24 done ---
25 11
26 2) Modified libxslt/security.c to use GetFileAttributesA instead of GetFileAttri butes. 12 Modifications:
27 13
28 3) Modified configure to not generate Makefiles. 14 - GetFileAttributes -> GetFileAttributesA in libxslt\security.c
29 This consists of:
30 replace ---
31 ac_config_files="$ac_config_files Makefile....
32 with ---
33 ac_config_files="$ac_config_files libxslt/xsltconfig.h libxslt/xsltwin32config.h libexslt/exsltconfig.h xslt-config"
34 done ---
35 15
36 4) Modified xsltconfig.h options:
37 - Change LIBXSLT_VERSION_EXTRA define to ""
38 - Change the DEBUG_MEMORY define to #if 0
39 - Change the WITH_MODULES define to #if 0
40 - Change the "Locale support" section to #if 0
41 - For good measure, change the LIBXSLT_DEFAULT_PLUGINS_PATH() define to "NULL"
42 16
43 Current version: 1.1.26, plus the following patches: 17 To import a new version:
44 - A fix to get more compact generated IDs (http://git.gnome.org/browse/libxslt/c ommit/?id=ecb6bcb8d1b7e44842edde3929f412d46b40c89f)
45 - Import pattern parsing fix for commit: http://git.gnome.org/browse/libxslt/com mit/?id=fe5a4fa33eb85bce3253ed3742b1ea6c4b59b41b
46 - A fix for XSLT node checking (from upstream, commit pending).
47 - A fix for dictionary string usage.
48 18
49 5) Converted to utf-8 with: vim +"argdo write ++enc=utf-8" *.c 19 On Linux, get the latest tar via libxml.org.
50 20
51 6) A change to pattern.c to better handle an error condition parsing a broken 21 Extract and replace libxslt/ with libxslt-X.Y.Z/
52 expression.
53 22
54 To import a new snapshot of libxslt: 23 mkdir linux && cd linux
24 ../configure --without-debug --without-mem-debug --without-debugger --without-pl ugins --with-libxml-src=../../libxml/linux/
25 Patch to not define HAVE_CLOCK_GETTIME.
55 26
56 - Visit http://xmlsoft.org/XSLT/downloads.html and download the latest source 27 Do the same on Mac and copy the mac/config.h to Linux.
57 distribution. 28
58 - Copy the files into this directory, omitting files which have been omitted 29 On Windows:
59 here. 30
60 - Run build/generate-win32-headers.bat to re-generate the configuration 31 In win32\ run
61 headers. 32 cscript //E:jscript configure.js compiler=msvc iconv=no xslt_debug=no mem_debug= no debugger=no modules=no
62 - On Linux, 'cd linux && sh ../configure --with-libxml-src=../../libxml/linux/' 33 and copy config.h to Linux in win32/
63 to re-generate configuration headers. 34
64 - On Mac, 'cd mac && sh ../configure --with-libxml-src=../../libxml/mac/' 35 Remove:
65 to re-generate configuration headers. 36 doc/
66 - Perform the modification above. 37 examples/
67 - Update this README to reflect the new version number. 38 python/
68 - When creating your CL, make sure to "svn add" any new source files, but 39 tests/
69 don't ever add in the files not needed for the Chromium build. (e.g. 40 vms/
70 Changelog, configure, etc) -- these are just bloat.
OLDNEW
« no previous file with comments | « third_party/libxslt/README ('k') | third_party/libxslt/TODO » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698