Commit Graph

174 Commits

Author SHA1 Message Date
vidur%netscape.com
7f69926fb0 Fix for bug 15118. XML content sink now processes the DOCTYPE. r=jst,nisheeth 2000-06-17 01:49:19 +00:00
vidur%netscape.com
0a4cbc9ddb 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 2000-06-17 01:46:58 +00:00
nisheeth%netscape.com
41c8901b6b Checking in patch from Andreas to fix Mozilla's XSL hooks (bug 36038). Does not affect the default mozilla build. 2000-06-16 23:29:19 +00:00
Peter.VanderBeken%pandora.be
e8f626f517 Reenable creation of HTML elements in XML documents. r=nisheeth, r=kin, a=waterson. 2000-06-15 17:48:19 +00:00
dbaron%fas.harvard.edu
7d6c098aa9 Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com 2000-06-15 02:33:22 +00:00
dbaron%fas.harvard.edu
fe4312e39e Fix bug 38766 (JS errors given wrong for linked scripts in XML documents), nsbeta2+. r=harishd@netscape.com 2000-06-15 02:22:09 +00:00
axel%pike.org
fe14e09553 Code cleanup, XSL->MOZ_XSL, r=nisheeth, a=waterson 2000-06-14 07:35:26 +00:00
mjudge%netscape.com
a87466361e fixing leaks! r=scc bug=34896 2000-06-09 04:16:50 +00:00
mkaply%us.ibm.com
960c583bb7 # 37239
r = rickg, a = brendan
OS/2 bringup continues on M16 - Changes for VisualAge build (PR_CALLBACK)
2000-05-31 14:09:34 +00:00
jst%netscape.com
8b0e02f751 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 2000-05-25 23:48:45 +00:00
heikki%citec.fi
a39c0c00c5 Bug 39715. a=waterson, r=jst. 2000-05-25 13:50:41 +00:00
hyatt%netscape.com
21e5ef59a2 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
jst%netscape.com
a8df119aa0 Add null pointer check. 2000-05-17 05:38:57 +00:00
jst%netscape.com
62324c1e44 Implementing getElementsByTagNameNS() for XML and HTML documents. 2000-05-16 00:55:05 +00:00
jst%netscape.com
63e304e863 Implementing createElementNS(). 2000-05-14 23:55:04 +00:00
nisheeth%netscape.com
ad2a582c8d Removing include of windows.h in and ifdef XSL section of the code. Does not affect mozilla build. 2000-05-12 04:40:55 +00:00
jdunn%netscape.com
e38dd762d4 backing out previous change, since axel backed out his autoconf.mk.in change
r= jgaunt@netscape.com
2000-05-12 03:42:02 +00:00
jdunn%netscape.com
2c6f0f9c03 fixing hpux 11.00 build and autobahn's commercial build
I mentioned this to Axel but he was going to bed...
r= jgaunt@netscape.com
2000-05-12 02:42:54 +00:00
axel%pike.org
44a79e2240 Get XSLT going for unix, patch by andreas.otte@primus-online.de,
r=jst@netscape.com
2000-05-11 22:45:24 +00:00
jst%netscape.com
ee4b181034 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. 2000-05-10 13:13:39 +00:00
heikki%citec.fi
14cbdd72a2 Implemented actuate=onLoad for simple XLinks. r=nisheeth. 2000-05-09 07:30:21 +00:00
nisheeth%netscape.com
7e37fb4356 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.
2000-05-01 06:58:53 +00:00
scc%netscape.com
52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
heikki%citec.fi
d06f3c7d91 Missing QI entry for an interface we inherit from. Found by ddediu@usa.net, thanks. r=me. 2000-04-13 12:19:50 +00:00
jst%netscape.com
94e684ba9d Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now. 2000-04-02 17:46:30 +00:00
nisheeth%netscape.com
0111dba11b Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches. 2000-04-01 00:39:15 +00:00
nisheeth%netscape.com
bc23c89148 r=pollmann. Fix for bug 29395. XML error messages now show up in the content area for XML, RDF, and XUL files. Earlier, they would only show up for XML files.
- Generate tokens in the expat tokenizer to display an XML error message.
- Process those tokens in the XML DTD
- Add a SetStringValue() method to CToken that accepts an nsString parameter.
- Removed code in the XML content sink's NotifyError() method to create error message content.
2000-03-30 01:41:48 +00:00
norris%netscape.com
4054cc5f8f Fix bug 7264 All JavaScript running with correct principals
r=mstoltz
2000-03-28 03:59:46 +00:00
nisheeth%netscape.com
943ee880f3 r=pollmann. Fix for bug 17643.
- Rewrote GetQuotedAttributeValue() so that it handles whitespace and attribute names inside attribute values.
- The xml stylesheet PI now only needs a href attribute to work right.  Other attributes like title, media, alternate, default to null.  The type attribute defaults to "text/css".
2000-03-28 00:18:13 +00:00
scc%netscape.com
0f4a2b3d8c small changes to clients of string converting APIs 2000-03-26 10:06:21 +00:00
norris%netscape.com
4eb52aa84b Fix
32088 Circumventing Same Origin security policy using javascript: URLs
        32040 about: can't be link
