Граф коммитов

51 Коммитов

Автор SHA1 Сообщение Дата
Ricky Stewart 02a7b4ebdf Bug 1654103: Standardize on Black for Python code in `mozilla-central`.
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
2020-10-26 18:34:53 +00:00
Bogdan Tara da1098d4aa 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)
2020-10-24 03:36:18 +03:00
Ricky Stewart c0cea3b0fa 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
2020-10-23 20:40:42 +00:00
Dorel Luca 1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart 50762dacab 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
2020-10-21 21:27:27 +00:00
Jonathan Kew fa5281d662 Bug 1667192 - patch 3 - For Android, package the uncompiled versions of hyphenation files. r=heycam
This reduces the APK size by about 1.4MB.

Differential Revision: https://phabricator.services.mozilla.com/D91411
2020-09-30 12:52:40 +00:00
Jonathan Kew 9f628e9a75 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-14 14:07:23 +00:00
Gurzau Raul 6831800684 Backed out changeset f0968dabe1ff (bug 1590167) for build bustage at force-cargo-library-build on a CLOSED TREE. 2019-11-14 01:24:59 +02:00
Jonathan Kew 7bb39d9e94 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-13 22:11:22 +00:00
Gurzau Raul 1e2ebb9f42 Backed out 2 changesets (bug 1590167, bug 1575008) for lints failures at mapped_hyph.h on a CLOSED TREE.
Backed out changeset 4d16c3d62cfc (bug 1575008)
Backed out changeset 97b8c3759aae (bug 1590167)
2019-11-13 21:38:23 +02:00
Jonathan Kew 62b6903f65 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-12 12:05:24 +00:00
Csoregi Natalia 2a4ef535b5 Backed out changeset 0ecfae072196 (bug 1590167) for reftest failures on 1507661-spurious-hyphenation-after-explicit.htm. CLOSED TREE 2019-11-08 23:41:05 +02:00
Jonathan Kew c01eaab5f5 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 17:33:48 +00:00
Mihai Alexandru Michis 129577da8f Backed out changeset 14e64e208672 (bug 1590167) for causing failures in spurious-hyphenation-after-explicit.html and nsHyphenator.cpp 2019-11-08 15:38:44 +02:00
Jonathan Kew 09fc119a12 Bug 1590167 - Add Rust implementation of hyphenation (mapped_hyph) and hook up in place of libhyphen. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D49967

--HG--
extra : moz-landing-system : lando
2019-11-08 12:33:23 +00:00
Stoyan Dimitrov 42e1f7dadc Bug 1401575 - Update Bulgarian hyphenation dictionary. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D47803

--HG--
extra : moz-landing-system : lando
2019-10-01 19:08:16 +00:00
Nick Alexander 8bd04abc29 Bug 1128033 - Install hyphenation files with FINAL_TARGET_FILES. r=gps
MozReview-Commit-ID: H7TXhfsVZnw

--HG--
extra : rebase_source : 7edf1d9d2e4cc502ee54804a30e97499be394732
2015-01-30 14:17:19 -08:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
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
2016-07-14 10:16:42 -06:00
Jonathan Almeida [:jonalmeida] 42e1dd6a60 Bug 1175555 - Build flag to exclude hyphenation dictionaries from Android builds. r=nalexander
--HG--
extra : transplant_source : %D5%D7J9NH%9D%26%3E%96P%96%B2%BF%F9y%7B%2C%D0%CB
2015-09-23 22:28:59 -04:00
Nick Alexander f657771fc2 Backed out changeset 8eef92e67922 (bug 1128033) for causing Bug 1135858.
--HG--
extra : rebase_source : 9ba5545a8eb7ede2ea152908437929299acae321
2015-02-24 11:13:21 -08:00
Nick Alexander 6aca4957a6 Bug 1128033 - Install hyphenation files with FINAL_TARGET_FILES. r=gps
--HG--
extra : rebase_source : ae9a8f8498d9b70f3a9a103fb544ae49e6551719
2015-01-30 14:17:19 -08:00
Nathan Froyd e1583db863 Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04:00
Jonathan Kew 4ed25cb5f9 bug 987668 - add hyphenation patterns for Polish. r=smontagu,gerv 2014-04-02 07:38:00 +01:00
Mike Hommey 50e2fd01b1 Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Mike Hommey f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Gervase Markham 5103d820f9 Bug 715549 - remove last vestiges of tri-licence. DONTBUILD. 2013-07-19 16:08:33 +01:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Gregory Szorc df855dd06e Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen 79999da98f Bug 711769 - Update Hyphen library to version 2.8.3. r=jfkthame 2011-12-18 20:18:59 +01:00
Jonathan Kew 638574176a bug 672320 pt 17.1 - hyphenation patterns for Turkish. r=smontagu 2011-08-25 16:09:45 +01:00
Jonathan Kew dcb1fcb5aa bug 672320 pt 16.1 - hyphenation patterns for Italian. r=smontagu 2011-08-25 16:08:51 +01:00
Jonathan Kew 18e20b3747 bug 672320 pt 15.1 - hyphenation patterns for Hungarian. r=smontagu 2011-08-25 16:07:57 +01:00
Jonathan Kew 41d4a89793 bug 672320 pt 14.1 - hyphenation patterns for Finnish. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew bc33e785c0 bug 672320 pt 13.1 - hyphenation patterns for Lithuanian. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew cde9b4c37b bug 672320 pt 12.1 - hyphenation patterns for Norwegian Bokmål & Nynorsk. rs=smontagu 2011-07-26 11:54:36 +01:00
Jonathan Kew 27bb3a6c10 bug 672320 pt 11.1 - hyphenation patterns for Russian. rs=smontagu 2011-07-26 11:54:32 +01:00
Jonathan Kew 95acb2940d bug 672320 pt 9.1 - add hyphenation patterns for French. rs=smontagu 2011-07-26 11:54:32 +01:00
Jonathan Kew 3000398750 bug 672320 - part 8.1 - hyphenation patterns for Serbian/Serbo-Croatian. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew ee6179443e bug 672320 - part 7.1 - hyphenation patterns for Mongolian. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew 7a9fb271df bug 672320 - part 6.1 - hyphenation patterns for German. rs=smontagu 2011-07-21 20:58:56 +01:00
Jonathan Kew 1e31132070 bug 672320 pt 4 - add hyphenation patterns for af,bg,ca,cy,da,eo,es,et,gl,hr,hsb,ia,is,kmr,la,nl,pt,sl,uk locales. rs=smontagu 2011-07-20 11:15:38 +01:00
Jonathan Kew d27895f158 bug 672320 pt 2 - add hyphenation patterns for Swedish. fb=gerv rs=smontagu 2011-07-20 11:15:24 +01:00
Jonathan Kew 3decd04fb5 bug 672320 pt 1 - include all available hyphenation patterns in the build. r=smontagu 2011-07-20 11:15:13 +01:00
Jonathan Kew f82c24614d bug 253317 - part 3.1 - build support to install hyphenation patterns. r=pike 2011-05-04 12:14:51 +01:00
Jonathan Kew 38d1f83dd8 Backed out changeset a5877159c9a1 to investigate l10n-check orange 2011-05-04 15:31:37 +01:00
Jonathan Kew fe6d65424b bug 253317 - part 3.1 - build support to install hyphenation patterns. r=pike 2011-05-04 12:14:51 +01:00