dougt%netscape.com
62a8215278
Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
...
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
harishd%netscape.com
1c4e4c74ec
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.
git-svn-id: svn://10.0.0.236/trunk@104152 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 23:08:17 +00:00
gerv%gerv.net
cf694b8116
License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1).
...
git-svn-id: svn://10.0.0.236/trunk@103776 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 00:40:45 +00:00
vidur%netscape.com
599c0d0fe9
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
...
git-svn-id: svn://10.0.0.236/trunk@98320 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:56:58 +00:00
kmcclusk%netscape.com
1823eaba29
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 r=harishd@netscape.com,rickg@netscape.com sr=vidur@netscape.com,attinasi@netscape.com a=chofmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@97651 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 02:06:23 +00:00
harishd%netscape.com
d2199013d8
69455 - enable noframes content when frames are disabled
...
r=heikki,sr=waterson,a=choffmann
git-svn-id: svn://10.0.0.236/trunk@92885 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-21 22:22:15 +00:00
disttsc%bart.nl
abd8de21e5
Change implicit conversion from
...
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|
to explicit |get()|.
Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).
Bug=53057, r=alecf, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
rickg%netscape.com
c98cf928ae
various bug fixes and landed blizzard patch to remove iostream from parser. r=harish, attinasi, kmcclusk; sr=buster
...
git-svn-id: svn://10.0.0.236/trunk@84554 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 03:37:15 +00:00
vidur%netscape.com
3e62b3f9f3
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
...
git-svn-id: svn://10.0.0.236/trunk@83553 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:14 +00:00
harishd%netscape.com
69b6374ae7
7670 - Enabling NOSCRIPT content.
...
47827 - Make sure to check DD's hierarchy.
r=jst
git-svn-id: svn://10.0.0.236/trunk@77890 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:17 +00:00
scc%netscape.com
4cebb949ef
making string conversions explicit
...
git-svn-id: svn://10.0.0.236/trunk@65022 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 08:04:52 +00:00
nisheeth%netscape.com
26ad5f5255
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.
...
git-svn-id: svn://10.0.0.236/trunk@58465 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 06:43:15 +00:00
dmose%mozilla.org
0efb7c174c
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
nisheeth%netscape.com
4aa16e828e
Adding a new parameter, aMode, to nsIContentSink::AddDocTypeDecl.
...
git-svn-id: svn://10.0.0.236/trunk@41447 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-28 06:56:05 +00:00
nisheeth%netscape.com
0069328861
- 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.
git-svn-id: svn://10.0.0.236/trunk@41106 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-26 05:40:25 +00:00
rickg%netscape.com
1de3f3dd0a
fix bugs 8523, 9127, parially fix 8803
...
git-svn-id: svn://10.0.0.236/trunk@38647 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 07:40:35 +00:00
neeti%netscape.com
284fe20f2b
Exporting NS_NewHTMLNullSink() and adding NS_INIT_REFCNT to the constructor.
...
git-svn-id: svn://10.0.0.236/trunk@30673 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 05:22:37 +00:00
harishd%netscape.com
cfd65d2ef9
*** empty log message ***
...
git-svn-id: svn://10.0.0.236/trunk@27617 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:08:49 +00:00
kostello%netscape.com
212c5568d0
Added nsIHTMLContentSink::DoFragment() method.
...
Added support for conversion of HTML entities in output
git-svn-id: svn://10.0.0.236/trunk@24161 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-15 05:08:36 +00:00
alecf%netscape.com
d5ce998bd6
purify fixes from bruce@cybersight.com
...
git-svn-id: svn://10.0.0.236/trunk@23786 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:58:25 +00:00
nisheeth%netscape.com
5016ed7684
Changed nsIContentSink->NotifyError() to accept an nsParserError argument.
...
This change is needed for propagating errors from the new
expat parser.
git-svn-id: svn://10.0.0.236/trunk@23028 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 01:48:11 +00:00
rickg%netscape.com
c8fc6237d4
A wad of changes to the parser. See my update
...
git-svn-id: svn://10.0.0.236/trunk@17433 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:09:02 +00:00
vidur%netscape.com
b0dbe3d498
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.
...
git-svn-id: svn://10.0.0.236/trunk@16261 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 17:02:37 +00:00
vidur%netscape.com
38bf6d6724
Added XML display support. Added NotifyError method to nsIContentSink
...
git-svn-id: svn://10.0.0.236/trunk@14466 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-11 22:04:42 +00:00
rickg%netscape.com
a7c873a99e
changed contentsink API to support XML
...
git-svn-id: svn://10.0.0.236/trunk@14325 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-10 04:20:40 +00:00
kipp%netscape.com
10b6617c48
Fixup AddRef/Release and some constructors to use NS_ADDREF (etc) macros
...
git-svn-id: svn://10.0.0.236/trunk@9955 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:33:48 +00:00
kipp%netscape.com
22faac0a08
Removed the PushMark method
...
git-svn-id: svn://10.0.0.236/trunk@8706 18797224-902f-48f8-a5cc-f745e15eee43
1998-08-28 16:18:14 +00:00
rickg%netscape.com
192449c4bc
warning removal
...
git-svn-id: svn://10.0.0.236/trunk@6479 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-25 02:11:02 +00:00
kipp%netscape.com
04161762b4
Revised sink API's and others to be more xpcom'ish
...
git-svn-id: svn://10.0.0.236/trunk@5652 18797224-902f-48f8-a5cc-f745e15eee43
1998-07-15 22:30:39 +00:00