cvshook%sicking.cc
f95c92ff95
Bug 311785: Simplify the nsIHTMLContentSink interface
...
r=mrbkap sr=peterv
git-svn-id: svn://10.0.0.236/trunk@182699 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-21 15:39:06 +00:00
mrbkap%gmail.com
3deda508c0
bug 272702: Remove skipped content. This simplifies the code handling <script>, <style> and related tags and makes the nsIHTMLContentSink interface just that much easier to implement. This also allows <object> tags to appear in the head with children. r=sicking sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@179922 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-09 19:15:06 +00:00
bzbarsky%mit.edu
a8c7d445d5
Make sure that a reflow flush on the document makes the sink start layout if
...
needed. Bug 253951, r=mrbkap, sr=jst
git-svn-id: svn://10.0.0.236/trunk@178851 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 20:56:58 +00:00
jst%mozilla.jstenback.com
bbbde81598
Fixing bug 265334. Adding API for embedders etc to listen to data fed to the parser from the network. r=darin@meer.net, sr=brendan@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@164795 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-02 19:52:32 +00:00
bzbarsky%mit.edu
73690f9d73
Change FlushPendingNotifications to have more granularity and update callers to
...
only flush the things they really need flushed. Bug 144072, r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@157037 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-27 22:08:42 +00:00
roc+%cs.cmu.edu
bdc7e5f59b
Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin
...
git-svn-id: svn://10.0.0.236/trunk@156785 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-22 22:15:22 +00:00
peterv%propagandism.org
7697906006
Merging patch by gerv (from mozilla/htmlparser).
...
Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155383 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-23 13:24:28 +00:00
bryner%brianryner.com
23af8f3c42
Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan.
...
git-svn-id: svn://10.0.0.236/trunk@146618 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-07 22:24:21 +00:00
dbaron%dbaron.org
20a7c5ebb1
Remove unused content quality stubs. b=111346 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@145076 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-22 18:38:08 +00:00
alecf%flett.org
71e5d724e5
fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
...
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
git-svn-id: svn://10.0.0.236/trunk@143800 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 16:40:34 +00:00
hpradhan%hotpop.com
12f1dc7f84
bug 196829 : Removed unused DoFragment() methods from parser and contentsinks r=harishd sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@140742 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 07:19:09 +00:00
harishd%netscape.com
fa53826eab
Ignore noxxx content when copy pasting into a plain text editor. b=97687, r=peterv, sr=heikki
...
git-svn-id: svn://10.0.0.236/trunk@136430 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 20:24:03 +00:00
harishd%netscape.com
ba933c6526
Avoid the call to OpenHead and CloseHead with incorrect parserNode. b=182021, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@135841 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-03 23:17:22 +00:00
harishd%netscape.com
1eb8cce6ae
Do not hold parser nodes, that do not contain residual style information, longer than necessary. By recycling the nodes earlier the number of malloc calls and the peak memory usage can be reduced. b=177994, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@134114 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 18:29:35 +00:00
bzbarsky%mit.edu
4f51e5b41e
use prefix ++, not postfix ++. Bug 82615, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@128743 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:23:22 +00:00
dbaron%fas.harvard.edu
7c4652cc16
Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
harishd%netscape.com
4737cceba4
Fixed a crash my making sure that the CNavDTD and HTMLContentSink stacks are synchronized when handling a FORM. b=133410, r=heikki, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@118812 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 23:50:44 +00:00
dbaron%fas.harvard.edu
772b5b8c58
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117354 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-24 00:16:18 +00:00
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