1203 Commits

Author SHA1 Message Date
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
mscott%netscape.com
17e47fb76c Bug #47636 --> add methods to convert back and forth between a nsIDocShellLoadTypeInfo
and a docshell load tye. Unify nsIURILoadCommand and nsIDocShellLoadType enums so they
can be treated as the same type.
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@80965 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 23:17:02 +00:00
pollmann%netscape.com
57aa9ce6fb Bug 53708: Prune session history tree at frame being replaced to prevent wrong pages from being loaded into subframes. r=radha, a=adamlock
git-svn-id: svn://10.0.0.236/trunk@80927 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-11 10:05:17 +00:00
law%netscape.com
69077d80b4 Bug 6119; r=radha@netscape.com; sr=waterson@netscape.com; Use nsIChannel::VALIDATE_NEVER when loading a page for view-source
git-svn-id: svn://10.0.0.236/trunk@80641 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-07 02:24:50 +00:00
nisheeth%netscape.com
787c2b7cf1 r=pollmann. Fix for nsbeta3++ bug 48382. Fixes the infinite loop when location.href was set from the onload handler of a frame.
git-svn-id: svn://10.0.0.236/trunk@80056 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-28 05:44:10 +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
vishy%netscape.com
144cb573f0 bugzilla 52182. r=a=mscott.
Modify the logic to launch external browser (only for target=_content
and target=_blank links). Also add something to DocShellLoadInfo
so that a user of nsDocShell::LoadURI can specify the target desired.


git-svn-id: svn://10.0.0.236/trunk@79840 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-22 05:04:58 +00:00
warren%netscape.com
cdc56bbf4c Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani
git-svn-id: svn://10.0.0.236/trunk@79641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 19:35:24 +00:00
locka%iol.ie
76130c2d8e Fixed typedef problem in Win32. b=50949
git-svn-id: svn://10.0.0.236/trunk@79625 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-20 13:28:19 +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
radha%netscape.com
4e79385613 Fix for dogfood+ bug 46845 r=pollmann
git-svn-id: svn://10.0.0.236/trunk@79387 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-16 04:36:18 +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
dougt%netscape.com
5b5da682a9 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts


git-svn-id: svn://10.0.0.236/trunk@79206 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 22:56:56 +00:00
sspitzer%netscape.com
34e994dbfd trivial fix for #52578. initialize uninitialized variable. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@79172 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 20:23:00 +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
locka%iol.ie
d6704f0876 Added test for postdata before invoking the anchor scrolling code to prevent obscure form problem where the submit url is the same as the current url with an anchor appended. b=52290
git-svn-id: svn://10.0.0.236/trunk@79108 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 09:45:14 +00:00
jst%netscape.com
7adb227f26 Checkin in part of the fix for nsbeta3+ bug 42321. Avoid running JS_GC() many times per window open/close, once should be enough. Patch mostly done by alex@cendio.se, r=jst@netscape.com & vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@79088 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-14 06:18:09 +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
mstoltz%netscape.com
3285ad04e9 Fixing 51828, allowing JS/data urls to inheit principal from document if called from system code. r=jst
git-svn-id: svn://10.0.0.236/trunk@78764 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 21:16:58 +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
hyatt%netscape.com
9d28cf7f88 Fixes for bugs 45989, 50509, r=ben,jrgm"
git-svn-id: svn://10.0.0.236/trunk@78504 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 08:04:53 +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
d21a2bba17 r=dbaron
Fix bustage on AIX s/true/PR_TRUE

bug 49522.


git-svn-id: svn://10.0.0.236/trunk@78170 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:35:59 +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
mscott%netscape.com
4422cd6395 Bug #32387,47365--> reset the load type when we get a redirected url so it gets added to
session history properly.
Only call OnLoadingSite if we actually create a content viewer for this page...
r=radha


git-svn-id: svn://10.0.0.236/trunk@77946 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:35:05 +00:00
mscott%netscape.com
8f2702399e Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha


git-svn-id: svn://10.0.0.236/trunk@77944 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 22:34:19 +00:00
radha%netscape.com
e111e856b3 partial fix for 49498. r=nisheeth.
git-svn-id: svn://10.0.0.236/trunk@77922 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 21:29:48 +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
3173294e22 currentURI property removed from nsIDocShell. currentURI property changed to return nsIURI on nsIWebNavigation. b=46847, r=valeski, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77611 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 11:32:30 +00:00
dp%netscape.com
6cf299315f bug 41950 Getting correct url to get updated on redirect r=mscott
git-svn-id: svn://10.0.0.236/trunk@77448 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:28:30 +00:00
akkana%netscape.com
98e3352cf6 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis
git-svn-id: svn://10.0.0.236/trunk@77375 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:15:03 +00:00
mscott%netscape.com
2fbaba5e88 Bug #44253 --> if a docshell doesn't have a parent content listener then change
the default for IsPreferred to return the value of CanHandle. This makes it
easier for content developers to use browser and iframe tags since they don't
have to implement nsIURIContentListener explicilty to get correct
loading behavior.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77242 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 02:52:09 +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
mscott%netscape.com
346864c9d3 Bug #27048 --> implement nsIHTTPEventSink
r=valeski


git-svn-id: svn://10.0.0.236/trunk@77145 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 01:46:00 +00:00
ruslan%netscape.com
2bd4d36b4b Fix string buffer overrun - 50148
git-svn-id: svn://10.0.0.236/trunk@77118 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 22:15:32 +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
radha%netscape.com
35be8e356f Fix for bug # 47148. r=rpotts
git-svn-id: svn://10.0.0.236/trunk@76641 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 18:33:12 +00:00
jst%netscape.com
3913565437 Fixing nsbeta3+ bug 46190. Clicking on links that point to anchors with whitespace in them wasn't working... r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 07:31:40 +00:00
av%netscape.com
30b41b305e Fixing 46490, r=sean, r=waterson, r=valeski, a=adamlock
git-svn-id: svn://10.0.0.236/trunk@76563 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 19:16:39 +00:00
hyatt%netscape.com
20a43ac75c Fix for 32661, r=brendan
git-svn-id: svn://10.0.0.236/trunk@76507 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:57:03 +00:00
mstoltz%netscape.com
e686efdeca Fixed 37702 and 47670. r=vidur
git-svn-id: svn://10.0.0.236/trunk@75890 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 20:08:54 +00:00