Граф коммитов

2224 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com 8a2cc41376 bug 295596: <li> was closing styles on the transient style stack for no good reason, causing them to be lost. This special-cases <li> to not do that. r=bzbarsky sr=jst a=shaver 2005-06-01 21:14:01 +00:00
mrbkap%gmail.com 550985b369 bug 288460: Make ScanDocStructure() more strict about tags that break the ShouldVerifyHeirarchy check and mark all children of the tag as malformed so that its children don't think they're well formed. r=rbs sr=bzbarsky a=shaver 2005-06-01 21:08:53 +00:00
mrbkap%gmail.com 7e752b0ccd bug 144998: Empty lines under quotes are doubled. Patch by Shotaro Kamio <skamio@netscape.net>, Koike Kazuhiko <kazhik@mozilla.gr.jp>, Wolfgang Rosenauer <mozilla@rfosenauer.org>, and me. r=akkana sr=jst a=shaver 2005-06-01 19:31:47 +00:00
cbiesinger%web.de 0493f61e46 295916 r=mrbkap sr=bz a=shaver
- make parser handle calling Parse with an empty string and aLastCall=true
  correctly
- call that from document.close() even in the non-HTML case
2005-06-01 19:13:39 +00:00
mrbkap%gmail.com d5590be210 bug 294984: Make sure to create text and end tokens for tags such as <iframe>. This fixes a crash where CNavDTD assumed an end token was coming, but it wasn't. r+sr=bzbarsky a=chofmann 2005-05-22 00:57:37 +00:00
mrbkap%gmail.com d9dce0a5cd bug 38174: Open transient styles before <li> tags so that bullets and list numbers inherit the proper styles when there is a <font> on the RS stack. r=bzbarsky sr=brendan a=asa 2005-05-19 16:36:39 +00:00
mrbkap%gmail.com dc514df0e7 bug 294402: Change some unnecessary assertions into warnings. r=brendan sr=bzbarsky a=brendan 2005-05-17 16:27:21 +00:00
bzbarsky%mit.edu 620102c0b8 Use expat's doctype parsing now that it does it. Bug 288133, r+sr=peterv, a=asa 2005-05-13 19:45:43 +00:00
vladimir%pobox.com de01b09320 b=291216, canvas should not be an empty element, default width/height, fallback content should not be rendered, r+sr=bzbarsky, a=brendan/shaver 2005-05-07 03:45:06 +00:00
mrbkap%gmail.com 55178329b0 bug 292733: Enforce that the the terminator for <![CDATA[ is ]]>, not ]>. This only affects view-source. r=bzbarsky sr+a=brendan 2005-05-03 23:33:42 +00:00
dougt%meer.net be6760da53 Windows CE build changes. This addresses most of the outstanding Windows
CE compilation issues.

This patch also fixes/removes CheckStackGrowthDirection assertions in
Javscript.  This change is based on bug 242518.  See comment 36.

This patch also removes the unused enum in transformiix .  See bug
292118.

