Commit Graph

138 Commits

Author SHA1 Message Date
heikki%netscape.com
915749084a 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. 2001-02-19 12:55:42 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
harishd%netscape.com
bc2996109d 68008 - After evaluating the external JS content make sure to that the parser is not blocked before resumeparsing.
r=jst sr=vidur a=blizzard
68160 - Set stream listener state to eOnStop only on the final context.
r=nisheeth sr=vidur a=blizzard.
2001-02-09 22:36:23 +00:00
harishd%netscape.com
a7c109086e Use resumeParsing instead of EnableParse().
r=jst
sr=vidur
2001-02-06 23:31:17 +00:00
heikki%netscape.com
87c0c7accd Bugs 53615 and 51815. XHTML title element did not change window title, and textarea did not have default text. r=harishd, sr=vidur. 2001-02-03 01:16:20 +00:00
dbaron%fas.harvard.edu
b4301cc0a7 Change the way nsDocument stores its children by replacing separate nsVoidArrays for prolog and epilog with a single nsISupportsArray that also holds the root element. Using this change, simplify many of the child handling methods in nsDocument (and fix some bugs in them). Since nsDocument no longer uses prolog and epilog, remove AppendToProlog and AppendToEpilog from nsIDocument. b=47850 r=jst@netscape.com sr=vidur@netscape.com 2001-01-25 14:19:38 +00:00
vidur%netscape.com
6962d4a540 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 2001-01-22 23:11:02 +00:00
heikki%netscape.com
c97d0a8243 Bug 63560, XML content sink was not adding script element contents to the content model. Includes also minor optimizations and fixes 2 compiler warnings. r=harishd, a=vidur. 2001-01-04 00:30:11 +00:00
jst%netscape.com
1196cb233f Backing out my last change here, this change didn't do what it was supposed to do, not even close. 2000-12-14 06:16:39 +00:00
jst%netscape.com
1bd04c173d Checking in fix for annoying asserts on startup caused by a doctype token problem in the parser that was introduced yesterday, casting char * to PRUnichar * just aint a good idea (although that was only part of the problem). Fix done mostly by heikki@netscape.com, r=heikki, harishd, sr=me. 2000-12-14 02:30:12 +00:00
vidur%netscape.com
4f62c23956 Change to token and parser node interfaces in conjunction with less copying in the parser. r=harishd,heikki sr=jst 2000-12-12 21:58:13 +00:00
heikki%netscape.com
7ff1e2bfe0 Bug 51218, problems with DOCTYPE handling. r=harishd, a=vidur. 2000-12-11 22:21:06 +00:00
heikki%netscape.com
eee8382134 Bug 59675, fixing uninitialized variables. r=jst, a=waterson. 2000-11-27 23:23:28 +00:00
jst%netscape.com
25b8e29ff2 Fixing bug 58888. The content sink was incorrectly releasing the stream loader in its OnStreamComplete() method, this caused a crash when mozilla was running in off-line mode since OnStreamComplete() was called without the sink having a string reference to the stream loader so the incorrect release call in the sink caused a crash later on in necko. sr=rpotts, r=gagan,heikki 2000-11-06 23:22:44 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
heikki%netscape.com
95d323b876 Bug 57437, copied the implementation from HTML. r=adamlock, a=vidur. 2000-10-24 01:03:31 +00:00
mstoltz%netscape.com
f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
Peter.VanderBeken%pandora.be
42e80d8d81 Enabling XSLT hooks in layout in default build. Bug #42228. r=axel@pike.org, a=waterson@mozilla.org. 2000-09-16 20:53:08 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jst%netscape.com
e23849d230 Fixing nsbeta3+ bug 51562. Don't leak nsXMLProcessingInstructions... r=beard&dbaron 2000-09-12 01:51:02 +00:00
Peter.VanderBeken%pandora.be
dba350450c Correct string usage in XSLT hooks. Not part of default build (ifdef'ed). r=nisheeth. 2000-09-04 05:55:00 +00:00
Peter.VanderBeken%pandora.be
197d30c82b Fix XSLT hooks (Preparation for bug #42228). Remove GetAttributeValueAt (Fixes bug #47454). Clean up code. r=jst@netscape.com, a=waterson@netscape.com. 2000-09-02 15:34:07 +00:00
jst%netscape.com
ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
nisheeth%netscape.com
b65a3881e0 - Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
authors to use ID selectors to target elements in an XML document.

- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com)
2000-08-30 00:35:43 +00:00
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
heikki%netscape.com
4df9edb205 Bugs 38399, 40889, 44211. Also fix two compiler warnings (mismatched signed/unsigned). r=jst (bug 44211 r=harishd). 2000-07-28 21:48:08 +00:00
nisheeth%netscape.com
70e9821209 Fix for bug 43019. Does not affect current build. Fixes a unix compile problem for XSL hooks in mozilla. 2000-06-27 01:12:44 +00:00
jst%netscape.com
775588fcf5 Fixing nsbeta2+ bug 33477, completing (more or less) the DOM Level 2 NamedNodeMap implementation, this includes modifying the XML content sink to properly pass attribute prefixes to the content objects. r=vidur@netscape.com 2000-06-23 00:21:32 +00:00
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
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
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
hyatt%netscape.com
21e5ef59a2 fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +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
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
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