42 Commits

Author SHA1 Message Date
bryner%brianryner.com
6cff828c38 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@194922 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:33 +00:00
bzbarsky%mit.edu
7a870938fd Make sure to wrap a buffered stream around the stream we're passed before
sending it to the parser (which expects a buffered stream).  Bug 287409,
r=darin, sr=jst


git-svn-id: svn://10.0.0.236/trunk@194892 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:03 +00:00
vladimir%pobox.com
f839c310fc b=253954, let nsDOMParser detect charset from xml entity decl -- finally remembered to land this; r=bz,sr=shaver
git-svn-id: svn://10.0.0.236/trunk@194891 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:02 +00:00
vladimir%pobox.com
5bdf7e3a3f fixy fixy
git-svn-id: svn://10.0.0.236/trunk@194890 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:01 +00:00
vladimir%pobox.com
4dbb2a3374 b=250119, xmlextras parsestring/parsestream should use autf8string. r=jst, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@194889 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:39:00 +00:00
bzbarsky%mit.edu
e0b44524b3 Fix Windows bustage.
git-svn-id: svn://10.0.0.236/trunk@194888 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:59 +00:00
bzbarsky%mit.edu
0f1011aabb Make sure to parse the data as UTF-8, since we serialized it as UTF8. Bug
240717, r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@194887 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:58 +00:00
gerv%gerv.net
31f46ef5ad Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@194886 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:57 +00:00
jst%mozilla.jstenback.com
ec2aa0533d Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@194876 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:47 +00:00
jst%mozilla.jstenback.com
0fa6f0e5c3 Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com.
git-svn-id: svn://10.0.0.236/trunk@194874 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:45 +00:00
jst%mozilla.jstenback.com
fcc9efb565 General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@194871 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:42 +00:00
bryner%brianryner.com
6849297bf8 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@194870 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:41 +00:00
jaggernaut%netscape.com
f89c080005 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194864 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:35 +00:00
jst%netscape.com
4c20a6ac3d Fixing more of bug 209884. Same change that was done all over the place in the original patch, sr=me.
git-svn-id: svn://10.0.0.236/trunk@194859 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:30 +00:00
caillon%returnzero.com
ea6f77723e Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@194858 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:29 +00:00
alecf%flett.org
2a7347891a fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser


git-svn-id: svn://10.0.0.236/trunk@194857 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:28 +00:00
varga%netscape.com
1cc4a49250 Fix for bug 208912. DOMParser produces documents with about:blank uri.
r=heikki, sr=peterv


git-svn-id: svn://10.0.0.236/trunk@194856 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:27 +00:00
heikki%netscape.com
4218691e03 Bug 166978, XMLHttpRequest does not load synchronously in embedding applications, r=sicking, sr=darin. Bug 111614, DOMParser.parseFromString in modal dialog makes it non-modal. parseFromString also does not work in embedding when loading files that block the parser (like files with xml-stylesheet PI). r=sicking, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@194849 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:20 +00:00
dbaron%dbaron.org
0c34372d9f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@194847 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:18 +00:00
dougt%netscape.com
29939d0b12 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@194829 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:38:00 +00:00
darin%netscape.com
e4284b963b b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@194822 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:53 +00:00
peterv%netscape.com
f31c693877 Fix for bug 92377 (Build failure: dom/src/base/nsDOMClassInfo.cpp depends on extensions/xmlextras). r=shaver, sr=jst, a=asa.
git-svn-id: svn://10.0.0.236/trunk@194819 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:50 +00:00
jaggernaut%netscape.com
4b67f492d3 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@194815 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:46 +00:00
jaggernaut%netscape.com
84851ffef0 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@194810 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:41 +00:00
gerv%gerv.net
2843932dbb License changes, take 2. Bug 98089. mozilla/extensions/.
git-svn-id: svn://10.0.0.236/trunk@194808 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:39 +00:00
gerv%gerv.net
f52ed5415a Oops.
git-svn-id: svn://10.0.0.236/trunk@194807 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:38 +00:00
scc%mozilla.org
68dd18c32a bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@194806 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:37 +00:00
heikki%netscape.com
6b7265d1ff Bug 78622, DOMParser and XMLHttpRequest failures when parser blocked (with xml-stylesheet for example). r=harishd,sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@194804 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:35 +00:00
jaggernaut%netscape.com
7ab07c36ee Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@194796 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:27 +00:00
jst%netscape.com
72641729cc Removing use of obsolete macros for defining lists of interfaces used by the DOM classinfo code. r=pollmann@netscape.com, rs=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@194795 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:26 +00:00
jst%netscape.com
7d0c1bfcd2 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@194786 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:17 +00:00
heikki%netscape.com
62d7fe2e8b Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@194784 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:15 +00:00
darin%netscape.com
38574a7b53 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@194782 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:13 +00:00
dougt%netscape.com
2d8dc87647 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.

r=darin@netscape.com
sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@194776 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:07 +00:00
disttsc%bart.nl
e1b8bb3932 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@194775 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:06 +00:00
dougt%netscape.com
9e328643fa 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


git-svn-id: svn://10.0.0.236/trunk@194774 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:05 +00:00
darin%netscape.com
60c524a7f5 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@194773 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:04 +00:00
heikki%netscape.com
7103d6932e Set out param in case of error and some minor optimizations. r=jst, sr=vidur.
git-svn-id: svn://10.0.0.236/trunk@194772 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:03 +00:00
heikki%netscape.com
9d4d892720 Not part of Netscape 6.0 package. Checking in patches from toml@us.ibm.com. These fix bug 55508 (DOMParser does not work without script environment) and bug 55599 (add GetChannel method to nsIXMLHTTPRequest), as well as add a test program. r=heikki, a=vidur.
git-svn-id: svn://10.0.0.236/trunk@194770 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:01 +00:00
rayw%netscape.com
e7a618ccb9 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@194769 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:37:00 +00:00
warren%netscape.com
46997da3de Bug 46864 - Embedding needs a name attribute on nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@194767 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:58 +00:00
vidur%netscape.com
7f8ce6a24c Added new parser interface that does string/stream to DOM document parsing. This is not part of the Seamonkey build.
git-svn-id: svn://10.0.0.236/trunk@194766 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 03:36:57 +00:00