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

2384 Коммитов

Автор SHA1 Сообщение Дата
mrbkap%gmail.com ba86615629 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 6905f8dbc8 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 f3e1ecabf0 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 675bac0ec8 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 64a760c3c0 Bug 337917 Make consumers stop using cids from other modules 2006-06-18 21:18:22 +00:00
mrbkap%gmail.com 44de20328c 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 1baf8ed75c b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv 2006-06-06 23:13:17 +00:00
sayrer%gmail.com cd239c26e3 b=337451. Fix default charset for SAX parser. r=sicking, sr=peterv 2006-06-06 23:06:12 +00:00
timeless%mozdev.org 9391198a55 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 620c30513e 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 8708d173ad Fix for bug 236873 (Share class for more elements). r/sr=sicking. 2006-05-21 21:00:09 +00:00
darin%meer.net 7d3e7d7acd 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 45cb5c3a4c 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 6c9a9fd644 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 b27bd46e9c 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 a080eb5af6 Allow libxul to link in mingw builds.
Bug #334403 r=bsmedberg
2006-04-18 15:52:41 +00:00
bzbarsky%mit.edu 714ae4030d 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 29182dba1e Better empty string stuff. Still followups to bug 315826 2006-04-17 02:19:19 +00:00
dbaron%dbaron.org 63f39c4bd1 Make bz's bustage fix actually compile. b=315826 2006-04-17 02:03:16 +00:00
dbaron%dbaron.org f918b227ef Fix initializer-reordering warnings. b=315826 2006-04-17 02:01:01 +00:00
dbaron%dbaron.org 52d263fc8a 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 7b09461e30 Fixing linux bustage; bug 315826 2006-04-17 01:58:36 +00:00
timeless%mozdev.org 58267752ba 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 de491a25e9 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 bc3dec85e2 Remove a redundant null check found by Coverity. bug 333388, r+sr=sicking 2006-04-10 20:44:11 +00:00
mrbkap%gmail.com c1068ac37c Count newlines in textareas correctly. bug 331482, r+sr=sicking 2006-04-06 22:30:18 +00:00
dbaron%dbaron.org ac49c790c1 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 5521781301 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 8a6fe71237 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 cdb75d95a0 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 f6798176c0 Backing out to fix bustages. 2006-03-16 15:12:21 +00:00
peterv%propagandism.org d451920038 Try to fix bustage. 2006-03-16 14:48:08 +00:00
peterv%propagandism.org 0d0571e8db C file, not C++. 2006-03-16 13:49:53 +00:00
peterv%propagandism.org 344498aa4e 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 0d7e8a0511 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 763b3ad344 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 2c5b2e3f32 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 8ceda7e6ef 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 07709a8166 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 6480512a5a 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 5203c76722 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 a279d689e5 Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com 92a0a3a960 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 3e367467ea 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 459bb58a01 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 fe1cb3499a 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 598c202356 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 a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
mrbkap%gmail.com c481b14f74 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 6917a6e3d9 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 54fe2bfe1a 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 6981d6c20c Remove the obsolete concept of "DTD verification". bug 323958, r+sr=jst 2006-01-30 23:45:19 +00:00
mrbkap%gmail.com 35bb3c16f7 Try to fix an infinite loop on startup (bug 324667, r+sr=jst). 2006-01-28 01:21:46 +00:00
peterv%propagandism.org f7d9c91c10 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-27 14:47:23 +00:00
mrbkap%gmail.com 79869bc6c0 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 287da830da This should have gone too, (bug 324738) 2006-01-26 19:10:19 +00:00
mrbkap%gmail.com 87cc7990fa 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 df9375719f 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 d2c397fda9 Fix for bug 323299 (Simplify nsExpatDriver). r=bz, sr=jst. 2006-01-25 12:53:00 +00:00
mrbkap%gmail.com 08b6e3a743 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 b4fe31dec2 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 142f6828fb 323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh 2006-01-23 20:11:08 +00:00
mrbkap%gmail.com 0a86b61aab 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 8cb2050a6e 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 d1643de00f 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 b5b12eebee 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 59c78b64a3 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 a5878e3d55 bug 316582: Clean up style in parser/htmlparser. r+sr=jst 2006-01-17 17:58:24 +00:00
peterv%propagandism.org f9714320bb 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 df87d5eb4c 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 de97871fab 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 1a15e7ce89 bug 316582: Clean up stye in parser/htmlparser. r+sr=peterv 2005-12-22 22:31:36 +00:00
mrbkap%gmail.com d003270516 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 b9a2ddab4e 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 a9d182591a Trying to fix AIX bustage. 2005-12-18 12:07:26 +00:00
peterv%propagandism.org c45258146b 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 c532bd2b6b Fix for bug 320375. r=mrbkap, sr=jst. 2005-12-16 14:35:45 +00:00
bsmedberg%covad.net 218b03cd69 Bug 319997 - convert parser tests to use the frozen linkage, r=mrbkap 2005-12-12 21:39:56 +00:00
bsmedberg%covad.net 21de91b05c Bug 319997 - Convert parser tests to use the frozen linkage, r=mrbkap 2005-12-12 20:56:37 +00:00
bsmedberg%covad.net b0106d4d17 Bug 318616 - module-static nsTestTagTable is bad, r=mrbkap 2005-12-12 16:53:30 +00:00
mrbkap%gmail.com 4916ea600e 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 5b298e06b2 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 617285d1ac Remove content ids. Bug 166637, r=sicking, sr=peterv 2005-11-29 16:47:18 +00:00
mrbkap%gmail.com 19b781a711 Fixing bustage from bug 317869. 2005-11-28 22:33:48 +00:00
mrbkap%gmail.com 09bace9cbf bug 317869: CNavDTD still needs its own IID. r+sr=jst 2005-11-28 22:13:10 +00:00
timeless%mozdev.org 3db428f6ac 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 532329ac75 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 07b7daf64c Fixing build bustage. 2005-11-24 00:21:23 +00:00
mrbkap%gmail.com be0c1bce12 bug 316582: Clean up style nitpicks in CNavDTD. rs=jst 2005-11-24 00:14:25 +00:00
mrbkap%gmail.com 100353af46 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 25706f3745 Backout due to tree orange. 2005-11-21 14:59:12 +00:00
peterv%propagandism.org 921c9dffa3 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 8e0a0fb22e 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 918cc9a23b typo fix 2005-11-16 22:28:57 +00:00
bsmedberg%covad.net 1e47c481db Don't build robot with libxul, r=mrbkap, no bug 2005-11-16 21:06:57 +00:00
bzbarsky%mit.edu c53597de74 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 e293a4c477 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 0e04ddb360 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 77715c437a 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 77943a65f5 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 c50f86b030 Fixing bustage from bug 315927. 2005-11-11 19:59:01 +00:00
mrbkap%gmail.com a0098e9a15 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 dff1dea638 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 65c4e9f3c3 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 382a826a32 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 a6749a34d2 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 e21a347862 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 43362af76c bug 313823: Handle illegal forms of meta charset tags better. r+sr=jst 2005-11-02 01:10:37 +00:00
peterv%propagandism.org f0e7651b40 Backing out to fix orange. 2005-10-28 13:48:13 +00:00
peterv%propagandism.org 1e426e3151 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 09a43827f0 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 bcfcab65b6 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 92e4ff6816 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 0ff8a206e0 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 e4a371f76e Bug 311785: Simplify the nsIHTMLContentSink interface
r=mrbkap sr=peterv
2005-10-21 15:39:06 +00:00
peterv%propagandism.org fc5bb1ca3a Back out to fix orange. 2005-10-14 13:11:58 +00:00
peterv%propagandism.org 00166c00c2 Bustage fix. 2005-10-14 12:35:11 +00:00
peterv%propagandism.org 9b958b8ce1 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 0bcba70b64 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 2f571c425c 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 df94e8a628 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 0eaefa48bf 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 774dbec890 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 d5a752d6a5 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 c1aaf6b59e 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 8334d4dd3e 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 acb3dedf76 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 4b7a57c401 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 121d4e0a2b 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 4f01af7abe 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 86643580f9 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 7af0dc7930 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 9bff74a381 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 49f8f0912e 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 f6a5a756fb 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 fbd0d59b86 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 fc14a84a45 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 8206726a13 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 6bf82a547b 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 1d4aaf9ec3 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 f69dd1f795 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 42d24e008e 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 d4592f4be9 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 ce057b7855 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 39ef9c35d5 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 a7a996bfe8 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 a6ed51abdc 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 7f0479a0b2 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 b7e3b4b60c 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 c8dcb1a2d2 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 5d43f66117 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 f26812e867 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 e97191a5ed 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 225e28d5ce 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 fdfea2c0ec 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 9973465027 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 39d38b7d8d 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
mrbkap%gmail.com af9d80a163 bug 294685: Remove unnecessary DEBUG-only counter/named entity code. r=jst sr=dbaron a=shaver 2005-06-01 22:23:13 +00:00
mrbkap%gmail.com 5335fba722 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:11:30 +00:00
mrbkap%gmail.com ee8993dd0c bug 208869: Setting innerHTML with textarea can isnert an extra newline. This patch makes textarea be treated as a normal container outside CNavDTD (which takes over its first-newline removal duties). r=sicking sr=bzbarksy a=shaver 2005-06-01 21:23:23 +00:00
mrbkap%gmail.com 738c06151b 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 e250823885 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 b72d292d10 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 9381c2fc64 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 3e62759bbf 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 31edcc314b 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 34f414e247 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 216e0dce06 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 71dac5720c 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 21ac5f99c7 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 373d7db1ba 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 cd9031b7b1 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 59c5080538 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 817b33a0a7 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 3f408c1608 b=288714, html canvas implementation, r=various,a=brendan 2005-04-18 06:33:23 +00:00
mrbkap%gmail.com 18be59b324 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 08be4415db 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 e4a335c218 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 20:59:03 +00:00
bsmedberg%covad.net 8374f4f3e4 Adding MOZILLA_INTERNAL_API to internal makefiles, bug 288626, rs=darin 2005-04-05 14:13:03 +00:00
mrbkap%gmail.com 399c257d9d 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 985bf5fe92 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 dcf49c7884 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 4112885807 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 f5ca37ef6b 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 65a9e8978c 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 8ec7042057 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 5156cdff7d Make gHTMLElements table const. b=286916 r=mrbkap sr=dbaron 2005-03-21 00:45:02 +00:00
mats.palmgren%bredband.net 111a60dea4 TestParser: support --enable-perf-metrics with --disable-debug. b=286920 r+sr=dbaron 2005-03-20 23:54:24 +00:00
mrbkap%gmail.com 528ae19538 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 70371ad98c 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 c2d3232365 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 9042fd7a93 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 832d197a98 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 c613ef4daf 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 e7eeada7ae 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 73b81fadc1 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 1983dc1a52 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 8891eb410c 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 2cd6052425 bug 142260: Make doxygen comments in the htmlparser reflect reality. sr=bzbarsky 2005-02-18 18:30:48 +00:00
mrbkap%gmail.com 00b9b8014d 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