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

2441 Коммитов

Автор SHA1 Сообщение Дата
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
mrbkap%gmail.com 2b3e0cf579 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 2cea584a1e 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 0f5d164759 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 cbd3d9f468 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 b4a99b4032 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 a6f0d78e53 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 bb8dff274a 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 7d3c18cd77 Fixing build bustage 2005-01-27 20:00:37 +00:00
bzbarsky%mit.edu 568f813316 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 90fd95e33d 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 1e6e8261d6 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 f9a53b4319 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 29aa8339a5 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 73f03bb75f 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 5f1af5dd7b 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 f7cd8f75fd 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 99366ab4cf Remove dead code. b=210238 r=mrbkap sr=dbaron 2005-01-16 17:07:39 +00:00
peterv%propagandism.org c60fe68dc5 Fix Transformiix standalone bustage. r=Pike. Doesn't affect default builds. 2005-01-13 14:51:20 +00:00
mrbkap%gmail.com 371bb785cc 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 ca8fdc6596 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 507843be05 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 99d03b4436 Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin 2005-01-12 00:55:25 +00:00
aaronleventhal%moonset.net d394288225 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 549c300555 Bug 223302. ASSERTION: OnDataAvailable implementation consumed no data: nsParser. r=bz, sr=darin 2005-01-11 23:26:10 +00:00
mrbkap%gmail.com 04b1580f73 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 3203d0d58e Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
mrbkap%gmail.com 13a6b9ff5b 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 91fd15329e 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 b31a0f655f Fix for bug 274775 (Expat accepts invalid namespaces). r/sr=jst 2004-12-27 11:47:18 +00:00
mrbkap%gmail.com 3844685412 bug 275288: remove obsolete CRC calculations. r+sr=roc 2004-12-25 04:44:02 +00:00
dbaron%dbaron.org 590e98279c untabify 2004-12-22 00:21:13 +00:00
peterv%propagandism.org 6615f2f7fa Correct function signature to fix Solaris bustage. 2004-12-21 13:25:31 +00:00
peterv%propagandism.org e2cb9680c5 Remove unused member variable (obsoleted by patch for bug mHandledXMLDeclaration). 2004-12-20 13:40:07 +00:00
peterv%propagandism.org 325267b519 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 0ba2220aaf 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 939be151c3 AIX bustage fix for checkin from Bug 192139.
r=peterv@propagandism.org
2004-12-15 17:35:52 +00:00
peterv%propagandism.org 0c59b6df7f Fix for bug 192139 (Integrate latest Expat). r=bz, sr=jst. 2004-12-15 15:37:23 +00:00
mrbkap%gmail.com fbdc368fd0 bug 273085: HTML tags displayed as part of text r=bryner sr=dbaron 2004-12-15 01:23:03 +00:00
mrbkap%gmail.com 80fcc8912d 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 7ccf6e4965 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 1bb228eed5 Bug 272151: reorganize files within layout, r+sr=roc 2004-12-08 19:41:48 +00:00
mrbkap%gmail.com 16ce6c93b7 bug 273324: Hang on unclosed comments in standards mode. r=jst sr=bzbarsky 2004-12-07 21:56:39 +00:00
mrbkap%gmail.com cbdbef56d5 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 b92568bebe Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
mrbkap%gmail.com da9e536cd8 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 f404ddb2db 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 da55df32aa bug 272360: missing break in nsViewSourceHTML.cpp r+sr=bzbarsky 2004-11-30 19:08:43 +00:00
bryner%brianryner.com ac143eb6ce 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 f67c3c2083 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 51e0528d27 bug 100175: innerHTML smushes multiple options together on select r+sr=bzbarsky 2004-11-23 04:40:46 +00:00
mrbkap%gmail.com ac7e4ac4f6 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 39b8df7ebb 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 556349d349 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 f03205a823 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 a6e7437b66 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 3143e19724 Adding @status FROZEN to this header (bug 265334). 2004-11-03 21:18:50 +00:00
jst%mozilla.jstenback.com d9915d605d 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 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
mrbkap%gmail.com 3e90aab1bb 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 0ef601f65d 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 7813dee884 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 9f992aca95 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 7a582956cf Add a regression test for bug 256731 2004-10-25 05:25:52 +00:00
mrbkap%gmail.com 43682d00fc 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 8abe39cb7a bug 265339: nsCParserStartNode::~nsCParserStartNode() asserts unnecessarily. r+sr=peterv 2004-10-24 17:24:02 +00:00
mrbkap%gmail.com 5fd4dbb1a5 bug 264882: view-source turns &xi; into &#xi; r+sr=bzbarsky 2004-10-24 17:04:03 +00:00
mrbkap%gmail.com 8e9b4c6958 bug 264956: crash on embedded NUL character in start tag. r+sr=bzbarsky 2004-10-19 01:34:53 +00:00
mrbkap%gmail.com d19bb4c681 bug 264917: crash trying to view-source. sr=bzbarsky r=doronr 2004-10-18 20:57:24 +00:00
mrbkap%gmail.com c964a9e141 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 46924f79d2 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 daa578df36 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 964ecc6669 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 8c3674543d 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 f53d3d18db 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 76b7775f18 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 5503167cb1 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 345aec48d6 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 97b7d3b2d2 Bug 260661 removing unused variable in htmlparser (WriteTag)
r+sr=bz
2004-09-21 11:56:20 +00:00
bzbarsky%mit.edu 7cf7c3072a 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 d510814527 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 6e4e8caecc 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 616283266d 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 d73980915e Fix assertion to use tempChar too. Bug 258082 follow-up. 2004-09-12 04:49:56 +00:00
bzbarsky%mit.edu 755b162d91 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 e4a63a1617 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 8caf7f0c85 Fixing compiler warning. 2004-08-26 04:10:57 +00:00
jst%mozilla.jstenback.com 3b7de1c7e2 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 433e629ed4 Attempt to fix test bustage from relicensing changes. b=236613 2004-08-26 02:06:03 +00:00
gerv%gerv.net 62e3767f68 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
jst%mozilla.jstenback.com e2ddf5de82 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 a119b92bc1 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 4e594d0fb5 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 90e271dce1 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 af97dd521b 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 2a0865d47d 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 f4c9ee57f4 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 ee795a2d8b 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 d5bd29aeda Bug 113243 Get rid of (Compare|Equals)WithConversion
r+sr=roc
2004-07-21 20:18:39 +00:00
cbiesinger%web.de cb3684b13c 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 554e0e99a4 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 19:30:11 +00:00
gerv%gerv.net 50415faa3b Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
bzbarsky%mit.edu a82be0254c 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 55d74e870b oops, this wasn't supposed to go on the trunk. backing out. 2004-06-21 23:41:30 +00:00
bryner%brianryner.com 8cfeadc0a0 bringing branch changes forward 2004-06-21 23:35:56 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
cbiesinger%web.de 8efd04ae2e bug 245673 named literal strings should be const
r+sr=darin
2004-06-11 15:05:29 +00:00
bzbarsky%mit.edu fabc9faa64 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 b7fbe9ad0a 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 24eb212d2e 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 70a8218276 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 27b140b534 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 b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
bzbarsky%mit.edu f396e147a2 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 1012d0c0ae Remove XXX comment that is now addressed (as rbs pointed out). Bug 113201. 2004-05-14 00:01:57 +00:00
bzbarsky%mit.edu c83bb132aa 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 baa7b99581 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 15863fe2fb 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 b9cefb2fdb 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 8dd44befd4 Try to fix bustage by backing out. 2004-05-07 13:22:39 +00:00
peterv%propagandism.org b4d1d333f2 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 74b4294929 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 15b0b24ff1 Removing unused files 2004-05-06 07:50:36 +00:00
peterv%propagandism.org 108074b674 cvsignore Makefile. 2004-05-05 13:56:09 +00:00
peterv%propagandism.org eeb3b8fb41 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 6027896bdb 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 740f425b61 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 5fbd0b90a8 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 c284457122 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 2bb207ba40 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 b035145b4c 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 06e33ed53d 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 dd72172c5c 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 931cb9a5b2 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 239160fbf9 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 f2f6e7002b 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 fa83819d7a 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 053e267e97 Touching to force a rebuild. 2004-03-06 16:34:28 +00:00
peterv%propagandism.org 74fc5b9646 Move declaration to where the function is used. 2004-03-06 16:27:48 +00:00
peterv%propagandism.org bbdb3bd09f 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 1d2d419885 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 2b302f581d Allow newlines to end unquoted attributes again. Bug 235171, r=choess, sr=jst 2004-02-24 23:56:41 +00:00
bzbarsky%mit.edu 68dd1cdfd0 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 8c818ed6c3 landing string defragmentation patch for bug 231995, r/sr=dbaron,jst,dougt 2004-02-19 02:44:03 +00:00
bryner%brianryner.com bb26129656 fix non-null terminated PRUnichar string constant. Bug 228688, r+sr+a=dbaron 2004-02-18 00:41:04 +00:00
dbaron%dbaron.org e459733083 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 7b7c963873 No C++ comments in a C file. 2004-02-09 17:27:03 +00:00
peterv%propagandism.org d7b218ad0a Use 0, not nsnull in expat. 2004-02-09 17:03:59 +00:00
peterv%propagandism.org 01c641d335 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 5a64b9bc98 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 b93e7a8a24 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 910659d1c9 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 1804c4910c 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 9d284ef74e 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 d16a9953bb 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 e95aed0fd1 230953 - Remove traces of dtd-debug. r+sr=jst 2004-01-15 04:50:10 +00:00
timeless%mozdev.org 0c4210d207 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 1f4ab81acd 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 f0bfff2628 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 54da7e086e Part of fix for bug 192139 (Intergrate latest Expat). r=Pike, sr=jst. 2003-12-23 18:04:56 +00:00
bryner%brianryner.com ecd00ba04e 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
bzbarsky%mit.edu b09978b72c Save the original tagname when viewing source to prevent case-folding. Bug
63137, r=choess, sr=heikki
2003-11-13 21:55:26 +00:00
timeless%mozdev.org 0c36535c6e Bug 211266 void nsHTMLEntities::AddRefTable doesn't check the return value of PL_DHashTableInit
r=axel sr=heikki
2003-11-05 22:11:55 +00:00
bryner%brianryner.com 5784af7a5b Speed up mapping HTML tag enums to atoms by using an array of static atoms, indexed by enum value. This avoids a UTF16 to UTF8 conversion and atom table lookup for each tag. Add a CString version of nsINodeInfoManager::GetNodeInfo(), convert literal string callers to use that version, and remove some unused variants of GetNodeInfo(). Bug 223595, r=axel@pike.org, sr=jst. 2003-11-05 05:17:07 +00:00
sicking%bigfoot.com bc72a8d288 Bug 224727: Make IBM doctype trigger quirks mode rather then almost standards.
r=mkaply sr=dbaron
2003-11-04 23:50:18 +00:00
darin%meer.net 5571870865 bug 119934, change namespace for expat symbols to avoid conflicts with
system version (fixes static gtk+2 linux build) r=peterv sr=heikki
2003-10-31 03:49:49 +00:00
bzbarsky%mit.edu c198bfe63a Make parsing super-large script/cdata/whatever blocks faster by using
size_forward as a lower-bound estimate for actual distance to end of string.
Bug 171124, r+sr=dbaron
2003-10-30 02:34:03 +00:00
bzbarsky%mit.edu 38f1930059 Make nsExpatDriver and nsIExpatSink be on the same wavelength as far as passing
attributes to HandleStartElement.  Update callees as needed.  Bug 223470,
r=sicking, sr=peterv
2003-10-30 02:17:50 +00:00
darin%meer.net e8da589a7f fixes bug 221431 "crash: @nsHTMLDocument::ResolveName" patch=keeda@hotpop.com r=darin sr=bz 2003-10-07 18:20:58 +00:00
darin%meer.net 325b3c6de7 fixes bug 210125 "need to be able to AsyncWait for closure only" r=dougt sr=bzbarsky 2003-10-06 01:46:31 +00:00
hpradhan%hotpop.com 57100331ce Bug 170985 : fix for gcc3.4 bustage 2003-09-24 07:30:16 +00:00
hpradhan%hotpop.com 8c3899dabe Bug 170985 : bustage possible btek bustage fix 2003-09-24 07:15:34 +00:00
hpradhan%hotpop.com 876dc1ae19 Bug 170985 : table-based content object creation r=peterv sr=jst 2003-09-24 06:16:52 +00:00
bsmedberg%covad.net c628dd1430 bug 219355 (regression from bug 179834) - XML parsing errors (entity not found) - r=heikki sr=darin 2003-09-17 18:09:25 +00:00
bsmedberg%covad.net da9e036fe8 Bug 219389 - ViewSource highlighting broken (from bug 179834) r=pike sr=darin 2003-09-17 17:28:47 +00:00
bsmedberg%covad.net 3c7f6e517d Bug 179834. Separate application resources and GRE resources. r=darin sr=dougt 2003-09-13 17:55:56 +00:00
timeless%mozdev.org ba4f371972 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=timeless sr=heikki
2003-09-11 03:18:50 +00:00
timeless%mozdev.org 333cd26184 Bug 217089 Compiler warnings
patch by mbockelkamp@web.de r=jst sr=jst
2003-09-11 03:18:49 +00:00
bryner%brianryner.com 8bd0fdbb8d Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 22:24:21 +00:00
cls%seawood.org c08e99a287 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
cls%seawood.org e2a23a2389 #pragma is msvc specific, not win32 specific 2003-08-02 19:50:46 +00:00
timeless%mozdev.org 03efddedbc Adding the ablity to disable view source.
patch by dougt r=bz,sr=darin,b=199335
2003-07-30 23:57:39 +00:00
timeless%mozdev.org 59985f9284 Bug 214445 View Page Source fails
Backing out:
Bug 199335 [minimo]make all viewsource stuff configurable
2003-07-30 17:02:52 +00:00
dougt%meer.net e8c9880a8b Adding the ablity to disable view source. r=bz,sr=darin,b=199335 2003-07-30 02:39:05 +00:00
dbaron%dbaron.org f61c45ed1a Remove unused content quality stubs. b=111346 r+sr=bzbarsky 2003-07-22 18:38:08 +00:00
jaggernaut%netscape.com f008bc2bad Bug 25886: Get rid of a bunch of unused NS_DEFINE_IID, NS_DEFINE_CID. r=caillon, sr=dbaron 2003-07-20 07:47:59 +00:00
jaggernaut%netscape.com bf82a649b9 Bug 212272: Switch some Substring users over to String(Begins|Ends)With. r=dwitte, sr=bzbarsky 2003-07-14 07:37:39 +00:00
jaggernaut%netscape.com 20004e3489 Bug 73353: clean up MODULE/REQUIRES story. r=cls, sr=bryner 2003-07-13 22:29:00 +00:00
harishd%netscape.com 8c13e17187 Initialize userdefined element. b=176709, r=nisheeth@netscape.com, sr=jst@netscape.com 2003-07-01 22:21:20 +00:00
jkeiser%netscape.com 63f24a78b5 Make NOSCRIPT show up normally when script disabled (bug 77296), r=bzbarsky@mit.edu, sr=dbaron@dbaron.org 2003-06-26 06:10:03 +00:00
bzbarsky%mit.edu 948b38be85 Fix CDATA tokenization in view-source mode end the CDATA section on "]>", not
']' (as it needs to do for normal parsing mode).  Bug 209485, r=harishd, sr=jst
2003-06-25 01:29:21 +00:00
alecf%flett.org 5614718dd3 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
alecf%flett.org ccf01a2786 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
dbaron%dbaron.org 754be58a6f P should not be allowed to contain TABLE in standards mode. Patch by Mats Palmgren <mats.palmgren@bredband.net>. r=harishd sr=dbaron b=91927 2003-06-11 04:24:25 +00:00
dbaron%dbaron.org 162093f4a4 Make tag lists more maintainable by using sizeof to determine the array length. b=208846 r=harishd sr=jst 2003-06-10 22:12:28 +00:00
seawood%netscape.com 8f112a4226 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 21:18:27 +00:00
seawood%netscape.com 6934dc37a9 Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev 2003-06-10 20:12:33 +00:00
heikki%netscape.com 826f91eada Bug 207904, doctype with name only got destroyed by our doctype handling, r=harishd, sr=jst. 2003-06-03 17:47:10 +00:00
timeless%mozdev.org f1e70c6436 Bug 203391 InPlaceConvertLineEndings(class nsAString &)' defined but not used
r=harishd sr=heikki
2003-05-30 22:36:47 +00:00
harishd%netscape.com d0a847170e Preserve tokenizer state between document.writes. b=99467, r=heikki@netscape.com, sr=jst@netscape.com 2003-05-28 20:56:21 +00:00
bryner%netscape.com 532fe60f5b Removing unused nsHTMLNullSink and SelfTest.cpp. Bug 207019, r=harishd, sr=jst. 2003-05-27 22:08:44 +00:00
dwitte%stanford.edu 149f719c00 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
nisheeth%netscape.com e8d81b278e Fix for bug 206027. r=harishd@netscape.com, sr=jst@netscape.com, a=mkaply@us.ibm.com. Make cut n paste from Powerpoint into Mozilla work properly. 2003-05-21 03:03:59 +00:00
dbaron%dbaron.org 11cd80badc Fix unicode to entity conversion in case where we have duplicate names for a unicode codepoint to prefer the correct name. Partly based on patch by brade@netscape.com. b=205110 r=alecf sr=heikki a=brendan 2003-05-20 20:53:21 +00:00
bzbarsky%mit.edu c982b00511 Put line number ids on all the <pre> blocks that we create; this should make it
easier to hook up a performant "go to line" UI.  Bug 104383, r+sr=rbs, a=asa
2003-05-17 16:15:30 +00:00
akkana%netscape.com 49d8498e56 Add a missing semicolon 2003-05-16 20:59:20 +00:00
akkana%netscape.com c04a8c2901 If the serializer test fails, print the url of some helpful doc. r=mcafee sr=alecf a=sspitzer 2003-05-16 18:19:44 +00:00
bryner%netscape.com 2f5707d364 Remove some obsolete code from htmlparser. Bug 205730, r=harishd, sr=jst, a=sspitzer. 2003-05-16 00:59:04 +00:00
pkw%us.ibm.com 9ba31c1383 Bug 205812 - nsHTMLEntities.cpp fails to build in 64-bit mode on AIX.
r=harishd@netscape.com, sr=alecf@flett.org, a=asa@mozilla.org
2003-05-15 22:24:24 +00:00
harishd%netscape.com 55d1c05634 Allow userdefined tags in the HEAD. b=167493, r=nisheeth@netscape.com, sr=jst@netscape.com, a=sspitzer 2003-05-02 20:57:52 +00:00
bzbarsky%mit.edu 5df3b30a3b Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
jshin%mailaps.org 7cb553ee0a bug 68738 : UTF-16/32LE with BOM is always detected as UTF-16BE/32BE.
r=ftang, sr=heikki
2003-04-10 07:10:48 +00:00
timeless%mozdev.org 8a5b2016e3 Bug 201271 Fix interface inconsistencies in parser
patch by choess@stwing.upenn.edu r=harishd sr=jst
2003-04-09 22:44:25 +00:00
timeless%mozdev.org e26e87ed90 Bug 63188 What is the aMode parameter in CToken::Consume?
patch by choess@stwing.upenn.edu r=jst sr=jst
2003-04-08 22:01:46 +00:00
timeless%mozdev.org 6b51a45da8 Bug 199200 Make Networking Tests XP friendly by using the eventqueueservice
sr=heikki
2003-04-08 22:01:40 +00:00
bzbarsky%mit.edu 75e0758f2a Some random code cleanup:
1)  Make SetContentSink and SetParserFilter not claim to return stuff
2)  Clean up nsIParser to use NS_IMETHOD_() where needed.  Sync up with nsParser
3)  Removed some never-used code

