Commit Graph
137 Commits
Author SHA1 Message Date
[email protected] a94daa1876 Checking in Alex Fritze's ([email protected]) changes to make xmldoc.createElementNS() create the correct type of element. [email protected], sr=me (and slight modifications done by me). 2001-11-17 05:32:30 +00:00
[email protected] 967b804b1f Fix for 106153, avoid building a content model for XBL event handlers, r=bryner, sr=waterson 2001-11-02 01:53:13 +00:00
[email protected] 90ec49776d Improve how we get our charset for stylesheets. Look at HTTP header,
charset attribute on <link> or <?xml-stylesheet?> and at the document's
charset.  Bugs 57164, 72658, 83207.  r=pierre, sr=attinasi
2001-10-25 00:34:20 +00:00
[email protected] 2605bce49e Extraneous Symbol Removal. Patch by Jon Smirl [email protected]. [email protected], [email protected]. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527 2001-10-23 01:37:21 +00:00
[email protected] 4370c6dd74 105896 - CharsetAlias is a COMPtr and therefore no need for ReleaseService(). This isa regression caused by the fix to bug 88363. r=heikki, sr=waterson. 2001-10-22 21:09:20 +00:00
[email protected] dee920ec8e #88363 Site with duplicate Content-Type loads with incorrect encoding
r=yokoyama sr=waterson
2001-10-10 23:37:18 +00:00
[email protected] 2cea53f1bb 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.
2001-09-28 23:08:17 +00:00
[email protected] 5ba3ff1a0d License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
[email protected] 25b8c0a74a Add a document.contentType attribute to allow getting the MIME type of
the current document from JS.  The rest is moving around stuff to deal
with nsIDocument already declaring GetContentType.  bug 73847, r=peterv,
sr=jst
2001-09-24 22:43:23 +00:00
[email protected] cf08ab4426 Fixing bug 100847. Removing nsIXMLDocument::SetTitle() since it's not needed any more. [email protected], [email protected] 2001-09-21 03:55:50 +00:00
[email protected] 776f6ffa34 Tweaking core document classname to make my last patch actually do the right thin in all cases. 2001-09-21 03:23:33 +00:00
[email protected] fd48fd29da Fixing bug 100795. Removign the method load() from HTML documents, implement it only on XML documents since the name 'load' blocks existing global functions named 'load' from being called from event handlers in the document (since document.load is found before window.load in the scope of event handlers). HTMLDocument.load and XULDocument.load were never implemented any way. [email protected], [email protected] 2001-09-21 01:07:53 +00:00
[email protected] 2930b88922 Fire DOM event when title changes. r/sr=waterson,jst 2001-09-20 07:43:56 +00:00
[email protected] 0b20fc36bb Bug 66835 - fix method hiding warnings by renaming some methods on nsIContent. r=jag, sr=jst. 2001-08-17 08:14:14 +00:00
[email protected] 89bd085b18 91320 - Removed unused files from htmlparser module and created a public directory.
r= heikki
sr=vidur
2001-08-03 21:15:15 +00:00
[email protected] c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
[email protected] d6e999f56b Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. [email protected], [email protected] 2001-07-18 07:48:12 +00:00
[email protected] a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
[email protected] baba14c5c8 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
[email protected] 5b8dbf56eb Bug 75700, fixed bad internal namespace with xmlns=''. r=harishd,sr=jst. 2001-06-26 22:25:33 +00:00
[email protected] 2fd81e4ed5 86019 - Change stack-walking code in caps to keep functions from inheriting privileges
from their caller. [email protected], [email protected], [email protected], PDT+

86982 - Add same-origin security check to XMLDocument::Load(). r,[email protected],
[email protected]

