Commit Graph

347 Commits

Author SHA1 Message Date
Henri Sivonen
de75440fbe Bug 501082 - Use a more efficient data layout for the named character tables in the HTML5 parser. Based on patch by dbaron. r=bnewman.
--HG--
extra : rebase_source : abe4519a3eeacdc2f89343b26c7b961f62dfb435
2010-03-29 14:01:18 +03:00
Henri Sivonen
1608f31ed7 Bug 555899 - Make the HTML5 parser have a limit of 200 on the stack depth like the old parser. rs=sicking. 2010-03-30 11:21:36 +03:00
Henri Sivonen
d9cf6edf3d Bug 555462 follow-up - Sync HTML5 parser Java sources with the backout. rs=sicking. NPOTB. 2010-03-30 11:21:36 +03:00
Henri Sivonen
a2caf355ca Bug 555462 - Back out changeset a0f0fde99844 for causing a buffer overrun. 2010-03-30 11:21:36 +03:00
Henri Sivonen
0f3605a261 Bug 554513 - Remove buffer growth limits from the HTML5 parser where the old parser did not have the exact corresponding limits. rs=sicking.
--HG--
extra : rebase_source : d9de246b1e950dc314a9680a0043b29d576e291e
2010-03-26 09:50:21 +02:00
Henri Sivonen
1889c29241 Bug 539434 follow-up - Sync the Java sources of the HTML5 parser with the htmlparser repository. rs=sicking. NPOTB.
--HG--
extra : rebase_source : 6ff1b377ab4663bc7a34c805da92a5d8e3adaed1
2010-03-26 09:50:20 +02:00
Henri Sivonen
629a0e668d Bug 543458 - Make the HTML5 tree op executor use nsContentSink code for deciding when to return to the event loop. r=bnewman.
--HG--
extra : rebase_source : fa41825753811279070d232c7d467600d7b2d523
2010-02-26 11:18:38 +02:00
Ben Newman
19ee453611 Bug 539434 - [HTML5] The translator isn't updating parser/html/javasrc/. r=hsivonen
--HG--
extra : rebase_source : c3f47999413d3382720b1ebb108327ea5d67066e
2010-03-22 10:30:07 -07:00
Henri Sivonen
11c18b934e Bug 546641 - Map 
 to CR in the HTML5 parser. rs=sicking.
