1775 Commits

Author SHA1 Message Date
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
bsmedberg%covad.net
c10674be1d Update LOCAL_INCLUDES to new srcdir location of shistory (docshell/shistory, not xpfe/components/shistory), from bug 305090
git-svn-id: svn://10.0.0.236/trunk@178180 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 18:07:04 +00:00
bsmedberg%covad.net
d148622af5 Bug 305090 - build shistory from docshell instead of xpfe/components (see also bug 230363 where the cvsmoves were actually performed) r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@178165 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 16:35:41 +00:00
bryner%brianryner.com
da77ba9f16 fix case on #include
git-svn-id: svn://10.0.0.236/trunk@178147 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:05 +00:00
bryner%brianryner.com
8700f7cbe0 Invalidate cached presentation if the DOM is mutated (bug 292962). Patch by sicking, r+sr=me, a=chofmann.
git-svn-id: svn://10.0.0.236/trunk@178146 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:04 +00:00
bryner%brianryner.com
ed7abec824 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver.
git-svn-id: svn://10.0.0.236/trunk@178145 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:03 +00:00
timeless%mozdev.org
f56401ce04 Bug 292973 Lonely forward-decl of nsISecureBrowserUIState
r=bz sr=bz a=brendan


git-svn-id: svn://10.0.0.236/trunk@178144 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:02 +00:00
bryner%brianryner.com
1308bf7995 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@178143 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:01 +00:00
bryner%brianryner.com
2fc3e4d90d Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan.
git-svn-id: svn://10.0.0.236/trunk@178142 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:17:00 +00:00
timeless%mozdev.org
a5223fee17 Bug 121730 Add number of entries actually removed from sHistory when using PurgeHistory()
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@178141 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:59 +00:00
bsmedberg%covad.net
8147b02371 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin
git-svn-id: svn://10.0.0.236/trunk@178140 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:58 +00:00
bzbarsky%mit.edu
ca33266cf5 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin


git-svn-id: svn://10.0.0.236/trunk@178139 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:57 +00:00
bzbarsky%mit.edu
c5090dc7e7 Make sure to copy the cache key when cloning. Bug 263653, r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@178138 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:56 +00:00
darin%meer.net
0bd0e47815 fixes bug 262183 "FFTrunk and Trunk crash [@ nsSHEntry::GetChildAt]" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178137 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:55 +00:00
darin%meer.net
f4fdca666b fixes bug 260314 "UMR in nsSHEntry::SetLayoutHistoryState + cleanup" r=biesi sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178136 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:54 +00:00
gerv%gerv.net
d320e88322 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@178135 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:53 +00:00
hpradhan%hotpop.com
1db037ca17 bug 229392 : minor cleanup in session history r=alecf sr=bz
git-svn-id: svn://10.0.0.236/trunk@178134 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:52 +00:00
bzbarsky%mit.edu
7faa3de39d Make sure we don't end up with a too-negative mIndex. Bug 218639, r=timeless, sr=jag
git-svn-id: svn://10.0.0.236/trunk@178133 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:51 +00:00
jaggernaut%netscape.com
96136c640f Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@178132 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:50 +00:00
peterv%propagandism.org
15786df7a5 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@178131 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:49 +00:00
darin%meer.net
ee15136ce7 fixes bug 252023 "'no-store' header directives from server or web script ignored by browser during non-SSL transactions" r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@178130 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:48 +00:00
gerv%gerv.net
b87fed4dea Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@178129 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:47 +00:00
timeless%mozdev.org
c5cd7a964e Bug 206166 Unused variable `PRInt32 cnt' in nsSHistory::CompareFrames
r=radha sr=rbs


git-svn-id: svn://10.0.0.236/trunk@178128 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:46 +00:00
seawood%netscape.com
4551216da3 Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner


git-svn-id: svn://10.0.0.236/trunk@178127 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:45 +00:00
dougt%netscape.com
43c69ced73 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a “only include” cid list that can mask CID’s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.


git-svn-id: svn://10.0.0.236/trunk@178126 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:44 +00:00
bzbarsky%mit.edu
70cfdbd9e2 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin


git-svn-id: svn://10.0.0.236/trunk@178125 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:43 +00:00
hpradhan%hotpop.com
98c8ea6418 bug 197827 : fix a leak by making nsSHEntry use nsCOMArray. r=radha sr=alecf
git-svn-id: svn://10.0.0.236/trunk@178124 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:42 +00:00