Henri Sivonen
aa9004b48b
Bug 501106 - Implement Comment end bang state. rs=sicking
2009-07-15 14:31:57 +03:00
Henri Sivonen
00382e3718
Bug 501015 - Address code style comments from timeless. r+sr=mrbkap
2009-07-15 14:30:33 +03:00
Henri Sivonen
57d0ba40a7
Bug 502091 - Crash [@ nsContentSink::ProcessHeaderData] with meta in innerHTML. r+sr=jonas
2009-07-15 14:28:27 +03:00
Ben Newman
425a713997
Bug 499141 - [HTML5] Check in the Java to C++ translator. r+sr=jst
2009-07-14 17:39:30 -07:00
Henri Sivonen
a78ee7ddae
Bug 502600 - Make quirky doctype list comparisons work. r+sr=mrbkap
2009-07-08 09:40:21 +03:00
bjarne@runitsoft.com
136ecf84de
Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky
2009-07-07 22:23:20 -07:00
Johnny Stenback
20c8cb9449
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
379dedb7f6
Bug 502103 - Crash [@ NS_NewEditorKeyListener] with <isindex action="">. r+sr=mrbkap
2009-07-06 15:11:14 +03:00
timeless@mozdev.org
a33943492e
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
2bcc709a30
Bug 501083 - Release the Windows 1252 array at shutdown. r+sr=jonas
2009-06-30 13:53:58 +03:00
Henri Sivonen
168f13774e
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
35e7e1301a
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
75292af342
Add bug # reference for workaround
2009-06-29 05:09:27 -04:00
Gavin Sharp
3abc754bdd
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
11b9deebb4
Fixing build order issue.
2009-06-28 11:18:21 -07:00
Henri Sivonen
8803c27a7f
Bug 487949 - Land HTML5 parser on trunk preffed off r=mrbkap, sr=jonas
2009-06-29 00:44:22 +02:00
Johnny Stenback
87138ce673
Backed out changeset 168dd0eb7283
2009-06-28 11:47:11 -07:00
Henri Sivonen
24e3afaf8f
Add a newline to the end of nsHtml5Parser.cpp
2009-06-28 20:09:15 +03:00
Jonas Sicking
ff259aceaf
Move files to better location
...
--HG--
rename : content/html/parser/src/Makefile.in => parser/html/Makefile.in
rename : content/html/parser/src/jArray.h => parser/html/jArray.h
rename : content/html/parser/src/nsHtml5ArrayCopy.h => parser/html/nsHtml5ArrayCopy.h
rename : content/html/parser/src/nsHtml5AtomList.h => parser/html/nsHtml5AtomList.h
rename : content/html/parser/src/nsHtml5Atoms.cpp => parser/html/nsHtml5Atoms.cpp
rename : content/html/parser/src/nsHtml5Atoms.h => parser/html/nsHtml5Atoms.h
rename : content/html/parser/src/nsHtml5AttributeName.cpp => parser/html/nsHtml5AttributeName.cpp
rename : content/html/parser/src/nsHtml5AttributeName.h => parser/html/nsHtml5AttributeName.h
rename : content/html/parser/src/nsHtml5ByteReadable.h => parser/html/nsHtml5ByteReadable.h
rename : content/html/parser/src/nsHtml5DocumentMode.h => parser/html/nsHtml5DocumentMode.h
rename : content/html/parser/src/nsHtml5ElementName.cpp => parser/html/nsHtml5ElementName.cpp
rename : content/html/parser/src/nsHtml5ElementName.h => parser/html/nsHtml5ElementName.h
rename : content/html/parser/src/nsHtml5HtmlAttributes.cpp => parser/html/nsHtml5HtmlAttributes.cpp
rename : content/html/parser/src/nsHtml5HtmlAttributes.h => parser/html/nsHtml5HtmlAttributes.h
rename : content/html/parser/src/nsHtml5MetaScanner.cpp => parser/html/nsHtml5MetaScanner.cpp
rename : content/html/parser/src/nsHtml5MetaScanner.h => parser/html/nsHtml5MetaScanner.h
rename : content/html/parser/src/nsHtml5MetaScannerCppSupplement.h => parser/html/nsHtml5MetaScannerCppSupplement.h
rename : content/html/parser/src/nsHtml5MetaScannerHSupplement.h => parser/html/nsHtml5MetaScannerHSupplement.h
rename : content/html/parser/src/nsHtml5Module.cpp => parser/html/nsHtml5Module.cpp
rename : content/html/parser/public/nsHtml5Module.h => parser/html/nsHtml5Module.h
rename : content/html/parser/src/nsHtml5NamedCharacters.cpp => parser/html/nsHtml5NamedCharacters.cpp
rename : content/html/parser/src/nsHtml5NamedCharacters.h => parser/html/nsHtml5NamedCharacters.h
rename : content/html/parser/src/nsHtml5Parser.cpp => parser/html/nsHtml5Parser.cpp
rename : content/html/parser/src/nsHtml5Parser.h => parser/html/nsHtml5Parser.h
rename : content/html/parser/src/nsHtml5PendingNotification.h => parser/html/nsHtml5PendingNotification.h
rename : content/html/parser/src/nsHtml5Portability.cpp => parser/html/nsHtml5Portability.cpp
rename : content/html/parser/src/nsHtml5Portability.h => parser/html/nsHtml5Portability.h
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.cpp => parser/html/nsHtml5ReleasableAttributeName.cpp
rename : content/html/parser/src/nsHtml5ReleasableAttributeName.h => parser/html/nsHtml5ReleasableAttributeName.h
rename : content/html/parser/src/nsHtml5ReleasableElementName.cpp => parser/html/nsHtml5ReleasableElementName.cpp
rename : content/html/parser/src/nsHtml5ReleasableElementName.h => parser/html/nsHtml5ReleasableElementName.h
rename : content/html/parser/src/nsHtml5StackNode.cpp => parser/html/nsHtml5StackNode.cpp
rename : content/html/parser/src/nsHtml5StackNode.h => parser/html/nsHtml5StackNode.h
rename : content/html/parser/src/nsHtml5StackNodeCppSupplement.h => parser/html/nsHtml5StackNodeCppSupplement.h
rename : content/html/parser/src/nsHtml5StackNodeHSupplement.h => parser/html/nsHtml5StackNodeHSupplement.h
rename : content/html/parser/src/nsHtml5StateSnapshot.cpp => parser/html/nsHtml5StateSnapshot.cpp
rename : content/html/parser/src/nsHtml5StateSnapshot.h => parser/html/nsHtml5StateSnapshot.h
rename : content/html/parser/src/nsHtml5Tokenizer.cpp => parser/html/nsHtml5Tokenizer.cpp
rename : content/html/parser/src/nsHtml5Tokenizer.h => parser/html/nsHtml5Tokenizer.h
rename : content/html/parser/src/nsHtml5TreeBuilder.cpp => parser/html/nsHtml5TreeBuilder.cpp
rename : content/html/parser/src/nsHtml5TreeBuilder.h => parser/html/nsHtml5TreeBuilder.h
rename : content/html/parser/src/nsHtml5TreeBuilderCppSupplement.h => parser/html/nsHtml5TreeBuilderCppSupplement.h
rename : content/html/parser/src/nsHtml5TreeBuilderHSupplement.h => parser/html/nsHtml5TreeBuilderHSupplement.h
rename : content/html/parser/src/nsHtml5TreeOperation.cpp => parser/html/nsHtml5TreeOperation.cpp
rename : content/html/parser/src/nsHtml5TreeOperation.h => parser/html/nsHtml5TreeOperation.h
rename : content/html/parser/src/nsHtml5UTF16Buffer.cpp => parser/html/nsHtml5UTF16Buffer.cpp
rename : content/html/parser/src/nsHtml5UTF16Buffer.h => parser/html/nsHtml5UTF16Buffer.h
rename : content/html/parser/src/nsHtml5UTF16BufferCppSupplement.h => parser/html/nsHtml5UTF16BufferCppSupplement.h
rename : content/html/parser/src/nsHtml5UTF16BufferHSupplement.h => parser/html/nsHtml5UTF16BufferHSupplement.h
2009-06-26 17:12:29 -07:00
Henri Sivonen
fb74340ed2
Merge trunk into HTML5 repo
2009-06-26 18:22:48 +03:00
Ben Newman
b5b32ea103
Bug 484121 (6/6) - Don't let DTDs hold parser references. r+sr=mrbkap
2009-06-23 14:22:17 -07:00
Ben Newman
fbb427a992
Bug 484121 (5/6) - Avoid needlessly passing nsIContentSink parameters to nsIDTD methods. r+sr=mrbkap
2009-06-23 14:22:17 -07:00
Ben Newman
c35c094d47
Bug 484121 (4/6) - Let the parser call nsIContentSink::{Will,Did}BuildModel directly. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Ben Newman
cf8369dfe8
Bug 484121 (3/6) - Get rid of nsIDTD::Will{Resume,Interrupt}Parse. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Ben Newman
be66be8cc9
Bug 484121 (2/6) - Add nsIDTD::GetMode to eliminate heinous const_cast. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Ben Newman
6589761eac
Bug 484121 (1/6) - Decompose nsHTMLTokenizer::GetFlags. r+sr=mrbkap
2009-06-23 14:22:16 -07:00
Henri Sivonen
34a9141081
Merge trunk into HTML5 repo
2009-06-05 14:52:43 +03:00
Henri Sivonen
612191c82d
Merge trunk into HTML5 repo
2009-05-25 19:16:57 +03:00
Jonas Sicking
7ac1da9ded
Bug 481566: Add prefs to control making the content sink more responsive. r/sr=mrbkap
2009-05-19 08:54:42 -07:00
Henri Sivonen
1f9455f387
Merge the trunk into HTML5 parsing repo
2009-05-04 11:19:16 -07:00
Blake Kaplan
7f46f44eb5
Bug 490937 - Eagerly start prefetching URIs that we've found when we're done with our section of the document. Don't wait for the parser to tell us to go ahead. r+sr=jst
2009-05-14 13:02:13 -07:00
Henri Sivonen
94ba813332
Adjust nsParser to implement the HTML5 ParseFragment stub
2009-04-23 13:18:19 +03:00
Henri Sivonen
4aa0608b18
Implement one single parsing quirk for HTML5 parser: <p><table>. Required to pass Acid2 and to be compatible with legacy content.
2009-04-22 12:17:08 +03:00
Henri Sivonen
524846eeac
Merge trunk into HTML5 parsing repo
2009-03-30 15:32:26 +03:00
Blake Kaplan
7b882b1cc1
Bug 495663 - Count newlines correctly if we have an alternate ending position. r+sr=sicking
2009-06-01 20:44:37 -07:00
Blake Kaplan
984f190863
Bug 488730 - Count newlines correctly when skipping whitespace. r+sr=sicking
2009-06-01 20:44:37 -07:00
Jesse Ruderman
b89227c825
Add crashtests
2009-05-26 11:53:12 -07:00
Henri Sivonen
27ccc45764
Merge the trunk into HTML5 parsing repo
2009-03-26 14:10:18 +02:00
Arpad Borsos
fee39dcf30
Bug 474369 - get rid of nsVoidArray, parser part; r+sr=mrbkap
2009-03-25 09:13:05 +01:00
Peter Van der Beken
3afc804584
Backing out 8f9ff81ef3fa to try to fix orange.
2009-03-24 10:43:42 +01:00
Ben Newman
ad89dbd67c
imported patch simplify-nsIDTD.diff
2009-03-23 18:26:46 -07:00
Ben Newman
c2610d97bf
imported patch parser-own-dtd.diff
2009-03-23 18:26:46 -07:00
Boris Zbarsky
7fbe6ae71f
Backing out changeset b47f0de93a82 (bug 457809) due to test failures
2009-03-24 19:18:25 -04:00
bjarne@runitsoft.com
28637b1d1c
Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bz
2009-03-24 12:52:00 -04:00
Henri Sivonen
99a8cc5f1a
Merge trunk into HTML5 parsing repo
2009-03-20 17:09:05 +02:00
Boris Zbarsky
ce1a541b65
Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg
2009-05-07 15:21:53 -04:00
L. David Baron
f0c43ecb3d
Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer
2009-05-06 13:46:04 -07:00
Bob Clary
af0f1bccbe
bug 328751 - crash test by Tom Ferris.
2009-04-24 10:08:11 -07:00
Jonas Sicking
b6ff240427
Bug 478889: Make script-defer work in xhtml. r/sr=peterv
...
--HG--
extra : rebase_source : 4e2abc2b35c72f7c5831f58b0f1c6940b1824de7
2009-03-15 17:53:09 -07:00
Jonas Sicking
7fdf2000fd
back out changes that weren't supposed to be checked in
2009-03-10 00:03:48 -07:00
Jonas Sicking
86a18a593a
Bug 475636: Disallow refresh to javascript uris. r/sr=bz
...
--HG--
extra : rebase_source : 1fdfc3148c257aee22001be045258cc985ee027a
2009-03-09 23:03:39 -07:00
Henri Sivonen
948c3f9874
Merge HTML5 work with trunk
2009-03-09 12:24:48 +02:00
Chris Pearce
54d00f000e
Chris Pearce - Bug 480889 - Nested <source> elements appear in video's childNodes. r+/sr+ mrbkap
2009-03-09 09:53:58 +13:00
Johnathan Nightingale
5bc5ebd6c0
Backed out changeset fdbe218cdcc7 - Causing crashtest hangs on linux. Tracked by bug 479499.
2009-03-03 09:43:47 -05:00
Blake Kaplan
dbf08aae22
Add a crashtest for bug 460706.
2009-02-26 17:01:10 -08:00
Blake Kaplan
6ec60d390e
Bug 479499 - Gracefully handle receiving more data while inside the expat driver. r+sr=peterv
2009-02-25 17:38:28 -08:00
Henri Sivonen
a66d5e247c
Add innerHTML parsing with HTML5 parser
2009-02-20 18:13:48 +02:00
Doug Turner
2ace694588
Bug 479480 - drop the XP_MAC specific MAX_REFLOW_DEPTH. r=josh, sr=dbaron
2009-02-20 13:28:15 -08:00
Blake Kaplan
42dec6a621
Bug 478699 - Tell the scanner it's incremental so we don't preload partial tokens. r+sr=jst
2009-02-17 14:59:49 -08:00
Makoto Kato
6c49622ac3
Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv
2009-02-16 04:22:47 -08:00
Jesse Ruderman
ea905567dc
Add crashtests
2009-02-13 14:54:17 -08:00
Henri Sivonen
d9f997707e
Restart HTML5 parser on meta charset; release stack and list memory in tree builder
2009-01-16 15:21:48 +02:00
Jesse Ruderman
c8c7f6b3bb
Use 'skip' instead of commenting-out to disable crashtests
2009-02-11 00:17:29 -08:00
Jesse Ruderman
397e21afab
Add a bunch of crashtests
2009-02-10 22:18:05 -08:00
Jesse Ruderman
e6ffd994a3
Add some crashtests
2009-02-10 16:36:04 -08:00
Jesse Ruderman
313514226b
Add a bunch of crashtests
2009-02-10 00:09:40 -08:00
Blake Kaplan
70a04d49f5
Disable this test since it's randomly crashing on tinderbox.
2009-02-04 14:35:25 -08:00
Jonas Sicking
67d8b7206a
Bug 483818: Remove the currently-running-script counter from the parser since it's hard to keep it correct when we're creating a new parser due to document.write etc. r/sr=mrbkap
2009-04-15 15:34:50 -07:00
Nochum Sossonko
1ab37ad4c8
Test for bug 364188 - param closes open div elements. r+sr=mrbkap
2009-04-11 10:56:13 +02:00
Boris Zbarsky
973f44492a
Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv
2009-04-10 10:29:08 -04:00
Boris Zbarsky
339dd2bc38
Backing out changeset ec2bec209571 and changeset 140f64990c51 (fix for bug 481566) due to test failures.
2009-04-04 01:55:51 -04:00
Jonas Sicking
74d960d045
[mq]: sinkstuff
2009-04-03 18:25:13 -07:00
Boris Zbarsky
814eb91d33
Bug 457810 - Speculatively load stylesheets from preloading. r=mrbkap, sr=bzbarsky
2009-04-03 10:15:56 -04:00
Boris Zbarsky
d71fb0a959
Backing out changeset 37661caab4ce due to the Tp regression
2009-04-02 22:55:26 -04:00
bjarne@runitsoft.com
9bfb0c43c0
Bug 457809 - Speculatively load images from preloading. r=mrbkap, sr=bzbarsky
2009-04-02 17:39:58 -04:00
Boris Zbarsky
b8d1090f67
Backing out changeset c428086801d0 (bug 457809 and bug 457810) on suspicion of causing the Tp3 regression
2009-03-30 20:21:32 -04:00
bjarne@runitsoft.com
46b3066e19
Bug 457809 and bug 457810 - Speculatively load images and stylesheets (respectively). r=mrbkap, sr=bzbarsky
2009-03-30 11:31:16 -04:00
Blake Kaplan
aaf23f4056
Add a crashtest for bug 460706. r=sicking
2008-12-19 17:38:18 -08:00
Blake Kaplan
b684f12449
Bug 474537 - Don't use a static array, since this can be called on multiple threads. r+sr=jst
...
--HG--
extra : rebase_source : 7926ab4fd9a5e141edfdd571ae82c8223bee5d37
2009-02-02 17:37:03 -08:00
Blake Kaplan
95348e2620
Bug 475480 - Fix warnings created by the speculative parsing landing. r+sr=sicking
2009-01-27 15:30:31 -08:00
Jonas Sicking
38592a65d1
More bug 461555 fixes to fix orange by making sure to remove deferred-scripts' onloadblocker when the parser is terminated. r/sr=mrbkap
2009-01-26 21:41:25 -08:00
Jonas Sicking
8093e5d81b
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Jonas Sicking
41679160f6
Backed out changeset e8023bc83264 due to orange
2009-01-26 01:53:20 -08:00
Jonas Sicking
39b948d125
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Jonas Sicking
d25702e3ce
Backed out changeset 41045faa0ef6 due to leaks
2009-01-23 15:08:41 -08:00
Jonas Sicking
c4c9640ef1
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Daniel Holbert
4301671b45
Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg
2009-01-21 22:55:08 -08:00
Martijn Wargers
c2cbb08d97
Bug 364188. <param> should not close open <div> elements. r+sr=mrbkap
2009-01-19 21:42:00 +13:00
Fred Jendrzejewski
d8f1bff747
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Curtis Bartley
c2305a06bf
Bug 473540 - Fix leak in nsViewSourceHTML.cpp, r+sr=mrbkap
2009-01-17 21:44:32 +01:00
Curtis Bartley
66c5c3d3df
Bug 464314 - view-source link-browsing doesn't decode entities. r+sr=mrbkap
2009-01-16 16:07:12 +01:00
Robert O'Callahan
804cc7ee91
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3
Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
...
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Blake Kaplan
c8bc6e40b5
Bug 316582 - Clean up this function. r+sr=jst
2009-01-15 16:34:55 -08:00
Curtis Bartley
35bf4e9d80
View Source Linkification should only linkify "safe" URLs. p=cbartley, r=mrbkap, sr=bzbarsky, b=467852
2009-01-15 15:07:53 -05:00
Ben Turner
97fdc15bb2
Backed out changeset 4c4d0bf8622e for failing unit tests.
2009-01-14 18:22:41 -08:00
Jonas Sicking
583673c3ab
Bug 461555: Don't clear out the parser until all deferred scripts have executed to ensure that a document.write in a deferred script doesn't clear the page. r/sr=mrbkap
2009-01-14 17:25:21 -08:00
Blake Kaplan
c057310e01
Bug 444322 - Ignore OnDataAvailable calls when we're executing a script. r+sr=bzbarsky
2008-12-11 14:20:45 -08:00
Blake Kaplan
62348da33d
Bug 466765 - Don't start the speculative parser twice. r+sr=jst
2008-12-11 14:20:44 -08:00
Ben Turner
f08f233265
Bug 460437 - 'innerHtml doesn't update DOM when Html markup goes from Invalid to Valid'. r+sr=mrbkap.
2008-12-07 16:15:52 -08:00
Masatoshi Kimura
3a3a37f47d
Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron
2008-12-06 11:08:26 -08:00
Daniel Holbert
61f320aa9d
Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes.
2008-12-05 11:52:01 -08:00
Masatoshi Kimura
31c5df869e
Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron
2008-12-05 18:31:00 +01:00
L. David Baron
aefe9fb399
Add ability to mark JSDHashTable/PLDHashTable as immutable and thus prevent RECURSION_LEVEL assertions from firing due to lookups racing on multiple threads. (Bug 469004) r=brendan,mrbkap
2009-01-10 08:28:16 -08:00
Blake Kaplan
e791611ec9
Backed out changeset e62d412d6251. The crashtest is randomly crashing.
2009-01-09 15:56:03 -08:00
Blake Kaplan
d019260b3a
Add a crashtest for bug 460706. r=sicking
2008-12-19 17:38:18 -08:00
Jesse Ruderman
e7ff093116
Add 19 crashtests
2009-01-01 14:18:58 -08:00
Ben Turner
b3e8d42490
Bug 468538 - 'Crash [@ nsParser::ParseFragment] setting innerHTML in mixed-content document'. r+sr=mrbkap, a=blocking1.9+
2008-12-28 17:42:33 -05:00
Serge Gautherie
05e2fb4ab8
Backed out changeset: 9990da98d7b7
2008-12-20 05:05:42 +01:00
Blake Kaplan
79c27c74b1
Add a crashtest for bug 460706. r=sicking
2008-12-19 17:38:18 -08:00
Blake Kaplan
50dec62271
Bug 460706 - Handle misplaced ContinueInterruptedParsing calls during synchronous XMLHttpRequest. r+sr=sicking
...
--HG--
extra : rebase_source : 2852f7f9f0283bc6971dab6dd2ec92234fab302a
2008-12-19 15:45:55 -08:00
Neil Rashbrook
2ada5a0db5
Follow-on fixes for bug 17612 r+sr=mrbkap a=beltzner (grudgingly given that I should have filed a new bug)
2008-11-14 11:16:18 +00:00
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
sayrer%gmail.com
8c5d5f05c1
Bug 366936. Run WHATWG/html5lib tests on HTML parser. r=mrbkap
2007-03-10 23:41:00 +00:00
sayrer%gmail.com
4bbb89f0c0
Bug 368994. move some more tests. r=dbaron
2007-02-20 22:18:09 +00:00
sayrer%gmail.com
62aae02099
Bug 339350. move unit tests. r=mrbkap
2007-02-19 19:47:31 +00:00
martijn.martijn%gmail.com
f78c89c940
Bug 334227 � embed shouldn't close p, r=mrbkap, sr=jst
2007-02-16 12:18:56 +00:00
martijn.martijn%gmail.com
a3c01c11ac
Bug 369326 � Allow marquee inside p, r=mrbkap, sr=dbaron
2007-02-16 12:12:44 +00:00
jwalden%mit.edu
7eeed473b4
Bug 351968 - Don't copy xpcshell tests and other data to $(DIST) -- a step toward being able to --enable-tests on Mozilla tinderboxen. r=bsmedberg
2007-01-31 03:25:46 +00:00
jonas%sicking.cc
a9f34ee020
Bug 18333: Make the XML content sink incremental. Patch by Henri Sivonen<hsivonen@iki.fi>. r=peterv sr=sicking
2007-01-30 21:21:06 +00:00
mrbkap%gmail.com
e8f3473559
Use a better replacement character. bug 315473, r=bzbarsky sr=sicking
2007-01-25 17:30:13 +00:00
mrbkap%gmail.com
7b392d29a7
Handle NUL characters in HTML input better. bug 315473, r=jst sr=sicking
2007-01-25 01:25:41 +00:00
sayrer%gmail.com
259dbdd0df
bug 362547. xpcshell unit tests for SAX Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer
2006-12-10 03:16:39 +00:00
sayrer%gmail.com
db775fbdce
Bug 362547. Crash in SAXReader with doctype missing public, system ID's. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bz
2006-12-05 19:37:37 +00:00
mats.palmgren%bredband.net
e5b2a2562a
Improved NS_ERROR_OUT_OF_MEMORY error handling. b=354074 r=mrbkap sr=jst
2006-10-27 01:49:52 +00:00
sayrer%gmail.com
80b29c0734
bug 339350. js: innerHTML removes 2 last simbols ']]' in application/xhtml+xml documents. r=mrbkap, sr=sicking
2006-10-10 21:28:23 +00:00
cvshook%sicking.cc
174e570414
Bug 351731: Add testcode for the new hash
2006-10-09 23:29:27 +00:00
cvshook%sicking.cc
2752ab353b
Bug 351731: Add hash to map directly from nsIAtom* -> id. r/sr=bz
2006-10-09 22:08:45 +00:00
timeless%mozdev.org
7e9a4d2ccc
Bug 352132 [@ CNavDTD::HandleSavedTokens] possibly null mSink is dereferenced
...
r=mrbkap sr=bz
2006-09-22 07:27:15 +00:00
sayrer%gmail.com
9f0cf6c3db
Bug 334302. Adjust SAXLocator reports in ReportError. Patch by Alex Vincent <ajvincent@gmail.com>. r=sayrer, sr=bz
2006-09-13 18:20:05 +00:00
aaronr%us.ibm.com
189dd5e3a8
change nsIParserService to use nsStringGlue. Bug 350748, r=mrbkap, sr=jst
2006-08-31 18:40:42 +00:00
bzbarsky%mit.edu
3514212c00
Allow nsIExpatSink implementations to control whether the expat driver logs
...
parse errors to the console. Bug 342164, patch by Alex Vincent
<ajvincent@gmail.com>, r+sr=bzbarsky
2006-08-25 16:34:57 +00:00
sayrer%gmail.com
6fa03a1730
Bug 340554. Provide sanitizing fragment sinks for use with feeds. r=mrbkap. sr=jst
2006-08-12 04:46:43 +00:00
benjamin%smedbergs.us
c9125873ca
Bug 339144 - Expose a custom factory type for simple nsIUnicharInputStream instances, r=darin
2006-07-21 16:28:51 +00:00
masayuki%d-toybox.com
573e6523ef
b=255990 backing-out the previous patch, we should try to better fix.
2006-07-20 09:04:39 +00:00
masayuki%d-toybox.com
52397d3401
b=255990 previous checked-in has wrong file.
2006-07-14 06:00:20 +00:00
masayuki%d-toybox.com
42ba5d983c
Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap, sr=roc
2006-07-14 04:57:05 +00:00
masayuki%d-toybox.com
0cd7e0b5ee
b=255990 backing-out the patch, because DomToTextConversionTest failed
2006-07-13 21:04:25 +00:00
masayuki%d-toybox.com
ab8ee052c9
Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r=jshin+mrbkap sr=roc
2006-07-13 20:25:46 +00:00
peterv%propagandism.org
0f613030f3
Fix for bug 334806 (Update to Expat 2.0.0). r=mrbkap, sr=jst.
2006-07-13 12:50:58 +00:00
sayrer%gmail.com
d158030827
Bug 344090. Loading an Atom Feed crashes Bon Echo a3 [@ nsSAXXMLReader::HandleStartNamespaceDecl]. Style fixes per peterv. r+sr=peterv.
2006-07-11 14:51:26 +00:00
sayrer%gmail.com
ebac30840f
b=342163. parseFromStream error in nsISAXXMLReader on trunk. r=weirdal, sr=peterv.
2006-07-10 15:32:58 +00:00
mats.palmgren%bredband.net
47bd18fde6
Remove the special painting code for a 165-twips checkbox. Move the remaining parts of nsFormControlHelper to its consumers and remove nsFormControlHelper.{cpp,h} from the tree. b=343495 r+sr=roc (r=me on roc's part)
2006-07-06 10:43:51 +00:00
Olli.Pettay%helsinki.fi
ca6f086e42
Bug 343036, SAXParser crashes with references to JS-defined object attached to XPCOM component, r+sr=peterv
2006-06-28 22:44:42 +00:00
mrbkap%gmail.com
d1b4d640d3
Don't close random tags when we encounter an erroneous </head> tag. bug 342520, r+sr=sicking
2006-06-23 21:30:57 +00:00
mrbkap%gmail.com
0ef1113d9d
Keep the DTD's stack in sync with the content sink's stack to avoid miscommunication. bug 333497, r=sicking sr=jst
2006-06-22 21:34:35 +00:00
dveditz%cruzio.com
506140bd0c
Bug 284219: add EnsureStringLength() helper function to nsReadableUtils.h to
...
simplify OOM checks when growing an nsAString. r/sr=darin
2006-06-22 19:07:30 +00:00
sayrer%gmail.com
3ead56e540
b=339599. nsISAXXMLReader expects a nsIChannel passed to onStartRequest, but interface takes an nsIRequest. r=mrbkap, sr=peterv
2006-06-19 03:03:28 +00:00
timeless%mozdev.org
27eaab5dcd
Bug 337917 Make consumers stop using cids from other modules
2006-06-18 21:18:22 +00:00
mrbkap%gmail.com
eacda8057f
Force noscript to be either in the head or the body. bug 312704, r=bzbarsky sr=sicking
2006-06-08 01:21:50 +00:00
sayrer%gmail.com
046365ea18
b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv
2006-06-06 23:13:17 +00:00
sayrer%gmail.com
dc555a0c13
b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv
2006-06-06 23:06:12 +00:00
timeless%mozdev.org
a768026fc9
Bug 337917 Make consumers stop using cids from other modules
...
r=smontagu sr=darin
2006-06-03 23:35:59 +00:00
mats.palmgren%bredband.net
b5cda5027f
Don't suppress the first newline in a text/plain document. b=339364 r=mrbkap sr=jst
2006-06-03 18:18:29 +00:00
peterv%propagandism.org
8e523aa71d
Fix for bug 236873 (Share class for more elements). r/sr=sicking.
2006-05-21 21:00:09 +00:00
darin%meer.net
0318b8c707
landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
2006-05-10 17:30:15 +00:00
timeless%mozdev.org
28fa63a8f5
Bug 335953 Make code outside intl use NS_CHARSETALIAS_CONTRACTID instead of NS_CHARSETALIAS_CID
...
r=bz sr=bz
2006-05-06 22:09:20 +00:00
gavin%gavinsharp.com
fb232af27d
Bug 334716: Ineffective allocation check in nsParserService::CreateEntry (nsParserService.cpp), patch by patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=jst
2006-04-28 17:25:47 +00:00
bzbarsky%mit.edu
aa75391cba
Add an async mode to the SAX stuff. Bug 334304, patch by Robert Sayre
...
<sayrer@gmail.com>, r=biesi, sr=bzbarsky
2006-04-24 17:01:40 +00:00
cls%seawood.org
37453e2762
Allow libxul to link in mingw builds.
...
Bug #334403 r=bsmedberg
2006-04-18 15:52:41 +00:00
bzbarsky%mit.edu
6a6796f312
Fix the bustage fix to actually be correct. Bug 315826. Patch by Robert Sayre
...
<sayrer@gmail.com>, r+sr=peterv
2006-04-17 15:39:13 +00:00
bzbarsky%mit.edu
123dea184e
Better empty string stuff. Still followups to bug 315826
2006-04-17 02:19:19 +00:00
dbaron%dbaron.org
734113e2ef
Make bz's bustage fix actually compile. b=315826
2006-04-17 02:03:16 +00:00
dbaron%dbaron.org
dd8fc1af83
Fix initializer-reordering warnings. b=315826
2006-04-17 02:01:01 +00:00
dbaron%dbaron.org
69a364efdd
Fix Windows bustage. According to sayrer, these unused methods will be XPCOM methods on a future interface. b=315826
2006-04-17 01:59:24 +00:00
bzbarsky%mit.edu
86b57e867e
Fixing linux bustage; bug 315826
2006-04-17 01:58:36 +00:00
timeless%mozdev.org
533694580d
Bug 315826 Scriptable XPCOM wrapper for SAX content handler
...
patch by sayrer@gmail.com r=peterv sr=sicking
2006-04-17 01:13:07 +00:00
mrbkap%gmail.com
84a85a393c
Remove obsolete and wacky support for the <sound> element, which not even IE supports. bug 333057, r=sicking sr=jst
2006-04-10 20:49:02 +00:00
mrbkap%gmail.com
5c2ebdc096
Remove a redundant null check found by Coverity. bug 333388, r+sr=sicking
2006-04-10 20:44:11 +00:00
mrbkap%gmail.com
060fd68dd6
Count newlines in textareas correctly. bug 331482, r+sr=sicking
2006-04-06 22:30:18 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
mrbkap%gmail.com
f617012006
Allow flow elements to contain <noframes> for interoperability with other browsers. bug 327250, r+sr=jst
2006-03-22 21:22:25 +00:00
peterv%propagandism.org
59c12dfe1f
Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification), checking in the right patch this time. r=sicking, sr=bz.
2006-03-17 14:38:57 +00:00
peterv%propagandism.org
d52a61880f
Backing out to fix bustages.
2006-03-16 15:12:21 +00:00
peterv%propagandism.org
4b5f5e2d64
Try to fix bustage.
2006-03-16 14:48:08 +00:00
peterv%propagandism.org
5aeebac7a6
C file, not C++.
2006-03-16 13:49:53 +00:00
peterv%propagandism.org
3efee8b1f4
Fix for bug 286132 (xml-stylesheet PI doesn't handle href attribute as in specification). r=sicking, sr=bz.
2006-03-16 13:47:42 +00:00
cbiesinger%web.de
c9b6fe4fd2
326477 extend nsIExpatSink in order to support SAX
...
patch by Robert Sayre <sayrer@gmail.com> r=sicking sr=peterv
2006-03-15 17:45:25 +00:00
mrbkap%gmail.com
a147b469b5
Don't stomp all over the heap in debug builds. Also raise eMaxTags to reflect the actual deepest stack that we will see. bug 309777, r+sr=jst
2006-03-10 00:47:57 +00:00
peterv%propagandism.org
0f2e2396b0
Fix for bug 325733 (Unclosed XML tags no longer trigger an error message) and bug 326741 (Crash with parsing malformed XUL file with -chrome). r/sr=bz.
2006-03-08 14:34:50 +00:00
mrbkap%gmail.com
e7b77e829f
Don't allow <object> to be contained in <head> since the DTD can't really handle it. bug 329399, 328751, r=sicking sr=jst
2006-03-07 21:47:25 +00:00
mrbkap%gmail.com
c2535c88cd
Protect against our table container being closed before we're ready by using the same logic to find the close tag that HandleEndToken does. bug 329364, r+sr=jst
2006-03-06 22:13:41 +00:00
benjamin%smedbergs.us
302aa832c2
Bug 78081 - don't export intermediate libraries - initial makefile changes to switch from $(DIST)/lib to in-tree library locations - blanket-r=mento
2006-03-02 14:38:10 +00:00
martijn.martijn%gmail.com
090495c6cc
Bug 328289 - dtd's should be read using 4096 bytes buffers, instead of 1024 bytes buffers. Patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r+sr=bzbarsky
2006-02-24 13:04:06 +00:00
timeless%mozdev.org
1ce5986f6b
Bug 106386 Correct misspellings in source code
...
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
03199516c9
CNavDTD shouldn't have a DTD and we shouldn't try to QI to it. bug 327980, r+sr=jst
2006-02-22 00:00:38 +00:00
bzbarsky%mit.edu
542b79dc49
Remove the random <server> tag silliness. Bug 321877, patch by Martijn Wargers
...
<martijn.martijn@gmail.com>, r=mrbkap, sr=jst
2006-02-12 22:05:33 +00:00
peterv%propagandism.org
a8a430a797
Fix for bug 315901 (Move RangeList and EventListenerManager hashes to nsContentUtils). r/sr=jst.
2006-02-07 14:34:10 +00:00
mrbkap%gmail.com
f1f0eb9711
Don't get confused by multiple right square brackets when parsing CDATA sections. bug 325532, r+sr=jst
2006-02-06 18:54:53 +00:00
mrbkap%gmail.com
82b57319d0
Remove parser generation of the _moz-userdefined attribute since comopser can figure out the information it provides on its own. bug 325405, r=sicking sr=jst
2006-02-04 02:02:55 +00:00
cbiesinger%web.de
c2d981f764
bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
...
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com
58fcf6d414
Testcase for bug 18308 doesn't work. bug 319826, patch by Jason Barnabe <jason_barnabe@fastmail.fm>, r+sr=jst
2006-02-02 01:07:57 +00:00
mrbkap%gmail.com
958c7f9c7f
Don't create extra parser contexts once the parser has been terminated. Also make sure to clean up any extra parser contexts if they do get created. bug 323441, r=sicking sr=jst
2006-02-01 18:57:09 +00:00
mrbkap%gmail.com
3d59a68ee7
When we don't find a </script> tag, we should put the entire rest of the document into the script element, but not execute the script. This also makes serialization not serialize the end tags for scripts that don't have them (to preserve round tripping). bug 305873, r=sicking sr=jst
2006-01-31 22:19:46 +00:00
mrbkap%gmail.com
c4f20f9306
Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst
2006-01-30 23:45:19 +00:00
mrbkap%gmail.com
27bfa50539
Try to fix an infinite loop on startup (bug 324667, r+sr=jst).
2006-01-28 01:21:46 +00:00
peterv%propagandism.org
b1549287a5
Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
2006-01-27 14:47:23 +00:00
mrbkap%gmail.com
efa6824ced
Change these QueryInterface implementations to be macros, not hand rolled. No bug, r+sr=dveditz
2006-01-26 22:24:20 +00:00
mrbkap%gmail.com
28a0057aa8
This should have gone too, (bug 324738)
2006-01-26 19:10:19 +00:00
mrbkap%gmail.com
5e3b39b84e
bug 324738: Remove some unnecessary complexity from the parser and hardcode DTDs. r=sicking sr=jst
2006-01-26 19:07:41 +00:00
peterv%propagandism.org
712a6c7a54
Backing out fix for bug 323299 for now to fix Trender and bug 324641.
2006-01-25 20:07:33 +00:00
peterv%propagandism.org
73a08e869b
Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst.
2006-01-25 12:53:00 +00:00
mrbkap%gmail.com
37ef76ae75
bug 320883: Handle split newlines at the end of chunks without duplicating newlines. r=bzbarsky rs=brendan
2006-01-25 02:29:09 +00:00
mrbkap%gmail.com
5886c8dad3
bug 321781: document.close() causes weird things to happen when asynchronous things were document.written. r=sicking sr=jst
2006-01-24 01:25:14 +00:00
mark%moxienet.com
18681d809c
323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh
2006-01-23 20:11:08 +00:00
mrbkap%gmail.com
fb3f80349e
bug 323908: Pass line and column information to ReportError. Patch by Robert Sayre <sayrer@gmail.com>. r=mrbkap sr=jst
2006-01-21 02:02:02 +00:00
mrbkap%gmail.com
77d1b6ad0b
Fix a stupid typo that was making line numbers come out wrong. no bug, r=sicking sr=jst
2006-01-21 00:37:25 +00:00
mrbkap%gmail.com
f5017ce37a
bug 324182: Cleanup some functions in CNavDTD and remove a redundant null check. r=sicking sr=jst
2006-01-21 00:36:11 +00:00
mrbkap%gmail.com
6b632e2f71
bug 324182: Update the token's attribute count when we add a token to it. r=sicking sr=bzbarsky
2006-01-20 23:25:37 +00:00
mrbkap%gmail.com
19fbc54999
bug 323736: Handle bogus comments that start with </ as invalid comments, per HTML5 and to have compatibility with other browsers. r+sr=jst
2006-01-19 00:05:21 +00:00
mrbkap%gmail.com
fcd42925c9
bug 316582: Clean up style in parser/htmlparser. r+sr=jst
2006-01-17 17:58:24 +00:00
peterv%propagandism.org
25f6bbfe50
Fix for bug 316582 (Clean up style in parser/htmlparser - CParserContext and small nsParser changes). r=mrbkap, sr=jst.
2006-01-13 14:45:32 +00:00
bzbarsky%mit.edu
090cdfa710
Rename our in-tree expat lib to mozexpat_s. Bug 305841, patch by Andy Willis
...
<abwillis1@gmail.com>, r=peterv
2006-01-07 02:40:20 +00:00
mrbkap%gmail.com
377d4123b3
bug 321344: Make sure we always enter the loop. There's no reason to actually
...
test anything here because we never really did before. Review from peterv is
still pending, but brendan wants this on the trunk because it breaks
XMLHttpRequest.
2005-12-24 07:39:09 +00:00
mrbkap%gmail.com
980d3e8f9c
bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv
2005-12-22 22:31:36 +00:00
mrbkap%gmail.com
dcf7ce0aef
bug 320585: View source can loose a final equals sign in an attribute if the preceeding character was a quote or slash. r+sr=jst
2005-12-19 20:37:08 +00:00
mrbkap%gmail.com
7ad0a958f3
bug 320590: Remove unused member variable mLastAttribute, especially as our attempt to set it was causing us to change non-debug-only variables in #ifdef DEBUG code. r+sr=jst
2005-12-19 20:33:30 +00:00
peterv%propagandism.org
a9f16a7e45
Trying to fix AIX bustage.
2005-12-18 12:07:26 +00:00
peterv%propagandism.org
430dd2bacc
Now that bug 320375 is fixed, trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz.
2005-12-18 10:39:23 +00:00
peterv%propagandism.org
9bfa27c4f1
Fix for bug 320375. r=mrbkap, sr=jst.
2005-12-16 14:35:45 +00:00
bsmedberg%covad.net
0cbcc55cf6
Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap
2005-12-12 21:39:56 +00:00
bsmedberg%covad.net
0ee58bb049
Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap
2005-12-12 20:56:37 +00:00
bsmedberg%covad.net
dea5f94fba
Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap
2005-12-12 16:53:30 +00:00
mrbkap%gmail.com
65e8bdcc71
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
2005-12-05 17:35:44 +00:00
mrbkap%gmail.com
5ff0ab70ab
bug 316582: Clean up the style in nsHTMLTokenizer.cpp. This also contains a bit of dead-code elimination in ConsumeAttribute. r=sicking sr=dveditz
2005-12-02 22:38:19 +00:00
bzbarsky%mit.edu
bf70da4532
Remove content ids. Bug 166637, r=sicking, sr=peterv
2005-11-29 16:47:18 +00:00
mrbkap%gmail.com
47b76ffc5c
Fixing bustage from bug 317869.
2005-11-28 22:33:48 +00:00
mrbkap%gmail.com
ff73691c2b
bug 317869: CNavDTD still needs its own IID. r+sr=jst
2005-11-28 22:13:10 +00:00
timeless%mozdev.org
9b0852aaf7
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
eb9350f619
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 19:48:04 +00:00
jst%mozilla.jstenback.com
5239743f12
Fixing build bustage.
2005-11-24 00:21:23 +00:00
mrbkap%gmail.com
e5f2e7fc42
bug 316582: Clean up style nitpicks in CNavDTD. rs=jst
2005-11-24 00:14:25 +00:00
mrbkap%gmail.com
0aabcad6c8
bug 317452: nsParser::Tokenize has no reason to be recursive. r=jag sr=bzbarsky
2005-11-22 23:29:30 +00:00
peterv%propagandism.org
1cf6be5ef7
Backout due to tree orange.
2005-11-21 14:59:12 +00:00
peterv%propagandism.org
d41313ac76
Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz.
2005-11-21 13:54:09 +00:00
timeless%mozdev.org
17f5f5429f
Bug 106386 Correct misspellings in source code
...
patch by supernova_00@yahoo.com r=timeless
2005-11-21 06:25:15 +00:00
bsmedberg%covad.net
9d6eceb84f
typo fix
2005-11-16 22:28:57 +00:00
bsmedberg%covad.net
2dba33766b
Don't build robot with libxul, r=mrbkap, no bug
2005-11-16 21:06:57 +00:00
bzbarsky%mit.edu
79da4ded63
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
2005-11-15 18:17:22 +00:00
mrbkap%gmail.com
e1167faec5
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
2005-11-14 21:59:16 +00:00
mrbkap%gmail.com
8bb3c4296e
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
2005-11-14 21:55:34 +00:00
mrbkap%gmail.com
415d50348d
bug 316186: Fix stupid numbering botch in the view source DTD. The
...
compiler does such a better job anyway. r+sr=bzbarsky
2005-11-13 19:19:49 +00:00
mrbkap%gmail.com
e6a2158be7
bug 316100: Cleanup some unused members and virtual functions in nsDTDUtils. r+sr=jst
2005-11-11 20:42:51 +00:00
mrbkap%gmail.com
b1a0a4906e
Fixing bustage from bug 315927.
2005-11-11 19:59:01 +00:00
mrbkap%gmail.com
804d3df1a0
bug 315927: Clean up nsHTMLTokenizer to not have so many virtual methods. Also clean up CParserContext::GetTokenizer. r+sr=jst
2005-11-11 19:11:36 +00:00
bsmedberg%covad.net
78f6d0683d
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
2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
09c773fac3
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
2005-11-10 22:47:09 +00:00
mrbkap%gmail.com
d8e25200c2
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
2005-11-08 00:05:09 +00:00
mrbkap%gmail.com
9cb0c090a1
bug 312104: Parse entities in textareas like we used to (allowing values > 255 with no terminating semicolon). r=bzbarsky sr=brendan
2005-11-03 18:12:38 +00:00
mrbkap%gmail.com
3f9830946d
bug 314759: Update our flags when we open a frameset and close the head. r=sicking sr=jst
2005-11-02 22:51:17 +00:00
mrbkap%gmail.com
8dbf1de5a0
bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst
2005-11-02 01:10:37 +00:00
peterv%propagandism.org
0084b6dc4a
Backing out to fix orange.
2005-10-28 13:48:13 +00:00
peterv%propagandism.org
b11bba112f
Trying once more to check in fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz.
2005-10-28 13:21:14 +00:00
mrbkap%gmail.com
783fed5a5c
bug 243056: legend tags containing invalid HTML don't cope very well. r=jst sr=bzbarsky
2005-10-27 21:51:37 +00:00
mrbkap%gmail.com
c924848adc
bug 314092: <object> prefers to be in the body, not the head. r+sr=jst
2005-10-27 21:46:31 +00:00
cvshook%sicking.cc
f4cfc7ed4d
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
2005-10-24 15:00:19 +00:00
bzbarsky%mit.edu
e7d4fe7b3d
Make sure to pop namespaces if we block on a close tag. Bug 313278, patch by
...
peterv, r+sr=bzbarsky
2005-10-21 19:08:27 +00:00
cvshook%sicking.cc
7c5d7d56eb
Bug 311785: Simplify the nsIHTMLContentSink interface
...
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
peterv%propagandism.org
887499750a
Back out to fix orange.
2005-10-14 13:11:58 +00:00
peterv%propagandism.org
92bf9b9fe0
Bustage fix.
2005-10-14 12:35:11 +00:00
peterv%propagandism.org
61d64ef5ff
Fix for bug 274777 (Update to Expat 1.95.8). r=bsmedberg, sr=bz.
2005-10-14 12:23:59 +00:00
mrbkap%gmail.com
6aa6292697
bug 309307: Make sure to update the parent pointer of entries of style nodes when they get closed. r+sr=jst
2005-09-29 23:45:11 +00:00
mrbkap%gmail.com
2320e3a829
bug 309040: Exclude kHeadMisc in <option> since we need to exclude userdefined tags (and the autoclose code can't cope otherwise). r+sr=jst
2005-09-19 19:02:59 +00:00
mrbkap%gmail.com
f67653a4b9
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
2005-09-16 22:14:40 +00:00
mrbkap%gmail.com
282301b4a4
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
2005-09-16 00:01:30 +00:00
mrbkap%gmail.com
1276657591
bug 307821: The contents of framesets get moved into the body. r+sr=jst
2005-09-10 17:30:39 +00:00
mrbkap%gmail.com
a0a1d48611
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
2005-09-10 00:12:21 +00:00
mrbkap%gmail.com
e415d47a02
bug 307593: Remove the unused and very broken CWordTokenizer class. Patch by Hans-Andreas Engel <Hans-A.Engel@unibas.ch>. r=mrbkap sr=jst
2005-09-09 21:59:51 +00:00
mrbkap%gmail.com
b06b0cc7bc
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
2005-09-09 19:15:06 +00:00
mrbkap%gmail.com
9612499f1c
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
2005-09-09 18:11:51 +00:00
mrbkap%gmail.com
973abde5a4
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
2005-09-09 18:03:47 +00:00
peterv%propagandism.org
b2109cfd93
Fix for bug 307363 (Don't add '---^' to XML errors in the JS console). r=bsmedberg, sr=jst.
2005-09-08 16:43:30 +00:00
mrbkap%gmail.com
dd30d01f0b
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
2005-09-07 03:35:58 +00:00
peterv%propagandism.org
0ad41d4924
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
2005-09-05 15:41:41 +00:00
peterv%propagandism.org
7069fad3ab
Fix for bug 153998 (COtherDTD should go; composer should handle containment checking itself). r=mrbkap, sr=jst.
2005-09-05 14:18:56 +00:00
bzbarsky%mit.edu
f436b70226
Make sure random parts of external DTDs don't sneak into the DOM. Bug 306353,
...
r+sr=peterv
2005-09-01 18:59:46 +00:00
bzbarsky%mit.edu
d4b89719f4
Sync up the MIME type list in parser with what nsContentDLF has, and improve
...
the error handling for cases when a mismatch does happen. Bug 306502,
r=mrbkap, sr=brendan
2005-08-31 17:33:54 +00:00
bzbarsky%mit.edu
3656444b70
Make sure that a reflow flush on the document makes the sink start layout if
...
needed. Bug 253951, r=mrbkap, sr=jst
2005-08-24 20:56:58 +00:00
mrbkap%gmail.com
c65f4fdcb4
bug 305448: Fix leak when page load is terminated while we have multiple parser contexts around (e.g., for a script load started from a document.write). r=bzbarsky sr=jst
2005-08-22 21:51:00 +00:00
peterv%propagandism.org
3236c010d5
Fix for bug 275564 (Mozilla SVG build 2004122009, 2004121909: wrong 'mismatched tag' message). Patch by bz, r=peterv, sr=jst, a=bsmedberg.
2005-07-26 13:09:19 +00:00
peterv%propagandism.org
0ab59e5717
Fix for bug 291827 (Expat's byte position is bogus if a chunk boundary falls before we block). r/sr=bz, a=bsmedberg.
2005-07-26 13:08:30 +00:00
joshmoz%gmail.com
275e8624be
don't use regparm on i386 Mac OS X. Patch by Apple Computer, Inc. r=josh r=smfr sr=bsmedberg a=bsmedberg
2005-07-21 19:02:52 +00:00
mrbkap%gmail.com
642cdb910e
bug 301416: Don't allow residual styles to open inside <textarea>. r+sr=jst a=asa
2005-07-21 02:51:32 +00:00
mrbkap%gmail.com
2a8db6360e
bug 299268: Clean up an early return so that alternate tags would be able to automatically open a body if they wanted to. Don't automatically open a body for <iframe> to avoid regressing bug 288991. r+sr=jst a=asa
2005-07-07 18:30:32 +00:00
mrbkap%gmail.com
47de12372b
bug 299036: Fix crash in CNavDTD by moving newline stripping into the tokenizer. This reduces our reliance on the invariants that the tokenizer tries to provide. r+sr=jst a=chofmann
2005-06-29 02:46:45 +00:00
mrbkap%gmail.com
6cc224e55b
bug 289537: A couple of followup fixes opening <body> for tags automatically. Also stick non-exclusive head children in the head if we haven't seen either <head> or <body> yet. Also make <bgsound> act like it should. r+sr=jst a=bsmedberg
2005-06-28 21:09:48 +00:00
mrbkap%gmail.com
07681e8e9a
bug 289537: Automatically open <body> for more tags by using the kRequiresBody special property. r=jst sr=rbs a=asa
2005-06-25 21:09:28 +00:00
peterv%propagandism.org
2b34c89a8c
Fix for bug 298391 (Remove some unused stuff from parser code). r=mrbkap, sr=jst, a=chofmann.
2005-06-24 13:21:59 +00:00
bsmedberg%covad.net
bc141211fe
Bug 279814 - report XML parsing errors to the JS console, r=mrbkap sr=shaver a=chofmann
2005-06-23 01:54:42 +00:00
mrbkap%gmail.com
639c3faaa3
bug 298264: Change (to if-returns) and remove unnecessary NS_ENSURE_SUCCESS()s to reduce debug clutter. r=jst sr+a=brendan
2005-06-21 04:29:02 +00:00
mrbkap%gmail.com
6664814803
bug 296677: Fix nsParser::ParseFragment to not screw up setting <textarea>'s innerHTML. r=jst sr=peterv a=asa
2005-06-16 18:59:59 +00:00
mrbkap%gmail.com
96e94dc74c
bug 296284: <blockquote type=cite> can cause the plaintext serializer to delete extra newlines before inlines after blocks. r=peterv sr=jst a=asa
2005-06-16 18:20:59 +00:00
peterv%propagandism.org
ea82f1a8a5
Fix for bug 286300 (Clean up HTML tags enum and related code). r=mrbkap, sr=bz, a=asa.
2005-06-16 13:10:58 +00:00
peterv%propagandism.org
698b140d97
Fix for bug 289169 (DOMParser freezes when parsing elements with fixed attributes.). r/sr=jst, a=asa.
2005-06-16 11:59:28 +00:00
mrbkap%gmail.com
31dd5f147a
bug 142965: Handling misplaced content with a stray end tag around causes the tag that caused us to handle the misplaced content to lose its attributes. r=jst sr+a=brendan
2005-06-15 18:20:29 +00:00
mrbkap%gmail.com
ffab069fba
bug 296212: If the very last character in a document is an &, it gets lost (in both view-source and regular content). r=jst sr=bzbarsky a=chofmann
2005-06-02 23:36:43 +00:00
mrbkap%gmail.com
fe2dda1c4f
bug 296121: The parser leaks when somebody calls document.open() and doesn't write any data. r+sr=bzbarsky a=shaver
2005-06-01 22:37:04 +00:00
mrbkap%gmail.com
c515a47bde
bug 295646: Whitespace at the end of a document is thrown away by the tokenizer. r+sr=bzbarsky a=shaver
2005-06-01 22:34:29 +00:00
mrbkap%gmail.com
4347a0ff13
bug 295519: Set the scanner's mIncremental member so that the tokenizer doesn't throw away content. r+sr=jst a=shaver
2005-06-01 22:32:23 +00:00
mrbkap%gmail.com
5f252c1063
bug 287990: Bring back <plaintext> support. This supports it "properly" (i.e., no end tag). r=jst sr=dbaron a=shaver
2005-06-01 22:30:43 +00:00