77 Commits

Author SHA1 Message Date
vidur%netscape.com
756dc76c80 Fix for bug 38349. Implemented nsIDOMNode::CloneNode() and ImportNode() for XML and HTML documents as part of finishing out our DOM1 and DOM2 implementations. Cleanup of DOMImplementation::createDocument. r=jst
git-svn-id: svn://10.0.0.236/trunk@72844 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:56:52 +00:00
vidur%netscape.com
a86b544c90 Fix for bug 9392. document.plugins now aliases to window.navigator.plugins. r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@72709 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 00:53:26 +00:00
vidur%netscape.com
42dd385f64 Work for bug 33475 - completion of Document-related DOM Level 2 support. Null-checks for the empty document case. The documentElement can now be replaced. Load() no longer takes extra unused argument. r=jst,nisheeth
git-svn-id: svn://10.0.0.236/trunk@72468 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-17 01:46:58 +00:00
Peter.VanderBeken%pandora.be
6b63ee0f89 Reenable creation of HTML elements in XML documents. r=nisheeth, r=kin, a=waterson.
git-svn-id: svn://10.0.0.236/trunk@72315 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-15 17:48:19 +00:00
axel%pike.org
b8a7545f4e Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson
git-svn-id: svn://10.0.0.236/trunk@72204 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-14 07:35:26 +00:00
mjudge%netscape.com
f7944757df fixing leaks! r=scc bug=34896
git-svn-id: svn://10.0.0.236/trunk@71869 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:16:50 +00:00
mkaply%us.ibm.com
112434216b # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)


git-svn-id: svn://10.0.0.236/trunk@71166 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-31 14:09:34 +00:00
jst%netscape.com
6472af28e8 Checking in temporary code that lets a user turn on the new DOM Level 2 behavior by setting the 'temp.DOMLevel2update.enabled' preference to true, this is to help with the general DOM update, and it's part of the fix needed for bug 33474. r=vidur@netscape.com, a=pdt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@70878 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 23:48:45 +00:00
heikki%citec.fi
64d56d0a6b Bug 39715. a=waterson, r=jst.
git-svn-id: svn://10.0.0.236/trunk@70834 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:50:41 +00:00
jst%netscape.com
630825d9fa Add null pointer check.
git-svn-id: svn://10.0.0.236/trunk@70317 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 05:38:57 +00:00
jst%netscape.com
a4819fdc9d Implementing getElementsByTagNameNS() for XML and HTML documents.
git-svn-id: svn://10.0.0.236/trunk@69931 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 00:55:05 +00:00
jst%netscape.com
8593c93937 Implementing createElementNS().
git-svn-id: svn://10.0.0.236/trunk@69701 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-14 23:55:04 +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
nisheeth%netscape.com
8a6a52bef1 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.


git-svn-id: svn://10.0.0.236/trunk@67709 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-01 06:58:53 +00:00
scc%netscape.com
b5432ec86e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@66103 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-15 21:18:29 +00:00
jst%netscape.com
c76b431214 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now.
git-svn-id: svn://10.0.0.236/trunk@64942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:46:30 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
nisheeth%netscape.com
9317eafd78 r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
rickg%netscape.com
8a2887eab8 remove calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62711 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 10:02:40 +00:00
tbogard%aol.net
54a675dd69 Converted a number of places to use the docShell APIs instead of the webShell ones.
git-svn-id: svn://10.0.0.236/trunk@62565 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:28:44 +00:00
cata%netscape.com
1d5e18767f Backing out fix for #7886 to fix regression #30299
git-svn-id: svn://10.0.0.236/trunk@62223 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-04 21:44:58 +00:00
cata%netscape.com
39c18d688d last bit in activating charset override
git-svn-id: svn://10.0.0.236/trunk@62106 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 02:21:24 +00:00
tbogard%aol.net
495826cccc nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
git-svn-id: svn://10.0.0.236/trunk@62038 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 07:13:02 +00:00
jbetak%netscape.com
2db71b24f1 bug 12502, View Source doesn't display non UTF-8 charsets on doc's w/o HTTP or Meta
r=ftang
a=bobj


