1801 Commits

Author SHA1 Message Date
darin%meer.net
cea1dc23ec fixes bug 319368 "Implement <a ping>" r=jst sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@187296 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-11 01:50:15 +00:00
dbaron%dbaron.org
ac01cd3770 Add some PR_LOGging to help find leaks of large object graphs. b=320192 r=jst sr=darin
git-svn-id: svn://10.0.0.236/trunk@187062 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-06 06:51:45 +00:00
bryner%brianryner.com
d3dcae34e4 Drop evicted content viewers from their SHEntry before calling Destroy, so that state-saving can locate the PresShell. Bug 321778, r=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@187014 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-05 21:01:24 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
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
dbaron%dbaron.org
ea56e835a3 Make PL_InitEvent callers stop doing potentially dangerous casting of function pointers. b=305278 r=dougt sr=darin
git-svn-id: svn://10.0.0.236/trunk@184589 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-14 20:09:51 +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
bzbarsky%mit.edu
d14d1f2475 Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183371 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-02 00:41:51 +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
53c329523d Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst


git-svn-id: svn://10.0.0.236/trunk@183113 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-27 02:25:23 +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
cvshook%sicking.cc
103f17eb41 Bugs 292962 and 311269: Make pages in bf cache not behave as if they have a presentation, and evict pages from the bf cache synchronously if they are modified.
r/sr=bryner


git-svn-id: svn://10.0.0.236/trunk@181785 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-07 20:20:52 +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
jruderman%hmc.edu
a0b67e34d7 Backing out my fix for bug 301471 (XUL error pages should have 'Try Again' button focused) because it caused a regression, bug 310774 (Unable to select most menu items using keyboard when error page is shown). a=asa for backout.
git-svn-id: svn://10.0.0.236/trunk@181486 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-03 19:34:55 +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
bryner%brianryner.com
b4f55b7342 Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@181221 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-29 20:24:27 +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
8a1893c483 Reverting this change, it had no effect on Tp.
git-svn-id: svn://10.0.0.236/trunk@180181 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 07:18:17 +00:00
bryner%brianryner.com
8183a15158 Commenting out call to EvictGlobalContentViewers to test perf impact. Bug 292965.
git-svn-id: svn://10.0.0.236/trunk@180178 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-14 06:12:00 +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
bzbarsky%mit.edu
63da1ccbd0 Make sure to null out the weak parent ptr in session history entries as
needed.  Bug 305181, r=bryner, sr=jst


git-svn-id: svn://10.0.0.236/trunk@179451 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-01 02:40:12 +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
mconnor%steelgryphon.com
b487579bb9 bug 229737 - add favicon to XUL error pages, r=biesi, sr=neil
git-svn-id: svn://10.0.0.236/trunk@178906 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 05:10:19 +00:00
roc+%cs.cmu.edu
e62ae2d243 Bug 293714. Be smart about guessing whether a vertical scrollbar is needed when we do the first real reflow of a scrollframe; remember in global history whether the page needed a scrollbar or not. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178883 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-25 00:10:37 +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
roc+%cs.cmu.edu
a65887afc9 Bug 304434. Update link :visited status for URIs downloaded to helper apps. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178746 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-23 22:26:10 +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
gavin%gavinsharp.com
3b4d860aff Bug 302729 attachment 192114, netError.dtd entities can't be formatted prettily, r=cbiesinger, sr=darin
git-svn-id: svn://10.0.0.236/trunk@178584 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-22 03:16: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
jruderman%hmc.edu
5e8b511374 bug 301471 - error pages should have 'Try Again' button focused. r=biesi sr=bz
git-svn-id: svn://10.0.0.236/trunk@178533 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-21 05:17:26 +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