1. 05 Dec, 2019 1 commit
  2. 02 Dec, 2019 1 commit
  3. 31 Oct, 2019 1 commit
  4. 24 Oct, 2019 1 commit
  5. 17 Oct, 2019 1 commit
  6. 23 Sep, 2019 1 commit
  7. 29 Mar, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1539482 - Reduce the number of IPC calls on nsISHEntry in... · ac22fc9f
      Anny Gakhokidze authored
      Bug 1539482 - Reduce the number of IPC calls on nsISHEntry in nsDocShell::LoadHistoryEntry, r=peterv, r=nika for adding sync IPC messages
      
      In nsDocShell::LoadHistoryEntry method, when it gets called
      from parent process, there are 13 sync IPC calls on nsISHEntry
      that retrieve  information from the session history entry and
      create a  doc shell load state object using the retrieved
      information.  By adding a new method 'CreateLoadInfo'on nsISHEntry,
      inside of which the doc shell load state object will be
      created (with appropriate data filled out) and returned,
      we eliminate 12 sync IPC call, resulting in just 1 IPC call
      to nsISHEntry::CreateLoadInfo.
      
      Differential Revision: https://phabricator.services.mozilla.com/D26042
      
      --HG--
      extra : rebase_source : a4e1fa52932fd5caabb59bd133e9fbee7f4d0e4a
      extra : amend_source : f4d9f01afac0337808ba347eb997ce83e6ae1488
      extra : source : 6ad53b35c7b4be933a3db1e1d45fa3da8a57abad
      extra : histedit_source : c08d0cebcc11a3a4f64d01566cb62d9a334a12ec
      ac22fc9f
  8. 26 Mar, 2019 1 commit
    • Anny Gakhokidze's avatar
      Bug 1539238 - Modify nsSHEntry::Create to consolidate setter calls on... · e5cb284f
      Anny Gakhokidze authored
      Bug 1539238 - Modify nsSHEntry::Create to consolidate setter calls on nsSHEntry in nsDocShell::AddToSessionHistory, r=peterv
      
      nsDocShell is the only consumer of nsISHEntry::Create, and
      in AddToSessionHistory method, after calling nsISHEntry::Create,
      it calls 8 setter methods on nsISHEntry, which results in a
      total of 9 sync IPC calls.
      
      With the proposed solution of setting everything via
      nsISHEntry::Create, we get a total of 1 sync IPC call.
      
      Differential Revision: https://phabricator.services.mozilla.com/D24979
      
      --HG--
      extra : rebase_source : af9c75043260a6333d789d3ca882173703f7bc29
      extra : amend_source : 334281153e24f9e9f0abac3983d32fb99dae6995
      extra : source : a8eed7c5d12c49366ad8acd706fa0e8464ed8549
      extra : histedit_source : 653daabf83d43571803a1e33c95a4804e4275e7d
      e5cb284f
  9. 05 Mar, 2019 1 commit
  10. 12 Feb, 2019 1 commit
  11. 30 Nov, 2018 1 commit
  12. 04 Sep, 2018 1 commit
  13. 22 Aug, 2018 2 commits
  14. 30 May, 2017 1 commit
  15. 18 May, 2017 1 commit
    • Bob Owen's avatar
      Bug 1351358 Part 1: Add flag to nsISHEntry to indicate if it was originally... · 73b521bf
      Bob Owen authored
      Bug 1351358 Part 1: Add flag to nsISHEntry to indicate if it was originally loaded in this process. r=bz
      
      This flag is for when we've loaded a URI in a remote type that is not the default
      for compatibility reasons (for example related http in the file content process).
      So that we can load the history entry in that same process as well.
      73b521bf
  16. 27 Apr, 2017 1 commit
    • Samael Wang's avatar
      Bug 1347823 - Part 1: Reorder includes and data members. r=smaug · c88a3d77
      Samael Wang authored
      Re-order includes to meet gecko's coding style, and move bool data members
      to the bottom for slightly better alignment (nsSHEntry down from 192->176,
      nsSHEntryShared down from 208->200 on a Linux64 build).
      
      MozReview-Commit-ID: CG1M6Hh39uI
      
      --HG--
      extra : rebase_source : 5762a8a3536805e2b15b71425a9376c191cf16cb
      c88a3d77
  17. 28 Jun, 2016 1 commit
  18. 01 Jun, 2016 1 commit
  19. 26 Dec, 2015 1 commit
  20. 18 Oct, 2015 1 commit
    • Nathan Froyd's avatar
      Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat · 01583602
      Nathan Froyd authored
      The bulk of this commit was generated with a script, executed at the top
      level of a typical source code checkout.  The only non-machine-generated
      part was modifying MFBT's moz.build to reflect the new naming.
      
      CLOSED TREE makes big refactorings like this a piece of cake.
      
       # The main substitution.
      find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
          xargs perl -p -i -e '
       s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
       s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
      '
      
       # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
      perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
      
       # Handle nsRefPtr.h itself, a couple places that define constructors
       # from nsRefPtr, and code generators specially.  We do this here, rather
       # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
       # things like nsRefPtrHashtable.
      pe...
      01583602
  21. 07 Oct, 2015 2 commits
    • Wes Kocher's avatar
      Backed out changeset 91d4539e00ce (bug 1207245) · 75ff20f5
      Wes Kocher authored
      --HG--
      rename : mfbt/RefPtr.h => mfbt/nsRefPtr.h
      75ff20f5
    • Nathan Froyd's avatar
      Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat · 89a69c82
      Nathan Froyd authored
      The bulk of this commit was generated with a script, executed at the top
      level of a typical source code checkout.  The only non-machine-generated
      part was modifying MFBT's moz.build to reflect the new naming.
      
       # The main substitution.
      find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
          xargs perl -p -i -e '
       s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
       s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
      '
      
       # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
      perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
      
       # Handle nsRefPtr.h itself, a couple places that define constructors
       # from nsRefPtr, and code generators specially.  We do this here, rather
       # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
       # things like nsRefPtrHashtable.
      perl -p -i -e 's/nsRefPtr/RefPtr/g' \
           mfbt/nsRefPtr.h \
           xpcom/glue/nsCOMPtr.h \
           xpcom/base/OwningNonNull.h \
           ipc/ipdl/ipdl/lower.py \
           ipc/ipdl/ipdl/builtin.py \
           dom/bindings/Codegen.py \
           python/lldbutils/lldbutils/utils.py
      
       # In our indiscriminate substitution above, we renamed
       # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
      find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
          xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
      
      if [ -d .git ]; then
          git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
      else
          hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
      fi
      
      --HG--
      rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
      89a69c82
  22. 05 Oct, 2015 1 commit
  23. 30 Sep, 2015 1 commit
  24. 07 Jun, 2016 1 commit
  25. 31 May, 2016 2 commits
  26. 15 May, 2015 1 commit
    • Birunthan Mohanathas's avatar
      Bug 1164706 - Flatten docshell/shistory/src/ directory. r=smaug · e57bdf93
      Birunthan Mohanathas authored
      --HG--
      rename : docshell/shistory/src/nsSHEntry.cpp => docshell/shistory/nsSHEntry.cpp
      rename : docshell/shistory/src/nsSHEntry.h => docshell/shistory/nsSHEntry.h
      rename : docshell/shistory/src/nsSHEntryShared.cpp => docshell/shistory/nsSHEntryShared.cpp
      rename : docshell/shistory/src/nsSHEntryShared.h => docshell/shistory/nsSHEntryShared.h
      rename : docshell/shistory/src/nsSHTransaction.cpp => docshell/shistory/nsSHTransaction.cpp
      rename : docshell/shistory/src/nsSHTransaction.h => docshell/shistory/nsSHTransaction.h
      rename : docshell/shistory/src/nsSHistory.cpp => docshell/shistory/nsSHistory.cpp
      rename : docshell/shistory/src/nsSHistory.h => docshell/shistory/nsSHistory.h
      e57bdf93
  27. 27 Mar, 2015 1 commit
  28. 21 Mar, 2015 1 commit
    • Ehsan Akhgari's avatar
      Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and... · 883849ee
      Ehsan Akhgari authored
      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
      883849ee
  29. 06 May, 2015 1 commit
  30. 18 Nov, 2014 1 commit
  31. 30 Aug, 2013 1 commit
  32. 06 Feb, 2014 1 commit
  33. 04 Sep, 2013 1 commit
  34. 29 Jun, 2013 1 commit
  35. 22 Aug, 2012 1 commit
    • Ehsan Akhgari's avatar
      Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint... · e368dc9c
      Ehsan Akhgari authored
      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 PROffset3...
      e368dc9c
  36. 11 Jul, 2012 1 commit
  37. 21 May, 2012 1 commit