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

2249 Коммитов

Автор SHA1 Сообщение Дата
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