Commit Graph
42 Commits
Author SHA1 Message Date
[email protected] bc89fe4176 Fixing bug 109400. Removing unnecessary layers of abstraction from nsHTMLTags that does nothing for us except using more memory than we need to use, and makes us slower. This makes nsHTMLTags::LookupTag() 4 times faster. [email protected], [email protected] 2001-11-28 06:13:11 +00:00
[email protected] 1d843feacf Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
[email protected] 4c3d3ec74b Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. [email protected], [email protected] 2001-10-30 10:14:06 +00:00
[email protected] 2cea53f1bb 96364 - Register html tag observers directly to parser service rather than nsObserverService. Doing so, reduces a lot of overhead. Also, the observers are now notified via sink. This eliminates the need for parser bundle.
r=dp,shanjian,sfraser, sr=rpotts.
2001-09-28 23:08:17 +00:00
[email protected] 5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
[email protected] 0b20fc36bb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
[email protected] 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
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] a43b5a4932 40072 - (patch provided by pollmann) Do not process METAs after FRAMESET. r=harishd sr=vidur
58809 - Handle numeric & hexadecimal entities correctly r=heikki sr=vidur
72249 - Per SGML endtag can contain whitespace between generic identifier and tagc. r=heikki sr=vidur
82971 - if the last character was a CR make sure to not lose that information. r=heikki sr=vidur
2001-07-05 22:20:34 +00:00
[email protected] da53dcfac6 Fix for bug 81253. We now sniff upto the first 2k of the first buffer of any HTML stream, looking for a META tag with charset information. If charset information is found, we use it for unicode conversion. This deals with the bulk of cases where we used to do a reload based on charset information in the document. In the worst case (if charset information exists but isn't found during sniffing) we fall back to the reload case. This fix improves initial page load performance for pages with a charset. Degradation in performance for pages loaded out of the cache is still being investigated. r=harishd, sr=waterson 2001-06-29 22:56:58 +00:00
[email protected] d09cca7bb6 Added code to interrupt the parser's processing of tokens if a threshold is exceeded to improve interactivity during long page loads. Turned OFF by default. Can be enabled through a pref. bug 76722 [email protected],[email protected] [email protected],[email protected] [email protected] 2001-06-21 02:06:23 +00:00
[email protected] c0885841e3 75641 - Fixing MLK caused by unclosed FONT tags ( penguin.html )
r=heikki sr=waterson
77352 - Making sure that the heading tags' size takes precedence over
residual style tags' size info.
r=pollmann sr=attinasi
57248 - Moved attribute entity parsing to the parser land.
r=heikki sr=jst.
2001-05-15 22:32:26 +00:00
[email protected] 6e88a989f0 Fix OS/2 build bustage from fix to bug 29171. 2001-05-12 07:12:33 +00:00
[email protected] 650643b391 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by [email protected] and [email protected], also some changes done by [email protected], [email protected] and [email protected]. r= and sr= by [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]. 2001-05-08 16:46:42 +00:00
[email protected] 0a46875075 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
[email protected] 08fd740467 Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. [email protected], [email protected] 2001-04-02 00:45:52 +00:00
[email protected] 25edbb9354 Checking in changes needed for splitting layout into two separate libraries. [email protected], [email protected]. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
[email protected] f55e27c80e Fix for bug 63081. We remove carriage returns passed to us by the parser in the copy from the sink buffer to the content model. r=jst 2001-01-22 23:11:02 +00:00
[email protected] c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
[email protected] 52388e901a Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
[email protected] 1b9135a95a 50965 [nsbeta3+ - PDTP1]
Making sure that textnodes are created for SCRIPT,STYLE,TITLE,XMP,TEXTAREA,PLAINTEXT,
in FragmentSink, for editor->HTML Source.

r=jst
a=waterson.
2000-09-26 19:19:28 +00:00
[email protected] 7b29b76897 7670 - Enable NOSCRIPT.
r=jst
2000-09-01 18:17:43 +00:00
[email protected] 7356fe0af3 Fix for bug 42196. A simple patch from Rod Spears to prevent asserts that were firing on reading mail messages. 2000-06-27 06:56:08 +00:00
[email protected] c62ec0a637 40408 (nsbeta2+) - Check for nsresult in nsFragmentContentSink::AddLeaf().
The HTMLTag array was,erroneously,going out-of-bounds for XMP tag.
r=rickg
30617 (nsbeta2+) - Misplaced AREA tag should be informed with base target info.
r=vidur.
2000-06-08 21:32:09 +00:00
[email protected] fa72f71714 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by [email protected] and the changes to mozilla/layout are reviewed by [email protected]. 2000-05-10 13:13:39 +00:00
[email protected] 6389c25d1d making string conversions explicit 2000-04-16 11:19:26 +00:00
[email protected] 13630ef92f Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me. 2000-01-24 06:43:15 +00:00
[email protected] f04fda154d Use if instead of switch, to eliminate warnings. r=slamm 2000-01-11 02:24:29 +00:00
[email protected] cc587aad41 Fix a huge slew of warnings. r=pavlov 2000-01-08 01:20:58 +00:00
[email protected] 6e434f86d6 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann 2000-01-06 23:36:45 +00:00
[email protected] 796280940b updated license boilerplate to xPL 1.1, [email protected],[email protected] 1999-11-06 03:40:37 +00:00
[email protected] 7f051e3171 Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG. 1999-09-30 22:07:04 +00:00
[email protected] 70a87a163c Get rid of circular reference between sink and parser. Fix for bug 8975. 1999-08-04 18:25:23 +00:00
[email protected] fd67f88e34 Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl. 1999-07-28 06:56:05 +00:00
[email protected] d162e65cd8 - Move AddDocTypeDecl method from nsIXMLContentSink to nsIContentSink.
- Fix bug 8607 by passing the XML decl and the doctype decl from the expat tokenizer to the XML DTD.
1999-07-26 05:40:25 +00:00
[email protected] 81e1792ede Deal with multiple BODY elements passed by the parser by ignoring all but the first 1999-07-22 04:46:57 +00:00
[email protected] d5b47c8703 update to new entity lookup api 1999-07-18 00:22:49 +00:00
[email protected] 7b48de1b06 Better place to flush the buffer, suggested by Vidur 1999-06-29 00:26:06 +00:00
[email protected] 701d0a8ec4 Call FlushText after calling AddText, to keep from dropping text at the end of the fragment 1999-06-28 23:39:15 +00:00
[email protected] d1263bcc81 Fix warnings, mostly from conflicts with the index routine declared in string.h on Linux 1999-06-28 21:27:10 +00:00
[email protected] a4406825bb Part of Vidur's html fragment changes: files which aren't in the build yet 1999-06-03 22:30:12 +00:00
[email protected] 2d088d63d4 possibly temporary sink implementation to build a document fragment. 1999-05-29 01:29:01 +00:00