Commit Graph

484 Commits

Author SHA1 Message Date
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Alex Verstak
d0c9d91dc1 Bug 1113431 - Expose referrer policy to UI code via Document and nsIWebNavigation. r=jst, sr=bz 2015-01-05 09:42:31 -08:00
Daniel Holbert
082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Mike Conley
59ccb9a810 Bug 1141797. r=smaug.
--HG--
extra : rebase_source : 9f8cae40311617b1e201650c79ec96e8826f4b43
2015-03-10 18:17:24 -04:00
Ehsan Akhgari
550e972d13 Bug 1109694 - Fix more bad implicit constructors in DOM; r=baku 2014-12-10 17:49:09 -05:00
Olli Pettay
3324f67238 Bug 1102975 - Add a pref to control the content viewer expiration time in bfcache, r=khuey
--HG--
extra : rebase_source : 6fb403cdb1b73fa8e1f61945ddfd3bfe8e75a92d
2014-12-04 11:04:36 -08:00
Owen Chu
50259ae67d Bug 704320 - Parse and implement meta tag-based referrer policies for documents and nsHttpChannels. (r=bz,mcmanus) 2014-11-18 08:46:29 -05:00
Olli Pettay
65ad793583 Bug 1090918 - Multiple History items when visiting links and using 'Back', r=bz
--HG--
extra : rebase_source : ce5b34fff505a4dc0d98b8cc384e84d33bc0aed1
2014-11-13 20:19:20 +02:00
Olli Pettay
2749a2b6be Bug 1089438, reduce sanitizer warning spew, r=jst
--HG--
extra : rebase_source : d081dc4d4560b24dfa6b67464070dcb6559a4852
2014-10-27 23:23:06 +02:00
Trevor Saunders
fd5e9d1fcc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Ehsan Akhgari
f37662af0a Bug 1048242 - Fix more bad implicit constructors in docshell; r=smaug 2014-08-05 09:19:03 -04:00
Benoit Jacob
5023541089 Bug 1028588 - Fix dangerous public destructors in docshell/ - r=smaug 2014-06-23 14:49:08 -04:00
Honza Bambas
4b98e16e4c Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
006487470f Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
995070a4f7 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Birunthan Mohanathas
5f1fde8824 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Steven MacLeod
68cd3b0f84 Bug 981900 - Add OnHistoryReplaceEntry to nsISHistoryListener to handle history.replaceState. r=smaug 2014-04-24 15:12:15 -04:00
James Kitchener
9cd328df03 Bug 464222 - Allow URI loads with a base URI argument. r=bz 2014-02-20 08:43:53 -05:00
Carsten "Tomcat" Book
57ac46f7cc merge fx-team to mozilla-central 2014-02-07 09:52:32 +01:00
Emanuel Hoogeveen
72194ae795 Bug 943339 - Part 1: Only store a subset of session history entries to file. r=Yoric 2014-02-06 20:15:59 -05:00
James Kitchener
1165641363 Bug 964239 - Docshell and session history changes to add baseURI information to srcdoc loads. r=bz 2014-02-06 09:46:29 -05:00
Trevor Saunders
ff0491aef6 bug 331376 - merge nsIDocShellTreeNode into nsIDocShellTreeItem r=smaug 2014-01-06 17:34:15 -05:00
Ehsan Akhgari
1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Trevor Saunders
c5ae45823c bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug 2013-11-15 02:12:43 -05:00
Chris Peterson
4084af6e4b Bug 940225 - Build docshell in unified mode. r=bz 2013-11-18 21:39:08 -08:00
Phil Ringnalda
bcebbd2882 Back out babac1cc0741:ad287f78608a (bug 939049) for OS X build bustage
CLOSED TREE
2013-11-19 07:35:17 -08:00
Trevor Saunders
59fa7cd72f bug 939049 - staticly type nsIDocument::mDocumentContainer and nsDocumentViewerContainer::mContainer r=smaug 2013-11-15 02:12:43 -05:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
26bc04d200 Bug 939044 - Rename remaining MODULE definitions to XPIDL_MODULE. r=mshal 2013-11-19 11:47:43 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Christoph Kerschbaumer
e63ecad6f4 Bug 906190 - Persist 'disable protection' option for Mixed Content Blocker in child tabs - update load-reload inconsistency. r=tanvi, r=smaug 2013-09-05 10:59:13 -07:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Bill McCloskey
8ce7e1b22b Bug 920881 - Fix assertion in nsSHistory::EvictOutOfRangeWindowContentViewers (r=smaug) 2013-09-30 12:24:33 -07:00
Ehsan Akhgari
b5889f412e Bug 919330 - Minimize the #includes in docshell/ IDL files; r=bzbarsky
--HG--
extra : rebase_source : ddae0c7f915c086fcd98bda168ab127764d4f7fc
2013-09-22 19:25:21 -04:00
Trevor Saunders
fd75268a64 bug 915566 - rm some makefiles in docshell/ r=ted 2013-09-12 03:50:04 -04:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Ehsan Akhgari
f2299a7d0e Bug 912195 - Minimize the #includes in docshell/shistory; r=bzbarsky 2013-09-04 11:26:20 -04:00
Tim Taubert
001962a236 Bug 910161 - Remove nsIHistoryEntry and replace it with nsISHEntry; r=bz 2013-08-30 06:14:59 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4fb1aa6786 Bug 883284 - Part c: Move LIBXUL_LIBRARY into moz.build (d-e); r=mshal 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
c6ed78509a Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Ehsan Akhgari
bb2a688568 Bug 895168 - Part 4: Stop using LL_L2D in the tree; r=jcranmer
--HG--
extra : rebase_source : 16632833e00f1b3996a637ed2c583557cbc2c1c8
2013-07-18 16:50:05 -04:00
Ehsan Akhgari
e18fc7da7d Bug 895168 - Part 3: Stop using LL_SHR in the tree; r=jcranmer
--HG--
extra : rebase_source : aaf332376b7fe71d20b5a4e7ae43a3b92a55793e
2013-07-18 16:48:31 -04:00
James Kitchener
7ad74eab05 Bug 893537 - Crash after unloading an iframe with srcdoc attribute set. r=bz 2013-07-16 10:32:39 -04:00
Trevor Saunders
f33ade0d68 bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal 2013-07-11 11:06:34 -04:00
James Kitchener
c67faac389 Bug 802895 - Docshell related changes for srcdoc iframe r=bz 2013-06-28 23:13:22 -04:00
Brian O'Keefe
11bcc1cd9e Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1); r=mshal
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Mike Shal
5169c0a913 Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Gregory Szorc
1b12175ba0 Bug 873629 - Remove 129 empty Makefile.in files; r=ted 2013-05-17 16:20:11 -07:00
Ted Mielczarek
3cfd62c3d2 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
Mike Shal
df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
aceman
839310031c Bug 856238 - Remove unused includes of the obsolete nsISupportsArray and nsIEnumerator. r=Neil, r=bsmedberg 2013-04-08 14:35:31 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Mike Shal
e3efc3a646 Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc
89e86f9b21 Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jeff Walden
5ec763f216 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gregory Szorc
c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Gregory Szorc
acbdb6060f Bug 784841 - Part 18h: Convert /docshell; r=glandium f=Ms2ger 2013-02-25 12:47:19 -08:00
Daniel Holbert
cd8a058571 Bug 837956: Mark docshell/shistory/src/ as FAIL_ON_WARNINGS. r=smaug 2013-02-05 16:54:42 -08:00
Daniel Holbert
fe6018a960 Bug 837955: In builds without PR_LOGGING, define away the already-neutered logging macros in nsSHistory.cpp. r=smaug 2013-02-05 08:18:47 -08:00
Daniel Holbert
b300134c65 Bug 837801: Remove unused-since-it-was-added-in-2005 variable 'rv' from nsSHistory::Reload. r=smaug 2013-02-05 00:39:24 -08:00
Tanvi Vyas
c3eedfc7b5 Bug 822367 - Plumbing needed to show user Mixed Content Blocker Doorhanger when Mixed Active Content is Blocked and allow user an option to load the inseucre content anyway. r=smaug 2013-01-30 00:04:31 -08:00
Mats Palmgren
b7ae90666d Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Daniel Holbert
7e51858e25 Bug 823187: In nsSHistory::EvictOutOfRangeWindowContentViewers(), declare loop variable as signed, to fix signed/unsigned comparison build warning. r=jlebar 2012-12-19 13:12:48 -08:00
Justin Lebar
e73a12f35f Bug 819791 - Part 3: Make typeof nsTArray == typeof InfallibleTArray. r=bz
Also make typeof nsAutoTArray == typeof AutoInfallibleTArray and switch
files to using nsTArrayForwardDeclare.h.
2012-12-18 20:16:06 -05:00
Justin Lebar
3ff706b49a Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Mats Palmgren
924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Nathan Froyd
4c61ef9ec5 Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Isaac Aggrey
c984edf823 Bug 794510: Part 2: Use more stdint types instead of protypes.h types; r=ehsan 2012-10-11 18:38:04 -05:00
Isaac Aggrey
8cae05114f Bug 794510: Part 4 - Use PR_NewLogModule instead of PR_LOG_DEFINE; r=ehsan,wtc 2012-10-13 15:56:35 -05:00
Andrew Quartey
54074fe47f Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
816b3752e7 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Isaac Aggrey
b95ab79e45 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Tim Taubert
d0100557fd Bug 422543 - part 3 - tiny followup/cleanup; r=neil 2012-09-21 13:11:25 +02:00
Tim Taubert
566b99d348 Bug 422543 - part 1 - make session history support multiple listeners; r=smaug 2012-09-20 16:41:18 +02:00
Randell Jesup
65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
e368dc9c85 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
ec650bd6a1 Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (docshell parts); r=bzbarsky 2012-07-10 23:59:52 -04:00
David Zbarsky
d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Tim Taubert
28cac4b7d9 Bug 707862 - Reset childCount on SHEntry when all children have been removed; r=smaug 2012-02-01 11:45:53 +01:00
Thomas Prip Vestergaard
5bc052a4bd Bug 707395 - Replace PR_MIN/PR_MAX/PR_ABS with NS_MIN/NS_MAX/NS_ABS. r=jlebar 2011-12-07 19:49:00 +08:00
Justin Lebar
352344ecd7 Bug 698656 - mParent pointer should be on nsSHEntry, not nsSHEntryShared. r=bz
Now with less bustage, I hope.

