Commit Graph

49 Commits

Author SHA1 Message Date
Chris Peterson
7ab5947d2e Bug 1031982 - Cast away -Wsign-compare warning in XML parser. r=peterv 2014-07-02 00:08:35 -07:00
Nicholas Nethercote
525e2f6682 Bug 1016153 - Avoid slop in xmlparse.c:poolGrow(). r=jst.
--HG--
extra : rebase_source : 3dd2fb91660c901f8ce12e22191aee3686172cd6
2014-05-29 16:05:19 -07:00
Ehsan Akhgari
1b83407ce9 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
b477756bf1 Bug 824891 - Change |result| from XML_Error to XML_Status to quell some -Wenum-conversion warnings. r=jst,peterv.
--HG--
extra : rebase_source : e367d5eb46d7e101298b1517439ca6f1f723e0f3
2012-12-26 21:47:52 -08:00
Ed Morley
218ef49719 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
97a32d31de Fix for bug 607721 (XML_Parse returns undefined value in test_bug592829.html). r=jst.
--HG--
extra : rebase_source : 5f538c119c5dfc5bd7fbe5070d5949561dae7a2e
2011-03-10 11:08:22 +01:00
peterv%propagandism.org
0f613030f3 Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst. 2006-07-13 12:50:58 +00:00
cbiesinger%web.de
c9b6fe4fd2 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv
2006-03-15 17:45:25 +00:00
peterv%propagandism.org
73a08e869b Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-25 12:53:00 +00:00
peterv%propagandism.org
430dd2bacc 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
peterv%propagandism.org
1cf6be5ef7 Backout due to tree orange. 2005-11-21 14:59:12 +00:00
peterv%propagandism.org
d41313ac76 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
peterv%propagandism.org
0084b6dc4a Backing out to fix orange. 2005-10-28 13:48:13 +00:00
peterv%propagandism.org
b11bba112f 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
bzbarsky%mit.edu
e7d4fe7b3d 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
peterv%propagandism.org
887499750a Back out to fix orange. 2005-10-14 13:11:58 +00:00
peterv%propagandism.org
61d64ef5ff Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz. 2005-10-14 12:23:59 +00:00
peterv%propagandism.org
0ab59e5717 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
peterv%propagandism.org
698b140d97 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
bzbarsky%mit.edu
180e532121 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
peterv%propagandism.org
d43692a156 Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds. 2005-01-13 14:51:20 +00:00
peterv%propagandism.org
7aa22372ec Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst 2004-12-27 11:47:18 +00:00
peterv%propagandism.org
26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
peterv%propagandism.org
a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
heikki%netscape.com
dadc4b1160 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
harishd%netscape.com
6c4d24109a 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
harishd%netscape.com
c1beb7218a 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, r=rbs@maths.uq.edu.au, sr=jst 2002-02-19 02:01:18 +00:00
heikki%netscape.com
17ab5a619c 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
harishd%netscape.com
974467d75c 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
harishd%netscape.com
c19bd46ce6 Replace C++ style comment with C style comment 2002-01-09 06:48:12 +00:00
harishd%netscape.com
f1fe71a17b Replaced C++ style comment with C comment 2002-01-09 03:32:56 +00:00
harishd%netscape.com
7c522efd05 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
gerv%gerv.net
a276cfdb53 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
gerv%gerv.net
1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
gerv%gerv.net
180f529086 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
heikki%netscape.com
c97d0a8243 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
nisheeth%netscape.com
f30fb73fdd 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
dbaron%fas.harvard.edu
4b4727fb8e Some compilers don't like C++ comments in C files. Changing to C comments. 2000-08-30 01:35:07 +00:00
nisheeth%netscape.com
3ad6df55bf Upgrading to the latest version of expat... 2000-08-30 00:17:14 +00:00
nisheeth%netscape.com
46a8203987 Fix for bug 15633. Fixing build warning with the patch submitted by James Clark (jjc@jclark.com). r=nisheeth 1999-10-27 07:39:57 +00:00
nisheeth%netscape.com
10937e98a3 Fixing build warning. 1999-09-20 21:35:50 +00:00
nisheeth%netscape.com
10bf2abb17 Updating expat to latest release from James Clark. 1999-08-07 06:24:08 +00:00
tao%netscape.com
03e88827de Fix bustage 1999-07-02 03:34:24 +00:00
tao%netscape.com
1d108602ca Merge James Clark's DTD patch. "ifdefed by XML_DTD". 1999-07-02 02:32:56 +00:00
cata%netscape.com
cace83a35f External DTD support. (but wrapped in #ifdef EXTERNAL_ENTITY_SUPPORT) 1999-06-15 23:20:01 +00:00
nisheeth%netscape.com
604980a25d Patch to get expat to compile on SGI. Many thanks to Tim Rowley (tor@cs.brown.edu) for doing all the work on this. I am simply checking it in for him. 1999-04-19 22:43:14 +00:00
briano%netscape.com
c45b38c778 Replaced the C++ comments with C comments. 1999-04-05 09:11:11 +00:00
nisheeth%netscape.com
3d9136b2bd Checking in latest expat version dated 3/7/1999... 1999-04-04 05:50:50 +00:00
nisheeth%netscape.com
ac66dd63ce Integrating Expat with raptor... 1999-02-27 01:31:49 +00:00