Commit Graph

239 Commits

Author SHA1 Message Date
Blake Kaplan
04aac79f62 Bug 519337 - Don't read the sentinel value from a string. r=sicking 2009-09-30 15:15:51 -07:00
Ben Newman
baf70a3ff9 [HTML5] Remove unneeded parser/html/java/translator directory (bug 518224). r=hsivonen
--HG--
extra : rebase_source : 2d3d248bb554f66206568e55690fe1b0cd198515
2009-09-25 12:57:09 -07:00
Ben Newman
d1b7e82b22 Bug 518224 - [HTML5] Update parser/html/java Makefiles to sync from hg.mozilla.org/projects/htmlparser. r=hsivonen
--HG--
rename : parser/html/java/translator/manifest.txt => parser/html/java/manifest.txt
rename : parser/html/java/translator/named-character-references.html => parser/html/java/named-character-references.html
extra : rebase_source : 261b948d700b5fac5a2ad15f2b8114da97800ad2
2009-09-22 19:46:51 -07:00
Henri Sivonen
bab474a623 Bug 515142 - Make HTML5 parser never clone nodes. WHATWG spec SVN rev 2947. rs=sicking. 2009-09-21 10:00:10 +03:00
Henri Sivonen
adce3cb5c8 Bug 499642 - Split the HTML5 parser into stream parser, doc.write parser and tree op executor. r=bnewman, sr=mrbkap. 2009-09-18 12:21:47 +03:00
Taras Glek
8943704095 Bug 457949 - no need for Stopwatch r=bsmedberg
--HG--
extra : rebase_source : 5cd3baecf54295012b28d42fc7bf4c9b34e12714
2009-08-28 11:03:51 -07:00
Henri Sivonen
2b04a3d4e8 Bug 502973 - Suppress EOF upon Terminate() in HTML5 parser. r=mrbkap. 2009-08-27 10:57:57 +03:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Mats Palmgren
24d627f9cf Fix reorderToMatchExpected by maintaining the inAttrList state correctly. Extend the test file syntax with comment and todo features. b=462701 r=sayrer 2009-08-24 01:22:22 +02:00
Ben Newman
b47164fb52 Bug 505602 - [HTML5] Reduce amount of nsHtml5NamedCharacters generated code. r=hsivonen sr=mrbkap 2009-08-20 10:37:48 -07:00
Ben Newman
20fab04fc6 Bug 505599 - [HTML5] GenerateNamedCharactersCpp.java should generate static member declarations for VALUES and WINDOWS_1252 as well as NAMES. r=hsivonen sr=mrbkap 2009-08-20 10:37:52 -07:00
Ben Newman
442c0a41d4 Bug 504968 - [HTML5] "###!!! ASSERTION: QueryInterface needed" in nsHtml5Parser::FinalizeSniffing. r=hsivonen sr=mrbkap 2009-08-20 10:37:44 -07:00
Henri Sivonen
0b5f29bbc2 Bug 502869 - Crash [@ nsHtml5TreeBuilder::appendToCurrentNodeAndPushElementMayFoster]. r=bnewman 2009-08-18 10:48:59 +03:00
Dão Gottwald
0b99c9dd72 Backed out changeset fc7d931fd75b 2009-08-15 10:30:23 +02:00
Jonathan Griffin
c38d2d7030 Add html5 parser tests: tree construction, tokenizer, and comparison beteween Gecko and JS parsers. bug 373864; r=sayrer 2009-08-14 15:02:39 -07:00
Tommy Fogwell
de9537d4f0 Bug 484898 - Remove unused *_TIMER macros in CNavDTD and nsViewSourceHTML. r=bnewman sr=jst
--HG--
extra : rebase_source : f84584ede02f022edeb4b073c598a812134f5d1d
2009-08-14 09:56:03 -07:00
Peter Van der Beken
082ea855e7 Backing out 410eb23d33c7 to restore accidentaly deleted file (parser/html/javasrc/README.txt).
--HG--
extra : rebase_source : cd514c9544e20eacef1bbf40a0a369788801711a
2009-08-13 10:02:48 +02:00
Henri Sivonen
df05a4aaaf Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:51:06 +03:00
Henri Sivonen
9fd5b6b79a Backout rev 58f91861b1f1. Accidental changes included. 2009-08-13 10:48:13 +03:00
Henri Sivonen
2b3ede7ed7 Bug 509672 - Make HTML5 parser not fire mutation events when adding attributes to root or body elements. r=jonas 2009-08-13 10:45:24 +03:00
Jonathan Griffin
db59ca0328 Add test for bug 502600; cause parser compatibility mode tests to be run with and without the HTML5 parser enabled. r=hsivonen, sr=bz 2009-08-06 13:22:01 -07:00
Blake Kaplan
95fa693563 Bug 497013 - Fix some re-entrancy bugs in the parser. r+sr=sicking 2009-08-04 14:32:46 -07:00
Jonathan Griffin
e83c1d8b93 Add mochitest for bug 502091. 2009-08-05 10:32:20 -07:00
Robert O'Callahan
a3ed732448 Backed out changeset 60add17e8ed3 2009-08-05 16:44:03 +12:00
Yu-Hsun Lin
ab00cb4b56 Bug 486081. Remove unused nsTime class. r=roc
--HG--
extra : rebase_source : 582694b45d1d56759a619a4243abfc5a05453d8a
2009-08-05 14:39:05 +12:00
Ben Newman
895119b1fa Bug 505594 - [HTML5] Actually place java translator files under Mercurial revision control. r+sr=jst 2009-07-27 16:42:45 -07:00
Peter Van der Beken
e7c19654e6 Fix for bug 500349 (DOMParser no longer available in Greasemonkey scripts). r/sr=jst.
--HG--
extra : rebase_source : e42a5ad4bc82ef7b6933e9420840f83548ecde2c
2009-07-22 20:50:24 +02:00
Ben Newman
e199f1d0ec Bug 504442 - Remove content/html/parser and land parser/html/javasrc/*.java.
--HG--
rename : content/html/parser/javasrc/AttributeName.java => parser/html/javasrc/AttributeName.java
rename : content/html/parser/javasrc/ElementName.java => parser/html/javasrc/ElementName.java
rename : content/html/parser/javasrc/HtmlAttributes.java => parser/html/javasrc/HtmlAttributes.java
rename : content/html/parser/javasrc/MetaScanner.java => parser/html/javasrc/MetaScanner.java
rename : content/html/parser/javasrc/Portability.java => parser/html/javasrc/Portability.java
rename : content/html/parser/javasrc/StackNode.java => parser/html/javasrc/StackNode.java
rename : content/html/parser/javasrc/StateSnapshot.java => parser/html/javasrc/StateSnapshot.java
rename : content/html/parser/javasrc/Tokenizer.java => parser/html/javasrc/Tokenizer.java
rename : content/html/parser/javasrc/TreeBuilder.java => parser/html/javasrc/TreeBuilder.java
rename : content/html/parser/javasrc/UTF16Buffer.java => parser/html/javasrc/UTF16Buffer.java
2009-07-17 13:50:20 -07:00
Ben Newman
5b2f19d078 Bug 504646 - Get rid of the parser/html/javasrc symlink. r=hsivonen 2009-07-17 13:50:20 -07:00
Ben Newman
c5724733c5 Refactor repetitive makefile shell commands into external scripts (bug 504444). r+sr=jst 2009-07-17 13:50:20 -07:00
Henri Sivonen
9547e457d1 Bug 502260 - Check mFlushTimer for null in nsHtml5TreeBuilder::DoUnlink. r=mrbkap 2009-07-17 13:46:33 +03:00
Henri Sivonen
3b16d55bd2 Bug 503067 - New warnings from HTML5 parser: suggest parentheses around assignment used as truth value. r=benjamin 2009-07-15 14:32:58 +03:00
Henri Sivonen
3479df4b6a Bug 501106 - Implement Comment end bang state. rs=sicking 2009-07-15 14:31:57 +03:00
Henri Sivonen
5cfd6d5ab3 Bug 501015 - Address code style comments from timeless. r+sr=mrbkap 2009-07-15 14:30:33 +03:00
Henri Sivonen
ae67575213 Bug 502091 - Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML. r+sr=jonas 2009-07-15 14:28:27 +03:00
Ben Newman
9f9cf0e5b4 Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst 2009-07-14 17:39:30 -07:00
Henri Sivonen
7a1e4dcbc8 Bug 502600 - Make quirky doctype list comparisons work. r+sr=mrbkap 2009-07-08 09:40:21 +03:00
bjarne@runitsoft.com
6687250282 Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky 2009-07-07 22:23:20 -07:00
Johnny Stenback
523bba4256 Fixing bug 501725. Use nsDependentSubstring() on strings that are not null terminated. r+sr=mrbkap@gmail.com
--HG--
extra : rebase_source : 7f657cd0465c3a568f6cfc534d6fbd4876e0776d
2009-07-06 14:00:23 -07:00
Henri Sivonen
38fcebf359 Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap 2009-07-06 15:11:14 +03:00
timeless@mozdev.org
e4ec268f74 Bug 501113 - HTML5 Crash EXCEPTION_INT_DIVIDE_BY_ZERO [@ _aulldiv - nsHtml5TreeBuilder::Flush]. r+sr=jonas 2009-07-02 09:41:59 +03:00
Henri Sivonen
782fbe8536 Bug 501083 - Release the Windows 1252 array at shutdown. r+sr=jonas 2009-06-30 13:53:58 +03:00
Henri Sivonen
cc3e223a82 Bug 501091 - Avoid overlap with platform defines in HTML5 element/attribute name object names. r=jonas, sr=mrbkap 2009-06-30 13:50:56 +03:00
Henri Sivonen
8f8a33e815 Bug 501073 - Remove debug addref loop that never should have been checked in r&sr=jonas 2009-06-29 15:26:35 +03:00
Gavin Sharp
eefb38f12d Add bug # reference for workaround 2009-06-29 05:09:27 -04:00
Gavin Sharp
e24d2ef116 Work around strange MSVC bug with the new html5 parser that's causing Windows CE build timeouts (and longer build times with msvc in general) by disabling optimization for nsHtml5NamedCharacters::initializeStatics, r=timeless on IRC 2009-06-29 04:54:40 -04:00
Johnny Stenback
8c3d7afa73 Fixing build order issue. 2009-06-28 11:18:21 -07:00
Henri Sivonen
af98547431 Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas 2009-06-29 00:44:22 +02:00
Johnny Stenback
eb2ed73403 Backed out changeset 168dd0eb7283 2009-06-28 11:47:11 -07:00
Henri Sivonen
5959a99ba3 Add a newline to the end of nsHtml5Parser.cpp 2009-06-28 20:09:15 +03:00