Commit Graph

55 Commits

Author SHA1 Message Date
Henri Sivonen
e2125244e2 Bug 535530 - Transition to the return state eagerly when a semicolon has matched when tokenizing a named character reference in HTML. r=smaug. 2011-11-30 15:11:37 +02:00
Henri Sivonen
b251f508a4 Bug 482921 part 14 - Address review comments. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
3ab6f79a66 Bug 482921 part 11 - Deduplicate the tokenizer loop in .cpp. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
8153c335a6 Bug 482921 part 4 - Support XML syntax highlighting in the parser core. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
6bd519ac43 Bug 482921 part 3 - Highlight tree builder-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
df4f37165e Bug 482921 part 2 - Highligh tokenizer-level errors in View Source. r=Olli.Pettay. 2011-11-01 13:33:11 +02:00
Henri Sivonen
a42c6e14db Bug 482921 part 1 - Implement HTML syntax highlighting using the new parser. r=Olli.Pettay. 2010-07-30 13:15:38 +03:00
Ehsan Akhgari
478ad1a412 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
0fe7772ece Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones 2011-09-28 23:19:26 -07:00
Ed Morley
ccefac1d72 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Henri Sivonen
034b529d7e Bug 612527 - Implement spec tweaks to U+0000 handling in the HTML5 parser. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
d3fc35ebd5 Bug 612529 part 2 - Rework how scopingness and specialness is handled in stack nodes; refresh the set of scoping elements to spec. rs=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:58 +02:00
Henri Sivonen
b40e883623 Bug 612529 part 1 - Pack the dispatch group and the flags of an element into one 32-bit bitfield. r=jonas, a=blocking2.0-betaN. 2010-12-09 11:27:57 +02:00
Henri Sivonen
e4808f1f2e Bug 594730 - Make the content attribute in <meta> act as an encoding declaration only if http-equiv="Content-Type" is present. rs=jonas, a=blocking2.0-betaN. 2010-12-08 14:37:19 +02:00
Henri Sivonen
f794bd9866 Bug 610345 - Add MathML named characters that expand to two code points to the HTML5 parser. rs=jonas, a=blocking2.0-betaN. 2010-11-23 13:49:27 +02:00
Henri Sivonen
6d0b9252cc Bug 502176 bustage fix - Restore the refcount tracing code to nsHtml5Tokenizer. a=orange. 2010-11-10 12:03:48 +02:00
Henri Sivonen
4cb66b631d Bug 555940 - Make named character names use a dedicated data type. r=tglek, a=jst. 2010-09-28 10:32:31 +03:00
Henri Sivonen
a00ca20e07 Bug 502176 - Replace static use of jArray with a plain old data staticJArray, introduce an autoJArray for nicer memory management. r=tglek, a=jst. 2010-09-28 10:32:31 +03:00
Henri Sivonen
13cd90db61 Bug 570309 - Remove the dead code for the "comment end space" state. rs=jonas, a=blocking2.0-betaN. 2010-10-25 12:22:59 +03:00
Henri Sivonen
0c29bea23f Bug 601604 - Emit ]] or ] when ]]EOF or ]EOF appears in a CDATA section in text/html. rs=jonas, a=jst. 2010-10-07 10:27:16 +03:00
Henri Sivonen
1fb780a7a1 Bug 595844 - Check the namespace of the current element on the tree builder stack when deciding whether to support CDATA sections in text/html. rs=jonas, a=blocking2.0-betaN. 2010-09-15 11:37:55 +03:00
Henri Sivonen
4288f990af Bug 581944 - Reorder the tokenizer states in the HTML5 tokenizer. rs=sicking. 2010-07-26 16:13:51 +03:00
Henri Sivonen
1174cd44dc Bug 570309 - Experimentally make -- > not terminate a comment in HTML. r=jonas. 2010-06-19 09:38:41 +03:00
Henri Sivonen
ed398af2c1 Bug 555941 - Split HILO_ACCEL out of nsHtml5NamedCharacters. r=jonas, a=benjamin. 2010-06-24 11:54:33 +03:00
Henri Sivonen
425934bd1a Bug 563526 - Ignore U+0000 in element content when the tree builder is not in the "text" mode or the "in foreign" mode. r=jonas. 2010-06-09 09:45:32 +03:00
Henri Sivonen
6a659f4aed Bug 568800 - Make &foo= not expand in an attribute value. r=sicking. 2010-06-02 14:01:57 +03:00
Henri Sivonen
89b94267e1 Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking. 2010-05-27 16:08:19 +03:00
Henri Sivonen
38f1270287 Bug 551344 part 6 - Address more review comments from sicking in the Java parts of the HTML5 parser. r=jonas. 2010-04-19 16:25:13 +03:00
Henri Sivonen
4d410f2cc6 Bug 548232 - Make meta charset not have an effect on document.open()ed documents in the HTML5 parser (reverting most of bug 539887). r=bzbarsky. 2010-04-16 13:52:06 +03:00
Henri Sivonen
ac559f05b8 Bug 551344 part 5 - Address more sicking's review comments in the Java parts of the HTML5 parser. r=jonas. 2010-04-16 13:52:06 +03:00
Henri Sivonen
d008649fab Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun. 2010-03-30 11:21:36 +03:00
Henri Sivonen
faa5ab7153 Bug 554513 - Remove buffer growth limits from the HTML5 parser where the old parser did not have the exact corresponding limits. rs=sicking. 2010-03-26 09:50:21 +02:00
Henri Sivonen
c50cc5e912 Bug 546641 - Map &#13; to CR in the HTML5 parser. rs=sicking. 2010-03-09 15:13:48 +02:00
Henri Sivonen
c7fd798070 Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking. 2010-02-12 09:49:06 +02:00
Henri Sivonen
382fdd2350 Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman. 2010-02-10 11:23:35 +02:00
Henri Sivonen
b70fd25289 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman. 2010-03-09 14:39:32 +02:00
Henri Sivonen
7fc56a9cfd Bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. rs=sicking. 2010-03-12 12:27:15 +02:00
Henri Sivonen
4aba789c4d Bug 538193 - Copy over content model element and content model element name when loading state from another HTML5 tokenizer. rs=sicking. 2010-01-11 15:18:37 +02:00
Henri Sivonen
8018efe3c3 Bug 535499 - Copy the return state over when loading HTML5 tokenizer state from another tokenizer. rs=sicking. 2009-12-17 12:15:08 +02:00
Henri Sivonen
96d0af4c69 Bug 535126 - Fix text flushing and EOF bugs in script data states in the HTML5 tokenizer. rs=sicking. 2009-12-16 15:35:34 +02:00
Henri Sivonen
841091fc30 Bug 535116 - EOF handling after <xmp>< in wrong in the HTML5 parser. rs=sicking. 2009-12-16 14:14:02 +02:00
Henri Sivonen
cede95ab18 Bug 525094 - Avoid shadowing member fields with local variables in the HTML5 parser. rs=sicking. 2009-12-15 15:19:09 +02:00
Henri Sivonen
e003e9b7d4 Bug 497848 - HTML5 parser fails layout/reftests/bugs/376532-1.html. rs=sicking. 2009-12-10 16:27:48 -08:00
Henri Sivonen
fe7221b8ed Bug 510648 - Delete attribute holder upon emitting an end tag token in the HTML5 parser. rs=sicking. 2009-12-10 16:27:48 -08:00
Henri Sivonen
f57f07eb4b Bug 503632 - Script containing <!-- in a string never ends up closed in the HTML5 parser. rs=sicking. 2009-11-30 17:34:51 +02:00
Henri Sivonen
48e31b0668 Bug 509009, bug 497848 - Update the HTML5 tokenizer to spec (excluding script changes) as of 2009-11-24. rs=sicking. 2009-11-30 17:34:51 +02:00
Henri Sivonen
e5e8f90558 Bug 482919 - Add speculative parsing to the HTML5 parser. r=bnewman. 2009-10-12 16:08:04 +03:00
Henri Sivonen
2cf48a3ad5 Bug 516406 - Make document.write() parser and stream parser have distinct tokenizers in the HTML5 parser. r=bnewman. 2009-09-21 16:18:20 +03:00
Henri Sivonen
4384f2fdf0 Bug 515338 - Make HTML5 parser internals not hold nsIContent or regular dynamic atoms. r=bnewman. 2009-09-21 14:43:43 +03:00
Henri Sivonen
78b7b31988 Bug 515142 - Make HTML5 parser never clone nodes. WHATWG spec SVN rev 2947. rs=sicking. 2009-09-21 10:00:10 +03:00