Skip to content
Snippets Groups Projects
  1. Feb 21, 2020
  2. Feb 06, 2020
  3. Feb 05, 2020
  4. Jan 18, 2020
  5. Jan 10, 2020
  6. Dec 20, 2019
    • Chris Peterson's avatar
      Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's... · 406763af
      Chris Peterson authored
      Bug 1570499 - Part 1: Replace MOZ_FALLTHROUGH macro with C++17's [[fallthrough]] attribute. r=froydnj
      
      This changeset is a simple find and replace of `MOZ_FALLTHROUGH` and `[[fallthrough]]`.
      
      Unfortunately, the MOZ_FALLTHROUGH_ASSERT macro (to assert on case fallthrough in debug builds) is still necessary after switching from [[clang::fallthrough]] to [[fallthrough]] because:
      
      * MOZ_ASSERT(false) followed by [[fallthrough]] triggers a -Wunreachable-code warning in DEBUG builds
      * but MOZ_ASSERT(false) without [[fallthrough]] triggers a -Wimplicit-fallthrough warning in NDEBUG builds.
      
      Differential Revision: https://phabricator.services.mozilla.com/D56440
      
      --HG--
      extra : moz-landing-system : lando
      406763af
  7. Dec 12, 2019
  8. Dec 06, 2019
    • Christian Holler's avatar
      Bug 1601923 - Add initial fuzzing documentation. r=sylvestre · 70589853
      Christian Holler authored
      Differential Revision: https://phabricator.services.mozilla.com/D56178
      
      --HG--
      extra : moz-landing-system : lando
      70589853
    • Gabriele Svelto's avatar
      Bug 1600545 - Remove useless inclusions of header files generated from IDL... · 5dc21d56
      Gabriele Svelto authored
      Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
      
      The inclusions were removed with the following very crude script and the
      resulting breakage was fixed up by hand. The manual fixups did either
      revert the changes done by the script, replace a generic header with a more
      specific one or replace a header with a forward declaration.
      
      find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
          interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
          if [ -n "$interfaces" ]; then
              if [[ "$interfaces" == *$'\n'* ]]; then
                regexp="\("
                for i in $interfaces; do regexp="$regexp$i\|"; done
                regexp="${regexp%%\\\|}\)"
              else
                regexp="$interfaces"
              fi
              interface=$(basename "$path")
              rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
                  hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
                  if [ $hits -eq 0 ]; then
                      echo "Removing ${interface} from ${path2}"
                      grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                      mv -f "$path2".tmp "$path2"
                  fi
              done
          fi
      done
      
      Differential Revision: https://phabricator.services.mozilla.com/D55444
      
      --HG--
      extra : moz-landing-system : lando
      5dc21d56
  9. Dec 02, 2019
  10. Nov 25, 2019
  11. Oct 02, 2019
  12. Sep 26, 2019
  13. Sep 25, 2019
  14. Sep 26, 2019
  15. Sep 20, 2019
  16. Aug 20, 2019
  17. Sep 10, 2019
  18. Jun 25, 2019
  19. Jun 06, 2019
    • Nika Layzell's avatar
      Bug 1553272 - Eliminate the unnecessary ProtocolState object, r=froydnj · 03a2f405
      Nika Layzell authored
      The vast majority of the virtual methods which were used on ProtocolState were
      actually methods which only had meaningful implementations on the toplevel
      protocol. This patch adds a new field to IProtocol holding a direct pointer to
      the protocol's `IToplevelProtocol`, and the methods formerly implemented with
      ProtocolState now directly call the corresponding method on IToplevelProtocol.
      IToplevelProtocol then shadows these methods with the toplevel protocol
      implementation, meaning that the right code is run in the right places.
      
      In addition, some state was maintained for protocols inside of the separate
      ProtocolState allocation, and this patch moves that state back into the actor
      itself.
      
      Differential Revision: https://phabricator.services.mozilla.com/D32044
      
      --HG--
      extra : moz-landing-system : lando
      03a2f405
  20. May 01, 2019
  21. Apr 18, 2019
  22. Apr 05, 2019
  23. Apr 04, 2019
  24. Mar 21, 2019
  25. Mar 15, 2019
  26. Mar 13, 2019
  27. Feb 27, 2019
  28. Feb 26, 2019
  29. Feb 25, 2019
Loading