2224 Commits

Author SHA1 Message Date
peterv%propagandism.org
ec404d9e2f Backing out to fix bustages.
git-svn-id: svn://10.0.0.236/trunk@192477 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 15:12:21 +00:00
peterv%propagandism.org
6aefc4d827 Try to fix bustage.
git-svn-id: svn://10.0.0.236/trunk@192474 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 14:48:08 +00:00
peterv%propagandism.org
2c216711c7 Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@192471 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-16 13:47:42 +00:00
cbiesinger%web.de
bd517c26ac 326477 extend nsIExpatSink in order to support SAX
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv


git-svn-id: svn://10.0.0.236/trunk@192427 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 17:45:25 +00:00
mrbkap%gmail.com
3a3742da98 Don't stomp all over the heap in debug builds. Also raise eMaxTags to reflect the actual deepest stack that we will see. bug 309777, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@192126 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-10 00:47:57 +00:00
peterv%propagandism.org
3b6910dae9 Fix for bug 325733 (Unclosed XML tags no longer trigger an error message) and bug 326741 (Crash with parsing malformed XUL file with -chrome). r/sr=bz.
git-svn-id: svn://10.0.0.236/trunk@191970 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-08 14:34:50 +00:00
mrbkap%gmail.com
5fc69803ec Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@191925 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-07 21:47:25 +00:00
mrbkap%gmail.com
96e6386945 Protect against our table container being closed before we're ready by using the same logic to find the close tag that HandleEndToken does. bug 329364, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@191845 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-06 22:13:41 +00:00
benjamin%smedbergs.us
d4bdfb9125 Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
git-svn-id: svn://10.0.0.236/trunk@191569 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-02 14:38:10 +00:00
martijn.martijn%gmail.com
7314b39a43 Bug 328289 - dtd's should be read using 4096 bytes buffers, instead of 1024 bytes buffers. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@191148 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-24 13:04:06 +00:00
timeless%mozdev.org
af51e73d0e Bug 106386 Correct misspellings in source code
r=bernd rs=brendan


git-svn-id: svn://10.0.0.236/trunk@191013 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
3ad008c538 CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@190770 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-22 00:00:38 +00:00
bzbarsky%mit.edu
f3768bfe85 Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst


