529 Commits

Author SHA1 Message Date
chak%netscape.com
8c6f66adac Fix for 64270 - crash on window.close when another window is referenced
r=jst,rpotts, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@94891 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 14:53:03 +00:00
rpotts%netscape.com
9c40a95650 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes...
git-svn-id: svn://10.0.0.236/trunk@94842 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-14 02:16:27 +00:00
darin%netscape.com
81e317535f Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann
git-svn-id: svn://10.0.0.236/trunk@94682 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-11 21:05:08 +00:00
dr%netscape.com
11f8827691 fix for 78010 (implement nsIClipboardHelper). r=pavlov, pinkerton, hewitt, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@94436 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-10 02:35:00 +00:00
jst%netscape.com
9d299d36ce 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@94238 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-08 16:46:42 +00:00
valeski%netscape.com
c93bb536ef sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug.
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +00:00
scc%mozilla.org
4930a07480 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs|
git-svn-id: svn://10.0.0.236/trunk@93787 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-03 10:09:59 +00:00
radha%netscape.com
ce87186dc2 Fix for bug # 55055 r=adamlock sr=rpotts Save CacheKey in SH
git-svn-id: svn://10.0.0.236/trunk@92237 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-13 22:20:33 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
sfraser%netscape.com
55a3a4f35d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin
git-svn-id: svn://10.0.0.236/trunk@91375 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:48:03 +00:00
scc%mozilla.org
7b06841b03 landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
radha%netscape.com
860953531d Fixes related to bug # 71756 r=rpotts, valeski
git-svn-id: svn://10.0.0.236/trunk@90619 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-28 03:35:38 +00:00
alecf%netscape.com
b1a8b670c1 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


git-svn-id: svn://10.0.0.236/trunk@89454 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-13 06:19:40 +00:00
disttsc%bart.nl
abd8de21e5 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


git-svn-id: svn://10.0.0.236/trunk@88947 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:05:05 +00:00
dbaron%fas.harvard.edu
3f32ed622e Fix bad vi modeline that caused text to wrap at 2 characters. r=gagan (Comment changes only.)
git-svn-id: svn://10.0.0.236/trunk@88508 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-04 19:43:55 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
radha%netscape.com
b40312d02f Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock
git-svn-id: svn://10.0.0.236/trunk@87722 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 00:05:54 +00:00
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
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +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
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