summaryrefslogtreecommitdiffstats
path: root/third_party/libxml
Commit message (Collapse)AuthorAgeFilesLines
* Revert 117996 and 117998 (clang warning flag fiddling).rsleevi@chromium.org2012-01-261-14/+0
| | | | | | | | | | | These were causing some compiles to hang. BUG=111208 TEST=Compilation terminates. Review URL: https://chromiumcodereview.appspot.com/9169090 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119307 0039d316-1c4b-4281-b951-d872f2087c98
* Import a libxml fix from upstream to make clang happy.vsm@google.com2012-01-262-1/+2
| | | | | | Review URL: http://codereview.chromium.org/9222019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119145 0039d316-1c4b-4281-b951-d872f2087c98
* Import UTF-8 fix from upstream: ↵aarya@google.com2012-01-232-2/+3
| | | | | | | | | http://git.gnome.org/browse/libxml2/commit/?id=0795348aeb86648723bc391e4d02e20631c10bca BUG=110978 Review URL: https://chromiumcodereview.appspot.com/9204008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118655 0039d316-1c4b-4281-b951-d872f2087c98
* Disable harmless warnings for 3rdparty code: libxml, libxslt.thakis@chromium.org2012-01-181-0/+14
| | | | | | | | BUG=102390 Review URL: https://chromiumcodereview.appspot.com/9242024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117998 0039d316-1c4b-4281-b951-d872f2087c98
* Pull entity fix from upstream.cevans@chromium.org2012-01-032-1/+2
| | | | | | | BUG=107128 Review URL: http://codereview.chromium.org/9072008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@116175 0039d316-1c4b-4281-b951-d872f2087c98
* Remove 'settings' type from gyp filesevan@chromium.org2011-09-221-1/+1
| | | | | | | | | | | It is not actually supported by gyp; the fact that it works is a bug that I am working on fixing. BUG=96629 Review URL: http://codereview.chromium.org/7889051 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102306 0039d316-1c4b-4281-b951-d872f2087c98
* Fix building libxml for Androidpeter@chromium.org2011-09-181-2/+2
| | | | | | | | | | | libxml should be built with _REENTRANT defined when building for Android, as this will enable threading. BUG= TEST= Review URL: http://codereview.chromium.org/7926009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@101702 0039d316-1c4b-4281-b951-d872f2087c98
* Desist libxml from continuing the parse after a SAX callback has stopped thecevans@chromium.org2011-09-132-4/+13
| | | | | | | | | | | | parse. Attempt 2 -- now with less compile fail on Mac / Clang. BUG=95465 TBR=cdn TEST=covered by existing tests under ASAN Review URL: http://codereview.chromium.org/7892003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100953 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 100883 - Desist libxml from continuing the parse after a SAX callback ↵ukai@chromium.org2011-09-132-13/+4
| | | | | | | | | | | | | | | has stopped the parse. BUG=95465 TEST=covered by existing tests under ASAN Review URL: http://codereview.chromium.org/7875008 TBR=cevans@chromium.org Review URL: http://codereview.chromium.org/7886003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100884 0039d316-1c4b-4281-b951-d872f2087c98
* Desist libxml from continuing the parse after a SAX callback has stopped thecevans@chromium.org2011-09-132-4/+13
| | | | | | | | | | parse. BUG=95465 TEST=covered by existing tests under ASAN Review URL: http://codereview.chromium.org/7875008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100883 0039d316-1c4b-4281-b951-d872f2087c98
* Apply libxml fix for undefined namespaces.cevans@chromium.org2011-08-262-0/+3
| | | | | | | BUG=93472 Review URL: http://codereview.chromium.org/7747031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98359 0039d316-1c4b-4281-b951-d872f2087c98
* Fix libxml XPath bug.cevans@chromium.org2011-08-042-2/+6
| | | | | | | BUG=89402 Review URL: http://codereview.chromium.org/7508039 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95382 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the comments setting emands and vim tab width and expansion variables.tony@chromium.org2011-07-111-6/+0
| | | | | | | | | | | | | | | | | These were added in r28089 (http://codereview.chromium.org/256059) but are unnecessary bloat for everyone to carry around, even those that don't use emacs or vim. In an earlier change, I added editor config files in src/tools/emacs/ and src/tools/vim/ so users of the appropriate editor can source those instead. BUG=none TEST=none Review URL: http://codereview.chromium.org/7310019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92046 0039d316-1c4b-4281-b951-d872f2087c98
* Remove msvs_guids from third_party, webkit, tools and views.tony@chromium.org2011-06-141-1/+0
| | | | | | | | BUG=28727 Review URL: http://codereview.chromium.org/7146001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89100 0039d316-1c4b-4281-b951-d872f2087c98
* Fix libxml namespace wildcard comparisonrsleevi@chromium.org2011-05-282-1/+14
| | | | | | | | | | | R=thakis@chromium.org BUG=84132 TEST=none Review URL: http://codereview.chromium.org/7071029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87153 0039d316-1c4b-4281-b951-d872f2087c98
* Final gyp patch to make use of the new cross-platform POSIX defines ↵tony@chromium.org2011-05-231-4/+3
| | | | | | | | toolkit_uses_gtk, os_posix, and use_x11. For lists of source files that use a mix of POSIX and Gtk APIs, toolkit_uses_gtk was given precedence. Solaris was made to use ALSA also, as libasound has been ported to FreeBSD and Solaris as a wrapper around the native OSS. Review URL: http://codereview.chromium.org/7055003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86352 0039d316-1c4b-4281-b951-d872f2087c98
* Globally replace <(library) with static_libraryevan@chromium.org2011-05-191-1/+1
| | | | | | | | | | | We provided <(library) as a variable to support a peculiar build configuration on Linux. We no longer support that build configuration, so we can simplify this code to no longer use a variable. Review URL: http://codereview.chromium.org/7051014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86004 0039d316-1c4b-4281-b951-d872f2087c98
* Cleaning up third_party readmes and adding a template for future use.cdn@chromium.org2011-03-161-0/+2
| | | | | | | | | | | The next step is a presubmit rule that will make people use the template. We are doing this so that we can better track dependancy versions. BUG=None TEST=N/A Review URL: http://codereview.chromium.org/6610030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78316 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-311-2/+2
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6386019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73190 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 73121 - Remove obsolete files from 'sources'. This causes needless ↵nsylvain@chromium.org2011-01-311-2/+2
| | | | | | | | | | | | | | | | | | work on incremental builds in VS2010. This is breaking clobber builds with this error : e:\b\build\slave\google-chrome-rel-win\build\src\chrome_frame\iids.cc(6) : fatal error C1083: Cannot open include file: 'chrome_tab.h': No such file or directory BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 TBR=jeanluc@chromium.org Review URL: http://codereview.chromium.org/6347032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73124 0039d316-1c4b-4281-b951-d872f2087c98
* Remove obsolete files from 'sources'. This causes needless work on ↵jeanluc@chromium.org2011-01-301-2/+2
| | | | | | | | | | | incremental builds in VS2010. BUG=71130 TEST=Check that Chrome builds. Review URL: http://codereview.chromium.org/6307018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73121 0039d316-1c4b-4281-b951-d872f2087c98
* Fix XPath bug from upstream.cevans@chromium.org2010-11-182-4/+9
| | | | | | | | | BUG=63444 TEST=See bug Review URL: http://codereview.chromium.org/5196003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66567 0039d316-1c4b-4281-b951-d872f2087c98
* Apply behaviour change fix from upstream for previous XPath change.cevans@chromium.org2010-10-222-16/+18
| | | | | | | | | BUG=58731 TEST=NONE Review URL: http://codereview.chromium.org/4027006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@63572 0039d316-1c4b-4281-b951-d872f2087c98
* Pull in XPath fix from upstream.cevans@chromium.org2010-10-162-4/+19
| | | | | | | | | BUG=58731 TEST=NONE Review URL: http://codereview.chromium.org/3839002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@62828 0039d316-1c4b-4281-b951-d872f2087c98
* I added FreeBSD-generated config files for libevent and tcmalloc, along with ↵pvalchev@chromium.org2010-10-041-1/+2
| | | | | | | | some remaining gyp file tweaks. Review URL: http://codereview.chromium.org/3423021 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61433 0039d316-1c4b-4281-b951-d872f2087c98
* Remove libxml hack that is not needed after we rolled in the WebKit fixphajdan.jr@chromium.org2010-08-312-53/+0
| | | | | | | | | | | from https://bugs.webkit.org/show_bug.cgi?id=30508. BUG=29333 TEST=see bug Review URL: http://codereview.chromium.org/3280011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58011 0039d316-1c4b-4281-b951-d872f2087c98
* Remove +x from a source file.evan@chromium.org2010-08-171-0/+0
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56286 0039d316-1c4b-4281-b951-d872f2087c98
* * Add rmdir, mkdir -p and umask to d8 on Unix.evan@chromium.org2010-08-17173-107/+110
| | | | | | | | | | | | | * Remove the non-working methods from the os object on d8 on Windows so you can test for their presence with if (os.system). * Add a test (not run by default since it only works on d8). * Fix incorrect use of wait that left defunct processes (zombies). Committed: http://code.google.com/p/v8/source/detail?r=1650 Review URL: http://codereview.chromium.org/56107 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56276 0039d316-1c4b-4281-b951-d872f2087c98
* Revert my last two changes.evan@chromium.org2010-08-14173-110/+107
| | | | git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56116 0039d316-1c4b-4281-b951-d872f2087c98
* libxml: move all upstream code into a src/ subdirectory.evan@chromium.org2010-08-13173-107/+110
| | | | | | | | | | This helps keep our patches, build files, and metadata separate. (Note that src/ is not purely what upstream has, since it has our patches applied.) Review URL: http://codereview.chromium.org/3160012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56107 0039d316-1c4b-4281-b951-d872f2087c98
* Revert the changes to libxml.gyp in r52725.wtc@chromium.org2010-07-271-5/+10
| | | | | | | | | | | | | | | | Both libxml and its direct dependencies need to define LIBXML_STATIC when libxml is a static library. Right now it is necessary to define this macro only on Windows, but the macro is intended to be cross-platform. R=evan BUG=50048 TEST=Windows build log should not contain "locally defined symbol XXX imported" linker warings such as: libxslt.lib(numbers.obj) : warning LNK4049: locally defined symbol _xmlFree imported Review URL: http://codereview.chromium.org/3063009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53861 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 53122 - libxml: LIBXML_STATIC isn't needed on windows eithercevans@chromium.org2010-07-211-0/+5
| | | | | | | | | | | | | | | | | | | | In my previous patch today, I moved LIBXML_STATIC into a Windows-only block in the gyp file. It turns out I misread the #defines and it's not needed on any OS. libxml.h has this: #ifndef PIC # define LIBXML_STATIC #endif The PIC define mentioned there appears to be a Linuxism, which is fine for us because we want it to be static anyway. Review URL: http://codereview.chromium.org/2825052 TBR=evan@chromium.org Review URL: http://codereview.chromium.org/3049004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53129 0039d316-1c4b-4281-b951-d872f2087c98
* libxml: LIBXML_STATIC isn't needed on windows eitherevan@chromium.org2010-07-201-5/+0
| | | | | | | | | | | | | | | | | In my previous patch today, I moved LIBXML_STATIC into a Windows-only block in the gyp file. It turns out I misread the #defines and it's not needed on any OS. libxml.h has this: #ifndef PIC # define LIBXML_STATIC #endif The PIC define mentioned there appears to be a Linuxism, which is fine for us because we want it to be static anyway. Review URL: http://codereview.chromium.org/2825052 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53122 0039d316-1c4b-4281-b951-d872f2087c98
* Update libxml to 2.7.7.evan@chromium.org2010-07-16124-36507/+31867
| | | | | | | | | | | In doing so, I recreated all the patches and organized them under a patches/ subdirectory. BUG=32197 Review URL: http://codereview.chromium.org/2951008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@52725 0039d316-1c4b-4281-b951-d872f2087c98
* Pass license check script for most of the tree.evan@chromium.org2010-03-191-2/+5
| | | | | | | | | | | | | Modified license-checker script to allow pruning directories we know to be ok. Still need to do a bit of third_party/* , as well as file a bunch of bugs on pieces where the licenses aren't clear, but I'm running out of energy. Review URL: http://codereview.chromium.org/1100003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42045 0039d316-1c4b-4281-b951-d872f2087c98
* Solaris: Second set adding in Solaris as an OS optionevan@chromium.org2010-02-181-2/+2
| | | | | | | | | | TEST=compiles BUG=30101 Patch by James Choi <jchoi42@pha.jhu.edu>. Review URL: http://codereview.chromium.org/606075 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39362 0039d316-1c4b-4281-b951-d872f2087c98
* OpenBSD/FreeBSD GYP changes (most of the remaining ones)pvalchev@google.com2010-02-041-2/+4
| | | | | | Review URL: http://codereview.chromium.org/565043 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38079 0039d316-1c4b-4281-b951-d872f2087c98
* Dropping unconnected obsolete vsprops files.bradnelson@google.com2010-02-032-28/+0
| | | | | | | | | BUG=8042 TEST=None Review URL: http://codereview.chromium.org/567033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38016 0039d316-1c4b-4281-b951-d872f2087c98
* Add comments setting emacs and vim tab width and expansion variables.sgk@google.com2009-10-061-0/+6
| | | | | | | | BUG=none TEST=successful builds Review URL: http://codereview.chromium.org/256059 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28089 0039d316-1c4b-4281-b951-d872f2087c98
* Force inclusion of build/common.gypi for all chromium gyp files.yaar@chromium.org2009-09-151-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Why: Simpler build code. If everybody includes it, it should be included automatically. Why now: The webkit chromium builds need it be specified, since can't default to build/common.gypi. What was done: 1. build/common.gypi's contents were moved to a new file build/gyp_chromium.gypi 2. tools/gyp/gyp_chromium was moved to build/gyp_chromium and made to automatically include build/gyp_chromium.gypi. 3. lots of gyp files were fixed to not refer to build/common.gypi any more. 4. o3d which also builds independently of chrome, was fixed to have a gyp_o3d that includes gyp_chromium.gypi too. 5. build/common.gypi was left empty, because there are some external projects that still refer to it. Things that are left to do after this patch is in: 1. The following external files (in other repositories) need to stop include common.gypi ./third_party/hunspell/hunspell.gyp ./third_party/icu/icu.gyp ./v8/tools/gyp/v8.gyp 2. Once nobody refers to common.gypi anymore, delete common.gypi -or- Delete gyp_chromium.gypi and move its content back to common.gypi Tested on mac, win and linux. On win, got a few unit tests errors on chrome bookmarks, which should not be related. I'm running again with clobber to verify. Review URL: http://codereview.chromium.org/206006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26302 0039d316-1c4b-4281-b951-d872f2087c98
* Fix the Linux shared build.thestig@chromium.org2009-09-151-0/+8
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/203076 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26291 0039d316-1c4b-4281-b951-d872f2087c98
* Remove xmlcatalog and xmllint from the build since we're not actuallytony@chromium.org2009-09-104-54/+0
| | | | | | | | | using them for anything. Review URL: http://codereview.chromium.org/192068 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25893 0039d316-1c4b-4281-b951-d872f2087c98
* Use separate *_dummy.cc files to force xmlcatalog and xmllint to besgk@google.com2009-09-104-4/+6
| | | | | | | | | linked with g++ instead of gcc. BUG=none TEST=build without warnings Review URL: http://codereview.chromium.org/202046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25883 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 25818 - Explicitly only use xmldummy_mac.cc on Mac systems, since ↵sgk@google.com2009-09-101-10/+2
| | | | | | | | | | | | | | libxml (as thirdparty code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 TBR=sgk@google.com Review URL: http://codereview.chromium.org/201074 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25823 0039d316-1c4b-4281-b951-d872f2087c98
* Explicitly only use xmldummy_mac.cc on Mac systems, since libxml (assgk@google.com2009-09-091-2/+10
| | | | | | | | | third-party code) doesn't exclude _mac.cc files automatically. BUG=none TEST=build without warning Review URL: http://codereview.chromium.org/194062 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25818 0039d316-1c4b-4281-b951-d872f2087c98
* Replace icu38/icu38.gyp with icu/icu.gyp in gyp files replace all the ↵jshin@chromium.org2009-09-094-4/+9
| | | | | | | | | | | | | | | | | | references to third_party/icu38 and icudt38.dll with third_party/icu and icudt42.dll in vsprops and cc files. Also, update the icu data module name and the icu data symbol in icu_util.cc In addition, add a dummy C++ source file (xmldummy_mac.cc) to libxml to work around an Xcode bug (xmllint and xmlcatalog are linked with gcc rather than g++ even though it's linked to a "C++ library", libicuuc.a). Also updated is the test results for net_util_unittests. This will not be landed until deps/third_party/icu42 is ready for all 3 platforms (Windows VS build files are not yet updated there). BUG=8198 TEST=On all platforms, all the targets are built fine. Review URL: http://codereview.chromium.org/172031 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25708 0039d316-1c4b-4281-b951-d872f2087c98
* Added USE_GDK, set when either TOOLKIT_GTK or TOOLKIT_VIEWS is set butbenl@chromium.org2009-09-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not OS_WIN. Added USE_X11. Set when OS_LINUX or OS_FREEBSD is set. Added USE_BASE_DATA_PACK for base::DataPack usage, set for OS_MACOSX, OS_LINUX or OS_FREEBSD. Added USE_NSS for ... nss (for crypto). Windows and MacOS use platform-specific libraries. All of the above cause slightly odd formulations like: #if defined(OS_WIN) ... #elif defined(USE_BASE_DATA_PACK) ... #endif Possibly should also define USE_DLL_FOR_DATA, etc? Or something? Wrapped various references to struct stat64 and stat64() to use struct stat and stat() for FreeBSD - but a "man stat64" on Linux suggests that we could do the same thing for at least Linux, too, and perhaps eliminate the wrapper? git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25599 0039d316-1c4b-4281-b951-d872f2087c98
* Apply fix for CVE-2009-2416 (use-after-free) and CVE-2009-2414 (stack ↵cevans@chromium.org2009-08-182-6/+23
| | | | | | | | | | | | | recursion overflow). I used https://bugzilla.redhat.com/attachment.cgi?id=356032 and fixed the issue with lint vs. tabs. BUG=19158 TEST=http://cevans-app.appspot.com/static/CVE-2009-2416.xml Review URL: http://codereview.chromium.org/172025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23606 0039d316-1c4b-4281-b951-d872f2087c98
* Linux: fix up use_system_{libxml,libxslt,sqlite3}agl@chromium.org2009-08-131-2/+8
| | | | | | | http://codereview.chromium.org/164450 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23324 0039d316-1c4b-4281-b951-d872f2087c98
* Remove executable bit from a bunch of files that shouldn't have it.evan@chromium.org2009-05-112-0/+0
| | | | | | | | | | (No code change.) git ls-tree -r HEAD | grep '^100755' | cut -f2 | egrep '\.(png|txt|mm|cc|h|checksum|asm|js|html|c|css|xml|grd|json)$' | xargs chmod a-x git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15809 0039d316-1c4b-4281-b951-d872f2087c98