git-svn-id: svn://10.0.0.236/trunk@61467 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 01:48:22 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
hyatt%netscape.com
d165e0ee5c More tweaks.
git-svn-id: svn://10.0.0.236/trunk@57542 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:55:37 +00:00
hyatt%netscape.com
f823b03f70 More massaging to allow for XML docs with no webshells.
git-svn-id: svn://10.0.0.236/trunk@57541 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 10:50:02 +00:00
ftang%netscape.com
17cbeb77e7 fix bug 21234 r=buster reset the hint charset source after access it from the meta charset reload
git-svn-id: svn://10.0.0.236/trunk@55930 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 21:00:47 +00:00
buster%netscape.com
1e648d27d6 moved content-specific data and methods from nsIWebShell to appropriate content viewer interface
no bug number, this is for webshell redesign work
r=rickg, travis


git-svn-id: svn://10.0.0.236/trunk@53979 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-19 07:35:27 +00:00
tbogard%aol.net
67a365111c Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
git-svn-id: svn://10.0.0.236/trunk@53553 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-15 22:17:54 +00:00
ftang%netscape.com
f274743ebb fix 16808. change hard coded utf-8'to UTF-8', get charset hint from webshell. r=nhotta
git-svn-id: svn://10.0.0.236/trunk@53070 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-10 05:50:10 +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
nisheeth%netscape.com
424a4cc34c r=vidur. Fix for bug 9075. Return NS_OK instead of NS_ERROR_NOT_IMPLEMENTED from nsXMLDocument::GetDocType(). This allows script parsing to continue after a document.doctype JS statement is encountered.
git-svn-id: svn://10.0.0.236/trunk@52640 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 01:48: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
rbs%maths.uq.edu.au
328d62f08f [MathML] removing registration hooks. They are now handled by nsLayoutModule.
git-svn-id: svn://10.0.0.236/trunk@50407 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-12 01:48:05 +00:00
rbs%maths.uq.edu.au
7f3f2e7069 Adding remaining MathML hooks. r:peterl.
git-svn-id: svn://10.0.0.236/trunk@49664 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-02 11:05:49 +00:00
kipp%netscape.com
aa5496085d Removed atom table hacks
git-svn-id: svn://10.0.0.236/trunk@49466 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:17:28 +00:00
kipp%netscape.com
8ebf1dd75a Squish a warning or two
git-svn-id: svn://10.0.0.236/trunk@48002 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-17 20:16:37 +00:00
ftang%netscape.com
3c63aad80a fix bug 12500
git-svn-id: svn://10.0.0.236/trunk@45956 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-03 22:48:20 +00:00
nisheeth%netscape.com
623d44aef7 Work in progress to integrate Keith Visco's XSL processor, Transformiix, into Gecko. All code is protected by #ifdef XSL and will not affect the build.
git-svn-id: svn://10.0.0.236/trunk@44988 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-28 07:31:08 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
peterl%netscape.com
8bdeb4e854 string usage cleanup
git-svn-id: svn://10.0.0.236/trunk@39960 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-18 00:34:53 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
peterl%netscape.com
3f714d5360 force quirks off for XML
git-svn-id: svn://10.0.0.236/trunk@38555 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:33:27 +00:00
nisheeth%netscape.com
c89bb22dc5 Adding the architecture for an external transformation engine to hook into Raptor's layout process. One way this architecture can be used is for doing XSL transforms using a 3rd party component that implements the XSL processor. More details will be posted in mozilla.layout.
Currently enabled on windows only.  Set MOZ_XSL to 1 in your environment and build mozilla/layout.


git-svn-id: svn://10.0.0.236/trunk@37185 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 14:12:07 +00:00
warren%netscape.com
fdf6c938bb Necko ifdefs for layout and rdf.
git-svn-id: svn://10.0.0.236/trunk@37005 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-26 06:36:26 +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
peterl%netscape.com
a2fae0d329 tweaks to css loader handling
git-svn-id: svn://10.0.0.236/trunk@32819 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-26 23:59:00 +00:00
peterl%netscape.com
d564d38b2f added css loader support
git-svn-id: svn://10.0.0.236/trunk@32156 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:16:26 +00:00
vidur%netscape.com
5ed31d3cbe Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.
git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-11 20:22:35 +00:00