166 Commits

Author SHA1 Message Date
peterv%propagandism.org
12abbe164f Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@251098 18797224-902f-48f8-a5cc-f745e15eee43
2008-05-02 11:36:31 +00:00
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
gavin%gavinsharp.com
a32c6fcf4a Bug 421067: 'Try Again' after a DNS error sometimes loads previous page, not the one that failed to load, patch by Michal Novotny <michal@allpeers.com>, r+sr=bzbarsky, a=schrep
git-svn-id: svn://10.0.0.236/trunk@250183 18797224-902f-48f8-a5cc-f745e15eee43
2008-04-14 01:36:04 +00:00
ajschult%verizon.net
bce76f7103 Bug 358599: Crash when closing tab [@ nsSHistory::EvictWindowContentViewers], r+sr=bzbarsky, a=shaver
git-svn-id: svn://10.0.0.236/trunk@247293 18797224-902f-48f8-a5cc-f745e15eee43
2008-03-07 07:47:30 +00:00
reed%reedloden.com
fdbd642d90 Bug 197466 - "Back button (session history) has 50 entries regardless of setting in prefs.js" [p=zug_treno@yahoo.com r+sr=bzbarsky a1.9=damons]
git-svn-id: svn://10.0.0.236/trunk@246350 18797224-902f-48f8-a5cc-f745e15eee43
2008-02-23 09:36:27 +00:00
ajschult%verizon.net
d39bb2a997 Bug 396649: Assert that content viewers aren't where they shouldn't be (debug-only), r+sr=bzbarsky, a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@239568 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-17 06:28:56 +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
ajschult%verizon.net
b7d977c90b Bug 396649: Content viewers not evicted when going back. r+sr+a=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@236821 18797224-902f-48f8-a5cc-f745e15eee43
2007-09-28 02:56:08 +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
jwalden%mit.edu
dda6ff3c99 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
git-svn-id: svn://10.0.0.236/trunk@229504 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-08 07:08:56 +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
bryner%brianryner.com
51127e588a Clear cached content viewes in response to the memory-pressure notification (bug 306862) r=marria
git-svn-id: svn://10.0.0.236/trunk@200700 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-23 18:09:24 +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
timeless%mozdev.org
33e77e2b4a Bug 334189 nsSHistory::PrintHistory should use a string class
r=jag sr=jag


git-svn-id: svn://10.0.0.236/trunk@194499 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 08:37:23 +00:00
timeless%mozdev.org
d106278739 Bug 334189 nsSHistory::PrintHistory should use a string class
reindenting file
r=jag sr=jag


git-svn-id: svn://10.0.0.236/trunk@194498 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 07:50:02 +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
cbiesinger%web.de
2a4074508b Bug 302115 "Try again" on XUL error page loads wrong thing after going back
r=bryner sr=bz


git-svn-id: svn://10.0.0.236/trunk@190544 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-19 17:33:31 +00:00
gavin%gavinsharp.com
ee4eb42bf9 Bug 324285 followup: remove all mentions of NS_SHISTORYLISTENER_CONTRACTID, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@188963 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-05 16:45:52 +00:00
gavin%gavinsharp.com
5be38747df Bug 324285: Improve nsISHistoryListener.idl documentation, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=bzbarsky, sr=darin
git-svn-id: svn://10.0.0.236/trunk@188937 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-04 19:58:48 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
bryner%brianryner.com
30b8009ef6 If a session history listener changes the current index, make sure we update the insertion point in the list to match. Bug 320742, patch by waymost+firefox@gmail.com, r+sr=me.
git-svn-id: svn://10.0.0.236/trunk@188363 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-27 20:34:43 +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
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
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
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
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
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
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