Bug 40149, r=harishd, sr=jst
2003-04-08 21:23:34 +00:00
alecf%netscape.com 2333c115c8 remove unused #include (no reviewer, its just not used) 2003-04-08 20:55:30 +00:00
alecf%netscape.com da50b8292c fix for the first part of bug 200580, remove nsIDTD::ConvertEntityToUnicode, nobody is using it r=harishd, sr=jst 2003-04-08 20:54:56 +00:00
alecf%netscape.com d8d01ffb9d first part of fix for bug 200507 - get rid of nsAVLTree in favor of hashtables
r=harishd, sr=jag
2003-04-06 22:24:35 +00:00
hpradhan%hotpop.com f7dbb93f11 bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst 2003-04-05 07:19:09 +00:00
alecf%netscape.com 40229f6383 fix for bug 200330 - const the heck out of htmlparser!
sr=sfraser, r=jag
2003-04-02 22:59:51 +00:00
seawood%netscape.com de59dbee4b Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
heikki%netscape.com 645bfc7c34 Bug 169980, document.load should add its document to the parent document's loadgroup so that if we leave the current page the load will be aborted aotomatically, r=harishd, sr=darin. 2003-04-02 21:44:39 +00:00
alecf%netscape.com 6de4507aee re-land bug 200139, moving EntityNode into static space
sr=sfraser, r=harishd
removed constructors/destructors since these are no longer created on the heap
2003-04-02 04:39:12 +00:00
alecf%netscape.com 20e19f5387 huh, back myself out for now, not sure if I'm causing the domtextconversion problem or not 2003-04-02 01:58:51 +00:00
alecf%netscape.com 836c6c7024 fix for bug 200139 - nsHTMLEntities has way too many static tables - switch everying over to "const" and stop allocating copies of static data
r=harishd, sr=sfraser
(oh, and spelling update: Comparitor -> Comparator)
2003-04-02 01:16:29 +00:00
alecf%netscape.com 925955c81d landing attempt #2 for 195262 - support for static atoms, and converting atoms over to UTF8 to reduce bloat - now without performance regressions!
sr=darin, r=dbaron
2003-03-25 18:55:59 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
alecf%netscape.com 16af458ceb backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
timeless%mozdev.org 04e8d23b24 Bug 198620 Make grabpage work on linux by adding an event loop
r=harishd
2003-03-21 19:52:02 +00:00
alecf%netscape.com c4ea07bc53 fix for bug 195262:
- convert atoms to UTF8 because 99% of the time, that is what they are used for
- add support for static atoms, where the strings are declared in a large const array and not copied into the heap
r=dbaron, sr=darin

