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

343 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com adf1d8320a 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. 2001-05-08 16:46:42 +00:00
radha%netscape.com 070a482738 fix for bug # 78756. shift-reload on a post result page causes repost. r=ccarlen sr=blizzard 2001-05-06 18:43:07 +00:00
valeski%netscape.com 58072871cc 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. 2001-05-04 20:15:38 +00:00
radha%netscape.com 317f7d81a3 Fix for bug # 66564. Frameset navigation problem r=adamlock, sr=blizzard 2001-05-03 21:15:31 +00:00
scc%mozilla.org e40df0d961 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
hyatt%netscape.com 23b0c38927 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
danm%netscape.com 4e3c5b675c focus the whole window if there is no tabbable content. bug 50881 r=attinasi,bryner,hyatt,saari 2001-05-01 00:30:33 +00:00
waterson%netscape.com 15b8592595 Bug 76898. Add minimal logging to nsDocShell, r=dougt, sr=mscott. 2001-04-28 02:07:58 +00:00
valeski%netscape.com 9e8d80d70f mozilla diffs r=tao, sr=alecf, commercial diffs r=syd, sr=syd/shaver. lower-casing JS calls to createBundle. removing un-used nsILocale param from nsIStringBundle::CreateBundle(). 76332 2001-04-27 21:30:24 +00:00
sfraser%netscape.com 0e1ace29ab Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00
locka%iol.ie f6e0b95e43 NO CODE CHANGES. Reformatted to remove 2/3/4 tab/space indent hell. b=66434 2001-04-27 13:38:15 +00:00
locka%iol.ie 6939843e95 Added deathgrip to outing content viewer to ensure it didn't get destroyed by JS garbage collection. b=71515, sr=rpotts@netscape.com, r=brendan@mozilla.org 2001-04-27 11:17:30 +00:00
sfraser%netscape.com f92915e289 Remove my own droppings which crept into the valeski backout. 2001-04-27 07:00:01 +00:00
sfraser%netscape.com 5e35cbdbc0 Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com def10e77f9 mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332 2001-04-27 04:16:22 +00:00
radha%netscape.com 274248606c Fix for bug 76476. assertion in docshell due to LSHE being null. r=adamlock sr=rpotts
----------------------------------------------------
2001-04-27 01:41:00 +00:00
dr%netscape.com dbfa6b68ad fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
pollmann%netscape.com 4548f23446 Bug 77227: Check if javascript is enabled every page load instead of caching the pref value in the DocShell, r=harishd@netscape.com, sr=brendan@mozilla.org 2001-04-24 23:25:09 +00:00
roc+%cs.cmu.edu 2673dd6ef6 Add API to view manager to get/set default background color (used when refresh disabled and possibly useful for other things). Have Docshell preserve background color across page loads. Make root frames set background color. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-24 01:01:16 +00:00
roc+%cs.cmu.edu e14a792475 Backing myself out ... IDIOT. 2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu 4b1007b080 Copy background color from the old view manager to the new view manager when loading a new document. Fix for bug 75591. r=waterson,sr=attinasi,a=blizzard 2001-04-23 18:16:13 +00:00
harishd%netscape.com 6836236914 69455 - enable noframes content when frames are disabled
r=heikki,sr=waterson,a=choffmann
2001-04-21 22:22:15 +00:00
disttsc%bart.nl 713aa1693d Bug 45143: fix <meta http-equiv="refresh" content="X; url=URI"> to accept URI which contain commas. While I'm at it, merging the implementations in nsDocShell.cpp and nsHTMLContentSink.cpp. r=brendan@mozilla.org, sr=rpotts@netscape.com, a=hofmann 2001-04-20 08:11:12 +00:00
attinasi%netscape.com aaac7ca92e Backing out Peter's changes since it cause the SunOS compiler to go off the deep end. Not apparent why the change should matter, actually, so this is just paranoias. 2001-04-19 19:38:27 +00:00
peterlubczynski%netscape.com a005c4b53b Fix for clearing previous page title r=valeski sr=waterson a=choffman 2001-04-19 17:20:51 +00:00
chak%netscape.com 210e489c02 Fix for bug#76272 - Assertion when using viewsource
r=valeski, sr=alecf, a=blizzard
2001-04-19 14:42:52 +00:00
bryner%uiuc.edu 120c716a6e Bug 31809:
- When a docshell first takes focus, give focus to its first focusable content
- Make the docshell come after all of its content in the tabbing order

