Skip to content
Snippets Groups Projects
  1. 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
  2. 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
  3. 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
  4. Oct 22, 2020
  5. 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
  6. Nov 08, 2019
  7. Mar 09, 2019
    • Brendan Dahl's avatar
      Bug 1527977 - Share XUL prototype cache with XUL and XHTML. r=smaug · 7ebaf1cd
      Brendan Dahl authored
      Create a new parser (PrototypeDocumentParser) and content sink
      (PrototypeDocumentContentSink) that can be used by both XUL and XHTML.
      
      The new parser moves the code from XULDocument that handles creating and
      loading a nsXULPrototypeDocument from either the cache or the source
      file. Once the parser has finished loading the prototype it notifies the
      content sink. The parser is largely a stub and would be better suited
      for use as a nsBaseParser, but nsHTMLDocument unfortunately needs an
      nsIParser.
      
      The new content sink has the XULDocument code responsible for the
      prototype traversal that creates the DOM (XULDocument::ResumeWalk and
      friends) and fires off various events.
      
      To unify XUL and XHTML, the XHTML readystate event sequence is used in
      XUL. However, the layout path of XHTML loaded from the prototype cache
      more closely follows XUL, where frame initializers and layout don't
      start until the entire DOM is built.
      
      Differential Revision: https://phabricator.services.mozilla.com/D21236
      
      --HG--
      rename : dom/xul/XULDocument.cpp => dom/prototype/PrototypeDocumentContentSink.cpp
      rename : parser/moz.build => dom/prototype/moz.build
      rename : parser/moz.build => parser/prototype/moz.build
      extra : moz-landing-system : lando
      7ebaf1cd
  8. Mar 10, 2017
  9. Jul 14, 2016
    • Tom Tromey's avatar
      Bug 1286877 - do not set c-basic-offset for python-mode; r=gps · 5538d692
      Tom Tromey authored
      This removes the unnecessary setting of c-basic-offset from all
      python-mode files.
      
      This was automatically generated using
      
          perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
      
      ... on the affected files.
      
      The bulk of these files are moz.build files but there a few others as
      well.
      
      MozReview-Commit-ID: 2pPf3DEiZqx
      
      --HG--
      extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
      5538d692
  10. Nov 19, 2013
  11. Apr 16, 2013
  12. Mar 19, 2013
  13. Mar 29, 2013
  14. Feb 25, 2013
  15. Feb 01, 2013
  16. May 21, 2012
  17. Nov 08, 2001
    • jdunn%netscape.com's avatar
      · 9ad5c6d4
      jdunn%netscape.com authored
      setting up AIX to only export NSGetModule from all components
      These are if'd AIX only!
      r=cls@seawood.org
      a=blizzard@mozilla.org
      # 108864
      9ad5c6d4
Loading