[email protected]
a29a08f141
Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
2001-09-29 08:28:41 +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]
9a421db1b4
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
2001-09-26 00:40:45 +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]
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]
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]
298557fdf0
Necko API changes, bug 74221. r=valeski, sr=rpotts.
2001-04-10 06:01:08 +00:00
[email protected]
5d0ca658ca
Changes to parser to allow less copying. Use of the new nsSliding[Sub]String classes so that tokens can hold substrings that keep references into the scanner buffer. Cleaned up token interface and general string usage. r=harishd,heikki sr=jst
2000-12-12 21:58:14 +00:00
[email protected]
4f51a3af73
7670 - Enabling NOSCRIPT content.
...
47827 - Make sure to check DD's hierarchy.
r=jst
2000-09-01 18:17:17 +00:00
[email protected]
13abfd0646
making string conversions explicit. scc
2000-04-26 01:13:55 +00:00
[email protected]
17f4d45fbc
making string conversions explicit
2000-04-03 08:04:52 +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]
d459b2ef64
Converting usage of ::GetIID() to NS_GET_IID().
...
Bug #20232 , [email protected]
2000-01-11 20:49:15 +00:00
[email protected]
20621227af
updated xPL license boilerplate to v1.1, [email protected] ,[email protected]
1999-11-06 03:43:54 +00:00
[email protected]
824ba18df3
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +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]
0e5f01a0bd
removed potential memory deref errors
1999-07-17 11:08:28 +00:00
[email protected]
cf4b948f0d
converted GetBuffer calls to ToNewCString for prunichar reasons
1999-07-07 14:38:39 +00:00
[email protected]
753ac43fff
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00
[email protected]
3737aa0d15
NECKO ifdef (ifdef'd _off_ by default) this checkin should not impact anything. checkin approved. If someone runs into a problem, call me at 303.546.0061.
1999-06-18 17:34:08 +00:00
[email protected]
d6c0ada379
make destructor virtual
1999-05-13 02:11:09 +00:00
[email protected]
e1e7c66ed7
For handling illegal-contents in tables
1999-04-15 20:16:24 +00:00
[email protected]
811ff5d060
Added nsIHTMLContentSink::DoFragment() method.
...
Added support for conversion of HTML entities in output
1999-03-15 05:08:36 +00:00
[email protected]
6b3332eb45
Changed nsIContentSink->NotifyError() to accept an nsParserError argument. This change is needed for propagating errors from the new expat parser.
1999-03-06 02:01:11 +00:00
[email protected]
472768bedc
use macro to get operator new correct
1999-02-26 19:57:18 +00:00
[email protected]
4de84573ef
changed all html tags to lower case
1999-02-12 06:17:06 +00:00
[email protected]
79f3baccaa
Changed include
1999-01-09 01:19:49 +00:00
[email protected]
4aaec0bad1
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
1998-12-16 05:40:20 +00:00
[email protected]
1257b18f81
Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser.
1998-12-11 17:02:37 +00:00
[email protected]
08119650b3
Added XML display support. Added NotifyError method to nsIContentSink
1998-11-11 22:04:42 +00:00
[email protected]
caca79a694
changed contentsink API to support XML
1998-11-10 04:20:40 +00:00
[email protected]
c638587fef
Removed the PushMark method
1998-08-28 16:18:14 +00:00
[email protected]
4c4281fa01
Revised sink API's and others to be more xpcom'ish
1998-07-15 22:30:39 +00:00
michaelp
1422e76317
fixed build.
1998-06-23 05:26:58 +00:00
jevering
7b456eb9a5
Dont process anything but html files from within the debug robot.
...
ProcessLink() ignores anything else using a gawd-awful nasty hack.
1998-06-04 01:19:25 +00:00
jevering
f1174128f0
Changing the debug robot to be able to cope with the parser push model.
...
Updated the robot sink apis.
Fixed the global url holder in the destructor of the parser.
Changed the robot observer to set a flag when completed parsing of a
url so that it doesn't create lottsa little parsers.
1998-05-28 00:21:34 +00:00
jevering
e5d7960a59
Fixed compilation error by adding appropriate new nsIHTMLContentSink
...
members to the RobotSink class.
1998-05-13 21:45:24 +00:00
kipp
4683c6f4c0
moved to pub
1998-04-13 20:24:54 +00:00