Commit Graph

322 Commits

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