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
dbaron%fas.harvard.edu
b4de65c19e
Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@84233 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-30 19:22:22 +00:00
rpotts%netscape.com
ba3a475136
bug #63529 . Added a null-pointer check in nsWebShell::OnStateChange(...)
...
git-svn-id: svn://10.0.0.236/trunk@84012 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 21:47:26 +00:00
pinkerton%netscape.com
2baa86a01a
clean up interface, per directions. adding copyLinkLocation(), and specifying semantics of selectNone() wrt insertion point location. Implemented selectNone(). r=saari/a=hyatt. bug#s 46867, 63001
...
git-svn-id: svn://10.0.0.236/trunk@83971 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-22 01:13:46 +00:00
rpotts%netscape.com
227a3f4981
bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-)
...
git-svn-id: svn://10.0.0.236/trunk@83916 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:18:03 +00:00
dbaron%fas.harvard.edu
0cc4ea2497
Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@83442 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-09 04:21:51 +00:00
pinkerton%netscape.com
c4efcd5971
fix bustage. nsAReadableString& needs to be const.
...
git-svn-id: svn://10.0.0.236/trunk@82693 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:29:13 +00:00
pinkerton%netscape.com
52af1d855a
Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867
...
git-svn-id: svn://10.0.0.236/trunk@82685 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 20:08:48 +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
a33ece6792
problem with gNumberOfWebShells -- moved into DEBUG
...
git-svn-id: svn://10.0.0.236/trunk@81927 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 04:09:10 +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
anthonyd%netscape.com
62673e8a9e
fix for bug # 55750
...
Crash opening "new composer window" to bogus location, after "this type of page can't be edited" dialog
r=sfraser
sr=kin
sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@81114 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-13 05:06:02 +00:00
radha%netscape.com
dbef2eb1b5
Fix for bugscape bug # 1644. keywords work eventhough the pref for it is turned off.
...
r=valeski a=mscott
git-svn-id: svn://10.0.0.236/trunk@80016 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-27 21:27:35 +00:00
locka%iol.ie
b3b9b2c9a7
Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha
...
git-svn-id: svn://10.0.0.236/trunk@79623 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 12:23:53 +00:00
sspitzer%netscape.com
fece31ac28
part of the fix for #46888 . after cancelling a news message, you can't
...
select another message. fix by naving@netscape.com . r=sspitzer,a=mscott
also a couple bullet proofing fixes to prevent crashes.
git-svn-id: svn://10.0.0.236/trunk@79556 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-19 22:40:52 +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
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
valeski%netscape.com
d726ac51c3
50188. removing webshell leak detection special macros. now we'll spew data in debug builds only
...
git-svn-id: svn://10.0.0.236/trunk@78777 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:06:52 +00:00
bryner%uiuc.edu
72ab84cda2
Removing extraneous text before comment. r=blizzard.
...
git-svn-id: svn://10.0.0.236/trunk@78735 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 14:33:45 +00:00
locka%iol.ie
a75a4fce37
Added decl of kSimplURICID. b=37416, r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@78733 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 14:09:54 +00:00
locka%iol.ie
ca4bc4f4af
Added decl of kSimplURICID. b=37416, r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@78730 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 13:29:22 +00:00
locka%iol.ie
150b8686d4
Add notification to embedders when an unrecognized URI is clicked on before discarding it. b=37416, r=valeski
...
git-svn-id: svn://10.0.0.236/trunk@78727 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 12:38:54 +00:00
rpotts%netscape.com
ec1ad68225
bug #37434 . Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately...
...
git-svn-id: svn://10.0.0.236/trunk@78654 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-10 06:00:46 +00:00
rpotts%netscape.com
5f1022d223
bug #37434 . Stop() is now called on the content viewer, before the old document is destroyed. This allows the old document to release some stuff :-)
...
git-svn-id: svn://10.0.0.236/trunk@78453 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:29:13 +00:00
rpotts%netscape.com
7a644ef163
Moved the firing of the OnLoad event from WebShell into DocumentViewer...
...
git-svn-id: svn://10.0.0.236/trunk@78256 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 09:11:38 +00:00
edburns%acm.org
f4ed6ebe07
This was tested on win32, and is known to build on win32 and solaris.
...
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders. However, nothing is being done with
these parameters. This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.
Important assumptions made by this fix:
* postHeadersLength is the correct length for postHeaders.
* postHeaders is a buffer of headers in the form
"HeaderName: HeaderValue\r\n"
each header, including the last, MUST be followed by "\r\n".
To affect this fix I had to modify the following files:
M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h
Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +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
mstoltz%netscape.com
fc5da7534f
Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur
...
git-svn-id: svn://10.0.0.236/trunk@77748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:53:32 +00:00
locka%iol.ie
09805179ae
API changes for embedding. b=46847, r=dougt, a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +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
scc%mozilla.org
a57c788e93
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76728 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:35:49 +00:00
jst%netscape.com
fcf4ccc897
(Merging nsbeta2 checkin to the tip) Fixing nsbeta2+ bug 28572, the docshell was fireing the script unload handler too early in some cases and in some other cases the unload handler was fired even if the document wasn't unloaded. r=nisheeth, a=nisheeth.
...
git-svn-id: svn://10.0.0.236/trunk@75014 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-28 05:55:54 +00:00
dbaron%fas.harvard.edu
38b11b0554
Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963
...
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
mscott%netscape.com
f73ba6913b
Bug #45226 --> fix security hole in keywords by only allowing keyword searches if the url was an http (or https) url.
...
Currently other urls (like imap, news, ftp, etc) would end up getting sent to the keyword server if we weren't able to
connect to the host specified in the url.
r=valeski
git-svn-id: svn://10.0.0.236/trunk@74684 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-24 20:14:53 +00:00
jdunn%netscape.com
ab359db843
Fixing hpux bustage.
...
The define needed in the header file, doesn't get set till after the
header file is included.
Also added newline to headerfile at the end for hpux.
git-svn-id: svn://10.0.0.236/trunk@74459 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 13:36:35 +00:00
valeski%netscape.com
37012edc37
45723. r=rpotts. webshell-docshell consolodation changes.
...
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
ruslan%netscape.com
5038376f85
WIP on 40449, a/r=gagan
...
git-svn-id: svn://10.0.0.236/trunk@73846 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-07 22:02:47 +00:00
radha%netscape.com
8949f863cb
Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
...
as well as several previous checkins related to this bug is rpotts.
git-svn-id: svn://10.0.0.236/trunk@73654 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-04 18:51:14 +00:00
radha%netscape.com
c8ae707155
More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
...
feature is enabled.
git-svn-id: svn://10.0.0.236/trunk@73539 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-29 21:48:18 +00:00
radha%netscape.com
83f086107a
More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
...
when feature is enabled.
git-svn-id: svn://10.0.0.236/trunk@73125 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 23:54:30 +00:00
mscott%netscape.com
c7232c80dc
Bug #10802 --> expose load types to load info class so callers can set the load type
...
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.
I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
git-svn-id: svn://10.0.0.236/trunk@72909 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 07:22:23 +00:00
rpotts%netscape.com
d40c34e0a8
DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer
...
git-svn-id: svn://10.0.0.236/trunk@72889 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-22 05:38:07 +00:00
nhotta%netscape.com
ba83736aa1
Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata.
...
git-svn-id: svn://10.0.0.236/trunk@72838 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-21 23:26:36 +00:00
rpotts%netscape.com
406f61beb3
Reworked the nsIWebProgress interfaces and implementation...
...
git-svn-id: svn://10.0.0.236/trunk@72533 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-19 05:54:37 +00:00
mstoltz%netscape.com
ab175b2de3
Fix for bug 31818. Dogfood. r=brendan
...
git-svn-id: svn://10.0.0.236/trunk@72152 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-13 23:56:30 +00:00
mscott%netscape.com
badf7d8557
Bug #40160 --> fix annoying assertion in on end document load for cases where the url doesn't have a host
...
r=rpotts
git-svn-id: svn://10.0.0.236/trunk@71738 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 23:13:12 +00:00
locka%iol.ie
357cc859eb
Put pointer test around smprintf to prevent crash for invalid IMG links.
...
b=40094,r=adamlock,approved valeski
git-svn-id: svn://10.0.0.236/trunk@71562 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 22:21:37 +00:00
joki%netscape.com
fab946580d
Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge
...
git-svn-id: svn://10.0.0.236/trunk@70884 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 00:26:54 +00:00
hyatt%netscape.com
e469c92e38
fix for making skins script-safe. r=scc
...
git-svn-id: svn://10.0.0.236/trunk@70503 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-19 04:48:43 +00:00
valeski%netscape.com
47c824959d
38695. r=alecf. i18n network error strings
...
git-svn-id: svn://10.0.0.236/trunk@70474 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-18 21:52:23 +00:00