Commit Graph

244 Commits

Author SHA1 Message Date
Olli Pettay
a9d5a636f3 Bug 588643 - Crash in [@ nsDocShell::SetHistoryEntry ], r=bent/neil, a=blocking 2010-08-21 00:26:52 +03:00
Olli Pettay
4606a9bb94 Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Craig Topper
4caec055d0 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Michael Kohler
10548f19c5 Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Boris Zbarsky
8ccd3c1fea Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
timeless@mozdev.org
fec37a8024 Bug 406160 - user configuration for browser.sessionhistory.max_entries ignored, r=biesi 2010-05-01 21:59:08 -07:00
Mitchell Field
f544d71a9d Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Jae-Seong Lee-Russo
6a12c8a3bb Bug 530382. Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in docshell. r=jst 2010-02-09 12:09:06 -05:00
Justin Lebar
2fc408988c Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
585d440f02 Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
731c252671 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay
c0f0d7e3a5 Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Jesse Ruderman
fef9c5376c Turn 'adding a child where we already have a child' assertion into a warning for now. r=sicking. Bug 535466 tracks turning it back. 2009-12-16 18:45:17 -08:00
L. David Baron
186679f245 Change common NS_ASSERTION (bug 404693) to NS_WARN_IF_FALSE so we can make progress on making assertions be reftest failures (bug 472557). r=bzbarsky 2009-12-12 13:47:37 -08:00
Boris Zbarsky
b694bf4f11 Bug 523294 part 3. Get rid of the now-unused aStateMask argument to AttributeChanged. r=dbaron 2009-12-10 14:36:04 -08:00
Benjamin Smedberg
ba372f3a4c Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
David Bolter
047c8ca2a3 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Arpad Borsos
8415a2fae1 Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Arpad Borsos
9ac5c0fe01 Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky 2009-04-03 23:21:40 +02:00
Jeremy Lea
ce80f69254 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Boris Zbarsky
9ab3dc1969 Bug 449780. When doing a frameloader swap, clear the bfcache on both docshells, since we can't deal with all those presentations. r+sr=jst 2009-01-13 14:32:30 -05:00
Graeme McCutcheon
38c89ebd70 Bug 215405. Restore scroll position, but not form state, on no-store and SSL no-cache sites. r+sr=bzbarsky 2008-12-03 12:55:14 -05:00
Arpad Borsos
c72ef7d248 Bug 456388 - Remove PR_STATIC_CALLBACK and PR_CALLBACK(_DECL) from the tree; r+sr=brendan 2008-10-10 17:04:34 +02:00
Robert Strong
b1636cc5a5 Backed out changeset ff043f7356f7 2008-09-11 14:54:40 -07:00
Andrew Schultz
09f93d94f8 Bug 396519. Encapsulate content viewer eviction in session history. r+sr=bzbarsky 2008-09-09 21:39:38 -04:00
peterv@propagandism.org
6f9bbd6446 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
roc+@cs.cmu.edu
e39f69c653 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 2008-04-23 14:36:17 -07:00
gavin@gavinsharp.com
fc1624e95f 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 2008-04-13 18:36:04 -07:00
ajschult@verizon.net
f061985ee9 Bug 358599: Crash when closing tab [@ nsSHistory::EvictWindowContentViewers], r+sr=bzbarsky, a=shaver 2008-03-06 23:47:30 -08:00
reed@reedloden.com
851a344036 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] 2008-02-23 01:36:27 -08:00
ajschult@verizon.net
bfbb9f4dde Bug 396649: Assert that content viewers aren't where they shouldn't be (debug-only), r+sr=bzbarsky, a=mtschrep 2007-11-16 22:28:56 -08:00
roc+@cs.cmu.edu
4d69f5a10c 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 2007-11-15 17:35:41 -08:00
reed@reedloden.com
9db9a73399 Bug 392873 - "crash in nsExpirationTracker<nsSHEntry,3>::RemoveObject" (add more debugging code) [p=roc r+sr=bzbarsky a1.9=damons] 2007-11-08 22:47:00 -08:00
roc+@cs.cmu.edu
672e66c2d2 Bug 392873. Add debugging code to help track down a crash in the bfcache-expiry code. r+sr=bzbarsky,a=damon 2007-09-30 14:34:56 -07:00
ajschult@verizon.net
6f0a4654c2 Bug 396649: Content viewers not evicted when going back. r+sr+a=bzbarsky 2007-09-27 19:56:08 -07:00
roc+@cs.cmu.edu
438effcc42 Bug 395045. Expire cached content-viewers after they've been unused for 20-30 minutes. r+sr+a=bz 2007-09-21 02:19:59 -07:00
bzbarsky@mit.edu
d70bc17ca5 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 2007-09-17 15:27:17 -07:00
surkov.alexander@gmail.com
5ef16448a2 390414 - text-changed:delete event details no longer correct effective, r=aaronlev, sr=bz, a=dsicore 2007-09-05 01:22:17 -07:00
bzbarsky@mit.edu
4d53ccf996 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.
2007-07-12 13:05:45 -07:00
jwalden@mit.edu
6d7584839a 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. 2007-07-08 00:08:04 -07:00
hg@mozilla.com
05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
tor%cs.brown.edu
eaeda066b9 Bug 373089 - add a ParentChainChanged notification to nsIMutationObserver.
r+sr=sicking
2007-03-10 13:49:43 +00:00
cvshook%sicking.cc
f5194fd473 Bug 358106: Make ranges use nsIMutationObserver rather than their own notification system. r/sr=jst 2006-11-03 21:51:01 +00:00
cvshook%sicking.cc
2c39937d84 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 2006-07-02 07:23:10 +00:00
bryner%brianryner.com
1230d880ae 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 2006-06-26 18:48:52 +00:00
bryner%brianryner.com
88450714a3 Clear cached content viewes in response to the memory-pressure notification (bug 306862) r=marria 2006-06-23 18:09:24 +00:00
bzbarsky%mit.edu
9a60679a4c 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
2006-06-19 21:08:45 +00:00
darin%meer.net
0318b8c707 landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
timeless%mozdev.org
afd0c3050f Bug 334189 nsSHistory::PrintHistory should use a string class
r=jag sr=jag
2006-04-17 08:37:23 +00:00
timeless%mozdev.org
e54c2dab0e Bug 334189 nsSHistory::PrintHistory should use a string class
reindenting file
r=jag sr=jag
2006-04-17 07:50:02 +00:00
cvshook%sicking.cc
7a388e48eb Bug 333795, kill unused BeginReflow/EndReflow functions. r/sr=dbaron 2006-04-13 04:07:12 +00:00
cbiesinger%web.de
74892f0996 Bug 302115 "Try again" on XUL error page loads wrong thing after going back
r=bryner sr=bz
2006-02-19 17:33:31 +00:00
gavin%gavinsharp.com
d6e8dffdab Bug 324285 followup: remove all mentions of NS_SHISTORYLISTENER_CONTRACTID, patch by Nickolay Ponomarev <asqueella@gmail.com>, r+sr=bzbarsky 2006-02-05 16:45:52 +00:00
gavin%gavinsharp.com
5bf04cfda3 Bug 324285: Improve nsISHistoryListener.idl documentation, patch by Nickolay Ponomarev <asqueella@gmail.com>, r=bzbarsky, sr=darin 2006-02-04 19:58:48 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
bryner%brianryner.com
e437fdb07e 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. 2006-01-27 20:34:43 +00:00
bryner%brianryner.com
fecdd39740 Drop evicted content viewers from their SHEntry before calling Destroy, so that state-saving can locate the PresShell. Bug 321778, r=bzbarsky. 2006-01-05 21:01:24 +00:00
bzbarsky%mit.edu
d44ad313ae Remove nsIStyledContent. Bug 313968, r=sicking, r=dbaron on nsCSSStyleSheet
changes, sr=jst
2005-11-02 00:41:51 +00:00
bzbarsky%mit.edu
0d5a3e6aa7 Pass nsIStyledContent to AttributeChanged() so that consumers don't have to QI
to it.  Bug 313343, r=sicking, sr=jst
2005-10-27 02:25:23 +00:00
cvshook%sicking.cc
7371067364 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
2005-10-07 20:20:52 +00:00
bryner%brianryner.com
4661df8775 Remove historyMaxTotalViewers from nsISHistoryInternal, and just use a static getter on nsSHistory instead. Bug 310597, r=marria@gmail.com, sr=darin. 2005-10-01 20:38:47 +00:00
bryner%brianryner.com
8d94bd5c6f Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net 2005-09-29 20:24:27 +00:00
bryner%brianryner.com
6ba0ca043f 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. 2005-09-23 18:16:40 +00:00
bryner%brianryner.com
53d768e870 Backing out 292965 until Tp regression is understood. 2005-09-14 07:28:05 +00:00
bryner%brianryner.com
6fa0bb4be2 Reverting this change, it had no effect on Tp. 2005-09-14 07:18:17 +00:00
bryner%brianryner.com
2676977d7d Commenting out call to EvictGlobalContentViewers to test perf impact. Bug 292965. 2005-09-14 06:12:00 +00:00
bryner%brianryner.com
d67792fcc9 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. 2005-09-14 03:38:40 +00:00
bzbarsky%mit.edu
ff7e54e813 Make sure to null out the weak parent ptr in session history entries as
needed.  Bug 305181, r=bryner, sr=jst
2005-09-01 02:40:12 +00:00
bsmedberg%covad.net
b56d8a99d9 Bug 305090 - build shistory from docshell instead of xpfe/components (see also bug 230363 where the cvsmoves were actually performed) r+sr=bz 2005-08-18 16:35:41 +00:00
bryner%brianryner.com
8554eb2a6a fix case on #include 2005-08-18 11:17:05 +00:00
bryner%brianryner.com
7492c614f4 Invalidate cached presentation if the DOM is mutated (bug 292962). Patch by sicking, r+sr=me, a=chofmann. 2005-08-18 11:17:04 +00:00
bryner%brianryner.com
ac3d7d9f8e 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. 2005-08-18 11:17:03 +00:00
timeless%mozdev.org
add5acbbc1 Bug 292973 Lonely forward-decl of nsISecureBrowserUIState
r=bz sr=bz a=brendan
2005-08-18 11:17:02 +00:00
bryner%brianryner.com
9ce3952605 Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-08-18 11:17:01 +00:00
bryner%brianryner.com
6b94f1804c 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. 2005-08-18 11:17:00 +00:00
timeless%mozdev.org
dc145eb043 Bug 121730 Add number of entries actually removed from sHistory when using PurgeHistory()
r=bz sr=bz
2005-08-18 11:16:59 +00:00
bsmedberg%covad.net
7892b7d614 Bug 275605 - libxul step 3 (all of tier 9, except libmozjs.so which will remain separate indefinitely) r=darin 2005-08-18 11:16:58 +00:00
bzbarsky%mit.edu
d043a3ce48 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
2005-08-18 11:16:57 +00:00
bzbarsky%mit.edu
e117f7c124 Make sure to copy the cache key when cloning. Bug 263653, r+sr=darin 2005-08-18 11:16:56 +00:00
darin%meer.net
8b73005309 fixes bug 262183 "FFTrunk and Trunk crash [@ nsSHEntry::GetChildAt]" r=biesi sr=bzbarsky 2005-08-18 11:16:55 +00:00
darin%meer.net
41f3b5f8a9 fixes bug 260314 "UMR in nsSHEntry::SetLayoutHistoryState + cleanup" r=biesi sr=bzbarsky 2005-08-18 11:16:54 +00:00
gerv%gerv.net
49d60be6a9 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-18 11:16:53 +00:00
hpradhan%hotpop.com
055a32ce6a bug 229392 : minor cleanup in session history r=alecf sr=bz 2005-08-18 11:16:52 +00:00
bzbarsky%mit.edu
5c860a09e1 Make sure we don't end up with a too-negative mIndex. Bug 218639, r=timeless, sr=jag 2005-08-18 11:16:51 +00:00
jaggernaut%netscape.com
54bee235ab Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2005-08-18 11:16:50 +00:00
peterv%propagandism.org
8416c3a3d3 Fix for 209699 (bug convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2005-08-18 11:16:49 +00:00
darin%meer.net
65a4ba1a9a fixes bug 252023 "'no-store' header directives from server or web script ignored by browser during non-SSL transactions" r+sr=bzbarsky 2005-08-18 11:16:48 +00:00
gerv%gerv.net
007abd140d Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-08-18 11:16:47 +00:00
timeless%mozdev.org
38ca98d438 Bug 206166 Unused variable `PRInt32 cnt' in nsSHistory::CompareFrames
r=radha sr=rbs
2005-08-18 11:16:46 +00:00
seawood%netscape.com
277bd6e669 Implement mozcomps static build variant.
Remove unnecessary EXPORT_LIBRARY settings.
Bug #201602 r=bryner
2005-08-18 11:16:45 +00:00
dougt%netscape.com
b607052d35 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.
2005-08-18 11:16:44 +00:00
bzbarsky%mit.edu
b69a739453 Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2005-08-18 11:16:43 +00:00
hpradhan%hotpop.com
2a54071991 bug 197827 : fix a leak by making nsSHEntry use nsCOMArray. r=radha sr=alecf 2005-08-18 11:16:42 +00:00
jaggernaut%netscape.com
405cc280c8 Bug 126826: back/forward buttons stop working because of invalid value for sessionhistory.max_entries in prefs.js. r=jrgm, sr=bryner, a=asa 2005-08-18 11:16:41 +00:00
locka%iol.ie
11f0cd2e2b Better explain nsIWebNavigation "document" attribute, fix spelling of "referringURI" attribute. b=192322 r=danm@netscape.com sr=bzbarsky@mit.edu a=asa@mozilla.org 2005-08-18 11:16:40 +00:00
dbaron%dbaron.org
ac982a9e9f Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2005-08-18 11:16:39 +00:00
dougt%netscape.com
14f2cb2b10 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2005-08-18 11:16:38 +00:00
radha%netscape.com
3892d56d4a 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. 2005-08-18 11:16:37 +00:00
rpotts%netscape.com
8f0201019d 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. 2005-08-18 11:16:36 +00:00