--HG--
extra : rebase_source : f422a9326391cafb0505390177f1d30379e366b7
2011-10-31 22:33:24 -04:00
Phil Ringnalda
1a82cd6839 Back out 65ffdabf1b6b (bug 698656) for orange, and lots of it 2011-10-31 20:03:26 -07:00
Justin Lebar
5144bf3199 Bug 698656 - mParent pointer should be on nsSHEntry, not nsSHEntryShared. r=bz 2011-10-31 22:33:24 -04:00
Mark Banner
18642c515f Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Justin Lebar
b79dd11cfa Bug 683777 - In an attempt to fix a crash in nsDocShell::InternalLoad, re-land bug 646641 with an extra null-check. r=smaug 2011-10-21 11:26:34 -04:00
Justin Lebar
84c0c28718 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
8a9b2241c2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
6ac6233eb1 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ehsan Akhgari
92064e6d3f Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Justin Lebar
9428594606 Back out bug 622315 (ffead16f25eb) due to numerous regressions. r=bz
--HG--
extra : rebase_source : c4047ba2db97ebd31ae8dbbbd4d6e7057abf67fe
2011-10-03 17:43:36 -04:00
Michael Wu
d2b70213ac Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Kyle Huey
a6f6192a67 Bug 680344: Properly fix up a pending history navigation in nsSHistory::RemoveDuplicate. r=smaug sr=bz 2011-08-24 08:48:17 -04:00
Justin Lebar
5766614c7b Bug 678274 - Remove declaration of SetDocIdentifier() from nsSHEntryShared, since that method's implementation was removed. r=smaug 2011-08-11 15:18:37 -04:00
Justin Lebar
4ac70e6801 Bug 646641 - Part 2: Update SHistory so it understands that SHEntries may share content viewers. r=smaug
--HG--
extra : rebase_source : 431dafff170f2e6c8aa3429d5ec0f444efc53a10
2011-05-13 15:42:36 -04:00
Justin Lebar
6a78d85a21 Bug 646641 - Part 1: Create nsSHEntryShared, so SHEntries from the same document can share state. r=smaug
--HG--
extra : rebase_source : 67c37d16f9ac4cbd69f7a76ee94e47c8adf59ae3
2011-08-06 11:44:02 -04:00
Tim Taubert
5822d4664c Bug 670318 - Google+ home page creates multiple SHEntries, and if you go back to the first one, you can no longer go forward; r=smaug 2011-08-01 23:45:45 +02:00
Kyle Huey
460091a3b1 Bug 665964: If the nsISHistoryListener vetoes navigation, reset mRequestedIndex to make it clear that the navigation has been cancelled. r=bz 2011-07-08 14:30:36 -07:00
Justin Lebar
05cf9c1e16 Bug 669671 - When navigating to a history entry created via pushState or touched by replaceState, we should not force the load from cache. r=bz 2011-07-07 09:12:14 -04:00
Ed Morley
3f49fdcb2a Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted 2011-06-25 16:06:02 +02:00
Masayuki Nakano
d3e078cfbc Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Josh Matthews
3b87fa1e32 Bug 663922 - Prevent null dereference of history transactions. r=smaug 2011-06-22 12:52:41 -04:00
Ed Morley
79970c2a33 Bug 664979 - Merge nsISHistory_2_0_BRANCH into nsISHistory; r=bz 2011-06-18 11:03:17 +02:00
Ed Morley
8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Kyle Huey
12b5e9e908 Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-07 13:10:47 -07:00
Dominic Fandrey
968bf5196a Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Justin Lebar
a8ba1048dc Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Justin Lebar
0f22799642 Bug 640387 - onhashchange should be fired when navigating between history entries created via history.pushState if the entries' URIs differ only in their hashes. r=smaug
--HG--
extra : rebase_source : de3b3389e1ed402362f46b4b17f7cd386aca8361
2011-03-31 12:35:04 -04:00
Olli Pettay
55a0683f87 Bug 632835 - Firefox doesn't pass iframe test from bug 363109 correctly, r=bz 2011-03-24 14:23:36 +02:00
Olli Pettay
08504d7888 Bug 624758, [@nsSHistory::EvictContentViewersInRange] and [@nsSHistory::EvictGlobalContentViewer], r=bz 2011-03-24 14:22:23 +02:00
Olli Pettay
9ad6712138 Backout Bug 632835 in order to fix Bug 632835, a=backout 2011-02-26 18:30:57 +02:00
michal.novotny@gmail.com
eb6bbce30d Bug 632835 - Firefox doesn't pass iframe test from bug 363109 correctly, r=smaug+bz, a=hardblocker 2011-02-23 15:47:09 +02:00
Peter Van der Beken
c4aeb00d0d Fix for bug 633738 (quora.com bloats out of control (part 3)) - make nsHTMLEditor participate in CC, clear editor from SHistory if we're not storing anything else. r=jst, a=jst. 2011-02-16 13:07:47 +01:00
Dave Townsend
90729fb263 Bug 602256: Using history.pushState in a page breaks history tracking for inner frames. r=bz, a=blocks-betaN 2011-02-03 09:27:39 -08:00
Doug Turner
46e829073e Bug 624758 - crash [@nsSHistory::EvictContentViewersInRange] and [@nsSHistory::EvictGlobalContentViewer] don't handle failure of GetTransactionAtIndex. r=smaug, a=blocking-fennec
--HG--
extra : rebase_source : 9ebbd9e4d438ea2e20b61d80a76f765ab63ad4e6
2011-01-28 21:40:23 -08:00
Alon Zakai
c213200d10 Bug 610417 followup - Fix types in function definitions. r=smaug a=blocking-fennec 2011-01-26 10:52:45 -08:00
Alon Zakai
1089711c03 Bug 610417 - Optimize eviction in bfcache. r=smaug a=blocking-fennec 2011-01-19 11:57:36 -08:00
Olli Pettay
c6689c3d47 Bug 597315 Part 1 (session history) - Frameset history does not work properly when restoring a tab [r=bz, a=blocking2.0:betaN+] 2010-12-27 16:22:46 -05:00
Olli Pettay
af41923c9d Bug 614499, release old mListRoot members, r=bz a=blocking 2010-11-26 12:29:22 +02:00
Jonas Sicking
5ec63c5bb2 Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Margaret Leibovic
4d60f6bfd2 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking
c88ced1105 Bug 605019: Evict entries in the bfcache if they are holding open a database which is being upgraded. r=bent/smaug a=blocker 2010-11-23 13:24:57 -08:00
Olli Pettay
b9b052b3aa Bug 612887, Try to fix a session history crash, r=jst, a=blocking 2010-11-19 14:01:10 +02:00
Olli Pettay
d7cf6cdbbc Bug 596870 - ASSERTION: Detaching editor when it is already detached with iframes and contenteditable, r=bz, a=blocking
--HG--
extra : rebase_source : 1836f851bfe4f0d7ec6a18c6a8058b6ee7a4d817
2010-11-15 12:11:51 +02:00
Chris Jones
52d0f01838 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Olli Pettay
6861d60e76 Bug 534178, remove dublicate nsSHTransactions, r=bz, a=blocking
--HG--
extra : rebase_source : a963bc21f3d2fd2038d6b26e50ad9aa50f6bc3e4
2010-09-05 21:10:35 +03:00
Ms2ger
70a57ce50d Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
b01dbc0d56 Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron 2010-08-24 09:05:56 +02:00
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