Commit Graph
51 Commits
Author SHA1 Message Date
Nicholas Nethercote 00c2cf2d1a Bug 1232219 (part 2.5) - Fix -Wunused warnings in parser/expat/lib/. r=hsivonen. 2015-12-16 22:56:34 -08:00
Eric Rahm 14a15500b2 Bug 1140537 - Sanity check size calculations. r=peterv 2015-04-10 15:50:23 -07:00
Chris Peterson b5ef5b17a6 Bug 1031982 - Cast away -Wsign-compare warning in XML parser. r=peterv 2014-07-02 00:08:35 -07:00
Nicholas Nethercote 028f494b32 Bug 1016153 - Avoid slop in xmlparse.c:poolGrow(). r=jst. 2014-05-29 16:05:19 -07:00
Ehsan Akhgari 68bfe70f09 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Nicholas Nethercote c7c0d5ce65 Bug 824891 - Change |result| from XML_Error to XML_Status to quell some -Wenum-conversion warnings. r=jst,peterv. 2012-12-26 21:47:52 -08:00
Ed Morley 8eeda65990 Bug 683416 - C: Remove #ifdef TX_EXE codepaths now that it is never defined; r=khuey 2011-09-01 17:49:25 +01:00
Peter Van der Beken eb5746fa08 Fix for bug 607721 (XML_Parse returns undefined value in test_bug592829.html). r=jst. 2011-03-10 11:08:22 +01:00
[email protected] 6901a2b80e Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst. 2006-07-13 12:50:58 +00:00
[email protected] 2d44380b2c 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <[email protected]> r=sicking sr=peterv
2006-03-15 17:45:25 +00:00
[email protected] bb464fd380 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-25 12:53:00 +00:00
[email protected] a141d0cb91 Now that bug 320375 is fixed, trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-12-18 10:39:23 +00:00
[email protected] d587a7508e Backout due to tree orange. 2005-11-21 14:59:12 +00:00
[email protected] 0bc16148f2 Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-11-21 13:54:09 +00:00
[email protected] 712425054e Backing out to fix orange. 2005-10-28 13:48:13 +00:00
[email protected] b3e55ab100 Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-28 13:21:14 +00:00
[email protected] 5b9c26da2a Make sure to pop namespaces if we block on a close tag. Bug 313278, patch by
peterv, r+sr=bzbarsky
2005-10-21 19:08:27 +00:00
[email protected] c6e53a50a6 Back out to fix orange. 2005-10-14 13:11:58 +00:00
[email protected] 15dcc9c8b9 Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-14 12:23:59 +00:00
[email protected] 85adbb5f08 Fix for bug 291827 (Expat's byte position is bogus if a chunk boundary falls before we block). r/sr=bz, a=bsmedberg. 2005-07-26 13:08:30 +00:00
[email protected] eb959d3fb2 Fix for bug 289169 (DOMParser freezes when parsing elements with fixed attributes.). r/sr=jst, a=asa. 2005-06-16 11:59:28 +00:00
[email protected] cfcb9738a0 Make sure to read memory that actually contains what we want. Bug 291020,
r+sr=peterv, a=asa
2005-04-21 21:20:19 +00:00
[email protected] 26037eea07 Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds. 2005-01-13 14:51:20 +00:00
[email protected] e16df4d231 Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst 2004-12-27 11:47:18 +00:00
[email protected] a1df70ba22 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
[email protected] 7df498d5f0 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
[email protected] a64b1e83f0 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
[email protected] 6bd629ebec Update expat buffer postion when the parser is about to get blocked. b=185325, r=heikki, sr=jst 2002-12-17 19:18:40 +00:00
[email protected] 06ed857a2d Crasher - Expat parser's XML_ParseBuffer wasn't aware of the BLOCKING mechansim and hence failed to update the buffer position ( bufferPtr ). The fix would update bufferPtr such that when the expat parser gets upblocked we'd resume from the point we stopped. b=123475, [email protected], sr=jst 2002-02-19 02:01:18 +00:00
[email protected] 6211cc0ddb Bug 35984, make an undefined entity always a fatal error; report errors while parsing external entities (regression) and a minor optimization in loading external entities. r=harishd, sr=jst. 2002-01-25 23:19:23 +00:00
[email protected] a7c378c906 Fixing regressions: In order to update the expat buffer position correctly do not block after processing a start element. b=119399, r=heikki, sr=jst. Update the expat buffer position if we're blocked after processing the end element. b=119727, r=heikki, sr=jst 2002-01-14 23:42:53 +00:00
[email protected] b7fb92860e Replace C++ style comment with C style comment 2002-01-09 06:48:12 +00:00
[email protected] 509832d3f8 Replaced C++ style comment with C comment 2002-01-09 03:32:56 +00:00
[email protected] 545be93cae 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
[email protected] d283b6ddcd License changes Round 2. Expat. Updating licensing to be consistent with latest version of expat (MIT/X); relicensing NS-contributed code under expat's license (except the build system, which is tri-licensed.) Removing outdated licensing information and adding new COPYING file. This has been checked with James Clark. Bug 98089. 2001-09-29 00:10:42 +00:00
[email protected] 30a09f1d88 Oops. 2001-09-20 00:02:59 +00:00
[email protected] 39142c356b More license whackage. We are relicensing the expat makefiles to be compatible with the LGPL and GPL but making it clear that expat itself is under James Clakrk's MIT/X license. Bug 98089. 2001-09-19 21:50:17 +00:00
[email protected] 34268adaf4 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur. 2001-01-04 00:30:11 +00:00
[email protected] 728ec9a494 a=vidur. Fix for bug 34168. We now handle the case of a redundant percentage sign in the entity value of an entity definition in the internal subset without crashing. 2000-10-12 21:07:45 +00:00
[email protected] 5fb955ff85 Some compilers don't like C++ comments in C files. Changing to C comments. 2000-08-30 01:35:07 +00:00
[email protected] a5e800dace Upgrading to the latest version of expat... 2000-08-30 00:17:14 +00:00
[email protected] fe3262deaa Fix for bug 15633. Fixing build warning with the patch submitted by James Clark ([email protected]). r=nisheeth 1999-10-27 07:39:57 +00:00
[email protected] c009bb5a90 Fixing build warning. 1999-09-20 21:35:50 +00:00
[email protected] 04c834a26f Updating expat to latest release from James Clark. 1999-08-07 06:24:08 +00:00
[email protected] 65c22e2833 Fix bustage 1999-07-02 03:34:24 +00:00
[email protected] 654a434547 Merge James Clark's DTD patch. "ifdefed by XML_DTD". 1999-07-02 02:32:56 +00:00
[email protected] 28fa2f7d49 External DTD support. (but wrapped in #ifdef EXTERNAL_ENTITY_SUPPORT) 1999-06-15 23:20:01 +00:00
[email protected] 3d4e796ff9 Patch to get expat to compile on SGI. Many thanks to Tim Rowley ([email protected]) for doing all the work on this. I am simply checking it in for him. 1999-04-19 22:43:14 +00:00
[email protected] c427b6d399 Replaced the C++ comments with C comments. 1999-04-05 09:11:11 +00:00
[email protected] ce0962b513 Checking in latest expat version dated 3/7/1999... 1999-04-04 05:50:50 +00:00