Skip to content
Snippets Groups Projects
  1. May 24, 2023
  2. May 23, 2023
  3. May 20, 2023
  4. Mar 15, 2023
  5. Feb 21, 2023
  6. Jan 17, 2023
  7. Oct 28, 2022
    • Daniel Holbert's avatar
      Bug 1797840: Replace stray tab characters with spaces in IDL files throughout... · 16170f25
      Daniel Holbert authored
      Bug 1797840: Replace stray tab characters with spaces in IDL files throughout the tree. r=mccr8,necko-reviewers,credential-management-reviewers,smaug,sgalich,valentin
      
      DONTBUILD because this is just whitespace cleanup.
      
      I found the files to fix up here using this command:
          grep -r '   ' * 2>/dev/null | grep -v "other-licenses" | grep "idl:"
      
      I replaced the tab characters with however many spaces seemed consistent with
      the indentation in the surrounding code (and did some minor space-indentation
      cleanup in contextual lines to preserve alignment, in a few cases).
      
      Differential Revision: https://phabricator.services.mozilla.com/D160577
      16170f25
  8. Sep 06, 2022
  9. Aug 25, 2022
  10. Aug 11, 2022
    • Nika Layzell's avatar
      Bug 1170668 - Improve short read handling in nsConverterInputStream, r=hsivonen · aef919f8
      Nika Layzell authored
      This patch changes how nsConverterInputStream handles passing data
      through to the underlying unicode converter in order to make it more
      reliably handle propagating errors and deal with short reads from the
      underlying input stream.
      
      This was done by making the code continuously read within the Fill
      method until at least one character has been decoded from the input
      stream, so that we don't spuriously communicate an EOF to the caller due
      to a short read not producing enough bytes for the decoder to produce a
      UTF-16 character.
      
      In addition, while making this change it became easier to signal to
      the decoder about the final read from the input stream, meaning that
      partial characters at the end of the stream will now generate a
      replacement character, rather than being ignored.
      
      Differential Revision: https://phabricator.services.mozilla.com/D152682
      aef919f8
  11. Aug 10, 2022
    • Norisz Fay's avatar
      Backed out changeset 2c6bb36b0667 (bug 1170668) for causing build bustages on... · 948922a9
      Norisz Fay authored
      Backed out changeset 2c6bb36b0667 (bug 1170668) for causing build bustages on TestShortRead.cpp CLOSED TREE
      948922a9
    • Nika Layzell's avatar
      Bug 1170668 - Improve short read handling in nsConverterInputStream, r=hsivonen · 1972b3b7
      Nika Layzell authored
      This patch changes how nsConverterInputStream handles passing data
      through to the underlying unicode converter in order to make it more
      reliably handle propagating errors and deal with short reads from the
      underlying input stream.
      
      This was done by making the code continuously read within the Fill
      method until at least one character has been decoded from the input
      stream, so that we don't spuriously communicate an EOF to the caller due
      to a short read not producing enough bytes for the decoder to produce a
      UTF-16 character.
      
      In addition, while making this change it became easier to signal to
      the decoder about the final read from the input stream, meaning that
      partial characters at the end of the stream will now generate a
      replacement character, rather than being ignored.
      
      Differential Revision: https://phabricator.services.mozilla.com/D152682
      1972b3b7
  12. Aug 03, 2022
  13. Jul 11, 2022
  14. Apr 19, 2022
  15. Dec 23, 2021
  16. Dec 01, 2021
  17. Nov 08, 2021
  18. Nov 05, 2021
  19. Oct 25, 2021
  20. Aug 25, 2021
    • Andi-Bogdan Postelnicu's avatar
      Bug 1725145 - Preparation for the hybrid build env.... · 2fc4f70e
      Andi-Bogdan Postelnicu authored
      Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
      
      Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
      when the module governed by the build config file is not buildable outside on the unified environment.
      
      This needs to be done in order to have a hybrid build system that adds the possibility of combing
      unified build components with ones that are built outside of the unified eco system.
      
      Differential Revision: https://phabricator.services.mozilla.com/D122345
      2fc4f70e
  21. Jun 23, 2021
  22. Jun 22, 2021
  23. Aug 07, 2020
  24. Oct 26, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. · 02a7b4eb
      Ricky Stewart authored
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      02a7b4eb
  25. Oct 24, 2020
    • Bogdan Tara's avatar
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for... · da1098d4
      Bogdan Tara authored
      Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
      
      Backed out changeset ff3fb0b4a512 (bug 1672023)
      Backed out changeset e7834b600201 (bug 1654103)
      Backed out changeset 807893ca8069 (bug 1518999)
      Backed out changeset 13e6b92440e9 (bug 1518999)
      Backed out changeset 8b2ac5a6c98a (bug 1518999)
      Backed out changeset 575748295752 (bug 1518999)
      Backed out changeset 65f07ce7b39b (bug 1518999)
      Backed out changeset 4bb80556158d (bug 1518999)
      Backed out changeset 8ac8461d7bd7 (bug 1518999)
      Backed out changeset e8ba13ee17f5 (bug 1518999)
      da1098d4
  26. Oct 23, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · c0cea3b0
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.
      
      5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      c0cea3b0
  27. Oct 22, 2020
  28. Oct 21, 2020
    • Ricky Stewart's avatar
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`.... · 50762dac
      Ricky Stewart authored
      Bug 1654103: Standardize on Black for Python code in `mozilla-central`. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
      
      Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.
      
      To produce this patch I did all of the following:
      
      1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.
      
      2. Run ./mach lint --linter black --fix
      
      3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.
      
      4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).
      
      # ignore-this-changeset
      
      Differential Revision: https://phabricator.services.mozilla.com/D94045
      50762dac
Loading