151 Commits

Author SHA1 Message Date
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
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