63 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
2adfc316d8 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner
git-svn-id: svn://10.0.0.236/trunk@250716 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-23 21:36:19 +00:00
roc+%cs.cmu.edu
82431dfced Bug 392873. Make some code debug-only and add mitigation code to try to not crash when we're getting into the bad state, setting a viewer on a session history item that already has one. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@239514 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 01:35:41 +00:00
reed%reedloden.com
aadc024e97 Bug 392873 – "crash in nsExpirationTracker<nsSHEntry,3>::RemoveObject" (add more debugging code) [p=roc r+sr=bzbarsky a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@239023 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:47:00 +00:00
roc+%cs.cmu.edu
6b325628dd Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon
git-svn-id: svn://10.0.0.236/trunk@236961 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-30 21:34:56 +00:00
roc+%cs.cmu.edu
7b90bd1aa0 Bug 395045. Expire cached content-viewers after they've been unused for 20-30 minutes. r+sr+a=bz
git-svn-id: svn://10.0.0.236/trunk@236433 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-21 09:20:00 +00:00
bzbarsky%mit.edu
7fe3159fed Fix session restore to save and restore principals, so that about:blank,
javascript:, data: stuff gets restored correctly.  Bug 389274, r+sr=jst for the
docshell changes, r=zeniko@gmail.com for the session restore changes, a=mconnor


git-svn-id: svn://10.0.0.236/trunk@236165 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-17 22:27:18 +00:00
surkov.alexander%gmail.com
fa2dd72cb3 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore
git-svn-id: svn://10.0.0.236/trunk@233915 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-05 08:22:19 +00:00
bzbarsky%mit.edu
b5b433a6b7 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.


git-svn-id: svn://10.0.0.236/trunk@229833 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-12 20:05:49 +00:00
tor%cs.brown.edu
624fbcce20 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking


git-svn-id: svn://10.0.0.236/trunk@221698 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-10 13:49:43 +00:00
cvshook%sicking.cc
78a449be36 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@214666 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
aba7c6ff77 Bug 342062: Add nsIMutationObserver which has the ability to get notifications for just mutations happening in a subtree under a given node. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@201460 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-02 07:23:10 +00:00
bryner%brianryner.com
22f63d0a84 Clear the old child docshells when SetDOMDocument is called, so that they don't get persisted in session history before they're GC'd. Also, update SHEntry to hold strong references to the child docshells. Bug 319551, r=sicking sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@200898 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 18:48:52 +00:00
bzbarsky%mit.edu
6aa4a59940 Save the principal in the session history entry so that reloading a data: URL
will do the right thing.  Also, change CheckLoadURI to allow null
principals to load things that anyone can load (e.g. http:// URIs).  Bug
337260, r=dveditz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@200350 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-19 21:08:45 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cvshook%sicking.cc
ddb637eec1 Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@194292 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 04:07:12 +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
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
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
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
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
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
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
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
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
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
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
dbaron%dbaron.org
d33d869cc9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@178121 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:39 +00:00
dougt%netscape.com
88ac791904 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@178120 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:38 +00:00
radha%netscape.com
9995fb4148 Fix for bug 59774. Save scrollbar positions in sessionhistory when jumping from one anchor to another in a page. r=adamlock sr=alecf a=asa. Approved by ADT.
git-svn-id: svn://10.0.0.236/trunk@178119 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:37 +00:00
rpotts%netscape.com
3a0ad167ed bug #40867 (r=bzarsky@mit.edu, sr=jst@netscape.com, a=asa@mozilla.org) Add new caching API to allow view-source to load from the cache and not the network.
git-svn-id: svn://10.0.0.236/trunk@178118 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:36 +00:00
darin%netscape.com
693206d7ba fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@178117 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:35 +00:00
rjesup%wgate.com
2634e00d22 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@178101 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:19 +00:00
jaggernaut%netscape.com
701d6bde0d Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@178100 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:18 +00:00
radha%netscape.com
0bad995116 Fix for bus 92824. Update index in session History only after onStartLoad notifications come for the page. r=adamlaock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@178097 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:15 +00:00
radha%netscape.com
f566a35fc3 Fix for bug 79063 r=rpotts sr=darin
git-svn-id: svn://10.0.0.236/trunk@178096 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:14 +00:00
rjesup%wgate.com
323588b0c3 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.


git-svn-id: svn://10.0.0.236/trunk@178095 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:13 +00:00
radha%netscape.com
10c6744fb3 Fix for topEmbed bug 93027 r=pollmann sr=darin
git-svn-id: svn://10.0.0.236/trunk@178094 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:12 +00:00
locka%iol.ie
a6943eded0 Fix for http referrer not being sent when session history urls are loaded from the network. b=61426 sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@178092 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:10 +00:00
radha%netscape.com
c15718f778 Fix for bug # 55055. Save CacheKey in SH for postdata results r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@178091 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:09 +00:00
radha%netscape.com
e25f876b4b Fixes related to bug # 71756 r=rpotts, valeski
git-svn-id: svn://10.0.0.236/trunk@178083 18797224-902f-48f8-a5cc-f745e15eee43
2005-08-18 11:16:01 +00:00