Commit Graph

2415 Commits

Author SHA1 Message Date
Curtis Bartley
0b465581dc Bug 464727. Skip newlines too, instead of skipping tabs twice and newlines not at all. r+sr=mrbkap, a=beltzner 2008-11-13 22:05:05 -05:00
Blake Kaplan
49eb1a7511 Bug 458440 - Turn speculative parsing back on and clean up the code a little. r+sr=jst 2008-11-11 10:52:40 -08:00
Curtis Bartley
a20f5060d4 SRC and HREF attributes turned into clickable links in view source. p=cbartley r+sr=mrbkap a=beltzner b=17612 2008-11-10 16:18:39 -05:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Shawn Wilsher
79a89addfa Backed out changeset 2c00478d356a (bug 458563) for orange 2008-11-01 18:16:40 -04:00
Mats Palmgren
a2ce44f7b7 Add tag soup HTML parser tests to mochitest suite. b=458563 r+sr=mrbkap 2008-11-01 21:27:18 +01:00
Blake Kaplan
61503583ca Bug 461031 - Bring a little more sanity to parser notifications of the content sink. This should help increase responsiveness, especially on pages with lots of inline scripts. r+sr=jst 2008-10-30 14:31:00 -07:00
Taras Glek
ae50073263 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-14 09:55:57 -07:00
Ben Newman
2e879f3987 Bug 448564. Better handling of sink context switches. r=mrbkap, sr=bzbarsky 2008-10-12 13:44:23 -04:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Taras Glek
5c451361b8 Bug 458983: dead stuff in nsHTMLElement r+sr=mrbkap 2008-10-09 13:46:16 -07:00
Doug Turner
8137791649 Bug 458917 - Windows CE Cleanup. r/sr=stuart+bsmedberg 2008-10-08 20:51:54 -07:00
Blake Kaplan
a52a78014b Temporarily disable speculative parsing to see its effect on tinderbox crashiness. r+sr=jst 2008-10-06 15:19:28 -07:00
Blake Kaplan
32a0c9d395 Bug 458145 - Don't allow random tags to close the body unexpectedly. r+sr=jst 2008-10-03 17:36:29 -07:00
Blake Kaplan
c2c3c2f8eb Bug 458440 - Don't create a speculative parser for an empty string. Also, avoid doing work that the scanner will happily do for us. r+sr=jst 2008-10-03 14:11:12 -07:00
Blake Kaplan
7810144cb5 Bug 364315 - Fix threadsafety assertions and crashes by only releasing documents on the main thread and not starting two speculative parsers for the same nsParser. r+sr=jst 2008-10-01 17:09:21 -07:00
Blake Kaplan
109b544036 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
Matthew Gregan
b94c620992 Bug 457806 - "<source> child of <audio> causes HTML parser to enter infinite loop" [r+sr=mrbkap] 2008-09-30 23:58:02 -05:00
Daniel
02e96ca633 Bug 433065 - remove support for -moz-pre-wrap. r=dbaron sr=bz 2008-10-01 01:49:47 +02:00
Dave Townsend
b687587e84 Backed out changeset 961d90be2ba8 from bug 364315 due to random crashes in
tests.
2008-09-30 13:08:20 +01:00
Blake Kaplan
428671d01a Bug 364315 - Speculatively look for URLs in the document while the parser waits for a script to download and execute. This should show a decent speedup, especially on mobile. Currently, this only finds other <script>s to preload, but hopefully we'll extend it to images and stylesheets as well. r+sr=jst 2008-09-29 21:19:43 -07:00
Blake Kaplan
84beef638b Bug 455043 - Remove HTML3 quirks mode. r+sr=jst 2008-09-26 15:43:37 -07:00
Olli Pettay
600428c42f Bug 433533 - Attributes stored using enum value don't keep the 'caseness', r+sr=sicking 2008-09-26 13:39:18 +03:00
Taras Glek
15ba12b39c bug 454502: prbool issues in html parser. r+sr=mrbkap 2008-09-09 17:42:04 -07:00
Ted Mielczarek
ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Benjamin Smedberg
ed40001ad9 Bug 445570 - parser autostring allocated on the heap, r=mrbkap 2008-07-17 11:23:00 -04:00
Blake Kaplan
de50ace5ca Ensure that we call WillBuildModel. bug 420008, r+sr=bzbarsky 2008-07-15 11:35:07 +02:00
timeless
744522326f Protect the scanner from OOM when appending new data. bug 430574, r=mrbkap sr=jst 2008-07-14 15:05:15 +02:00
Blake Kaplan
a2ba7d589b Allow <link> to be opened, even as the direct child of a <table>. bug 436722, r+sr=sicking 2008-07-14 15:00:43 +02:00
Mike Hommey
b37dfdda9a Bug 398810 - "Remove MOZILLA_1_8_BRANCH ifdefs from core on trunk" [r=sicking r=brendan r=bsmedberg] 2008-07-12 17:26:52 -05:00
Chris Double
91826e2fd0 Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Robert O'Callahan
7454ea4889 Bug 438519. Make DocumentType.internalSbuset return null when there was no internal subset in the doctype at all. r+sr=sicking. Acid3 progress. 2008-06-14 20:24:13 +12:00
jruderman@hmc.edu
2a1f88964b Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner 2008-04-10 21:38:25 -07:00
timeless@mozdev.org
b0e4df4591 Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-06 05:28:34 -07:00
timeless@mozdev.org
7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
022712406a Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
mrbkap@gmail.com
0e57506436 Ensure that CanPropagate and CreateContextStackFor are consistent. bug 423373, r+sr=sicking a=beltzner 2008-03-17 13:24:00 -07:00
timeless@mozdev.org
6b72658efd Bug 3004 Remove debug robot from build removed robot from the build, this removes it from cvs NPOB toolkit changes r=luser, a=luser 2008-03-16 13:30:40 -07:00
reed@reedloden.com
5682ff6453 Bug 311366 - "should make custom elements able to contain blocks (<section>)" [p=mrbkap@gmail.com (Blake Kaplan) r=sicking sr=jst a1.9=beltzner] 2008-03-14 08:15:29 -07:00
timeless@mozdev.org
5d9b4b115c Bug 3004 Remove debug robot from build r=mrbkap sr=jag a=dsicore So Long, and Thanks for All the Fish 2008-03-12 01:15:55 -07:00
reed@reedloden.com
20850172a7 Bug 418543 - "remove -moz-pre-wrap" [p=taken.spc@gmail.com (KUROSAWA, Takeshi) r+sr=roc a1.9=beltzner] 2008-03-08 01:44:35 -08:00
bent.mozilla@gmail.com
827ac24e1e Bug 420700 - Calling createContextualFragment affects subsequent setting of innerHTML. r+sr=jst, a=blocking1.9+. 2008-03-06 12:14:33 -08:00
bzbarsky@mit.edu
ed92494ec4 Revert the change to RequiresBody. In particular, an <input type="Hidden"> needs to not require it, for now... Bug 418464, r+sr=mrbkap, a=jonas 2008-03-05 12:46:21 -08:00
reed@reedloden.com
59695deb84 Bug 420609 - "XMLHttpRequest no longer able to parse XHTML documents with entity references" [p=trev.moz@adblockplus.org (Wladimir Palant) r+sr=bzbarsky a1.9=sicking a=blocking1.9+] 2008-03-05 02:29:32 -08:00
reed@reedloden.com
374700b955 Bug 418119 - "nsIContentPolicy not called for external DTDs of XML documents" [p=trev.moz@adblockplus.org (Wladimir Palant) r=sicking sr=peterv a1.9=beltzner a=blocking1.9+] 2008-02-22 03:32:24 -08:00
bzbarsky@mit.edu
f2ed87bab9 Adding test 2008-02-18 23:52:14 -08:00
jwalden@mit.edu
5d668ce45a Fix an incorrect dependency rule from the last commit. r=orange 2008-02-15 16:16:09 -08:00
jwalden@mit.edu
eb18cf9339 Bug 417491 - Element.setAttribute(':', ...) throws DOMException INVALID_CHARACTER_ERR. r+sr=peterv, a=beltzner 2008-02-15 15:22:55 -08:00
jwalden@mit.edu
17cb8a1956 Add an extra rule that makes changes to moz_extensions.c cause the necessary recompilation, to fix Windows bustage due to the missing dependency. 2008-02-11 21:32:09 -08:00
jwalden@mit.edu
b101d622c5 Bug 411103 - document.createElement(bad) (and the NS version) throwing wrong exception. Fixes two acid3 tests as well. r=peterv, sr=jst, a=schrep 2008-02-11 20:14:57 -08:00
jst@mozilla.org
31788d6e7c Landing fix for bug 414764. Fixing problem with tokens being freed too many times. Patch by mrbkap@gmail.com, sr=jst@mozilla.org 2008-02-11 17:45:03 -08:00
bent.mozilla@gmail.com
588f30c270 Bug 386769 - "Make setting innerHTML faster". r=jst, sr=peterv, a=blocking1.9. 2008-02-08 14:07:51 -08:00
Olli.Pettay@helsinki.fi
f25a1007b6 Bug 414637, createContextualFragment() throws NS_ERROR_NOT_AVAILABLE (allow contextfragments when container is document) r+sr=sicking a=blocking1.9+ 2008-02-07 07:11:29 -08:00
bent.mozilla@gmail.com
6c944d399a Bug 404386 - nsScanner construction is 5% of setting innerHTML. r=mrbkap,smontagu. sr=jst. a=blocking1.9. 2008-01-29 14:12:22 -08:00
mats.palmgren@bredband.net
ac46e50edc <!DOCTYPE> parsing tests. b=363883 2008-01-16 04:44:03 -08:00
dwitte@stanford.edu
84e6172062 update copy_string() to the single-fragment string world, and optimize write() to not return a value. b=282083, r+sr=jst, a=schrep 2008-01-03 16:07:06 -08:00
mrbkap@gmail.com
b26e5da62a Always free the curren token at the end of HandleToken. bug 408939, r=bzbarsky sr=jst 2007-12-24 11:30:36 -08:00
mrbkap@gmail.com
ebeda3a57d Do not treat backspace as whitespace to match IE and Opera. bug 404252, r+sr=jst 2007-12-21 10:57:16 -08:00
bzbarsky@mit.edu
6a28994fed Fix assertion. Bug 406903, r+sr=mrbkap, a=dsicore 2007-12-04 21:02:28 -08:00
bzbarsky@mit.edu
9776bb1760 Fix bug 390565. r+sr=mrbkap 2007-12-02 18:29:48 -08:00
mrbkap@gmail.com
9e57824bb7 Always free doctype decl tokens. bug 395846, r=jst sr=sicking a=schrep 2007-11-27 17:06:34 -08:00
mrbkap@gmail.com
53fe226761 Don't deal with misplaced content when we're in the head. bug 401169, r=sicking sr=jst a=blocking-1.9 2007-11-27 16:59:27 -08:00
peterv@propagandism.org
5476e0248b Fix for bug 401613 (Intermittent XML parsing errors with this valid SVG file). r/sr=bz. 2007-11-19 02:57:29 -08:00
mats.palmgren@bredband.net
c1be16ac17 Don't crash when ParseFragment() is called with an empty |aTagStack|. b=403877 r+sr=mrbkap a=jonas 2007-11-16 15:56:51 -08:00
jonas@sicking.cc
0e1c530ce2 Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart 2007-11-12 17:41:40 -08:00
reed@reedloden.com
a47772b1bc Remove extraneous space to cause unit test machines to build. 2007-11-10 14:49:09 -08:00
bzbarsky@mit.edu
0bcdaa7bd7 Log parser token refcounting, and fix a number of token leaks in view-source that were also leaking strings. Bug 402633, r+sr=mrbkap 2007-11-07 09:28:22 -08:00
jonas@sicking.cc
24549eb073 Bug 395845. Fix leak of static parser-node cache. Patch by mrbkap. r/sr=sicking 2007-11-05 11:48:12 -08:00
bzbarsky@mit.edu
07549c4ecf Don't leak strings from <keygen>. Bug 398665, r=kaie, sr=jst, a=dbaron 2007-10-09 19:10:00 -07:00
sayrer@gmail.com
468d2d3ad4 Bug 397804. Use the short CC macro in nsParser. r/sr/a=sicking. 2007-10-03 19:11:57 -07:00
sayrer@gmail.com
4414a6abf7 Bug 397804. pages loading feeds as content can trigger a leak. r=jst, sr=sicking, a=sicking 2007-09-27 20:00:35 -07:00
bzbarsky@mit.edu
a4511f4c0e Comment-only change to address review comments in bug 394534. 2007-09-12 09:13:07 -07:00
jst@mozilla.org
766c82a844 Fixing bug 394534. Make first attribute win in misplaced content. Patch by bzbarsky@mit.edu, r=mrbkap@gmail.com, sr=peterv@propagandism.org, a=jonas@sicking.cc/dsicore@mozilla.com 2007-09-10 16:50:16 -07:00
ginn.chen@sun.com
d0ed3cca65 Bug 389793 Firefox build failed on OpenSolaris without --disable-mochitest r=benjamin a=dsicore 2007-08-05 20:22:32 -07:00
mrbkap@gmail.com
d41b2caa57 Don't ship link to the head from <body>. <link> and <style> will still prefer the head in the absense of an explicit body, but will stay still if there is one. bug 387691, r=sicking/sayrer sr=jst 2007-07-20 17:40:59 -07:00
sharparrow1@yahoo.com
5a477727f4 Bug 388438: Incorrect interpretation of LFCR after opening tag. r=mrbkap, sr=jst. 2007-07-17 14:29:19 -07:00
mrbkap@gmail.com
f6d1c918e7 Don't treat PRBool as an int. bug 388093, r+sr=jst 2007-07-13 17:26:46 -07:00
mrbkap@gmail.com
0176f23972 This isn't ready for checkin, yet. <link> ends up in the body too much. 2007-07-13 14:58:11 -07:00
mrbkap@gmail.com
62249b3a77 Don't move <link> to the head, to match <style>. bug 387691, r+sr=sicking 2007-07-13 14:29:10 -07:00
jwalden@mit.edu
6d7584839a Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
sharparrow1@yahoo.com
fd2771a3fc Update UUID for nsIParser 2007-06-26 17:41:30 -07:00
sharparrow1@yahoo.com
10510ec3f4 Bug 384898: Cleanup nsScanner. r=mrbkap, sr=jst 2007-06-26 17:21:47 -07:00
mrbkap@gmail.com
b617a89d3b Rename the mochitest file so that we don't try to run it as a test. 2007-06-25 17:15:51 -07:00
mrbkap@gmail.com
23ef56b820 Add a mochitest for bug 379025, r=sayrer 2007-06-25 15:43:37 -07:00
mrbkap@gmail.com
7a159f217e Allow noscript in the head so that it doesn't push <style> into the body, causing the style's text to prematurely open a body. bug 379025, r=sicking sr=jst 2007-06-22 14:47:26 -07:00
peterv@propagandism.org
fc80057431 Fix for bug 343870 (Line breaks normalized twice). r/sr=bz. 2007-06-11 02:15:23 -07:00
mrbkap@gmail.com
94b98498b9 Don't call DidBuildModel twice if Terminate is called twice since consumers aren't expecting it. bug 378982, r+sr=bzbarsky 2007-05-21 11:09:54 -07:00
mrbkap@gmail.com
c66a304974 nsIParserNode::GetSource should be a const function. bug 374041, r+sr=jst 2007-05-18 11:45:39 -07:00
mats.palmgren@bredband.net
2496088049 Improve the <!DOCTYPE> parsing. b=363883 r=mrbkap sr=jst 2007-05-08 05:19:32 -07:00
benjamin@smedbergs.us
baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
75d0ec2b2f Stop blocking the parser on CSS stylesheet loads. We still block scriptexecution on them, however. Bug 84582, r+sr=sicking 2007-04-20 15:59:18 -07:00
sayrer@gmail.com
7d791ba12b One exception fixed by mrbkap's patch for Bug 308145. 2007-04-18 11:01:47 -07:00
mrbkap@gmail.com
b9a9b82e63 Allow <style> to appear anywhere in the document, don't force it to be in the <head>. bug 308145, r+sr=jst 2007-03-29 11:53:30 -07:00
dbaron@dbaron.org
d98d9fdec5 Remove unused getKey callback from PLDHashTableOps/JSDHashTableOps. b=374906 r=bsmedberg 2007-03-27 08:33:38 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
sayrer%gmail.com
b7dc137d58 fix wrong log message. 2007-03-20 22:05:46 +00:00
sayrer%gmail.com
554a8659e3 Add times to parser test logging to examine linux test harness timeouts. 2007-03-20 21:15:24 +00:00
sayrer%gmail.com
db289394e8 Renabling, after local check for bustage. 2007-03-16 23:01:42 +00:00
mats.palmgren%bredband.net
5fd0e79405 Fix --enable-perf-metrics build failure. b=370230 r=jonas sr=benjamin 2007-03-14 16:44:51 +00:00
sayrer%gmail.com
1fa0de744d Bug 366936. disable tests to see if mac bustage is affected by that. 2007-03-11 01:05:06 +00:00