--HG--
extra : rebase_source : 0c021cc263ea7172b0f386be89a6e6d45fba23c0
2010-03-09 15:13:48 +02:00
Henri Sivonen
7bc8dbf67a Bug 489820 and bug 483209 - Make the HTML5 parser check buffer bounds less often and place limits on buffer growth. rs=sicking.
--HG--
extra : rebase_source : 57088761bab23d50aab5bb6b2e5f22f50a48c2e8
2010-02-12 09:49:06 +02:00
Henri Sivonen
d858fa708c Bug 506090 - Speed up the tokenization of named character references in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : bee1464b806dd5b1ce85fe6257ffcad18de61825
2010-02-10 11:23:35 +02:00
Henri Sivonen
1b6028dc09 Bug 540574 - Make the HTML5 parser break out of doc update on <body> and remove trailing white space from test_bug386782.html. r=bnewman.
--HG--
extra : rebase_source : 8a0b6e679c70c6d2429a9fdbf469cc59d285ca2f
2010-02-22 14:17:33 +02:00
Henri Sivonen
13fbcec474 Bug 539887 - Make document.written meta charset affect the charset of document.opened documents in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 71434258f5a6f330e1e0583826fbb415fb110b0b
2010-03-09 14:39:32 +02:00
Henri Sivonen
c325b81e27 Test for bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. r=jmuizelaar.
--HG--
extra : rebase_source : afca17c363c02d8e8594ea0eee4d435fdd500732
2010-03-12 12:27:15 +02:00
Henri Sivonen
1398345c93 Bug 536097 - Copy endTag flag when copying HTML5 tokenizer state. rs=sicking.
--HG--
extra : rebase_source : a7effe977998b9fe7dd32abed804a0e3a70df079
2010-03-12 12:27:15 +02:00
Henri Sivonen
c90899f45f Bug 549591 - Atom staticness checks lack a negation in the HTML5 parser. r=jonas.
--HG--
extra : rebase_source : 37591aca16f6e95e1afede9c567232d1fa84e2da
2010-02-26 11:18:35 +02:00
Jonathan Griffin
ed46314fb5 Bug 546635. Update html5 parser tests from html5lib sources. r=hsivonen
--HG--
extra : rebase_source : 9f59fb08aba7a3cf9cc1b5c3ba4a1ba5c357dd0a
2010-03-08 14:40:53 -08:00
Jonas Sicking
e6aa8d8aab Bug 534136 part 4bis: Fix review comments from peterv that should have been in initial patch. 2010-03-08 08:03:55 -08:00
Jonas Sicking
088a5c3e1c Bug 534136 Part 4: Inline accessors on nsIAtom. r=peterv sr=jst 2010-03-08 07:45:00 -08:00
Jonas Sicking
3175f89133 Bug 534136 Part 3: Optimize atom-using code for the fact that atoms store 16bit strings. Also take advantage of new nsAtomString API. r=bz 2010-03-08 07:45:00 -08:00
Jonas Sicking
c4106f7f22 Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Zack Weinberg
1e69ee7cc3 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -08:00
Justin Wood
02a4e81b4f Bug 546103, Remove remnant MOZ_PERF_METRICS from parser/, r=mrbkap 2010-03-01 23:38:21 -05:00
Henri Sivonen
56b37d5371 Bug 545658 - Change the sniffing limit of the HTML5 parser to 1K. r=jst. 2010-02-26 11:18:38 +02:00
Henri Sivonen
f2f731789d Bug 516422 - Copy link prefetching from nsHTMLContentSink to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : c0a5999b05919fa496ddcee94f7be74d004288f3
2010-02-25 13:37:35 +02:00
Henri Sivonen
cb3f5d69ed Bug 545402 - Make test_bug42976.html run from onload and make HTML5 createContextualFragment work on DOMs that do not have a docshell. r=Olli.Pettay.
--HG--
extra : rebase_source : 74002d7f9936045065406e412477df9b740ee766
2010-02-22 14:17:31 +02:00
Henri Sivonen
4ed8dd0ba9 Bug 547685 - Weaken test_bug418464.html to make both the old and the HTML5 parser pass. r=bzbarsky.
--HG--
extra : rebase_source : 36fb899487e57618e50b697a75c659c89defb4b7
2010-02-23 15:58:17 +02:00
Henri Sivonen
56cd24d21e Bug 545854 - Add the <keygen> macro to the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : afd36441c60abba7453fd91c32beec4e6e1fd17b
2010-02-22 14:17:30 +02:00
Doug Turner
8bd84320eb Adding new line to the end of nsHtml5SpeculativeLoader.h to avoid dozens of compiler warnings. trivial fix, no bug
--HG--
extra : rebase_source : c32715faff9ea1c2e06b41ffa9ca1f1e316c68f8
2010-02-23 16:36:30 -08:00
Frédéric Wang
e55eb6a822 Bug 124709. Treat application/mathml+xml as an XML type. r=bzbarsky 2009-11-29 23:18:53 +01:00
Frédéric Wang
8b46e8bd69 Bug 530275. Move more MIME types into nsMimeTypes.h so we don't have to hardcode the strings in various places. r=bzbarsky 2009-11-21 00:12:42 +01:00
Timothy Nikkel
92355591c8 Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc 2010-02-18 13:23:23 -06:00
Timothy Nikkel
53fe3ff52d Backed out changeset 93c7b23284b8 (Bug 545593) for causing Md oth failures on linux. 2010-02-12 16:46:04 -06:00
Timothy Nikkel
73241cb6bc Bug 545593. Remove nsViewManager::Enable/DisableRefresh. r=roc
--HG--
extra : rebase_source : 963053b0f3d5712308b53c665dddcedae08a2b21
2010-02-11 18:14:59 -06:00
Henri Sivonen
3e7e62f762 Bug 541079 - Make app cache selection happen before speculative loads in the HTML5 parser. r=bnewman. 2010-02-02 09:43:18 +02:00
Henri Sivonen
8c86ce90ed Bug 539895 - Flush tree ops in the HTML5 parser upon </select> and </textarea> to make form state restoration work. r=bnewman. 2010-01-20 15:43:58 +02:00
Geoff Lankow
480c28af9d Bug 295506 - Variable tabulator width instead of fixed width of 4 spaces. r=mrbkap 2010-02-03 13:59:01 +01:00
Henri Sivonen
6835111d7b Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 31f125d0e833aaea2c1bd4755c16d5e7fd5f2e83
2010-01-14 15:58:27 +02:00
Henri Sivonen
84a8e6139d Bug 520581 - HTML5 parser reverses attributes on some elements. r=bzbarsky.
--HG--
extra : rebase_source : 2018b107ac2e508a20e245d49d396e7c1ea7230d
2009-12-23 10:32:39 +02:00
Palo Misik
1cab8b3389 Bug 530505: Rev IID on parser interfaces for Gecko 1.9.3 r=mrbkap 2010-01-23 11:31:17 -05:00
Henri Sivonen
f7637638e6 Bug 539917 - document.writes parsed in reverse order when document.open()ed HTML5 parser gets blocked. r=bnewman. 2010-01-18 15:39:17 +02:00
Henri Sivonen
e57b659dd4 Bug 537557 - Thread-unsafe refcounting in the HTML5 parser when chardet enabled. r=bnewman. 2010-01-12 15:15:10 +02:00
Robert Longson
cbd82b1050 Bug 531259 - The SVG script element should respect the aFromParser flag on NS_NewElement. r=hsivonen, r+sr=jst 2010-01-15 11:44:12 +00:00
Henri Sivonen
9a711fcc66 Bug 537683 - No longer break out of doc update batch upon nsIParser::Terminate() in the HTML5 parser. r=bnewman. 2010-01-05 14:37:05 +02:00
Henri Sivonen
5ba187632d 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
b1b31fb0f1 Bug 514602 - Restore frameset-ok properly when the HTML5 tree builder has left the "in body" insertion mode and comes back. rs=sicking.
--HG--
extra : rebase_source : 42788e58309762098b4b9bb6efadff07335c011b
2009-12-23 10:31:48 +02:00
Henri Sivonen
f5ca5f174a Bug 535810 - Avoid deleting the empty attribute holder in the isindex case. rs=sicking. 2009-12-21 13:18:34 +02:00
Henri Sivonen
5e7912c55e Backing out a change set with a faulty commit message. 2009-12-21 14:03:14 +02:00
Henri Sivonen
4602a4bd81 Avoid deleting the empty attribute holder in the isindex case. rs=sicking.
--HG--
extra : rebase_source : fe35acd60c7f9bbb7512bc931288ee93338872b9
2009-12-21 13:38:58 +02:00