611 Commits

Author SHA1 Message Date
dougt%netscape.com
175245e2de 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@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
heikki%netscape.com
80b36e2891 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.
git-svn-id: svn://10.0.0.236/trunk@87357 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-19 12:55:42 +00:00
disttsc%bart.nl
e2205bb1be From Small Gods, by Terry Pratchett:
The light was brilliant, crystalline, in a black sky filled with stars.
'Ah. There really is a desert. Does everyone get this?' said Brutha.
WHO KNOWS?
'And what is at the end of the desert?'
JUDGEMENT.
Brutha considered this.
'Which end?'
Death grinned and stepped aside.
What Brutha had thought was a rock in the sand was a hunched figure, sitting clutching its knees. It looked paralysed with fear.
He stared.
'Vorbis?' he said.
He looked at Death.
'But Vobis died a hundred years ago!'
YES. HE HAD TO WALK IT ALL ALONE. ALL ALONE WITH HIMSELF. IF HE DARED.
'He's been here fore a hundred years?'
POSSIBLY NOT. TIME IS DIFFERENT HERE. IT IS . . . MORE PERSONAL.
'Ah. You mean a hundred years can pass like a few seconds?'
A HUNDRED YEARS CAN PASS LIKE INFINITY.
The black-on-black eyes stared imploringly at Brutha, who reached out automatically, without thinking . . . and then hesitated.
HE WAS A MURDERER, said Death. AND A CREATOR OF MURDERERS. A TORTURER. WITHOUT PASSION. CRUEL. CALLOUS. COMPASSIONLESS.
'Yes. I know. He's Vorbis,' said Brutha. Vorbis changed people. Sometimes he changed them into dead people. But he always changed them. That was his triumph.
He sighed.
'But I'm me,' he said.
Vobis stood up, uncertainly, and followed Brutha across the desert.
Death watched them walk away.

The End.


