Commit Graph
47 Commits
Author SHA1 Message Date
Peter Van der Beken 4791b7137f Backing out 8f9ff81ef3fa to try to fix orange. 2009-03-24 10:43:42 +01:00
Ben Newman 2657237b2f imported patch simplify-nsIDTD.diff 2009-03-23 18:26:46 -07:00
Ben Newman 270c5e690f imported patch parser-own-dtd.diff 2009-03-23 18:26:46 -07:00
Blake Kaplan c5086f2b41 Bug 364315 - Implement speculative parsing. r+sr=jst 2008-09-30 23:48:47 -07:00
peterv@propagandism.org 4f0545ebf6 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
mrbkap@gmail.com 4e09d3f606 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
mrbkap@gmail.com 2afd8bafd0 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
peterv@propagandism.org 1ed76a83d6 Merging patch by gerv (from mozilla/htmlparser).
Bug 236613: change to MPL/LGPL/GPL tri-license.
2004-04-23 13:24:28 +00:00
bzbarsky@mit.edu aba870aa05 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
harishd@netscape.com 3bae7ffa4a Fix line numbers in html. b=111576, r=heikki, sr=jst, a=asa,chofmann 2002-04-10 22:16:46 +00:00
harishd@netscape.com e3ca0042cf Backing out timeless's checkin. This wasn't supposed to happen until we branched 2002-04-09 00:43:00 +00:00
timeless@mac.com a6033e0904 Bug 111576 Incorrect line numbers in HTML files
patch by harishd, r=heikki, sr=jst, a=chofmann
2002-04-08 23:52:12 +00:00
darin@netscape.com 9808f7ca98 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa 2002-03-20 22:50:33 +00:00
dbaron@fas.harvard.edu 44d839863a Remove unused (or used only if one of the magic enviroment variables ENABLE_STRICT or MOZ_VALIDATE_HTML was set) parser-related code, mostly associated with the strict DTD. b=130439 r=harishd sr=jst a=shaver 2002-03-16 15:34:43 +00:00
harishd@netscape.com 545be93cae 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst 2002-01-09 01:37:50 +00:00
harishd@netscape.com f3cbdc8377 97769 - Replace nsITagStack with a simple nsVoidArray. Also, nuked nsITagStack since it is not of a big help.r=heikki, sr=jst.
99282  - Make sure only HEAD attributes get added to the attribute list in ::OpenHead(). r=heikki, sr=jst.
100466 - Stop DT from containing DL.r=heikki,sr=jst.
102370 - DT should not close DD and vice versa.r=heikki,sr=jst.
100397 - In order for residual style to kick in...disable the check for wellformedness in quirks mode.r=alexandru,sr=attinasi.
102376 - Release nsIRequest in nsParser::DidBuildModel() since nsIRequest is not required past DidBuildModel.r=heikki,sr=darin.
2001-10-19 20:48:18 +00:00
jst@netscape.com 138ef3949d Fixing bug 104031. Bad string code in nsHTMLDocument::WriteCommon(). r=bzbarsky@mit.edu, sr=vidur@netscape.com 2001-10-16 01:31:49 +00:00
harishd@netscape.com 4144f2f518 102376 - Make sure that the channel exists for the life time of the parser.
r=dp sr=rpotts.
2001-10-01 05:14:03 +00:00
gerv@gerv.net 9a421db1b4 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
harishd@netscape.com 89bd085b18 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
darin@netscape.com 298557fdf0 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
dougt@netscape.com d865bfd3cb Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc@bart.nl c6327f63d5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt@netscape.com a70fce6f87 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
harishd@netscape.com 045778e230 63423 - Unblock parser before evaluating external js content.
63661 - Do not create an end token automatically if the tag did not contain '>'
33051 - Handle residual style before closing a tag.
58992 - Leaf content should go thro' the normal HandleToken path.
61462 - Release parser bundle only when the parser is about to shutdown

r=jst
sr=vidur
2001-02-06 23:35:29 +00:00
rickg@netscape.com 860597f4b6 fixed several nsbeta2+ bugs; r=harish, buster; a=pdt 2000-06-10 02:53:04 +00:00
rickg@netscape.com da586dbb57 StrictDTD WIP and fixed mode regression 2000-05-04 05:53:52 +00:00
harishd@netscape.com a915710d14 34458 - Added static APIs to determine DTD for a given
DOCTYPE,MIMETYPE,COMMAND.
r=rickg,pollmann
33397 - Fixed the NOSCRIPT interference on residual style handling.
r=rickg.
35456 - Emulating Nav. for documents with unclosed STYLE and SCRIPT.
37052 - Handling XMP content.
r=pollmann
2000-05-03 22:09:09 +00:00
rickg@netscape.com a9d6be652e removed warnings; retry landing Strict DTD. r=harishd 2000-04-19 08:08:28 +00:00
rickg@netscape.com 9c23f5c8bc fixed DTD selection bugs; entity bugs; conditionally enabled Strict DTD 2000-04-17 06:33:31 +00:00
rickg@netscape.com d919a74980 fixed bug 28825, 30780, 31723 plus wip for travis; r=harishd 2000-03-25 03:35:50 +00:00
harishd@netscape.com d5e7a0e95d Fix for 31873,32094,32337.
Checking in for rickg.
r=me.
2000-03-18 09:15:01 +00:00
rickg@netscape.com 91465ff052 fixed leak introduced with last update; r=taz. 2000-03-17 05:08:14 +00:00
rickg@netscape.com e18f27bb04 fix to PDT+bug 32022; r=harish, rickg, markA, troy; a=jar 2000-03-17 04:12:17 +00:00
rickg@netscape.com 67a11793e3 fixed PDT+ bug 30026; r=harishd, markA; a=jar 2000-03-11 08:08:24 +00:00
dmose@mozilla.org 20621227af updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
harishd@netscape.com 14d1666156 Added Observernotification for XML PI, cleaned up some warnings. 1999-07-16 21:07:54 +00:00
harishd@netscape.com f2c6391cc0 Added a new member variable "mParserTerminated" to stop the parser
on an error.
1999-06-10 23:20:51 +00:00
rickg@netscape.com 32cfdf42d9 small bug fixes and removal of global statics 1999-02-26 06:33:54 +00:00
rickg@netscape.com 61d8fbcf4d fixed a wad of parser bugs 1999-01-26 01:24:31 +00:00
rickg@netscape.com e429bddf13 fixed a dozen new parser bugs 1999-01-15 19:29:35 +00:00
rickg@netscape.com 6aa31d30c8 fixed a few parser problems having to do with dynamic enabling 1999-01-12 00:19:17 +00:00
rickg@netscape.com d596efe232 A wad of changes to the parser. See my update 1999-01-09 01:09:02 +00:00
rickg@netscape.com b0e2b21712 table bug fixes, heading fixes, performance, docs 1998-07-23 08:21:02 +00:00
rickg@netscape.com 8018cee3d5 major changes to nested tag handling 1998-07-17 02:35:23 +00:00
rickg da9df2cbed fixed a few problems with unix build 1998-07-13 21:42:45 +00:00
rickg 2717b5d34d added WIP support for reentrancy in the parser 1998-07-13 21:13:09 +00:00