84191 - Fixing regression in Open URL dialog by not calling CheckLoadURI when it isn't
needed. [email protected], [email protected], [email protected]
2001-06-22 02:08:10 +00:00
[email protected] 101758d7be Fix for bug 7515 (load stylesheets inserted dynamically through the DOM). r=heikki, harishd. sr=jst. 2001-05-19 02:59:15 +00:00
[email protected] 45489e7c1b #72299 User could not override charset from http server
r=nhotta, sr=jst
2001-05-15 03:42:33 +00:00
[email protected] 6e88a989f0 Fix OS/2 build bustage from fix to bug 29171. 2001-05-12 07:12:33 +00:00
[email protected] 13f5aa7a8d Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
[email protected] 650643b391 Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by [email protected] and [email protected], also some changes done by [email protected], [email protected] and [email protected]. r= and sr= by [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected]. 2001-05-08 16:46:42 +00:00
[email protected] 29fedf5488 Bugs 67887, 67893, 67882, 68185, 73160, 77923. Added support for XHTML base href and target attributes, meta http-equiv and link href. Fixed the blank page bug when xml-stylesheet PI did not contain href attribute. Fixed getElementById() to not match XHTML name attribute. This fix also includes some minor cleanup. r=nisheeth, sr=vidur. 2001-04-30 23:35:09 +00:00
[email protected] 39c5431a85 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
[email protected] c949e59e12 Fix for bug 45377 (document base is not set right in nsXMLDocument::Load). Code by heikki, r=me, sr=jst. 2001-04-17 09:46:29 +00:00
[email protected] fa6783f615 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
[email protected] 84ec922165 Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur. 2001-03-23 02:27:10 +00:00
[email protected] d10317ce9b Didn't notice tree was closed, backing out to wait for open. 2001-03-21 23:35:22 +00:00
[email protected] dce6a9a29b Bug 72675, document.load() can cause crash if loading HTML document. r=harishd,sr=vidur. 2001-03-21 23:20:12 +00:00
[email protected] ccb9a36a24 Removed unused variable. NS_PAGE_LOAD is nsEvent, not nsMouseEvent. r=harishd. 2001-03-20 00:19:48 +00:00
[email protected] 23e2fb393a Expose Reset from nsIDocument. Implement CreateAttributeNS for XML documents. r=jag, sr=jst. 2001-03-12 06:36:20 +00:00
[email protected] 4d06fc278c Renaming NS_PARSER_IID to NS_PARSER_CID, because it *is* a CID. r=jag, sr=jst. 2001-03-10 21:02:12 +00:00
[email protected] 82d8a439a8 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
[email protected] d865bfd3cb Relanding Necko Changes.
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.

[email protected]
[email protected]
2001-02-21 20:38:08 +00:00
[email protected] 25edbb9354 Checking in changes needed for splitting layout into two separate libraries. [email protected], [email protected]. Not part of the default build yet. 2001-02-19 12:55:42 +00:00
[email protected] c6327f63d5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
[email protected] a70fce6f87 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.

[email protected]
[email protected]
2001-02-10 00:16:26 +00:00
[email protected] 50f91d2cea 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
[email protected] 832bfadbb9 Fixing bug 47733. Making document.implementation.createDocument() set up the root element in the document correctly so that it's parent and owner document is the document that it's in. [email protected], [email protected] 2001-01-23 07:42:20 +00:00
[email protected] 3d9f223ced Bug 45420, createCDATASection should check for input ']]>' and some null pointer checks. Removed a bogus comment. Original patch from Taras Tielkes, needed to modify a little because we are now using nsAReadableStrings. r=jst, a=vidur. 2001-01-05 00:35:20 +00:00
[email protected] c0ed0d0271 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
[email protected] 7467b66b16 Fixing bug 57466. XML documents need to do principal fixup on redirect. sr=vidur, r=mstolts, r=pollmann. 2000-12-09 02:04:36 +00:00
[email protected] 0462ea4ce8 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
[email protected] 7730ce0cd3 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
[email protected] 5aca210d6b Fixing leak in nsXMLDocument to get the tree reopened. r=mccabe, brendan 2000-09-21 19:48:11 +00:00
[email protected] f093748f03 Fixing 52497, security problem in document.implementation, r=jst a=brendan 2000-09-20 23:38:28 +00:00