git-svn-id: svn://10.0.0.236/trunk@189804 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-12 22:05:33 +00:00
peterv%propagandism.org
32838fc08a Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
git-svn-id: svn://10.0.0.236/trunk@189306 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-07 14:34:10 +00:00
mrbkap%gmail.com
ba6371cea5 Don't get confused by multiple right square brackets when parsing CDATA sections. bug 325532, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@189021 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 18:54:53 +00:00
mrbkap%gmail.com
1559ac31f4 Remove parser generation of the _moz-userdefined attribute since comopser can figure out the information it provides on its own. bug 325405, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188915 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 02:02:55 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
d1b409cc86 Testcase for bug 18308 doesn't work. bug 319826, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188724 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 01:07:57 +00:00
mrbkap%gmail.com
7bd7ef3c84 Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188682 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-01 18:57:09 +00:00
mrbkap%gmail.com
61c90940c0 When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188619 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
b7ece70d44 Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@188516 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
08e339f350 Try to fix an infinite loop on startup (bug 324667, r+sr=jst).
git-svn-id: svn://10.0.0.236/trunk@188379 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-28 01:21:46 +00:00
peterv%propagandism.org
417d82c221 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@188346 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 14:47:23 +00:00
mrbkap%gmail.com
dc2d92314c Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@188274 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 22:24:20 +00:00
mrbkap%gmail.com
c05f61f894 This should have gone too, (bug 324738)
git-svn-id: svn://10.0.0.236/trunk@188252 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:10:19 +00:00
mrbkap%gmail.com
8b6ba84a47 bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188251 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 19:07:41 +00:00
peterv%propagandism.org
d96e183aa0 Backing out fix for bug 323299 for now to fix Trender and bug 324641.
git-svn-id: svn://10.0.0.236/trunk@188168 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 20:07:33 +00:00
peterv%propagandism.org
6d1b2c4b74 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@188149 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 12:53:00 +00:00
mrbkap%gmail.com
4842e83eec bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan
git-svn-id: svn://10.0.0.236/trunk@188135 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 02:29:09 +00:00
mrbkap%gmail.com
44fd52082e bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@188077 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 01:25:14 +00:00
mrbkap%gmail.com
d3ecc5dd10 bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@187941 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:02:02 +00:00
mrbkap%gmail.com
86de6c60df Fix a stupid typo that was making line numbers come out wrong. no bug, r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@187935 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 00:37:25 +00:00
mrbkap%gmail.com
4b9c3e32ed bug 324182: Cleanup some functions in CNavDTD and remove a redundant null check. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@187934 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 00:36:11 +00:00
mrbkap%gmail.com
7f9036eb3c bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187927 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-20 23:25:37 +00:00
mrbkap%gmail.com
8349a92ef5 bug 323736: Handle bogus comments that start with </ as invalid comments, per HTML5 and to have compatibility with other browsers. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@187790 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:05:21 +00:00
mrbkap%gmail.com
c48bb85426 bug 316582: Clean up style in parser/htmlparser. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@187716 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-17 17:58:24 +00:00
peterv%propagandism.org
7c949449af Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@187543 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-13 14:45:32 +00:00
bzbarsky%mit.edu
5f13197a66 Rename our in-tree expat lib to mozexpat_s. Bug 305841, patch by Andy Willis
<abwillis1@gmail.com>, r=peterv


git-svn-id: svn://10.0.0.236/trunk@187117 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-07 02:40:20 +00:00
mrbkap%gmail.com
2e63354637 bug 321344: Make sure we always enter the loop. There's no reason to actually
test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.


git-svn-id: svn://10.0.0.236/trunk@186556 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-24 07:39:09 +00:00
mrbkap%gmail.com
66b4dc4c78 bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
git-svn-id: svn://10.0.0.236/trunk@186462 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-22 22:31:36 +00:00
mrbkap%gmail.com
7f4fcb1121 bug 320585: View source can loose a final equals sign in an attribute if the preceeding character was a quote or slash. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@186290 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 20:37:08 +00:00
mrbkap%gmail.com
e6edf3653b bug 320590: Remove unused member variable mLastAttribute, especially as our attempt to set it was causing us to change non-debug-only variables in #ifdef DEBUG code. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@186289 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-19 20:33:30 +00:00
peterv%propagandism.org
70644e77d8 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.
git-svn-id: svn://10.0.0.236/trunk@186215 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 10:39:23 +00:00
peterv%propagandism.org
5231833194 Fix for bug 320375. r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@186160 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-16 14:35:45 +00:00
bsmedberg%covad.net
b1c60f6d78 Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185975 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 21:39:56 +00:00
bsmedberg%covad.net
d332f10cd0 Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185971 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 20:56:37 +00:00
bsmedberg%covad.net
fb456e0537 Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@185963 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-12 16:53:30 +00:00
mrbkap%gmail.com
6ad3b86982 bug 244569: Open transient styles before dealing with end tags for residual style tags, so that we don't miss a temporarily closed style. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185704 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-05 17:35:44 +00:00
mrbkap%gmail.com
7e5d317e7e bug 316582: Clean up the style in nsHTMLTokenizer.cpp. This also contains a bit of dead-code elimination in ConsumeAttribute. r=sicking sr=dveditz
git-svn-id: svn://10.0.0.236/trunk@185618 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 22:38:19 +00:00
bzbarsky%mit.edu
cf434cba7f Remove content ids. Bug 166637, r=sicking, sr=peterv
git-svn-id: svn://10.0.0.236/trunk@185376 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-29 16:47:18 +00:00