757 Commits

Author SHA1 Message Date
timeless%mozdev.org
9def01fe0d Bug 320488 crash [@ nsSHistory::EvictWindowContentViewer]
patch by marria@gmail.com r=biesi sr=darin


git-svn-id: svn://10.0.0.236/trunk@186573 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-25 04:04:36 +00:00
neil%parkwaycc.co.uk
ee9ce4336b Bug 317937 Get rid of some unnecessary CIDs and change some possibly unsafe nsCOMPtr usage into the equivalently unsafe static casts r=darin sr=jst
git-svn-id: svn://10.0.0.236/trunk@185568 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-02 12:02:44 +00:00
jst%mozilla.jstenback.com
b3caccffbd Fixing bug 318461. Move SetNewDocument() and SetOpenerWindow() from nsIScriptGlobalObject to nsPIDOMWindow to clean out non-script related methods form the nsIScriptGlobalObject interface. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@185536 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-01 19:35:27 +00:00
jst%mozilla.jstenback.com
895df6e6ca Fixing bug 316794. Moving HandleDOMEvent() and Get/SetDocShell from nsIScriptGlobalObject to nsPIDOMWindow. r=mrbkap@gmail.com, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@185351 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-28 23:56:44 +00:00
darin%meer.net
b91aa15549 fixing build bustage (nsIDataChannel no longer exists)
git-svn-id: svn://10.0.0.236/trunk@184506 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-12 18:40:00 +00:00
bryner%brianryner.com
927f5f8bf7 Make sure we capture all necessary state off the SHEntry before clearing its presentation (bug 312117). r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@184332 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-09 01:57:01 +00:00
bryner%brianryner.com
e4f1520c9e Unhook subframe containers / link handlers when putting a document into bfcache, and restore them when restoring the document (bug 314549). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@184218 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-06 19:23:03 +00:00
bryner%brianryner.com
d5f7527f96 Make sure we notify the content viewer when a subframe load completes so that we call OnPageShow -- this fixes link coloring when navigating back to frameset/iframe pages with fastback. Bug 307178, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@183349 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 18:35:47 +00:00
bzbarsky%mit.edu
93fe3f6cf6 Make docshell visibility checking check with the tree owner so that embedding
gets a chance to claim docshells as invisible (eg in Camino's tab
implementation).  Bug 306245, patch by jst, r=sfraser, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@182521 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 02:59:30 +00:00
bzbarsky%mit.edu
b19fc8d9eb Fix leak when closing window that has live refresh timers. Bug 312769,
r=darin, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@182434 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-18 01:48:22 +00:00
mconnor%steelgryphon.com
6acb3ecdae bug 307027 - going back from secure page to error page does not clear yellow bar, r=bz, sr=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@181550 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-04 03:51:18 +00:00
bryner%brianryner.com
d917fde32a Remove historyMaxTotalViewers from nsISHistoryInternal, and just use a static getter on nsSHistory instead. Bug 310597, r=marria@gmail.com, sr=darin.
git-svn-id: svn://10.0.0.236/trunk@181414 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-01 20:38:47 +00:00
aaronleventhal%moonset.net
c08f04320c Bug 309099. Entire client area should not be repainted for each focus move. Patch by Robert O'Callahan (roc). r=aaronlev, sr=neil
git-svn-id: svn://10.0.0.236/trunk@181198 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 13:16:46 +00:00
bryner%brianryner.com
ae6e7085e4 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180875 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 18:16:40 +00:00
bzbarsky%mit.edu
062485d7c4 Update some GetScriptGlobalObject() callers to the right signature. Bug
303084, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180862 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-23 14:50:43 +00:00
cbiesinger%web.de
8a6592a565 observe the "browser.xul.error_pages.enabled" pref so that it takes effect
immediately
bug 282050 patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com> r=biesi sr=jst