r/sr = dveditz/shaver
b    = 291229
a    = asa
2005-04-29 13:33:49 +00:00
bzbarsky%mit.edu 90feadd1d3 Fix crashes when document.load is called on an already-parsing XML document.
Bug 289292, r=sicking, sr=jst, a=chofmann
2005-04-28 16:57:24 +00:00
bzbarsky%mit.edu 180e532121 Make sure to read memory that actually contains what we want. Bug 291020,
r+sr=peterv, a=asa
2005-04-21 21:20:19 +00:00
mrbkap%gmail.com c30d90e18b bug 290081: Use the _moz-rs-heading attribute when opening residual style tags that aren't direct descendents of the heading tag open on the tag stack. r=bzbarsky sr=rbs a=asa 2005-04-19 01:30:04 +00:00
vladimir%pobox.com 057ce06bb3 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
mrbkap%gmail.com a278870e27 bug 288526: text content of an <object> in the <head> of a document is moved into the body, even though the <object> stays in the head. r=jst sr=bzbarsky a=asa 2005-04-11 17:29:18 +00:00
mrbkap%gmail.com d609792ff4 bug 288991: An <iframe /> before a <frameset> causes the <frameset> to be lost. r+sr=bzbarsky 2005-04-06 04:41:18 +00:00
bsmedberg%covad.net 65f17dc4a7 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 20:59:03 +00:00
bsmedberg%covad.net f2cfd5feb8 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 14:13:03 +00:00
mrbkap%gmail.com b2b940da13 bug 286733: Crash when attempting to handle misplaced content inside misplaced content because mContextTopIndex pointed to a closed index already. r=jst sr=rbs 2005-04-04 21:20:00 +00:00
timeless%mozdev.org ecb88406f5 Bug 287244 DOCTYPE should not imply a default namespace
patch by bug@annevankesteren.nl r=tor sr=bz
2005-04-04 19:05:21 +00:00
bzbarsky%mit.edu d602741004 Make sure to wrap a buffered stream around the stream we're passed before
sending it to the parser (which expects a buffered stream).  Bug 287409,
r=darin, sr=jst
2005-03-30 04:18:08 +00:00
mrbkap%gmail.com bd5a83286e bug 287349: Add kHeadMisc to the excludable children of <select> so that it properly exludes userdefined children. r=bzbarsky sr=jst 2005-03-24 01:25:19 +00:00
mrbkap%gmail.com 85d6f098e9 bug 280044: Pass a title node to the content sinks so that attributes on title don't get lost. r=sicking sr=peterv 2005-03-23 07:09:24 +00:00
mrbkap%gmail.com c67cf23272 bug 286381: Allow non-<script> CDATA tags to not have their closing > for better compatibility with IE. r=bzbarsky sr=jst 2005-03-23 06:18:06 +00:00
mrbkap%gmail.com 477b1e7c56 bug 276637: Always parse comments in PCDATA in strict mode for better compatibilty with IE. Patch by Bastiaan Jacques <baafie@planet.nl>. r=mrbkap sr=peterv 2005-03-23 06:14:10 +00:00
mats.palmgren%bredband.net ef510e7286 Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron 2005-03-21 00:45:02 +00:00
mats.palmgren%bredband.net 903248e2a5 TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron 2005-03-20 23:54:24 +00:00
mrbkap%gmail.com bef46d35d1 bug 285250: Give tags the ability to request to be either in the head OR the body. They follow the same rules that userdefined, whitespace, and newline tags used to follow. r=bzbarsky sr=jst 2005-03-17 23:28:35 +00:00
timeless%mozdev.org 5141ad1f61 Bug 160095 NOEMBED tag causes leaks as the skipped content is not consumed.
patch by mrbkap@gmail.com r=rbs sr=brendan
2005-03-17 19:38:01 +00:00
gandalf%firefox.pl 06f479dff9 bug 279768: Bring build system to work with --enable-ui-locale; r=bsmedberg; a=doron on webservices move 2005-03-08 17:21:36 +00:00
bzbarsky%mit.edu 1951e8e908 Remove content dependency on the RDF-ness of bookmarks (since in general, they
need not be RDF-enabled at all).  Remove bizarre dependency of an interface we
really want to expose to embeddors on nsIParser.  Bug 101995 followup,
r=bsmedberg, sr=alecf
2005-03-05 03:35:54 +00:00
mrbkap%gmail.com c303a4bf00 bug 283459: Only flush tokens after <script> to allow for more chances of inlines containing blocks. r=bzbarsky sr=jst 2005-02-26 17:53:46 +00:00
mrbkap%gmail.com 4bda82da6e bug 283564: Fix a leak when the HTML fragment sink is used to parse an empty string by ensuring that DidBuildModel() is always called. r+sr=bzbarsky 2005-02-26 04:33:04 +00:00
mrbkap%gmail.com e8e89de647 bug 272815: Make sure the parser is aware when we encounter a meta tag, so that other meta tags in the document don't override the first (correct) charset. r=bzbarsky sr=jst 2005-02-23 05:42:37 +00:00
mrbkap%gmail.com 4769036abb bug 283036: Append a <body> tag to the context of HTML context stacks to make sure that all context is flushed out of the DTD before we process the new content. r+sr=bzbarsky 2005-02-23 04:32:21 +00:00
mrbkap%gmail.com 76f3ff6fb1 bug 263053: Get rid of the <endnote> tag when parsing fragments with context, since this can fail if the input stream contains another <endnote> tag. Instead, parse the context in different "chunks" from the new buffer, and notify the fragment sink by way of functions. r=peterv sr=bzbarsky 2005-02-18 19:18:39 +00:00
mrbkap%gmail.com c363e34e07 bug 253979: Protect against a possible crash handling malformed content. r=bzbarsky sr=brendan 2005-02-18 18:33:55 +00:00
mrbkap%gmail.com e93261de82 bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky 2005-02-18 18:30:48 +00:00
mrbkap%gmail.com 7f87f42262 bug 280713: Make sure OnStopRequest updates the correct parsercontext to make sure that pages always get a last chunk shot at tokenization. r=jst sr=bzbarsky 2005-02-18 18:29:02 +00:00
mrbkap%gmail.com dde5f95e79 bug 280713: Lost <iframe> from a document because the mIncremental member of the scanner was not getting set properly. r=jst sr=bzbarsky 2005-02-07 21:07:38 +00:00
cvshook%sicking.cc 403f464793 Use a better sourcelevel when setting charset through xsl:output element. Also make sure to use the proper form when setting the charset.
r/sr=bz
2005-02-05 13:47:43 +00:00
timeless%mozdev.org 1f31b87336 Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=mrbkap sr=bz
2005-02-04 05:05:10 +00:00
mrbkap%gmail.com ad002d7e86 bug 280386: Add sanity checking to nsScanner::SetPosition to help catch errors that could manifest in stranger ways. r=bzbarsky sr=jst 2005-02-02 02:04:09 +00:00
mrbkap%gmail.com b7b563440b bug 90664: Make sure we perform RS handling when we can, in cases where tags that cannot nest and normally would be closed out cannot, due to block tags between them. r=jst sr=brendan 2005-02-01 03:00:38 +00:00
mrbkap%gmail.com 836d189719 bug 280079: Hang when a document's final tag is missing its closing >. r+sr=jst 2005-01-31 20:37:14 +00:00
mrbkap%gmail.com ab5332900e bug 280387: Fix a potential crash by passing PR_TRUE for the aReverse paramter to nsScanner::SetPosition(). r+sr=bzbarsky 2005-01-31 00:54:53 +00:00
bzbarsky%mit.edu 3a730c3b02 Fixing build bustage 2005-01-27 20:00:37 +00:00
bzbarsky%mit.edu e9647ed503 Add a "safe" way to unblock the parser, to protect against CSSLoader
stupidity.  Bug 220542, patch by Blake Kaplan <mrbkap@gmail.com>, r=jst,
sr=bzbarsky
2005-01-27 19:28:22 +00:00
mats.palmgren%bredband.net 771dcf55d4 Remove MAP as a valid child of TABLE, THEAD and TFOOT. b=147446 r=harishd sr=dbaron 2005-01-26 00:40:55 +00:00
peterv%propagandism.org 4fe1c61b91 Fix for bug 279078 (XML Error reporting confusing since Expat landing). r/sr=bz. 2005-01-23 15:46:11 +00:00
mrbkap%gmail.com 4983b3b3ef bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs. These files were left out of the original checkin 2005-01-20 03:43:42 +00:00
mrbkap%gmail.com c85980f739 bug 278511: Fix assertions on various comments by ensuring that mComment is always bound to some string. r+sr=bzbarsky 2005-01-20 00:12:58 +00:00
mrbkap%gmail.com 1d978b2743 bug 142771: Fix ScanDocStructure to be more correct in marking tokens as malformed. r=bzbarsky sr=rbs 2005-01-19 23:42:02 +00:00
dbaron%dbaron.org 95df4cb990 Re-remove files that were checked into after being cvs removed to restore things to a consistent state. (These files were in Attic but not in the cvs 'dead' state, so they appeared when checking out by date.) 2005-01-19 22:48:57 +00:00
mats.palmgren%bredband.net d0eaf603f6 Don't open transient styles and ignore kFontStyle/kPhrase start tags near MAX_REFLOW_DEPTH. b=58917 r=mrbkap sr=bzbarsky 2005-01-17 00:10:28 +00:00
mats.palmgren%bredband.net f623d745c4 Remove dead code. b=210238 r=mrbkap sr=dbaron 2005-01-16 17:07:39 +00:00
peterv%propagandism.org d43692a156 Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds. 2005-01-13 14:51:20 +00:00
mrbkap%gmail.com 2f836d753f bug 117738: <dl> within <font> nested in <table> is ignored. r=rbs sr=jst 2005-01-13 03:34:18 +00:00
mrbkap%gmail.com 56861ca81f bug 274786: We lose a trailing <, </, <! if it is the last text in the document. r+sr=jst 2005-01-13 03:05:12 +00:00
mrbkap%gmail.com 2b5f2bf54b bug 277695: Fix assertion on empty textareas by ensuring that mTextValue.Rebind() is called at least once. r+sr=bzbarsky 2005-01-13 02:56:56 +00:00
aaronleventhal%moonset.net f9560d3e7e Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin 2005-01-12 00:55:25 +00:00
aaronleventhal%moonset.net c9254ad5f7 Backing out the following fix because tree is closed. Sorry for the mistake. Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin 2005-01-11 23:39:22 +00:00
aaronleventhal%moonset.net 64bb02dc7f Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin 2005-01-11 23:26:10 +00:00
mrbkap%gmail.com ebce3348ed bug 275651: Fix a potential crash because of a bad use of nsScanner::SetPosition. r=jst sr=dmose 2005-01-04 02:31:53 +00:00
bzbarsky%mit.edu 1601d80e99 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mrbkap%gmail.com 5e4db8e7eb bug 276149: Remove nsScanner::Eof() and fix error handling in nsScanner.cpp. patch by Hans-A.Engel@unibas.ch r=mrbkap sr=brendan 2005-01-03 22:06:27 +00:00
timeless%mozdev.org 18dcfb60f7 Bug 276148 warning: unused variable `CStartToken*theStartToken' in nsHTMLTokenizer::ConsumeStartTag
patch by cst@andrew.cmu.edu r=mrbkap sr=peterv
2004-12-29 00:34:49 +00:00
peterv%propagandism.org 7aa22372ec Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst 2004-12-27 11:47:18 +00:00
mrbkap%gmail.com f22c99b2f1 bug 275288: remove obsolete CRC calculations. r+sr=roc 2004-12-25 04:44:02 +00:00
dbaron%dbaron.org d6ddd085bf untabify 2004-12-22 00:21:13 +00:00
peterv%propagandism.org d77a12e38a Correct function signature to fix Solaris bustage. 2004-12-21 13:25:31 +00:00
peterv%propagandism.org ef4ee93daf Remove unused member variable (obsoleted by patch for bug mHandledXMLDeclaration). 2004-12-20 13:40:07 +00:00
peterv%propagandism.org 26bb2f4e91 Fix fo bug 274964 (Switch to Expat's xml declaration parsing). r/sr=jst. 2004-12-17 09:17:35 +00:00
mrbkap%gmail.com 05ecdea242 bug 209098: TestParser crashes inside nsLoggingSink. patch by mats.palmgren@bredband.net r=harishd sr=peterv 2004-12-16 21:49:58 +00:00
pkw%us.ibm.com 83942a4db3 AIX bustage fix for checkin from Bug 192139.
r=peterv@propagandism.org
2004-12-15 17:35:52 +00:00
peterv%propagandism.org a7ac96fea9 Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
mrbkap%gmail.com 096f8fee21 bug 273085: HTML tags displayed as part of text r=bryner sr=dbaron 2004-12-15 01:23:03 +00:00
mrbkap%gmail.com bf42ba446e bug 272293: phrase-level tags do not close when there is an open kInlineEntity r=bzbarsky sr=dmose 2004-12-14 23:32:35 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
dbaron%dbaron.org 9db368a6af Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
mrbkap%gmail.com 95a501ff3c bug 273324: Hang on unclosed comments in standards mode. r=jst sr=bzbarsky 2004-12-07 21:56:39 +00:00
mrbkap%gmail.com 5cbc9ce5d3 bug 273213: The last letter of some tags consumed as CDATA get chopped off if the tag is not closed properly. r+sr=bzbarsky 2004-12-05 19:02:53 +00:00
gerv%gerv.net 670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
mrbkap%gmail.com 942b0c2764 bug 88952: Remove record trailing content. This was missed in the main checkin. r=jst sr=rbs 2004-12-01 05:11:06 +00:00
mrbkap%gmail.com 2ec3ce9016 bug 88952: Remove trailing content. This checkin fixes a whole slew of textarea bugs. r=jst sr=rbs 2004-12-01 04:37:36 +00:00
mrbkap%gmail.com afdaf7255c bug 272360: missing break in nsViewSourceHTML.cpp r+sr=bzbarsky 2004-11-30 19:08:43 +00:00
bryner%brianryner.com 2a500b8d07 Reduce string copying and allocation in the parser by only copying the scanner buffer when we need to mutate the string. Allow a nsDependentString / nsDependentSubstring to be created without being bound to anything. Move StripChar() onto nsSubstring from nsString. Bug 269853, r=jst, sr=darin. 2004-11-25 07:03:20 +00:00
mrbkap%gmail.com bf2778b00f bug 271142: remove unused perl scripts that used to be used for generating the tag and entity lists. These lists are now created using the preprocessor. patch by Hans-Andreas Engel (Hans-A.Engel@unibas.ch) r=mrbkap sr=dbaron 2004-11-23 05:38:29 +00:00
mrbkap%gmail.com 1b42936df2 bug 100175: innerHTML smushes multiple options together on select r+sr=bzbarsky 2004-11-23 04:40:46 +00:00
mrbkap%gmail.com b546721cb7 bug 269095: crash on malformed html page that caused us to try to handle misplaced content while we were already handling misplaced content. r=jst sr=rbs 2004-11-13 06:37:43 +00:00
bryner%brianryner.com 6a5c35ab49 Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin. 2004-11-11 04:05:51 +00:00
bryner%brianryner.com e83b705c73 Only allocate and copy a string in CAttributeToken::GetStringValue if the string spans multiple buffers. Otherwise, just wrap it with a nsDependentSubstring. Bug 268932, r=bzbarsky, sr=darin. 2004-11-11 03:46:51 +00:00
mrbkap%gmail.com 08819824f9 bug 70282: view-source loses the last tag in a document if the tag is unclosed. r=rbs sr=roc 2004-11-11 03:41:52 +00:00
jst%mozilla.jstenback.com 97b6debb17 Fixing bug 267854. Make sure parser data listeners get all the data that comes in from necko, no matter what the current parser context is. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2004-11-05 06:50:27 +00:00
jst%mozilla.jstenback.com b4ec07bd8c Adding @status FROZEN to this header (bug 265334). 2004-11-03 21:18:50 +00:00
jst%mozilla.jstenback.com 05e17f4cd7 Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org 2004-11-02 19:52:32 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
mrbkap%gmail.com a85e23c86e bug 181697: <li> prevents phrasals from closing when its end tag is not used. r=bzbarsky sr=rbs 2004-10-30 16:47:12 +00:00
mrbkap%gmail.com 6686ece287 bug 265814: the output of document.write() is always parsed in quirks mode. r=bzbarsky sr=jst 2004-10-28 03:24:59 +00:00
smontagu%smontagu.org a2492557ef Bug 244177: nsScanner::Append() can overwrite the storage in the buffer it allocates. r=dveditz, sr=dbaron. 2004-10-27 20:19:11 +00:00
mrbkap%gmail.com e4da3fc5b4 bug 256731: unclosed userdefined tags inside phrasal tags cause the phrasal tags to be unable to close. r=rbs sr=bzbarsky 2004-10-25 23:33:04 +00:00
mrbkap%gmail.com bc10b9ad7a Add a regression test for bug 256731 2004-10-25 05:25:52 +00:00
mrbkap%gmail.com 27b107ff22 bug 263083: view-source now reports tokenization-level errors in HTML and XML. r=rbs sr=dmose 2004-10-24 17:32:30 +00:00
mrbkap%gmail.com 55c03285d0 bug 265339: nsCParserStartNode::~nsCParserStartNode() asserts unnecessarily. r+sr=peterv 2004-10-24 17:24:02 +00:00
mrbkap%gmail.com de700b18e7 bug 264882: view-source turns &xi; into &#xi; r+sr=bzbarsky 2004-10-24 17:04:03 +00:00
mrbkap%gmail.com 9af7509337 bug 264956: crash on embedded NUL character in start tag. r+sr=bzbarsky 2004-10-19 01:34:53 +00:00
mrbkap%gmail.com 123d30041c bug 264917: crash trying to view-source. sr=bzbarsky r=doronr 2004-10-18 20:57:24 +00:00
mrbkap%gmail.com 36c54fb6da bug 70918: view-source adds > to tags that are missing them. r=bzbarsky sr=dmose 2004-10-17 03:03:46 +00:00
timeless%mozdev.org cd79c198ea Bug 226099 [RFE] Highlight "<![CDATA[" and matching "]]>" in View Source
patch by mrbkap@gmail.com r=bz sr=rbs
2004-10-12 18:33:12 +00:00
bzbarsky%mit.edu 4a78e50fc5 Fix handling of XML PIs in view-source. Bug 91240, patch by Blake Kaplan
<mrbkap@gmail.com>, r=rbs, sr=jst
2004-10-09 18:20:38 +00:00
bzbarsky%mit.edu d2a2b2a6fd Remove our broken attempt to support <plaintext> (which is very very
deprecated).  Bug 88987, r=jst, sr=dbaron
2004-10-09 16:55:54 +00:00
bzbarsky%mit.edu 4494e1cc9e Treat '\'' and '"' identically for purposes of starting attribute names. Fix
some leaks too.  Bug 261503, patch by Blake Kaplan <mrbkap@gmail.com>,
r=bzbarsky, sr=rbs
2004-10-07 23:23:18 +00:00
bzbarsky%mit.edu e2c56f9785 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bzbarsky%mit.edu 72576ab1aa Don't set tags empty just because they have bogus attributes. Bug 262346,
patch by Blake Kaplan <mrbkap@gmail.com>, r+sr=bzbarsky
2004-09-30 22:05:23 +00:00
roc+%cs.cmu.edu b098821761 Bug 43267. Deal with mismatched quotes in attributes. r=bzbarsky,sr=rbs, patch by Blake Kaplan --- thanks\! 2004-09-30 03:02:15 +00:00
jst%mozilla.jstenback.com 2d7d8576d5 Fixing bug 260318. UMR in nsScanner::AppendToBuffer() when called from nsScanner constructor. r+sr=bzbarsky@mit.edu 2004-09-22 00:03:46 +00:00
cbiesinger%web.de f0e6217202 Bug 260661 removing unused variable in htmlparser (WriteTag)
r+sr=bz
2004-09-21 11:56:20 +00:00
bzbarsky%mit.edu 4abb41ca29 View-source of XML files should allow non-ascii chars in start tags. Bug
204573, patch by Blake Kaplan <mrbkap@rice.edu>, r=bzbarsky, sr=rbs
2004-09-17 15:10:47 +00:00
jst%mozilla.jstenback.com addb5686fa Landing fix for bug 235798. Ignore Internet Explorer conditional comments parsed in document prologue. Patch by mrbkap@rice.edu, r=dbaron@dbaron.org, sr=jst@mozilla.org 2004-09-17 00:16:48 +00:00
bzbarsky%mit.edu 02564cdafb When parsing a <script> with an unterminated comment inside, stop at the first
</script> we hit, not the last one.  Bug 219504, patch by Blake Kaplan
<mrbkap@rice.edu>, r=bzbarsky, sr=rbs
2004-09-15 14:06:48 +00:00
bzbarsky%mit.edu 6f4350b2e2 Remove bogus "support" for <sourcetext> and <parsererror>. Bug 210658, patch
by Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-09-13 20:43:15 +00:00
bzbarsky%mit.edu 2655193122 Fix assertion to use tempChar too. Bug 258082 follow-up. 2004-09-12 04:49:56 +00:00
bzbarsky%mit.edu c266ff1e12 Make CTextToken::ConsumeUntil not consume too much text. Bug 258082, patch by
Blake Kaplan <mrbkap@rice.edu>, r=bzbarsky, sr=jst
2004-09-12 01:50:53 +00:00
kjh-5727%comcast.net a54ef00ca4 Bug 84430: Unclosed CDATA sections get dropped.
Patch by Blake Kaplan (mrbkap@rice.edu), r/sr=bzbarsky.
2004-09-04 17:21:51 +00:00
jst%mozilla.jstenback.com fd5c59490e Fixing compiler warning. 2004-08-26 04:10:57 +00:00
jst%mozilla.jstenback.com 8cb5b27071 Fixing regression bug 256938. Parser hang. Patch by robin.lu@sun.com, r+sr=jst@mozilla.org 2004-08-26 04:03:48 +00:00
dbaron%dbaron.org e01518c5d6 Attempt to fix test bustage from relicensing changes. b=236613 2004-08-26 02:06:03 +00:00
gerv%gerv.net ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
jst%mozilla.jstenback.com 06e8b9d822 Fixing bug 178088. Making our doctype detection code more robust by ignoring whitespace at the begining of the file when looking for the doctype. r=darin@meer.net. sr=dbaron@dbaron.org 2004-08-24 18:37:33 +00:00
timeless%mozdev.org 9c05c44113 Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv
2004-08-23 18:46:58 +00:00
timeless%mozdev.org 5980196776 Bug 254843 eToken_script is unused
patch by cst@andrew.cmu.edu r=peterv sr=peterv
2004-08-23 17:57:51 +00:00
bzbarsky%mit.edu b229d3a817 Followup to bug 143512, patch by patch by Chris Thomas <cst@andrew.cmu.edu>,
r+sr=bzbarsky
2004-08-10 23:48:41 +00:00
bzbarsky%mit.edu 2291b87647 Fix assert if an end tag has "attributes". Bug 143512, patch by Chris Thomas
<cst@andrew.cmu.edu>, r+sr=bzbarsky
2004-08-09 22:09:06 +00:00
bzbarsky%mit.edu bc8748b740 Even when tokenizing in quirks, view-source should be doing layout in standards
mode (if nothine else, it's faster).  Bug 254536, r+sr=rbs
2004-08-08 19:21:55 +00:00
bzbarsky%mit.edu ff376b3812 Add support for the application/rdf+xml MIME type. Bug 61839, patch by Alex
Vincent <ajvincent@juno.com>, r=bzbarsky, sr=jst
2004-08-08 01:31:02 +00:00
bzbarsky%mit.edu 670ce98417 Allow nested <marquee>s. Bug 167075, patch by Martijn Wargers
<m.wargers@hccnet.nl>, r+sr=bzbarsky
2004-07-29 19:15:13 +00:00
cbiesinger%web.de be9764fdfe Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
cbiesinger%web.de da701f865c Bug 248694 make nsIParser::GetCommand use an nsCString instead of nsString
r+sr=bz
2004-07-17 21:45:37 +00:00
gerv%gerv.net 6b54b1cbc5 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 19:30:11 +00:00
gerv%gerv.net 9f35e25052 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
bzbarsky%mit.edu cceaf65410 On empty HTML pages, don't synthesize parser nodes for <html> and <body>. We handle
that down the line anyway, so things work fine.  Bug 57717, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-07-15 21:40:03 +00:00
bryner%brianryner.com 3cd200f850 oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com cc1433c45a bringing branch changes forward 2004-06-21 23:35:56 +00:00
roc+%cs.cmu.edu 0f4150a4e5 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de a4396ff7b4 bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu d42afa1418 Make the scanner bail out of functions that assume it's initialized if
mSlidingBuffer is null.  Bug 108067, patch by Andreas M. "Clarence" Schneider
<c@c07.de> and Blake Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-06-08 18:54:57 +00:00
roc+%cs.cmu.edu 626c4c26f5 Bug 217715. Delay instantiating plugin until we've closed its HTML element, so Java applets are guaranteed to see all PARAMs. r+sr=jst 2004-06-02 00:25:00 +00:00
bzbarsky%mit.edu ed61e3473e Make <input>, <textarea>, and <select> autoclose <option>, <optgroup> and
<select>.  Bug 171713 and bug 140657, r+sr=peterv
2004-05-31 20:23:19 +00:00
bzbarsky%mit.edu d8f82682b5 Making view-source not stick whitespace coming between the equals sign and the
quote mark in an attribute inside the attr value.  Bug 154120, patch by Blake
Kaplan <mrbkap@rice.edu>, r+sr=bzbarsky
2004-05-31 02:59:57 +00:00
bzbarsky%mit.edu a7bff6ad5b Change FlushPendingNotifications to have more granularity and update callers to
only flush the things they really need flushed.  Bug 144072, r+sr=jst
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu 0e3ff503fb Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu 2c0451a21d Add suport for a "text/plain" first arg to document.open() (no support for any
other types, and none really planned).  Bug 73409, r+sr=jst
2004-05-21 21:32:11 +00:00
bzbarsky%mit.edu 94e9cc65dd Remove XXX comment that is now addressed (as rbs pointed out). Bug 113201. 2004-05-14 00:01:57 +00:00
bzbarsky%mit.edu b4eebb0cbd Remove bogus data-sniffing code in CanParse() impls, clean up signature, don't
peek a buffer if we're not planning to autodetect the parsemode.  Bug 113201,
r=rbs, sr=jst
2004-05-13 23:39:06 +00:00
timeless%mozdev.org 5d1f31258a Bug 102613 UMR: nsReadingIterator<WORD>::*(void)const UMR: Uninitialized memory read in nsScanner::ReadUntil(nsAString&,nsReadEndCondition const&,int)
r=heikki sr=darin
2004-05-12 08:07:06 +00:00
bzbarsky%mit.edu 2c1e0e28fe The saga continues. Don't move around <script>, since that breaks pages... Bug
243064, r+sr=jst
2004-05-10 21:04:18 +00:00
peterv%propagandism.org d5c2b484c4 Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst. 2004-05-08 14:07:18 +00:00
peterv%propagandism.org 872ab5d017 Try to fix bustage by backing out. 2004-05-07 13:22:39 +00:00
peterv%propagandism.org 9e04c631ee Part of fix for bug 192139 (Integrate latest Expat). Some cleanup in nsExpatDriver.cpp/.h. r=Pike, sr=jst. 2004-05-07 12:14:38 +00:00
bzbarsky%mit.edu cb48e43471 When hoisting misplaced content out of a table, bring along the various "legal
open" elements (script, whitespace, comments, etc) that are kids of the
misplaced content.  This prevents the misplaced content from being closed too
early.  Bug 242503, r=peterv, sr=jst
2004-05-06 22:23:10 +00:00
peterv%propagandism.org a843440710 Removing unused files 2004-05-06 07:50:36 +00:00
peterv%propagandism.org 3196fd8e9b cvsignore Makefile. 2004-05-05 13:56:09 +00:00
peterv%propagandism.org fb76bc8e39 Fix for bug 235747 (Move parser stuff into mozilla/parser). r=cls, sr=jst. 2004-05-04 07:53:15 +00:00
peterv%propagandism.org 5c3c10e8bb Merging patch by bz (from mozilla/htmlparser).
ReadWhitespace should convert lone \r to \r\n so callers see it as a newline.
Bug 103833, r=choess, sr=peterv
2004-05-02 11:17:44 +00:00
peterv%propagandism.org d615dfc178 Merging patch by bz (from mozilla/htmlparser).
Change our concept of a "tagname" to include all sorts of random chars like IE does (that is, allow any char that's not in a short list of terminal chars).
Bug 236002, r=choess, sr=peterv
2004-05-02 11:16:26 +00:00
peterv%propagandism.org 49f83abca6 Merging patch by bz (from mozilla/htmlparser).
Remove the kOmitWS flag, make it possible to "open" whitespace and newline "tags" anywhere in the document. Bug 240139, r=choess, sr=peterv
2004-05-02 11:12:34 +00:00
peterv%propagandism.org 1d4738ccaf Merging patch by jst (from mozilla/htmlparser).
Fixing bug 241328. Eliminating dead code, and making some classes use less memory on some 64-bit platforms. Also doing some general cleaning. r+sr=bzbarsky@mit.edu
2004-04-23 13:29:02 +00:00
peterv%propagandism.org e248a88fdd Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
peterv%propagandism.org 32fcce5a57 Merging patch by darin (from mozilla/htmlparser).
fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst
2004-04-23 12:48:44 +00:00
peterv%propagandism.org 82a2e40e6f Merging patch by cbiesinger (from mozilla/htmlparser).
Bug 235504 Remove nsCString::EqualsWithConversion(const char*)
r=darin sr=dbaron
2004-04-23 12:48:01 +00:00
peterv%propagandism.org a1f80b31b0 Index: parser/htmlparser/src/nsParserService.cpp
Merging patch by me (from mozilla/htmlparser).
Fix for bug 237186 (document.createAttribute, document.createElement, etc need to throw INVALID_CHARACTER_ERR for empty names). r/sr=jst, a=chofmann.
2004-04-23 12:30:22 +00:00
peterv%propagandism.org 708e3b899c Merging patch by bzbarsky (from mozilla/htmlparser).
Don't strip out whitespace inside <dl> and <fieldset> tags.  Bug 238989 and bug
48376, r=choess, sr=peterv, a=brendan and asa respectively.
2004-04-23 12:29:54 +00:00
peterv%propagandism.org 7bb672fb35 Merging patch by sicking (from mozilla/htmlparser).
Bug 236873: Let more elements share classes to save codesize. r/sr=jst.
2004-04-23 12:28:55 +00:00
timeless%mozdev.org d6438db1e3 Bug 237855 Mozilla doesn't recognise MathML 2.0 DOCTYPE and DTD and chokes on its entities
patch by alexey@optus.net r=rbs sr=jst a=dbaron
2004-03-23 04:43:01 +00:00
pkw%us.ibm.com 54c8256b6d Fix for AIX build break caused by landing of Bug 233907. Change C++ comments to C comments.
r=bryner@brianryner.com (via IRC)
2004-03-08 03:01:12 +00:00
peterv%propagandism.org ea1cf34ef0 Touching to force a rebuild. 2004-03-06 16:34:28 +00:00
peterv%propagandism.org 624dc7d802 Move declaration to where the function is used. 2004-03-06 16:27:48 +00:00
peterv%propagandism.org 68a7e5f818 Fix for bug 233907 (document.createElementNS() doesn't throw NAMESPACE_ERR when given a namespace-invalid name.). r/sr=jst. 2004-03-06 16:00:23 +00:00
darin%meer.net c380c59f65 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin 2004-02-28 22:34:07 +00:00
bzbarsky%mit.edu 641d08f619 Allow newlines to end unquoted attributes again. Bug 235171, r=choess, sr=jst 2004-02-24 23:56:41 +00:00
bzbarsky%mit.edu 4fd4ad47c2 Bug 137315. Further fixes to make the line numbers the HTML tokenizer reports
correct.  This should be the last of it.  r=choess, sr=jst
2004-02-20 00:26:16 +00:00
darin%meer.net 8d65e087ae landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com 102f95c31c fix non-null terminated PRUnichar string constant. Bug 228688, r+sr+a=dbaron 2004-02-18 00:41:04 +00:00
dbaron%dbaron.org d1c0e28de0 Arguments to strcmp need to be null-terminated. b=228688 r+sr=jst a=chofmann 2004-02-18 00:15:49 +00:00
peterv%propagandism.org 700d38b243 No C++ comments in a C file. 2004-02-09 17:27:03 +00:00
peterv%propagandism.org b9b01d2d6d Use 0, not nsnull in expat. 2004-02-09 17:03:59 +00:00
peterv%propagandism.org 5deac3ddf5 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst. 2004-02-09 14:15:57 +00:00
peterv%propagandism.org aae0654273 Fix for bug 232591 (Expose name validation methods from the XML parser (expat)). r=Pike, sr=jst. 2004-02-09 13:37:40 +00:00
hjtoi%comcast.net e7c77f7465 Bug 197114, less copying when loading external DTDs, r=alecf, sr=darin. 2004-02-07 21:23:34 +00:00
alex.fritze%crocodile-clips.com 5c676d4a47 Landing of SVG_20020806_BRANCH, Bug 182533. Refactoring of SVG backend, new GDI+ and Libart rendering
backends, text support on Windows (GDI+), rudimentary text support on Linux (libart/freetype2), presentation
attributes, lots of bug fixes (see bug 182533 for dependency list).

Not part of default build; code is #ifdef'ed out.

r=sicking, sr=jst for dom and htmlparser changes
r=bsmedberg, sr=tor for config changes
r=dbaron, sr=bzbarsky for content and layout changes
r=tor, sr=bzbarsky for gfx changes
2004-02-07 12:39:26 +00:00
jst%mozilla.jstenback.com 90431d8022 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
bzbarsky%mit.edu 9a0393e37d Preserve case of end tags in preserve targets (<textarea>, <xmp>, etc.). Bug
64799, r=choess, sr=jst
2004-01-27 04:50:56 +00:00
jst%mozilla.jstenback.com fc9f3d6ea3 Fixing bug 183373. Provide XPCOM methods for accessing a shared empty string object. r=bryner@brianryner.com, sr=dbaron@dbaron.org 2004-01-21 21:36:40 +00:00
caillon%returnzero.com 03937573d2 230953 - Remove traces of dtd-debug. r+sr=jst 2004-01-15 04:50:10 +00:00
timeless%mozdev.org ca639b334b Bug 211249 mozilla/htmlparser/src/nsParser.cpp line 1766 interuptted should be interrupted
r=heikki sr=heikki
2004-01-15 04:06:00 +00:00
bsmedberg%covad.net d0f309943a Continuing to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 13:37:00 +00:00
bsmedberg%covad.net 274ef7cd49 Beginning to land the PACKAGING_20030906_BRANCH for bug 20640. Not part of the build, yet. 2004-01-07 01:22:31 +00:00
peter%propagandism.org a173180fad Part of fix for bug 192139 (Intergrate latest Expat). r=Pike, sr=jst. 2003-12-23 18:04:56 +00:00
bryner%brianryner.com 1017625194 Add MOZ_ prefix to a few more symbols to avoid conflicts with system libexpat. Remove hashtable.c from build because it's unused. Bug 119934, r=darin, sr=dbaron, a=asa. 2003-12-05 20:17:03 +00:00