29 Commits

Author SHA1 Message Date
jst%netscape.com
9d299d36ce Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +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
pollmann%netscape.com
fa49d41052 Bug 65609: (DOM) Allow form elements inside a subtree to find their parent when the subtree is appended/inserted. r=nisheeth@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@91014 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 00:45:52 +00:00
heikki%netscape.com
80b36e2891 Checking in changes needed for splitting layout into two separate libraries. r=jst@netscape.com, sr=waterson@netscape.com. Not part of the default build yet.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
vidur%netscape.com
5624d576e9 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
git-svn-id: svn://10.0.0.236/trunk@85317 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-22 23:11:02 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
vidur%netscape.com
33d6574ffe Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst
git-svn-id: svn://10.0.0.236/trunk@83552 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-12 21:58:13 +00:00
harishd%netscape.com
8ce4b6eeb9 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.


git-svn-id: svn://10.0.0.236/trunk@79974 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-26 19:19:28 +00:00
harishd%netscape.com
4766df6dca 7670 - Enable NOSCRIPT.
r=jst


git-svn-id: svn://10.0.0.236/trunk@77891 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 18:17:43 +00:00
nisheeth%netscape.com
7a3c35beaa Fix for bug 42196. A simple patch from Rod Spears to prevent asserts that were firing on reading mail messages.
git-svn-id: svn://10.0.0.236/trunk@73300 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-27 06:56:08 +00:00
harishd%netscape.com
bab99092a1 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.


git-svn-id: svn://10.0.0.236/trunk@71803 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-08 21:32:09 +00:00
jst%netscape.com
0f0b4d6367 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 waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@69034 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-10 13:13:39 +00:00
scc%netscape.com
7741d6c076 making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66139 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-16 11:19:26 +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
akkana%netscape.com
7b2f1553b5 Use if instead of switch, to eliminate warnings. r=slamm
git-svn-id: svn://10.0.0.236/trunk@57337 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 02:24:29 +00:00
akkana%netscape.com
bf073d110f Fix a huge slew of warnings. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@57141 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 01:20:58 +00:00
vidur%netscape.com
4a4cce66b8 Fix for bug 21682. BASE tag was ignored in the fragment content sink. Added HTML element creation method that takes an ID. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@57035 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 23:36:45 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
vidur%netscape.com
529603023b Converted parser into a module. Removed usage of static parser methods and used nsIParserService and nsIDTD methods instead. To be reviewed by RickG.
git-svn-id: svn://10.0.0.236/trunk@49502 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 22:07:04 +00:00
vidur%netscape.com
790cc367cf Get rid of circular reference between sink and parser. Fix for bug 8975.
git-svn-id: svn://10.0.0.236/trunk@42149 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-04 18:25:23 +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
vidur%netscape.com
7ff96c159d Deal with multiple BODY elements passed by the parser by ignoring all but the first
git-svn-id: svn://10.0.0.236/trunk@40606 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-22 04:46:57 +00:00
peterl%netscape.com
25d69e763c update to new entity lookup api
git-svn-id: svn://10.0.0.236/trunk@39942 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:22:49 +00:00
akkana%netscape.com
9ed6178def Better place to flush the buffer, suggested by Vidur
git-svn-id: svn://10.0.0.236/trunk@37298 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 00:26:06 +00:00
akkana%netscape.com
cb70a78bf8 Call FlushText after calling AddText, to keep from dropping text at the end of the fragment
git-svn-id: svn://10.0.0.236/trunk@37281 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 23:39:15 +00:00
akkana%netscape.com
9934414824 Fix warnings, mostly from conflicts with the index routine declared in string.h on Linux
git-svn-id: svn://10.0.0.236/trunk@37235 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 21:27:10 +00:00
akkana%netscape.com
435dce283a Part of Vidur's html fragment changes: files which aren't in the build yet
git-svn-id: svn://10.0.0.236/trunk@33627 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:30:12 +00:00
vidur%netscape.com
dd84ad6b9c possibly temporary sink implementation to build a document fragment.
git-svn-id: svn://10.0.0.236/trunk@33209 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-29 01:29:01 +00:00