44 Commits

Author SHA1 Message Date
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
harishd%netscape.com
476668ebbc 105137 - Eliminate nsTokens, nsParserNode usage for xml/xbl/xul/rdf documents. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111618 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 01:37:50 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +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
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +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
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +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
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +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
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49: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
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +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
24ccdaeb04 removed potential memory deref errors
git-svn-id: svn://10.0.0.236/trunk@39858 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-17 11:08:28 +00:00
valeski%netscape.com
3bbecc3e95 converted GetBuffer calls to ToNewCString for prunichar reasons
git-svn-id: svn://10.0.0.236/trunk@38697 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 14:38:39 +00:00
warren%netscape.com
06d707be48 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
valeski%netscape.com
4fa4e2e84d 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.
git-svn-id: svn://10.0.0.236/trunk@35863 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-18 17:34:08 +00:00
sspitzer%netscape.com
29821c1907 make destructor virtual
git-svn-id: svn://10.0.0.236/trunk@31371 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 02:11:09 +00:00
harishd%netscape.com
99e69cd449 For handling illegal-contents in tables
git-svn-id: svn://10.0.0.236/trunk@27640 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-15 20:16:24 +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
nisheeth%netscape.com
0127c619d0 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@23031 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 02:01:11 +00:00
kipp%netscape.com
31f557d779 use macro to get operator new correct
git-svn-id: svn://10.0.0.236/trunk@22203 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-26 19:57:18 +00:00
peterl%netscape.com
32592fa6e1 changed all html tags to lower case
git-svn-id: svn://10.0.0.236/trunk@20541 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-12 06:17:06 +00:00
dcone%netscape.com
bda28e3c9e Changed include
git-svn-id: svn://10.0.0.236/trunk@17439 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:19:49 +00:00
warren%netscape.com
5f54c1af03 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +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
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
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
michaelp
4f01298ca8 fixed build.
git-svn-id: svn://10.0.0.236/trunk@4281 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-23 05:26:58 +00:00
jevering
3f6ceaf928 Dont process anything but html files from within the debug robot.
ProcessLink() ignores anything else using a gawd-awful nasty hack.


git-svn-id: svn://10.0.0.236/trunk@3153 18797224-902f-48f8-a5cc-f745e15eee43
1998-06-04 01:19:25 +00:00
jevering
21f4b2f1e9 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.


git-svn-id: svn://10.0.0.236/trunk@2439 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 00:21:34 +00:00
jevering
76d0c4b9da Fixed compilation error by adding appropriate new nsIHTMLContentSink
members to the RobotSink class.


git-svn-id: svn://10.0.0.236/trunk@1551 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-13 21:45:24 +00:00
kipp
fb1503758e moved to pub
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00