2330 Commits

Author SHA1 Message Date
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
mark%moxienet.com
a862a15819 323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
git-svn-id: svn://10.0.0.236/trunk@188060 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-23 20:11:08 +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
46ac9fbedb Trying to fix AIX bustage.
git-svn-id: svn://10.0.0.236/trunk@186216 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-18 12:07:26 +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
mrbkap%gmail.com
ae267e11c6 Fixing bustage from bug 317869.
git-svn-id: svn://10.0.0.236/trunk@185345 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 22:33:48 +00:00
mrbkap%gmail.com
163a50253e bug 317869: CNavDTD still needs its own IID. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@185342 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 22:13:10 +00:00
timeless%mozdev.org
dae7b0629a Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185282 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
8a213cf6db Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan


git-svn-id: svn://10.0.0.236/trunk@185276 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-25 19:48:04 +00:00
jst%mozilla.jstenback.com
71b10f5695 Fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@185235 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 00:21:23 +00:00
mrbkap%gmail.com
f08d3b747d bug 316582: Clean up style nitpicks in CNavDTD. rs=jst
git-svn-id: svn://10.0.0.236/trunk@185233 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-24 00:14:25 +00:00
mrbkap%gmail.com
7afa2a74e6 bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@185165 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-22 23:29:30 +00:00
peterv%propagandism.org
029c09a76e Backout due to tree orange.
git-svn-id: svn://10.0.0.236/trunk@185043 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 14:59:12 +00:00
peterv%propagandism.org
ba60f992e3 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@185039 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 13:54:09 +00:00
timeless%mozdev.org
db63280166 Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless


git-svn-id: svn://10.0.0.236/trunk@185035 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-21 06:25:15 +00:00