2077 Commits

Author SHA1 Message Date
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
bsmedberg%covad.net
8c72056b1c typo fix
git-svn-id: svn://10.0.0.236/trunk@184794 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 22:28:57 +00:00
bsmedberg%covad.net
59286d7121 Don't build robot with libxul, r=mrbkap, no bug
git-svn-id: svn://10.0.0.236/trunk@184781 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-16 21:06:57 +00:00
bzbarsky%mit.edu
48dbeb8ec0 Move some basic macros for working with UTF16 from intl to XPCOM; use them in
some places including the HTML parser.  Part of fix for bug 316394; the CSS
parser changes are still coming.  r=smontagu, r=mrbkap on parser changes, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@184651 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-15 18:17:22 +00:00
mrbkap%gmail.com
6380211c85 bug 315933: Trailing /s in XML shouldn't be marked in error, since they're generally not. Truely invalid /s will get shown to be so by the real XML parser. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184601 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:59:16 +00:00
mrbkap%gmail.com
3a647b1136 bug 311907: Use a function that correctly updates the DTD internal flags so that invalid <body>s in the new string don't confuse us. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@184600 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 21:55:34 +00:00
mrbkap%gmail.com
def9182fe6 bug 316186: Fix stupid numbering botch in the view source DTD. The
compiler does such a better job anyway. r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@184549 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-13 19:19:49 +00:00
mrbkap%gmail.com
5601a2b6fa bug 316100: Cleanup some unused members and virtual functions in nsDTDUtils. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184478 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 20:42:51 +00:00
mrbkap%gmail.com
0c0c7675bf Fixing bustage from bug 315927.
git-svn-id: svn://10.0.0.236/trunk@184470 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 19:59:01 +00:00
mrbkap%gmail.com
d2ad849da9 bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@184466 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 19:11:36 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
f32d8c9dad bug 76412: Clean up some obvious things in the view source DTD, as well as ripping out obsolete and unused error reporting cruft. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@184433 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-10 22:47:09 +00:00
mrbkap%gmail.com
6259f472aa bug 314980: Handle trailing XML-like slashes by not accepting them into the attribute key at all, not by stripping them once they're already there. r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@184279 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-08 00:05:09 +00:00
mrbkap%gmail.com
572f01e1ca bug 312104: Parse entities in textareas like we used to (allowing values > 255 with no terminating semicolon). r=bzbarsky sr=brendan
git-svn-id: svn://10.0.0.236/trunk@184101 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-03 18:12:38 +00:00
mrbkap%gmail.com
5ca767ca1e bug 314759: Update our flags when we open a frameset and close the head. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@184063 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 22:51:17 +00:00
mrbkap%gmail.com
7b7b3071c8 bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@183377 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 01:10:37 +00:00
peterv%propagandism.org
3ae576b70a Backing out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@183189 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 13:48:13 +00:00
peterv%propagandism.org
e86a9bcace 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@183188 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 13:21:14 +00:00
mrbkap%gmail.com
bf40412018 bug 243056: legend tags containing invalid HTML don't cope very well. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@183145 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 21:51:37 +00:00
mrbkap%gmail.com
54f04df573 bug 314092: <object> prefers to be in the body, not the head. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@183143 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 21:46:31 +00:00
cvshook%sicking.cc
1633079f95 Bug 313327: Fix regression caused by my last checkin. Don't put forms on the tag stack to avoid closing them prematurly.
r=mrbkap sr=bz


git-svn-id: svn://10.0.0.236/trunk@182898 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-24 15:00:19 +00:00
cvshook%sicking.cc
f95c92ff95 Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv


git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
peterv%propagandism.org
ebdcd46bc4 Back out to fix orange.
git-svn-id: svn://10.0.0.236/trunk@182248 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 13:11:58 +00:00
peterv%propagandism.org
1f520d2515 Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@182246 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-14 12:23:59 +00:00
mrbkap%gmail.com
43cc833dce bug 309307: Make sure to update the parent pointer of entries of style nodes when they get closed. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@181239 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 23:45:11 +00:00
mrbkap%gmail.com
15bb2d7dd2 bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180588 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 19:02:59 +00:00
mrbkap%gmail.com
fa0e5ae949 bug 308781: Don't ignore requests from the content sink to block the parser when we're handling head content in the body. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180442 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 22:14:40 +00:00
mrbkap%gmail.com
8981ec9fc2 bug 308592: MAP before BODY causes the body contents to not render. Remove MAP as a valid child of HTML, and fix a bogus check against HEAD being pushed onto mBodyContext. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@180335 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:01:30 +00:00
mrbkap%gmail.com
8bd2cced86 bug 307821: The contents of framesets get moved into the body. r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@179963 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 17:30:39 +00:00
mrbkap%gmail.com
43f238aaf7 bug 307797: Fix line counting regressions resulting from the checkin for bug 272702, as well as an old bug where document.write('\n') would cause line numbers in the rest of the HTML to be offset. Also fix a regression where userdefined tags are forced to be in the head (as opposed to appearing in either the head or the body). r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@179933 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-10 00:12:21 +00:00
mrbkap%gmail.com
1f9d7bc6df bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst
git-svn-id: svn://10.0.0.236/trunk@179927 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 21:59:51 +00:00
mrbkap%gmail.com
3deda508c0 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@179922 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 19:15:06 +00:00
mrbkap%gmail.com
173c4f8f2e bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@179917 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:11:51 +00:00
mrbkap%gmail.com
4045b60295 bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
git-svn-id: svn://10.0.0.236/trunk@179916 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 18:03:47 +00:00
peterv%propagandism.org
cfb79fa121 Fix for bug 307363 (Don't add '---^' to XML errors in the JS console). r=bsmedberg, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179849 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-08 16:43:30 +00:00
mrbkap%gmail.com
9d34cfcfa0 bug 307122: Restore compatibility for where we open userdefined elements when neither a head nor a body has been explicitly opened. r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@179781 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 03:35:58 +00:00
peterv%propagandism.org
ea08ed73c1 Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179662 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 15:41:41 +00:00
peterv%propagandism.org
92b741449b Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@179660 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-05 14:18:56 +00:00