this is an experimental landing - if there are performance issues, I will back it out.
2003-03-21 06:26:32 +00:00
dougt%netscape.com a72a8635f4 fixing bustage. AppendRelativeNativePath only can be used when appending "native paths". r=saspitzer, b=197520 2003-03-17 20:14:39 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
timeless%mozdev.org 6607572f3a Bug 133277 give NS_PARSERSERVICE_CID {a6cf9112-15b3-11d2-932e-00805f8add32} a ContractID
r=harishd sr=heikki
2003-03-14 04:03:09 +00:00
heikki%netscape.com d6f0927520 Bug 191327, make internalSubset not include delimiting brackets (was not defined in DOM 2 but is now defined in DOM 3 drafts). Also fix bug 191482, external entity definitions should be included in internal subset. r=harishd, jst, sr=peterv. 2003-03-07 23:40:51 +00:00
alecf%netscape.com da409bcb97 fix for bug 191416 - clean up nsIUnicharInputStream to make it more like nsIInputStream:
- hide Fill() (or remove it where not necessary)
- add ReadSegments() so that we can do reads without copying
- remove the extra offset parameter to Read()
r=dougt, sr=darin
2003-03-06 19:54:51 +00:00
sfraser%netscape.com e1e801b951 Fix bug 195160: remove static NS_DEFINE_IID from header files. r=cls, sr=alecf. 2003-02-28 05:47:36 +00:00
harishd%netscape.com 46a6b1cf15 Do not open head context if <script> is in the body context. b=194329, r=heikki, sr=jst 2003-02-27 22:26:00 +00:00
heikki%netscape.com 07d25d657b Bug 193179, recognize XHTML Mobile Profile FPI in order to load XHTML entities, r=harishd, sr=jst. 2003-02-27 00:39:07 +00:00
heikki%netscape.com cad43b785c Bug 184001, do not copy external DTDs into internal subset, r=harishd, sr=jst, a=asa. 2003-01-31 19:21:24 +00:00
nisheeth%netscape.com ef087b5585 Fix for bug 182067. r=harishd, sr=jst, a=asa. Fixes the crash/hang on Linux when a data: url with a null data segment is typed into the url bar. 2003-01-31 00:58:41 +00:00
timeless%mozdev.org 2c76a54950 Bug 183355 Typo in parser UTF charset detection code
patch by alexey@ihug.com.au r=ftang sr=heikki
2003-01-19 00:52:04 +00:00
shanjian%netscape.com f5f4fdea92 #8275 Need routine to perform Unicode composition and decomposition
borrowed code from jpnic and created new interface.
r=nhotta, sr=alecf.
2003-01-17 23:30:01 +00:00
mkaply%us.ibm.com 438283b779 No bug - OS/2 only - test - put OS/2 code into test (originally used XP_PC and broke OS/2 - didn't write the OS/2 code at that time) 2003-01-16 21:35:18 +00:00
harishd%netscape.com 21f6a2b528 Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki 2003-01-16 20:24:03 +00:00
harishd%netscape.com 5a449b70c9 Prevent a hang by consuming entity-look-alike ( &# ) as text. b=188278, r=heikki,sr=jst 2003-01-13 22:05:52 +00:00
harishd%netscape.com 5c48a25f83 Close Head context before dealing with tags that belong in body/frameset. b=187790, r=heikki, sr=jst 2003-01-09 18:29:23 +00:00
dbaron%dbaron.org a79e515f81 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 20:44:25 +00:00
caillon%returnzero.com b443430dc8 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
bryner%netscape.com c19e56f76c Removing a long-dead file. Not part of the build. 2003-01-05 05:38:27 +00:00
harishd%netscape.com 69c7f655f1 Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst 2003-01-03 23:17:22 +00:00
harishd%netscape.com 1ddebaca9b Convert CRLF or CR to LF when collecting skippedcontent. b=159615, r=glazman, sr=peterv 2003-01-03 20:49:07 +00:00
harishd%netscape.com 1b76b535b1 Handle unclosed and malformed TITLE tag. b=42945, r=heikki, sr=jst 2003-01-03 19:21:20 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
bratell%lysator.liu.se a26819e583 Bug 173388 - Take this you ugly orange tinderbox! 2002-12-19 07:18:17 +00:00
bratell%lysator.liu.se 1e5147f82c Bug 173388 - Use TABs to seperate table cell when converting HTML -> Text (copying from a web page). 2002-12-19 06:22:55 +00:00
harishd%netscape.com 10546cbe77 Update expat buffer postion when the parser is about to get blocked. b=185325, r=heikki, sr=jst 2002-12-17 19:18:40 +00:00
jkeiser%netscape.com 88ff782ace Make /applet close things inside applet tag (bug 129888), patch by adu@sparc.spb.su, r=harishd@netscape.com, sr=heikki@netscape.com 2002-12-17 01:28:16 +00:00
harishd%netscape.com ce9ab21c6b Backing out my changes to see if it fixes the orangeness 2002-12-13 00:28:47 +00:00
harishd%netscape.com ed0d2f8b55 Reduce the size of CStartToken. b=179523, r=heikki sr=jst.
Added a couple of testcases to the parser regression test suite
2002-12-12 22:38:40 +00:00
harishd%netscape.com 8408d2611f Backing out fix for bug 149887 because of bug 184029. a=asa 2002-12-09 19:30:10 +00:00
harishd%netscape.com 9bc654e3cd Backing out the fix for bug 142965 inorder to fix an important issue raised in bug 183711. a=asa 2002-12-07 01:48:25 +00:00
harishd%netscape.com ab7cca2cae Make sure to catch error messages returned by nsCompontentManagerImpl::CreateInstance when creating a dtd ( CNavDTD ). This fixes a shutdown crash. r=timeless, sr=heikki, a=asa 2002-12-06 01:54:39 +00:00
mkaply%us.ibm.com 18397168df OS/2 bustage - XP_PC does NOT equal XP_WIN 2002-12-04 17:25:44 +00:00
timeless%mozdev.org b04e4cb40c whoops 2002-12-04 09:47:50 +00:00
timeless%mozdev.org c3d8c8f7fc build bustage: adding local include 2002-12-04 09:09:49 +00:00
timeless%mozdev.org 6958f9c9e3 fixing logparse bustage sr=jst 2002-12-04 08:20:46 +00:00
timeless%mozdev.org 70167776d5 logparse has include issues, temporarily removing 2002-12-04 08:02:12 +00:00
timeless%mozdev.org ef8ab83b7e Bug 180336 Add parser tests: grabpage logparse html
r=harishd sr=heikki
2002-12-04 07:27:06 +00:00
timeless%mozdev.org 3379a7b71f reindent per heikki@netscape.com 2002-12-04 07:22:26 +00:00
harishd%netscape.com a38138a2ae ** NOT PART OF THE BUILD **
Adding testcases to parser regression test suite
2002-12-03 22:52:02 +00:00
harishd%netscape.com d0b9b4756c Prevent content inside IFRAME from evaluating ( specifically SCRIPT ). b=149887, r=heikki, sr=jst 2002-12-03 22:31:38 +00:00
harishd%netscape.com 75613686ba Make sure to collect FORM attributes if the FORM was found along with misplaced content inside TABLE. b=142965, r=heikki, sr=jst. Added -/W3C/DTD HTML 4.0 Transitional/EN to the quirks list. b=146274, r=heikki, sr=dbaron 2002-12-03 19:55:19 +00:00
dbaron%fas.harvard.edu b9b5e43519 Remove unused parser-related code. b=130439 r=harishd sr=jst 2002-11-28 19:43:51 +00:00
jfrancis%netscape.com 309efe79a5 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
timeless%mozdev.org 36dd396e4d not part of the build. these directories are probably going to be removed shortly. 2002-11-20 04:06:57 +00:00
darin%netscape.com fd92cd2681 fixing linux bustage: make |nsCParserNode::operator delete| protected
instead of private.  also fixes some warnings.
2002-11-19 19:42:46 +00:00
harishd%netscape.com c96659c48f Fixing warning 2002-11-19 19:25:47 +00:00
harishd%netscape.com 858dd7ab53 Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst 2002-11-19 18:29:35 +00:00
timeless%mozdev.org 3f6f9adefb Bug 180286 cvs remove mozilla/htmlparser/tests/windows/Selftest.cpp
r=harishd, sr=heikki
2002-11-17 02:22:49 +00:00
timeless%mozdev.org a7b0a890fd not part of the build
Makefile.in changes should make this build on platforms (at least windows)
grabpage.cpp suffered from serious API rot.
2002-11-15 12:22:58 +00:00
harishd%netscape.com 8ffbf69207 bug 167493 - Backing out the patch based on the bug report 2002-11-14 00:38:53 +00:00
bzbarsky%mit.edu 66e7d56690 DD should be allowed to contain DL. Bug 179071 and company, r=harishd, sr=heikki 2002-11-13 21:55:36 +00:00
seawood%netscape.com d1bef3cbe0 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
cbiesinger%web.de ea57df1261 bug 170219 patch originally by jani.lehtinen@oulu.fi brought to patch form by ajschult@eos.ncsu.edu r=biesi sr=bzbarsky
misspelled #define name
2002-09-23 16:36:51 +00:00
rjesup%wgate.com 12ec869ba6 Bug 167493: userdefined tags should be allowed in <head>. r=harishd, sr=jst 2002-09-12 20:04:43 +00:00
alecf%netscape.com cf32a5293b fix bug 124182 - move nsAVLTree into htmlparser, since it is the only consumer
r=harishd, sr=jst
2002-09-12 04:52:01 +00:00
bzbarsky%mit.edu cde8d05426 Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...". 2002-09-12 03:44:37 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu 911d2fa2e8 use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst 2002-09-03 22:23:22 +00:00
jfrancis%netscape.com bdd2e91772 fix for 159842: parser has no mechanism to allow parsing of incomplete html fragments. sr's from heikki, kin, bz 2002-08-29 08:17:41 +00:00
shanjian%netscape.com a55ae9218a #162239 POST document could not inherit charset from previous page if the previous charset is from autodetection.
r=ftang, darin, sr=jst
added PrevDocCharset to markupViewer, and pass around previous document charset.
This charset is later used to load POST document.
2002-08-26 20:13:31 +00:00
bryner%netscape.com 2920dae2f9 Ignore generated Makefiles. 2002-08-23 10:30:06 +00:00
smontagu%netscape.com 8a7467d13c Bug 110388: Enhancements and bugfixes to viewsource. r=bz, sr=rbs. 2002-08-20 17:29:16 +00:00
heikki%netscape.com 69b34bec32 Bug 63558, we now store XML declaration in the document and can serialize it. There is fix for 158617 as well, newlines behave properly around doctype. r=bzbarsky, sr=jst. 2002-08-13 18:41:16 +00:00
gerv%gerv.net ee117885c5 Bug 154765 - Cleaning up Contributors references after relicensing. Patch by riceman+bmo@mail.rit.edu; r=gerv, auto-sr=brendan. 2002-08-10 08:39:43 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
seawood%netscape.com 2d0eafe73f Removing unused htmlparserSharedPrefix{,_debug}.h
Bug #125118 r=cls sr=bryner
2002-08-08 00:34:45 +00:00
seawood%netscape.com fdafe18afe Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
bzbarsky%mit.edu ca8deb1695 Bug 124870. PRBool -> PRPackedBool in lots of places. Patch by
dann@godzilla.ics.uci.edu, r=heikki, sr=jst
2002-08-06 01:22:59 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
kyle.yuan%sun.com 1116009a88 Bug 157865 </HTML> at the beginning of the page followed by <HEAD> or <BODY> causes Mozilla to freeze
r=choess, sr=bzbarsky, a=asa
Check in for Jerry's fix.
2002-07-23 02:00:48 +00:00
hwaara%chello.se a3a9740628 #62157, "Document content is rendered even though version value is not '1.0'." Make us care about what version is specified and bail out on anything but "1.0".
r=bzbarsky, sr=heikki, a=asa
2002-07-20 01:18:52 +00:00
dougt%netscape.com ee613011bc Fixes the following:
154047
This change cleans up the category manager in hopes to freeze it for 1.1 final.  This change removes dead and unsupported methods from the interface as well as removes the C++ code from the interface.  This should land for 1.1b since users of the current category manager will have to update their components.

157597
Make embedding base and examples use XPCOM Glue
This change makes our embedding samples use the XPCOM glue.

157625
nsLocalFile::Remove's file pointer is sometimes null afte...
This fixes a crash when we dereference null.  It is a bandaide fix as the real problems involves retooling the directory enumerator.

157801
This fixes a terrible state which you can get into whereby XPCOM will fail to startup regardless of what you do.  The fix is to cause autoreg to happen if the component registry (compreg.dat) is not found.

r/sr=alecf@netscape.com, rpotts@netscape.com.  a=scc@mozilla.org
2002-07-18 05:09:10 +00:00
harishd%netscape.com 36aca5b994 ** DEBUG ONLY **
Initialize local variables ( were causing problems running parser regression tests )
2002-07-09 21:32:56 +00:00
harishd%netscape.com fb9cfc9bdf ** NOT PART OF THE BUILD **
Adding more testcases to the regression test suite
2002-07-09 21:19:20 +00:00
bryner%netscape.com 122b978d08 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
timeless%mac.com bea9f48808 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
harishd%netscape.com 999ba53f28 ** NOT PART OF THE BUILD **
Removing unncessary files pertaining to parser tests
2002-07-03 20:25:29 +00:00
harishd%netscape.com c93c722167 ** NOT PART OF THE BUILD **
Removing unnecessary files
2002-07-03 20:18:53 +00:00
harishd%netscape.com 2cad9cd094 ** NOT PART OF THE BUILD ** | Moving parser test cases from logparse dir. to html dir. 2002-07-03 20:12:28 +00:00
harishd%netscape.com 3f40dd05e7 ** NOT PART OF THE BUILD **
Pertaining to parser regerssion testing
2002-07-03 00:47:07 +00:00
harishd%netscape.com 390221c709 ** NOT PART OF THE BUILD **
Removing unnecessary files
2002-07-02 22:01:04 +00:00
harishd%netscape.com 045bd51eb9 ** NOT PART OF THE BUILD **Restoring parser regression testing 2002-07-02 21:51:42 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
harishd%netscape.com cdaa2b2c9f Make marquee tag a block level element. b=154173, r=heikki, sr=jst 2002-06-27 01:49:38 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu d558717301 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson 2002-06-25 21:16:17 +00:00
kyle.yuan%sun.com 5361ff6879 Bug 133853 why always add <HTML> token into Tokenizer even there is an <HTML> token already?
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix.
2002-06-18 02:06:29 +00:00
jfrancis%netscape.com 5ff6d7d688 bug 139466: paste can create nested headers. r=harish; sr=jst 2002-06-12 14:07:05 +00:00
stephend%netscape.com e8eae9f63d Bug 150653. Fixing a comment for nsHTMLEntities::UnicodeToEntity(). Patch by alge@samsen.com. r=choess, sr=vidur 2002-06-11 23:37:34 +00:00
harishd%netscape.com 666f24ddb7 Fixed data loss of malformed table content. b=138577, r=heikki, sr=jst 2002-06-11 23:13:48 +00:00
alecf%netscape.com f0263ddf07 fix for bug 101761 - REQUIRES update - remove all REQUIRES that are no longer necessary.. r=cls, a=asa (build-only changes) 2002-06-06 20:28:14 +00:00
rbs%maths.uq.edu.au d6f5039ec4 Add the DOCTYPE for the XHTML+MathML+SVG profile in the recognized catalog list, b=145810, r=heikki, sr=jst 2002-05-23 08:16:54 +00:00
harishd%netscape.com 80e56f0ac6 Preserve comment declaration for textarea and viewsource. b=133044, r=heikki, sr=jst 2002-05-22 23:51:30 +00:00
harishd%netscape.com 0e082e7651 Ensuring complete consumption of DOCTYPE content. b=142625, r=heikki, sr=jst 2002-05-22 00:46:16 +00:00
heikki%netscape.com 5676441c86 Bug 142788, malformed comment end was not detected in quirks mode which caused the rest of the document to be treated as a comment. r=harishd, sr=jst. 2002-05-18 01:08:50 +00:00
heikki%netscape.com ded7f9fe08 Bug 137628, depending on network speed the contents of comments could appear on a page in strict mode. Treat unclosed comment in strict mode as text. Fix line numbers in case we need to wait for more content before parsing. r=harishd, sr=jst. 2002-05-17 05:38:46 +00:00
rpotts%netscape.com 4d4116d281 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
pete.zha%sun.com 2cd0854dba bug 143168:remove ilayer layer tag from mozilla code
r=harishd, sr=jst
Check in for Jerry Tan(jerry.tan@sun.com)'s fix
2002-05-16 03:08:15 +00:00
harishd%netscape.com b0d56bb148 Making sure that mCountRemaining also gets updated when data gets inserted into the scanner buffer. b=117441, r=heikki, sr=jst 2002-05-15 20:20:55 +00:00
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
jkeiser%netscape.com 0e9702408e Treat NOLAYER like any undeclared tag (from Antonio Xu). Bug 61443, r=harishd@netscape.com, sr=jst@netscape.com 2002-05-09 02:33:34 +00:00
harishd%netscape.com 4e044bfa27 No need to tokenize the input stream if the DTD ( NavDTD ) cannot create a content sink. b=138071, r=heikki, sr=jst 2002-05-07 23:18:15 +00:00
sicking%bigfoot.com 5bc7224826 Bug 130439: Remove unused function in tokenizer. Patch by choess@stwing.upenn.edu
r=harishd sr=heikki
2002-05-04 15:41:00 +00:00
jaggernaut%netscape.com 6cbd032dc0 Fix two typos on previous checkin for bug 139633. r=dmose, sr=mozbot (even though I couldn't reach him, I'm sure he would've given me sr= for this simple bustage fix) 2002-04-30 04:03:57 +00:00
alecf%netscape.com 09ce09edfb fix bug 139633 - as a part of freezing nsAString, move Left/Right/Mid back into nsString, and fix consumers to start using Substring()
r=jag, sr=darin
2002-04-29 20:29:54 +00:00
seawood%netscape.com ce9e9903a5 Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
Changes:
* Added EXTRA_COMPONENTS variable to build.  Use it to automagically install files into the components dir.
* Added SYSINSTALL variable.  Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template

The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
           /bin/mozilla-config
           /include/mozilla-ver/*
           /lib/mozilla-ver  (mozappdir)
                            /components
                            /res
                            /defaults
                            /chrome

There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.

$prefix -> /lib/mre/mre-ver  (mredir)
                            /components
2002-04-25 02:52:44 +00:00
harishd%netscape.com 3a05309063 Prevent charset loading for document.write content because the content is already in unicode. b=125317, r=ftang, sr=jst 2002-04-18 22:11:17 +00:00
akkana%netscape.com e3089ccfe4 134439: revert to old tests, since the pref has reverted 2002-04-17 01:10:30 +00:00
akkana%netscape.com 329ae768d1 134439: Fix dom-text conversion tests for our new handling of quoted text 2002-04-17 00:23:30 +00:00
harishd%netscape.com 30b0a09545 Initialize token allocator, in the BuildModel() regardless of whether a sink is available or not. b=137644, r=heikki, sr=jst 2002-04-16 22:04:26 +00:00
bzbarsky%mit.edu ae142168e0 Fix bug 135833 (view source not working right when it needs a repost).
r=rpotts, sr=darin.
2002-04-13 02:23:52 +00:00
harishd%netscape.com 31aed29d27 Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst 2002-04-11 23:50:44 +00:00