Граф коммитов

517 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com b19d9da9b5 fix for 71511 - clean up nsIGlobalHistory even further by refactoring setTitle i
nto nsIBrowserHistory, cleaning up extra addPage() parameters, and fixing all co
nsumers
r=valeski, sr=shaver
2001-03-13 06:19:40 +00:00
disttsc%bart.nl aebc676048 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
dbaron%fas.harvard.edu d5d3c5f67d Fix bad vi modeline that caused text to wrap at 2 characters. r=gagan (Comment changes only.) 2001-03-04 19:43:55 +00:00
disttsc%bart.nl 043186b34e Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
radha%netscape.com a1571db287 Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock 2001-02-23 00:05:54 +00:00
dougt%netscape.com eab041f43f 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
2001-02-21 20:38:08 +00:00
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
rpotts%netscape.com 0aea5c0955 bug #63529. Added a null-pointer check in nsWebShell::OnStateChange(...) 2000-12-22 21:47:26 +00:00
pinkerton%netscape.com 2ba8f7d189 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 2000-12-22 01:13:46 +00:00
rpotts%netscape.com d4fb846074 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
dbaron%fas.harvard.edu 2eea32ae2b Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
pinkerton%netscape.com 53c89d5ecc fix bustage. nsAReadableString& needs to be const. 2000-11-16 21:29:13 +00:00
pinkerton%netscape.com 2b2922bf95 Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867 2000-11-16 20:08:48 +00:00
warren%netscape.com 4189314fdb 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 d1d8e969d3 problem with gNumberOfWebShells -- moved into DEBUG 2000-10-28 04:09:10 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
anthonyd%netscape.com 308190d048 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
2000-10-13 05:06:02 +00:00
radha%netscape.com 7c5fabdb0b Fix for bugscape bug # 1644. keywords work eventhough the pref for it is turned off.
r=valeski a=mscott
2000-09-27 21:27:35 +00:00
locka%iol.ie 69fd02310b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
sspitzer%netscape.com b58f45fa3c 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.
2000-09-19 22:40:52 +00:00
mjudge%netscape.com a2fa9edcb5 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 2000-09-14 11:45:01 +00:00
rayw%netscape.com 6cc70ebd6c 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
valeski%netscape.com 5158f9f336 50188. removing webshell leak detection special macros. now we'll spew data in debug builds only 2000-09-11 22:06:52 +00:00
bryner%uiuc.edu 61a91792ea Removing extraneous text before comment. r=blizzard. 2000-09-11 14:33:45 +00:00
locka%iol.ie 61057373cc Added decl of kSimplURICID. b=37416, r=valeski 2000-09-11 14:09:54 +00:00
locka%iol.ie 571e9acb02 Added decl of kSimplURICID. b=37416, r=valeski 2000-09-11 13:29:22 +00:00
locka%iol.ie e8bf6587e7 Add notification to embedders when an unrecognized URI is clicked on before discarding it. b=37416, r=valeski 2000-09-11 12:38:54 +00:00
rpotts%netscape.com 17ea903430 bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately... 2000-09-10 06:00:46 +00:00
rpotts%netscape.com 5f344b74c7 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 :-) 2000-09-08 00:29:13 +00:00
rpotts%netscape.com 49552edbbe Moved the firing of the OnLoad event from WebShell into DocumentViewer... 2000-09-06 09:11:38 +00:00
edburns%acm.org 7b7a548b33 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.
2000-09-05 19:03:56 +00:00
vidur%netscape.com 4a41eee18d 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 2000-09-01 01:54:35 +00:00
mstoltz%netscape.com 584d022386 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
locka%iol.ie c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
jst%netscape.com b3a4ade60d 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 2000-08-23 17:27:06 +00:00
scc%mozilla.org 4f2c82d5e5 fixing code that relied on implicit string construction 2000-08-19 22:35:49 +00:00
jst%netscape.com 8432933db3 (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. 2000-07-28 05:55:54 +00:00
dbaron%fas.harvard.edu a394eeee27 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 2000-07-27 23:17:53 +00:00
mscott%netscape.com 859bcd8cc5 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
2000-07-24 20:14:53 +00:00
jdunn%netscape.com 9ca8ea98cc 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.
2000-07-19 13:36:35 +00:00
valeski%netscape.com 3f6c274d00 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
ruslan%netscape.com 84dfd2d63a WIP on 40449, a/r=gagan 2000-07-07 22:02:47 +00:00
radha%netscape.com 072cf93bb0 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.
2000-07-04 18:51:14 +00:00
radha%netscape.com 5b8603911e More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha%netscape.com e1fc2c5789 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
mscott%netscape.com 0098abd512 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
2000-06-22 07:22:23 +00:00
rpotts%netscape.com 6371dad16a DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
nhotta%netscape.com 50952a7582 Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata. 2000-06-21 23:26:36 +00:00