git-svn-id: svn://10.0.0.236/trunk@180823 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-22 20:38:56 +00:00
bzbarsky%mit.edu
69fdd9201c Show a useful error message if a page claims to be compressed and isn't. Bug
184144, patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r=darin, sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@180424 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 19:27:27 +00:00
bzbarsky%mit.edu
6e99396530 Send out notifications when docshells are created or destroyed. Bug 308438,
r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@180400 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 15:51:14 +00:00
bryner%brianryner.com
a63c759946 Backing out 292965 until Tp regression is understood.
git-svn-id: svn://10.0.0.236/trunk@180182 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 07:28:05 +00:00
bryner%brianryner.com
ffbf79b866 Add a global limit to the number of cached content viewers that scales with the amount of physical memory. Patch by Marria Nazif <marria@gmail.com>. Bug 292965, r=biesi, sr=me.
git-svn-id: svn://10.0.0.236/trunk@180171 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 03:38:40 +00:00
cbiesinger%web.de
b602cd3642 bug 300800 make CreateAboutBlankContentViewer store the current viewer in
shistory
r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@179462 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 12:12:04 +00:00
bzbarsky%mit.edu
2e97afe0b9 Fix crash bug 306580. r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@179455 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 04:04:10 +00:00
bryner%brianryner.com
5b425dcb54 Abort restoring the presentation if firing pagehide/unload stopped the load. Bug 305995, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@179435 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-31 22:01:46 +00:00
bryner%brianryner.com
29d1177089 Walk the list of SHEntry children looking for the target id if it's not at the expected index, and don't crash if there isn't one. Bug 305531, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@179341 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-30 20:56:49 +00:00
bryner%brianryner.com
e1dd76faf3 Remove the LayoutHistoryState after restoring a page from session history (bug 305129). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178991 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 21:21:07 +00:00
bryner%brianryner.com
0e0bc1c5ee Move resuming of timeouts to after we've restored the docshell hierarchy, so that they're restored correctly for subframes. Bug 305156, r=cbiesinger, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@178919 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 07:06:59 +00:00
bryner%brianryner.com
0fcc341de0 If we created a transient about:blank content viewer, make sure we're locating the root view sibling for that viewer and not the viewer it's replacing. Bug 300533, r=cbiesinger.
git-svn-id: svn://10.0.0.236/trunk@178796 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-24 17:27:41 +00:00
smfr%smfr.org
981725806b Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz
git-svn-id: svn://10.0.0.236/trunk@178751 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 23:48:47 +00:00
mrbkap%gmail.com
e51f8de643 bug 305236: Don't store the current document in the bfcache if we're going to reuse the current inner window for another page. In this case, the current document never was making it into session history anyway. r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@178653 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 00:24:57 +00:00
bzbarsky%mit.edu
d1afb179ba Make nsIPresShell::GetPrimaryFrameFor return nsIFrame* instead of using an out
param.  Bug 303779, patch by Bastiaan Jacques <b.jacques@planet.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@178642 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 22:24:29 +00:00
mats.palmgren%bredband.net
44a5cb278e Fix crash when going back on pages with (I)FRAMEs. b=304639 r+sr=bryner
git-svn-id: svn://10.0.0.236/trunk@178538 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 12:43:42 +00:00
bryner%brianryner.com
3f0bd4dfef Disable caching of documents when doing a subframe navigation, to help with site compatibility problems. Bug 304860, r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178301 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-19 20:58:17 +00:00
neil%parkwaycc.co.uk
ef0d1b914b Bug 304053 Don't draw canvas focus on editor/midas frames r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@177824 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 08:12:15 +00:00
roc+%cs.cmu.edu
cc8e159701 Bug 78510. Undoing backout; still no change.
git-svn-id: svn://10.0.0.236/trunk@177800 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-16 01:03:45 +00:00
roc+%cs.cmu.edu
2406d753fa Bug 78510. Retry backing out of link-visited notifications, to see how Tp is affected. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@177788 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 22:39:29 +00:00
mrbkap%gmail.com
1990895d08 bug 303267: Store the entire inner window in the window state holder instead of copying properties and restoring them. This fixes going back and forth with the bfcache on when the page gone to has javascript in it. r=jst sr=bryner
git-svn-id: svn://10.0.0.236/trunk@177765 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-15 18:16:42 +00:00
cbiesinger%web.de
c41020b640 bug 292998
- move textZoom storage to the prescontext from the documentviewer
- copy the textZoom between document viewers for fastback
r=bryner sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@177690 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 11:54:22 +00:00
mrbkap%gmail.com
674ac13620 Backing out changes for bug 303267 until the perf hits on the Seamonkey tinderbox can be explained.
git-svn-id: svn://10.0.0.236/trunk@177687 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 03:54:29 +00:00
mrbkap%gmail.com
7d07d878fd bug 303267: Store the entire inner window object on the history entry instead of copying/restoring JS properties. r=bryner sr=jst. This patch also fixes bugs 304284 and 304078.
git-svn-id: svn://10.0.0.236/trunk@177684 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-13 00:53:39 +00:00
darin%meer.net
c8e1a406bd fixes bug 301358 "HTTP 'refresh' doesn't load page with bfcache enabled" r=biesi sr=bryner a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177590 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 20:14:00 +00:00
roc+%cs.cmu.edu
306c5ad966 Bug 78510. bryner's checkin fixed the Firefox problems so I'm undoing my previous partial-backout.
git-svn-id: svn://10.0.0.236/trunk@177538 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-11 05:06:22 +00:00
roc+%cs.cmu.edu
0e55ba8e37 Bug 78510. Try backing out the nsDocShell changes to see if the Tp changes still happen when visited notifications don't fire.
git-svn-id: svn://10.0.0.236/trunk@177525 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 23:23:53 +00:00
roc+%cs.cmu.edu
a4e5443b20 Bug 78510. Maintain a per-document hashmap from URI-spec-hash to set of pointers to content elements that are links to those URIs whose state has been queried by the style system. Use this map to efficiently mark visited any links to URIs which get visited. r+sr=dbaron, with input from bryner and bzbarsky, a=jesup with support from dbaron. May impact Tp and other metrics, be careful out there.
git-svn-id: svn://10.0.0.236/trunk@177512 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-10 20:21:44 +00:00
cbiesinger%web.de
f1a6b8728a save the presentation even if the next load is an error page
Bug 299547 r=bryner sr=darin a=brendan+shaver


