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

366 Коммитов

Автор SHA1 Сообщение Дата
dougt%netscape.com e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
mstoltz%netscape.com d6e2839371 bug 77485 - exploit inserting a function into another window using targeted
javascript URL links. Two-part fix: moving the call to GetCurrentDocumentOwner
in nsDocShell::LoadInternal to before the target docshell is called, and
changing nsScriptSecurityManager::GetFunctionObjectPrincipal to only get
the principal from the function object's scope chain if the function object's
principal is the system principal. r=jst, sr=vidur, a=asa.
2001-05-30 02:22:22 +00:00
saari%netscape.com 0b11af5980 fix for 82710, r=me, sr=hyatt, a=mcafee (blocker) make sure we set the focused element to null after the viewer is totoally torn down, and after we've suppressed focus 2001-05-29 23:26:50 +00:00
radha%netscape.com 553a99a133 Fix for bug # 82236. r=valeski sr=alecf a=blizzard(drivers@mozilla.org) 2001-05-29 22:45:57 +00:00
rpotts%netscape.com 5b394a26a3 bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly... 2001-05-29 22:10:50 +00:00
danm%netscape.com 5389a6bb30 reorganize SetFocus to be less likely to bail early on errors; more likely to default to focusing the whole window. and strip the extraneous braces rods added to my previous fix for this bug :) bug 50881 gets slapped down one more time. r=bryner,hyatt a=asa 2001-05-25 21:15:46 +00:00
roc+%cs.cmu.edu 8865fc53de Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
nisheeth%netscape.com 73edd4ea66 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00
hwaara%chello.se c0eb6ccbfc Fix smoketest blocker. bug 82141. r=saari, sr=hyatt 2001-05-25 00:53:47 +00:00
rods%netscape.com 2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
waterson%netscape.com 495d1e941d Bug 82073. Wallpaper over the crash until bryner can look at this. 2001-05-22 17:29:47 +00:00
simon%softel.co.il f6ff04ed3b Remove superfluous include from nsDocShell.cpp. Bug #81179 r=fabian sr=jst 2001-05-22 08:15:37 +00:00
valeski%netscape.com 7f26ff6952 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
bryner%uiuc.edu 58e8da390f Part of bug 31809 -- Don't allow the user to tab into the sidebar if it's collapsed. r=saari, sr=hyatt. 2001-05-21 22:27:49 +00:00
rpotts%netscape.com 44626befc1 another patch for bug #65777. This one removes the intermediate window that is created for mailto:// URLs that are explicitly target to a new window... 2001-05-21 06:50:51 +00:00
jst%netscape.com 77aeecc056 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
radha%netscape.com 30aeca6a33 Fix for bug 81229 r=valeski sr=rpotts 2001-05-18 21:43:29 +00:00
saari%netscape.com 37c7727d4e fix for bug 78427, r=dr, sr=hyatt. Fix for focus getting lost when clicking on a link from a page with an iframe, like cnn or washingtonpost.com. When the new page loads, it will now have correct focus, it won't be lost. 2001-05-18 08:58:17 +00:00
jst%netscape.com 96763b46ae Checking in serge@netscape.com's fix for bug 65777, this was a regression from the window targetting changes that caused a crash in some cases when an invalid url was typed into the URL bar. r=pollmann@netscape.com, jst@netscape.com, sr=rpotts@netscape.com 2001-05-17 21:38:27 +00:00
bstell%netscape.com 58699035e6 bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset
2001-05-17 02:12:51 +00:00
rpotts%netscape.com f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com 921fa67a8d removing debug printfs 2001-05-12 01:42:31 +00:00
darin%netscape.com b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com f7460d0269 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 a0868f7527 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 939312c7fa 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 8ca2dc65ba Fix for bug # 66564. Frameset navigation problem r=adamlock, sr=blizzard 2001-05-03 21:15:31 +00:00
scc%mozilla.org 6860a0a739 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
hyatt%netscape.com 9ac35d4459 Fix for 76495. r=danm, sr=rpotts 2001-05-01 22:54:11 +00:00
danm%netscape.com 86fe4d027d 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 f7c1e220c9 Bug 76898. Add minimal logging to nsDocShell, r=dougt, sr=mscott. 2001-04-28 02:07:58 +00:00
valeski%netscape.com 00bca056ef 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 44cbfd57f8 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 9e903df94e 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 53a13a79e6 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 20d36922b5 Remove my own droppings which crept into the valeski backout. 2001-04-27 07:00:01 +00:00
sfraser%netscape.com 245d4eb76f Backing out valeski 2001-04-27 05:53:22 +00:00
valeski%netscape.com 54db7dffa3 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 7a39ddd249 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 eec73874cf fix for 70224 (need nsIWebBrowserChromeFocus for embedding). r=danm, sr=hyatt, a=asa 2001-04-25 02:04:56 +00:00
pollmann%netscape.com ef6ef894d1 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 a7e55667d2 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 c57754cf2e Backing myself out ... IDIOT. 2001-04-23 18:40:01 +00:00
roc+%cs.cmu.edu 98bef51746 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 d4272380d9 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 5662ed0812 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 fbd0d01d83 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 edec17afb5 Fix for clearing previous page title r=valeski sr=waterson a=choffman 2001-04-19 17:20:51 +00:00
chak%netscape.com 7bbcffc7fa 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 2e185075af 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 e668f60c5f 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 174428fb65 Fix for my 0.9 focus issues. r=saari, sr=brendan 2001-04-18 01:41:20 +00:00
locka%iol.ie 0825fab04c 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 bb2ed4e834 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 b9342d088b 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 9deb4986e3 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 35bb1fe40c Fix for bug # 55055 r=adamlock sr=rpotts Save CacheKey in SH 2001-04-13 22:20:33 +00:00
erik%netscape.com 4b8e61185d 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 2ad2b9adcf 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 00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
radha%netscape.com 35d5624764 Fix for bug 73746. r=valeski, sr=rpotts 2001-04-03 21:34:30 +00:00
radha%netscape.com 0ee149dabb Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
bryner%uiuc.edu 64134346fc Bug 44257 -- fix tabbing from URL bar to document. r=saari, sr=shaver. 2001-03-28 02:08:06 +00:00
radha%netscape.com b6e43c85cd Fix for bug # 69457 r=valeski, rpotts 2001-03-24 01:23:42 +00:00
radha%netscape.com d836ce4c5a Fix for bug # 63991 r=adamlock 2001-03-24 00:45:56 +00:00
mstoltz%netscape.com 519500116e 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 3d99ee79c9 Fix leak of nsAtom, some string clean-up, r=gagan, sr=jst 2001-03-22 09:53:30 +00:00
alecf%netscape.com 596e75a30a 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 68017cb9e2 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 0195b11a4d 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 277181c660 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 964bf51e3f Fix for blocker bug 69843. r=valeski, sr=waterson 2001-02-23 23:37:41 +00:00
radha%netscape.com c706e7b00c 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 128f95aa9b 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 b2d6bb81e1 Fix for bug # 39938. Client side redirection messes up SH. r=rpotts, adamlock 2001-02-15 19:10:16 +00:00
disttsc%bart.nl 3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 1b9ca82439 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 2b824333fe 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 a4030b7755 Changes related to history listener bug 65608 r=valeski sr=rpotts 2001-02-07 00:32:04 +00:00
gagan%netscape.com 79713bc4c2 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 2eccaab14e 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 3131997624 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 38435906c7 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 55b3f45f81 Some changes to make nsDocShell::LoadStream() work better... 2001-01-01 22:48:47 +00:00
rpotts%netscape.com 79489fa096 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
radha%netscape.com b2d9c6269d 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 bb77194a1b 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 d85375778a 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 f252457e06 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 7c611a24e8 Whoops, forgot to remove one line 2000-11-09 21:14:43 +00:00
disttsc%bart.nl 87187c390c 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 1720949638 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 fa23038df9 Add null ptr check to fix bug 59281. r=adamlock sr=waterson 2000-11-08 06:31:57 +00:00
hyatt%netscape.com fae32fdbd7 Fix for 54203. r=saari, a=brendan 2000-11-04 08:21:20 +00:00
jst%netscape.com 6187aef7f7 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 f2997f535f More fixes for bug # 46828. r=pollmann sr=rpotts 2000-11-02 06:34:44 +00:00
mscott%netscape.com bb724de52a 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 cd56c0575b 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 9a6d92a433 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 f3c249194e Fix for bug # 55055 r=adamlock sr=rpotts 2000-10-19 06:40:46 +00:00