r=saari, sr=hyatt.
2001-04-18 06:18:10 +00:00
radha%netscape.com 20d12f9535 Fix for bug 61557. location.replace() loads wrong page in the frame r=valeski sr=rpotts 2001-04-18 04:55:16 +00:00
hyatt%netscape.com ee0bcc6cf5 Fix for my 0.9 focus issues. r=saari, sr=brendan 2001-04-18 01:41:20 +00:00
locka%iol.ie fdfe7f2805 Fix for http referrer not being sent when session history urls are loaded from the network. b=61426 sr=rpotts@netscape.com 2001-04-17 11:53:11 +00:00
valeski%netscape.com 615491f384 r=rpotts, r=heikki, sr=vidur. content types are no longer hardcoded for docshell load acceptance. we now ask layout what it can handle (indirectly via the category manager). 40772. 2001-04-16 23:05:08 +00:00
chak%netscape.com fe4054b4b2 Fix for bug#66334 - Viewsource needs to be a protocol handler
r=valeski,sr=rpotts
2001-04-16 20:17:36 +00:00
darin%netscape.com 45b4c27450 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
2001-04-14 02:02:19 +00:00
radha%netscape.com dc7aa1527e Fix for bug # 55055 r=adamlock sr=rpotts Save CacheKey in SH 2001-04-13 22:20:33 +00:00
erik%netscape.com 8f4d4ceb18 bug 75066; author=simon@softel.co.il; r=jst; sr=erik; diffs from IBM bidi
project (e.g. Arabic, Hebrew)
2001-04-12 23:35:24 +00:00
ccarlen%netscape.com 7720f48f12 Bugs 70379, 70380 - Hide nsISingleSignon from embedding apps, split auth prompting methods out of nsIPrompt into a new interface. r=valeski, sr=rpotts. 2001-04-10 18:30:25 +00:00
darin%netscape.com 41efbc6217 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
radha%netscape.com bdfddeca7b Fix for bug 73746. r=valeski, sr=rpotts 2001-04-03 21:34:30 +00:00
radha%netscape.com e478b779f3 Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
bryner%uiuc.edu 40d99f0540 Bug 44257 -- fix tabbing from URL bar to document. r=saari, sr=shaver. 2001-03-28 02:08:06 +00:00
radha%netscape.com 36e002d883 Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
radha%netscape.com e39b0c0da2 Fix for bug # 63991 r=adamlock 2001-03-24 00:45:56 +00:00
mstoltz%netscape.com b26a1f0451 Bugs 55069, 70951 - JS-blocking APIs for mailnews and embedding. r=mscott, sr=attinasi.
Bug 54237 - fix for event-capture bug, r=heikki, sr=jband.
2001-03-23 04:22:56 +00:00
disttsc%bart.nl bb3929c6b1 Fix leak of nsAtom, some string clean-up, r=gagan, sr=jst 2001-03-22 09:53:30 +00:00
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
valeski%netscape.com a8e9bc5bd5 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api 2001-03-13 02:02:05 +00:00
dbaron%fas.harvard.edu db5c15cb12 Move the destruction from the destructor into its |Destroy| method so that the document viewer is not prevented from being deleted by the cycles it would have broken in its destructor. (This has become necessary since the document viewer is being used from JS/XBL.) Use a null |mDocument| to record the destroyed state. r=disttsc@bart.nl sr=waterson@netscape.com b=61821 2001-03-10 03:19:36 +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 2fb7097db8 Fix for blocker bug 69843. r=valeski, sr=waterson 2001-02-23 23:37:41 +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
radha%netscape.com f2638b18c0 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +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
gagan%netscape.com a49ded5faf A left over change for the optimization in bug 66577. r=mstoltz, sr=shaver, brendan. 2001-02-07 01:14:37 +00:00
radha%netscape.com 7a6701681c Changes related to history listener bug 65608 r=valeski sr=rpotts 2001-02-07 00:32:04 +00:00
gagan%netscape.com cded3e2f30 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
akkana%netscape.com 6499aa20b0 56296: Disable popping up new window on target=, pref controlled. r=dveditz, sr=brendan 2001-01-27 01:08:36 +00:00
locka%iol.ie 8c837042a5 Changed docshell so it turns the mouse pointer "busy" in the associated window while it is loading a document. Removed the hack in the navigator chrome that used the throbber status to set the busy pointer. b=30375 sr=rpotts@netscape.com 2001-01-26 12:35:32 +00:00
radha%netscape.com 10c05fc460 Fix for bug # 41973 (Redireted urls are not marked visited) r=rpotts sr=waterson 2001-01-23 22:16:40 +00:00
rpotts%netscape.com cff4c7bb6b Some changes to make nsDocShell::LoadStream() work better... 2001-01-01 22:48:47 +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
radha%netscape.com bfdb2dd196 Fix for bug # 59755. SH work wrong after doing view-source:url. Set ViewMode to
viewNormal for all Sh loads.  r=adamlock sr=alecf
2000-12-18 22:55:46 +00:00
radha%netscape.com ef77c4fcce Fix for bug # 49913. Pressing enter in the url field adds duplicate entry
to Session History. r=adamlock sr=alecf
 VS: ----------------------------------------------------------------------