Also remove deprecated method
r=mstoltz
2000-03-24 22:15:37 +00:00
nisheeth%netscape.com
77b74c100d 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. 2000-03-21 03:25:16 +00:00
rickg%netscape.com
e367c59cd0 remove calls to deprecated string methods 2000-03-12 10:02:40 +00:00
tbogard%aol.net
7c7fc96d5d Get the contentViewer from the docShell APIs rather than the webShell ones. 2000-03-11 00:29:47 +00:00
tbogard%aol.net
48135721ba Converted a number of places to use the docShell APIs instead of the webShell ones. 2000-03-11 00:28:44 +00:00
cata%netscape.com
639f9aae98 Backing out fix for #7886 to fix regression #30299 2000-03-04 21:44:58 +00:00
cata%netscape.com
571ffe6149 last bit in activating charset override 2000-03-03 02:21:24 +00:00
tbogard%aol.net
4eec4fb506 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 2000-03-02 07:13:02 +00:00
norris%netscape.com
d64387736b Fix 28612 META Refresh allowed in Mail/News
r=mstoltz,a=jar
Fix 28658 File upload vulnerability
r=vidur,a=jar
2000-02-23 22:34:40 +00:00
nisheeth%netscape.com
0e17677a2d r=pollmann. Fix for PDT+ bug 28556. We were leaking nsIAtom's in the XML content sink. Thanks to Patrick Beard for providing the fix. 2000-02-23 22:16:03 +00:00
jbetak%netscape.com
3881911814 bug 12502, View Source doesn't display non UTF-8 charsets on doc's w/o HTTP or Meta
r=ftang
a=bobj
2000-02-23 01:48:22 +00:00
kmcclusk%netscape.com
cd6f5d237b Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
valeski%netscape.com
a567c875bb r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data. 2000-02-02 23:04:47 +00:00
pp%ludusdesign.com
58065dda04 Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot 2000-02-02 22:24:56 +00:00
nisheeth%netscape.com
22a5959edb 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. 2000-01-24 06:43:15 +00:00
jst%citec.fi
22c68ca282 Fixing build bustage on linux, added a missing .get() on a nsCOMPtr. a=leaf@mozilla.org 2000-01-21 02:30:02 +00:00
vidur%netscape.com
38aef52a2f a=chofmann. r=nisheeth, hyatt. Revised fix for bug 24442 and 24524. Switched
reference count handling for the content stack to use nsISupports. The previous
check introduced a leak.
2000-01-21 01:32:32 +00:00
vidur%netscape.com
11ade64c3d a=chofmann. r=vidur, troy. This is Nisheeth checking in on Vidur's machine. This fixes
bug 24442 and bug 24524.  The content stack wasn't addref'ing the content objects pushed
onto it while the content sink destructor was releasing the content objects.  This caused
a crash because the root content object would get freed one too many times.  Now,
PushContent() addrefs the content object before inserting it into the content stack.
2000-01-21 00:05:36 +00:00
mcafee%netscape.com
44049e083f Need newline at end of file for some unixes. a=leaf 2000-01-19 19:17:22 +00:00
hyatt%netscape.com
566aac5bcf Fixing refcounting bugs in the XML content sink, and adding support for
content extensibility.  Scrollbars now really use XUL elements. r=waterson
2000-01-19 04:44:10 +00:00