git-svn-id: svn://10.0.0.236/trunk@177422 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-09 12:31:36 +00:00
smfr%smfr.org
6b531c1e94 Clean up backout of the nsDocShell part of the patches in bug 302958 (which, luckily, was not required to fix the bug); calling EnsureContentViewer() from GetPresContext() caused performance regressions. r/sr=bryner, going on a= for previous patch.
git-svn-id: svn://10.0.0.236/trunk@177298 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 22:49:51 +00:00
smfr%smfr.org
f5433f4c6a Test backout of nsDocShell EnsureContentViewer() changes from bug 302962, to see impact on performance.
git-svn-id: svn://10.0.0.236/trunk@177292 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-07 15:49:15 +00:00
smfr%smfr.org
3638d5ef12 Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.


git-svn-id: svn://10.0.0.236/trunk@177273 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-06 20:28:42 +00:00
bryner%brianryner.com
f2a6a0a997 Fixing VC6 bustage - initialize with a ctor
git-svn-id: svn://10.0.0.236/trunk@177083 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:48:42 +00:00
bryner%brianryner.com
dc7a8d1985 When navigating a subframe, make sure that all docshells have navigated to the correct cloned session history entry. Bug 301397, r=darin, a=bsmedberg
git-svn-id: svn://10.0.0.236/trunk@177082 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-03 22:32:10 +00:00
bryner%brianryner.com
b0e77fe7c5 When restoring a presentation, move everything except adding the request to the loadgroup into the async plevent callback. This fixes the problem with restoring window properties when history.back() is used (with untrusted JS on the stack). Bug 301516, r=darin, a=asa
git-svn-id: svn://10.0.0.236/trunk@176999 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-02 18:35:07 +00:00