2000-12-18 20:02:26 +00:00
disttsc%bart.nl 34dc58df87 Convert nsIDocumentCharsetInfo to IDL so we can get rid of more bits of nsBrowse
rInstance. bug=46200, r=erik@netscape.com, r=smfr, a=alecf.
2000-11-16 21:33:34 +00:00
nhotta%netscape.com 1432d1ba87 Changed to convert anchor name as UTF-8 instead of Latin1 if that fails then convert it as document charset, bug= 58819,r=erik, sr=waterson. 2000-11-15 00:17:41 +00:00
disttsc%bart.nl fd03db4b4f Whoops, forgot to remove one line 2000-11-09 21:14:43 +00:00
disttsc%bart.nl 5371547095 Moving nsIContentViewer over from webshell to docshell, converting from .h to .idl. Needed for bug 46200, r=moa=adam@netscape.com, a=alecf 2000-11-09 20:30:35 +00:00
locka%iol.ie b9bf2ff444 Moved URI fixup code out of docshell and into a global service. b=51702, sr=waterson@netscape.com 2000-11-08 21:00:37 +00:00
jband%netscape.com e834fc3e08 Add null ptr check to fix bug 59281. r=adamlock sr=waterson 2000-11-08 06:31:57 +00:00
hyatt%netscape.com e0c292d77e Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
jst%netscape.com b50e914ed4 Fixing bug 25821. This is only a bandaid for the real problem with targetting javascript: URL's but it fixes the immediate problem while the targetting code is being rewritten. r=brendan, sr=mscott 2000-11-02 08:43:19 +00:00
radha%netscape.com 8e11ee5cb9 More fixes for bug # 46828. r=pollmann sr=rpotts 2000-11-02 06:34:44 +00:00
mscott%netscape.com 43861bb84a Bug #56938 --> Break out the code which parses and sets up refresh urls into
a separate method so we can expose it as an interface method
via nsIRefreshURI.
r=sspitzer,sr=rpotts
2000-11-01 08:03:58 +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 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
radha%netscape.com 02b23a1dbe Fix for bug # 55055 r=adamlock sr=rpotts 2000-10-19 06:40:46 +00:00
radha%netscape.com 654d877e37 Fix for bug # 46828. r=mscott sr=rpotts 2000-10-19 06:24:24 +00:00
radha%netscape.com 110bb785c4 Fix for bug # 55145. r=pollmann a=rpotts 2000-10-13 20:49:40 +00:00
mscott%netscape.com b783faa154 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
2000-10-11 23:17:02 +00:00
pollmann%netscape.com e1f0fabeaa Bug 53708: Prune session history tree at frame being replaced to prevent wrong pages from being loaded into subframes. r=radha, a=adamlock 2000-10-11 10:05:17 +00:00
law%netscape.com d60895c960 Bug 6119; r=radha@netscape.com; sr=waterson@netscape.com; Use nsIChannel::VALIDATE_NEVER when loading a page for view-source 2000-10-07 02:24:50 +00:00
nisheeth%netscape.com cd0f3f8f7d r=pollmann. Fix for nsbeta3++ bug 48382. Fixes the infinite loop when location.href was set from the onload handler of a frame. 2000-09-28 05:44:10 +00:00
vishy%netscape.com 58e48dc043 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.
2000-09-22 05:04:58 +00:00
locka%iol.ie 9e805707f6 Fixed typedef problem in Win32. b=50949 2000-09-20 13:28:19 +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
radha%netscape.com c197ba388a Fix for dogfood+ bug 46845 r=pollmann 2000-09-16 04:36:18 +00:00
rayw%netscape.com d39d9e6d59 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
2000-09-14 23:20:49 +00:00
dougt%netscape.com c3c864a472 + 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
2000-09-14 22:56:56 +00:00
locka%iol.ie 264ad311ba 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 2000-09-14 09:45:14 +00:00
jst%netscape.com 145632c84d 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 2000-09-14 06:18:09 +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
mstoltz%netscape.com 35dbf42404 Fixing 51828, allowing JS/data urls to inheit principal from document if called from system code. r=jst 2000-09-11 21:16:58 +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
hyatt%netscape.com 8adaeb8314 Fixes for bugs 45989, 50509, r=ben,jrgm" 2000-09-08 08:04:53 +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
edburns%acm.org 2e20bb7f8b r=dbaron
Fix bustage on AIX s/true/PR_TRUE

bug 49522.
2000-09-05 21:35:59 +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
mscott%netscape.com d08376e7af 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
2000-09-01 22:34:19 +00:00
radha%netscape.com d74ced9377 partial fix for 49498. r=nisheeth. 2000-09-01 21:29:48 +00:00