Commit Graph
16 Commits
Author SHA1 Message Date
Sebastian Hengst 0643a8fe29 Backed out changeset 626c5d74b74c (bug 1315976) for breaking Mac L10n nightlies. r=backout a=backout
MozReview-Commit-ID: 8mie8tWYrcz
2016-11-28 14:19:47 +01:00
Axel Hecht 29602f4d17 bug 1315976, update compare-locales to 1.2.1, r=flod
MozReview-Commit-ID: 6sZtRiw0mQs
2016-11-24 14:30:31 +01:00
Axel Hecht efd7d8616a bug 1291275, sys.stdout is utf-8 in mach, don't double-encode, r=glandium
MozReview-Commit-ID: ISozaWZZB1h
2016-08-29 15:07:19 +02:00
Towkir Ahmed e82c9583ae Bug 1284887 - Replaced references to mxr.mozilla.org in the codebase with dxr.mozilla.org r=dolske
a=release to get around a hook that's catching these comment-only idl changes
2016-08-15 17:28:05 -07:00
Axel Hecht 63c3c6ad36 bug 1292557, update compare-locales to 1.1, r=flod
Notable changes:

Bug 1238150 - Don't consider trailing comments as junk
Bug 1292215 - Drop Junk entities from merged content, more tests

MozReview-Commit-ID: IkJMxBByHxK
2016-08-05 15:48:21 +02:00
Tom Tromey 1b5a2bdb96 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
2016-07-14 10:16:42 -06:00
Justin Wood 98f387d538 Bug 1223385 - use in-tree compare-locales in Makefiles, r=gps
Also fix that the default merge dir in the mach command creates a directory
that's the merge make target, and thus keeps that make target from actually
running.

MozReview-Commit-ID: HWZBPxWuHSy
2016-07-08 11:59:27 -04:00
Carsten "Tomcat" Book 7b5057fbf1 Backed out changeset a87a27864bb8 (bug 1223385) 2016-01-15 13:51:54 +01:00
Axel Hecht 7c94ac1c8f Bug 1223385 - use in-tree compare-locales in Makefiles, r=gps
Also fix that the default merge dir in the mach command creates a directory
that's the merge make target, and thus keeps that make target from actually
running.
2016-01-08 16:37:52 +01:00
Axel Hecht f976354802 Bug 1237678 - update compare-locales to version 1.0. r=mathjazz
changeset: 300933:aa4e0275bb3c
tag: tip
user: Axel Hecht <[email protected]>
summary: bug 1237678, update compare-locales to version 1.0, r=mathjazz
2016-01-09 17:13:13 +01:00
Axel Hecht 0ddf039908 Bug 1229330 - fix import, r=glandium
Follow-up fix to bug 1147283
2015-12-01 11:55:59 +01:00
Gregory Szorc d993a444fa Bug 1176642 - Use absolute_import in mach_commands.py files; r=glandium
This removes ambiguity as to which modules are being imported, making
import slightly faster as Python doesn't need to test so many
directories for file presence.

All files should already be using absolute imports because mach command
modules aren't imported to the package they belong to: they instead
belong to the "mach" package. So relative imports shouldn't have been
used.
2015-06-21 17:39:09 -07:00
Axel Hecht 975d09cc62 Bug 1165906 - Add docs for l10n to the tree. r=gps
Document the role of l10n.ini, filter.py, file paths and checks.

Also add a glossary for the jargon used in the doc.
2015-06-01 17:13:44 +02:00
Mike Hommey 2e51d2ef87 Bug 1147283 - Replace mozpack.path with mozpath. r=mshal
Back when mozpack.path was added, it was used as:

  import mozpack.path
  mozpack.path.func()

Nowadays, the common idiom is:

  import mozpack.path as mozpath
  mozpath.func()

because it's shorter.

$ git grep mozpath\\. | wc -l
423
$ git grep mozpack.path\\. | wc -l
123

This change was done with:
$ git grep -l mozpack.path\\. | xargs sed -i 's/mozpack\.path\./mozpath./g'
$ git grep -l 'import mozpack.path$' | xargs sed -i 's/import mozpack.path$/\0 as mozpath/'
$ (pat='import mozpack.path as mozpath'; git grep -l "$pat" | xargs sed -i "1,/$pat/b;/$pat/d")
2015-03-27 08:13:16 +09:00
Axel Hecht 0705f351c1 Bug 940103 - Add a mach command to call compare-locales. r=gps
We're using as many defaults from the configure step as we can. We're also opinionated upon the defaults, but obviously allow most compare-locales options to be specified.

There are two exceptions:
Reference language is specified to be en-US, without optional argument. This is our in-tree command, and the reference language is known.
We always clobber the merge dir, and don't give an option not to. We default to a merge dir in the objdir, so we don't need to be that paranoid as in the standalone version.

Also, compare-locales clobbers merge-dir/browser etc, so you're not going to get / removed.
2015-03-18 18:47:36 +01:00
Axel Hecht 6745cd7297 Bug 940103 - Import compare-locales in the tree. r=gps
This is http://hg.mozilla.org/l10n/compare-locales/file/48445f53a274 in the upstream repo.

To review future updates, using the github mirror will be easier, you can check
https://github.com/Pike/compare-locales/compare/873e557...master
for future commits.
2015-03-18 18:34:15 +01:00