git-svn-id: svn://10.0.0.236/trunk@86791 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:12:57 +00:00
dougt%netscape.com
7af79c83df 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@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
pollmann%netscape.com
2d0d3de45d Bug 42892: Split FlushPendingNotifications in to content and content+frames cases (speed up content list access), r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@86318 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-06 05:46:46 +00:00
dbaron%fas.harvard.edu
bfc35757e1 Reduce unnecessary #includes to speed up compilation. r=bryner/sfraser sr=alecf b=64023
git-svn-id: svn://10.0.0.236/trunk@85638 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-27 16:58:15 +00:00
harishd%netscape.com
3fd88b9a18 Removed CNavDTD dependency.
r=jst
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@85500 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-25 19:33:57 +00:00
jst%netscape.com
ba329b0451 Fixing bug 57772. Hooking document.getSelection() into window.getSelection().toString() which does the right thing (i.e. doesn't produce pretty printed text). r=heikk@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85358 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 07:45:08 +00:00
jst%netscape.com
a12de9afe9 Checking in rods@netscape.com's patch for bug 60049. The implementation of document.clear() in mozilla was incorrectly clearing the whole document, the same method in NS 4.x and IE seem to do nothing so with this patch document.clear() is a nop. r=jst@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@85338 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 02:20:33 +00:00
jst%netscape.com
1f3e4f888b Trivial code cleanup, no bug. Removing unused variable and using nsCOMPtr in stead of doing manual addref/release. r=harishd@netscape.com
git-svn-id: svn://10.0.0.236/trunk@84601 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 22:16:52 +00:00
rods%netscape.com
a6e0d47c5a removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson


git-svn-id: svn://10.0.0.236/trunk@84377 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-04 20:44:42 +00:00
jst%netscape.com
ffe4f795a3 Fixing bug 57534. document.open() is defined to not return anything in the DOM spec but for backwards compatibility it needs to return the document itself. r=blakeross@telocity.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@84254 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-01 20:54:38 +00:00
jst%netscape.com
f5874fe4bc Removing unused CID and doing some whitespace cleanup.
git-svn-id: svn://10.0.0.236/trunk@84062 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 01:01:41 +00:00
jst%netscape.com
66de3dc038 Removing dead code and unused member variables from nsHTMLDocument, r=timeless@mac.com. Oh, and wrap nsHTMLDocument::MatchLayers() in #ifdef NS_IMPLEMENT_DOCUMENT_LAYERS
git-svn-id: svn://10.0.0.236/trunk@84061 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-26 00:39:42 +00:00
jst%netscape.com
80b96c36c3 Fix a refcounting screwup I caused in my last checkin. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@83773 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-16 23:38:56 +00:00
jst%netscape.com
a077967be8 Adding protection for the casae where there's no root element in a document, bug 58477. r=blakeross@telocity.com, sr=scc@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@83661 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-14 22:37:22 +00:00
harishd%netscape.com
859b7a2217 27006 - Don't reload documents with POST form data.
r=rpotts,pollmann
sr=vidur


git-svn-id: svn://10.0.0.236/trunk@82157 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-01 20:25:33 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
pollmann%netscape.com
f75f6c4d49 Bug 13871: Frameset spoofing - cleanup unneeded DOM interface. r=jst, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@81659 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-24 04:35:25 +00:00
pollmann%netscape.com
c08a906df3 Bug 13871: Prevent frameset spoofing r=mstoltz, sr=mscott, a=rpotts
git-svn-id: svn://10.0.0.236/trunk@81449 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-19 10:25:49 +00:00
kmcclusk%netscape.com
e864dbfd62 Prevent flushing of pending events if painting or reflowing bug 56335 a=buster@netscape.com r=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@81283 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-17 05:07:39 +00:00
rods%netscape.com
53b232809c decided it made sense to rename the arg from aName to aId to be less confusing.
Consider this part of my last checkin for Bug 54136.


git-svn-id: svn://10.0.0.236/trunk@80353 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 14:11:19 +00:00
rods%netscape.com
f188eb5e28 Renaming MatchName to MatchId and now it only compares against the element's id and also the name
Bug 54136, r=jst, a=buster


git-svn-id: svn://10.0.0.236/trunk@80351 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-04 14:04:15 +00:00
dougt%netscape.com
e36912633f Restores INCLUDE_XUL #define. b=54248. r/a=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@80197 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-01 05:24:00 +00:00
jst%netscape.com
b45fd7a390 Redoing how 'replaceable' properties on DOM objects are resolved to be compatible with 4.x, with this change named frames in framesets override 'replaceable' properties so that window.toolbar (or any replaceable property) in a frameset document with a frame named 'toolbar' actually resolves to the frame, and not the native toolbar. r/a=brendan, r=rpotts&scc
git-svn-id: svn://10.0.0.236/trunk@79874 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 10:18:07 +00:00
mscott%netscape.com
c1c3ebc382 Bug #51403, 52875 --> don't fall out with a failure just because we can't get a last
modification date for a document... r=a=waterson


git-svn-id: svn://10.0.0.236/trunk@79791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 00:43:40 +00:00
jst%netscape.com
766617aaa5 Fixing nsbeta3+ bug 52724. Fixing an oversight found by David Baron in HTMLDocument::createElement(), this makes document.createElement() be case insensitive. r/a=vidur, r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@79601 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 05:12:44 +00:00
jst%netscape.com
3eb8fb9e34 Fixing nsbeta3+ bug 43741. Making mozilla ignore document.open() calls that are executed while the document is being parsed, this is needed for backwards compatibility. r/a=vidur, r=joki
git-svn-id: svn://10.0.0.236/trunk@79515 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 05:11:59 +00:00
rpotts%netscape.com
7a47636d9e Removed two bogus asserts...
git-svn-id: svn://10.0.0.236/trunk@79273 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-15 06:13:11 +00:00
rayw%netscape.com
31f9bce979 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79224 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 23:20:49 +00:00
mjudge%netscape.com
2fc6190bef small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575
git-svn-id: svn://10.0.0.236/trunk@79118 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 11:45:01 +00:00
jst%netscape.com
dc5efe66e1 Fixing nsbeta3+ bug 52572. Updating the DOM intefaces in mozilla to match the current DOM Level 2 PR. r=kandrot@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79073 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 05:19:00 +00:00
rayw%netscape.com
d9228441a4 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@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
scc%mozilla.org
e5e006543d if you want a pointer to the characters, you're going to have to |.get()| it
git-svn-id: svn://10.0.0.236/trunk@78957 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 02:48:08 +00:00
jst%netscape.com
f54ba5cc66 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
pollmann%netscape.com
b8d8068374 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:52:57 +00:00
morse%netscape.com
feb9add6f2 bug 51338, cookie nag box not modal, r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +00:00
ftang%netscape.com
d19e2e0bfe fix bug 50654. r=nhotta take care " in the charset
git-svn-id: svn://10.0.0.236/trunk@78270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:41:12 +00:00
beard%netscape.com
cc501e8819 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc
git-svn-id: svn://10.0.0.236/trunk@78012 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:21:57 +00:00
vidur%netscape.com
b10d4adc57 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
nisheeth%netscape.com
77a2d6896f - 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)


git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +00:00
akkana%netscape.com
14fddfeab0 Fix a warning I introduced yesterday, and add a safety check
git-svn-id: svn://10.0.0.236/trunk@77502 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 23:29:52 +00:00
akkana%netscape.com
91949cbf5d Last checkin didn't fix 47309, so revert that part 'til we get a better fix
git-svn-id: svn://10.0.0.236/trunk@77425 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:18:53 +00:00
akkana%netscape.com
ce42bbb5dd Last checkin didn't fix 47309, so revert that part 'til we get a better fix
git-svn-id: svn://10.0.0.236/trunk@77424 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:17:44 +00:00
akkana%netscape.com
b7b56f122f 41868 and 45994: Call parser to determine inline vs. block. r=harishd
git-svn-id: svn://10.0.0.236/trunk@77414 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:47:11 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
ftang%netscape.com
c4751435be fix bug 21312. r=nhotta. Store the charset decision into the cache and reuse it later.
git-svn-id: svn://10.0.0.236/trunk@76810 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 23:16:43 +00:00
ftang%netscape.com
c2db6c347e *** empty log message ***
git-svn-id: svn://10.0.0.236/trunk@76599 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 00:47:03 +00:00
dbaron%fas.harvard.edu
cec97be5f7 Fix leak of strings used as hash table keys. r=waterson b=48880
git-svn-id: svn://10.0.0.236/trunk@76489 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:16:21 +00:00