Commit Graph

172 Commits

Author SHA1 Message Date
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Gregory Szorc
09e7b06723 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
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Jeff Walden
0bfefb7eed 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
7bb3ee056b 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
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Gregory Szorc
856e3d02b4 Bug 784841 - Part 18h: Convert /docshell; r=glandium f=Ms2ger 2013-02-25 12:47:19 -08:00
Daniel Holbert
043397b0f8 Bug 837956: Mark docshell/shistory/src/ as FAIL_ON_WARNINGS. r=smaug 2013-02-05 16:54:42 -08:00
Daniel Holbert
6c99d38095 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
3a74a00b8a 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
0a286666d8 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
6c53161814 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
247106c177 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
7bef45ba1a 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
900c0a0310 Bug 819791 - Part 1: Remove nsTArrayDefaultAllocator, replacing it unconditionally with nsTArrayInfallibleAllocator. r=bz 2012-12-18 20:16:06 -05:00
Mats Palmgren
60ccae9fe3 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Nathan Froyd
bd55a07f0e Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan 2012-10-29 19:32:10 -04:00
Isaac Aggrey
cbb17fe7b2 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
c407ef6549 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
106c5d6f24 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
9eed719a44 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Isaac Aggrey
e496b51126 Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan 2012-09-28 14:55:23 -05:00
Tim Taubert
647bfe679f Bug 422543 - part 3 - tiny followup/cleanup; r=neil 2012-09-21 13:11:25 +02:00
Tim Taubert
3f54a0205a Bug 422543 - part 1 - make session history support multiple listeners; r=smaug 2012-09-20 16:41:18 +02:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Ehsan Akhgari
0fd9123eac 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
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Ehsan Akhgari
c7dd4ebaab 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
ae718ee1c0 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Tim Taubert
e0586ac554 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
42a5474001 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
d08a635be4 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
0a190baede Back out 65ffdabf1b6b (bug 698656) for orange, and lots of it 2011-10-31 20:03:26 -07:00
Justin Lebar
8a52ef0f09 Bug 698656 - mParent pointer should be on nsSHEntry, not nsSHEntryShared. r=bz 2011-10-31 22:33:24 -04:00
Mark Banner
cbd25443a2 Bug 693949 - Drop nsCStringArray. r=bsmedberg 2011-10-28 08:35:45 +01:00
Justin Lebar
fbe51410e2 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
5629c0bfc8 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Justin Lebar
e7ce3fbda2 Back out rev 571224f5f4e5 (bug 683777) due to Android b-c orange. 2011-10-17 21:09:17 -04:00
Justin Lebar
e295b19833 Bug 683777 - Back out bug 646641 on suspicion of causing crashes. rs=smaug 2011-10-12 20:15:28 -04:00
Ehsan Akhgari
2a602a5685 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
49b4c57c62 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
d8e503c38b 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
5178f4edb2 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
1760edc269 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
aa17ad67fe 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
8e5777e1a0 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
6f626c2d9a 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
1e6f7c8c73 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
dc90d67bd7 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
af1d9c6c2b 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
501d9048c0 Bug 666901 docshell should use mozilla::Preferences r=bz 2011-06-25 10:55:46 +09:00
Josh Matthews
722a88c01c Bug 663922 - Prevent null dereference of history transactions. r=smaug 2011-06-22 12:52:41 -04:00
Ed Morley
0e29105439 Bug 664979 - Merge nsISHistory_2_0_BRANCH into nsISHistory; r=bz 2011-06-18 11:03:17 +02:00
Ed Morley
223c46b36b 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
60a17761e5 Bug 622315: Refuse to navigate if a navigation is already pending. r=bz 2011-06-07 13:10:47 -07:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Justin Lebar
8ce3ec96a2 Bug 551225 - Make pushState use structured clone. r=zpao, sicking 2011-04-24 22:30:54 -04:00
Justin Lebar
f50c4cd27d 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
c25456b8bb Bug 632835 - Firefox doesn't pass iframe test from bug 363109 correctly, r=bz 2011-03-24 14:23:36 +02:00
Olli Pettay
a16f10c1ac Bug 624758, [@nsSHistory::EvictContentViewersInRange] and [@nsSHistory::EvictGlobalContentViewer], r=bz 2011-03-24 14:22:23 +02:00
Olli Pettay
5170d49ed9 Backout Bug 632835 in order to fix Bug 632835, a=backout 2011-02-26 18:30:57 +02:00
michal.novotny@gmail.com
1f899a89fb 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
d78216fbaf 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
10ea57d5ae 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
3a0bf89697 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
d707bbcfee Bug 610417 followup - Fix types in function definitions. r=smaug a=blocking-fennec 2011-01-26 10:52:45 -08:00
Alon Zakai
1c7050355d Bug 610417 - Optimize eviction in bfcache. r=smaug a=blocking-fennec 2011-01-19 11:57:36 -08:00
Olli Pettay
09dae4cf08 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
12bc1db2fb Bug 614499, release old mListRoot members, r=bz a=blocking 2010-11-26 12:29:22 +02:00
Jonas Sicking
104725b10e 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
cd33150f53 backout d25bfdc458cf a=bustage 2010-11-23 21:16:23 -08:00
Jonas Sicking
5d0624e29c 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
913484fabb Bug 612887, Try to fix a session history crash, r=jst, a=blocking 2010-11-19 14:01:10 +02:00
Olli Pettay
1701c20d5a 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
28d67e6217 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
f858e28089 Bug 534178, remove dublicate nsSHTransactions, r=bz, a=blocking
--HG--
extra : rebase_source : a963bc21f3d2fd2038d6b26e50ad9aa50f6bc3e4
2010-09-05 21:10:35 +03:00
Ms2ger
0cf7a5d525 Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron 2010-08-24 09:06:20 +02:00
Ms2ger
27271a8a8f 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
7f42094ff8 Bug 588643 - Crash in [@ nsDocShell::SetHistoryEntry ], r=bent/neil, a=blocking 2010-08-21 00:26:52 +03:00
Olli Pettay
75b4ffdc0e Bug 462076 - Dynamically inserted iframes on refresh sometimes trade places, r=bz 2010-08-17 17:13:55 +03:00
Craig Topper
b9673b8709 Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking 2010-07-21 15:05:17 -07:00
Michael Kohler
dab190d2bc 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
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Boris Zbarsky
e98cd67374 Bug 564574. Pass the first appended node to ContentAppended. r=jst, sr=sicking 2010-05-10 21:12:34 -04:00
timeless@mozdev.org
aee2821699 Bug 406160 - user configuration for browser.sessionhistory.max_entries ignored, r=biesi 2010-05-01 21:59:08 -07:00
Mitchell Field
9818f00bf2 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
1ca2b10fe5 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
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Olli Pettay
63fd91b1fa Bug 534226 - Remove support for multiple presshells, r=bz, sr=roc 2010-01-07 12:36:11 +02:00
Jesse Ruderman
cbd5e13949 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
ef5a598558 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
cc6eb188e6 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
2e9438fd2f 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
281b227c46 Bug 467144 - nsIMutationObserver::AttributeChanged should provide old attribute value; r=bzbarsky, r+sr=sicking 2009-06-29 14:36:25 -04:00
Arpad Borsos
07dc31e45f Bug 485782 - get rid of nsSupportsArray; r=sicking, sr=bsmedberg 2009-04-14 10:02:58 +02:00
Arpad Borsos
d6414ad7f7 Bug 474369 - get rid of nsVoidArray, docshell part; r=bzbarsky 2009-04-03 23:21:40 +02:00