forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'mozilla:master' into master
- Loading branch information
Showing
704 changed files
with
81,640 additions
and
74,951 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
l10n/en-US/*.ftl @mozilla/pdfjs-l10n |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# This Source Code Form is subject to the terms of the Mozilla Public | ||
# License, v. 2.0. If a copy of the MPL was not distributed with this | ||
# file, You can obtain one at http://mozilla.org/MPL/2.0/. | ||
|
||
# See https://github.com/mozilla-l10n/moz-fluent-linter/blob/main/src/fluent_linter/config.yml | ||
# for details | ||
|
||
--- | ||
ID01: | ||
enabled: true | ||
exclusions: | ||
messages: [] | ||
files: [] | ||
ID02: | ||
enabled: true | ||
min_length: 9 | ||
exclusions: | ||
messages: [] | ||
files: [] | ||
CO01: | ||
enabled: true | ||
brands: | ||
- Firefox | ||
- Mozilla | ||
exclusions: | ||
files: [] | ||
messages: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
moz-fluent-linter==0.4.* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
name: Lint Fluent Reference Files | ||
on: | ||
push: | ||
paths: | ||
- 'l10n/en-US/**.ftl' | ||
- '.github/fluent_linter_config.yml' | ||
- '.github/workflows/fluent_linter.yml' | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'l10n/en-US/**.ftl' | ||
- '.github/fluent_linter_config.yml' | ||
- '.github/workflows/fluent_linter.yml' | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Use Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
cache: 'pip' | ||
|
||
- name: Install Fluent dependencies | ||
run: | | ||
pip install -r .github/requirements.txt | ||
- name: Lint Fluent reference files | ||
run: | | ||
moz-fluent-lint ./l10n/en-US --config .github/fluent_linter_config.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
name: Font tests | ||
on: | ||
push: | ||
paths: | ||
- 'gulpfile.mjs' | ||
- 'src/**' | ||
- 'test/test.mjs' | ||
- 'test/font/**' | ||
- '.github/workflows/font_tests.yml' | ||
branches: | ||
- master | ||
pull_request: | ||
paths: | ||
- 'gulpfile.mjs' | ||
- 'src/**' | ||
- 'test/test.mjs' | ||
- 'test/font/**' | ||
- '.github/workflows/font_tests.yml' | ||
branches: | ||
- master | ||
workflow_dispatch: | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [lts/*] | ||
os: [windows-latest, ubuntu-latest] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Gulp | ||
run: npm install -g gulp-cli | ||
|
||
- name: Install other dependencies | ||
run: npm install | ||
|
||
- name: Use Python 3.12 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.12' | ||
cache: 'pip' | ||
|
||
- name: Install Fonttools | ||
run: pip install fonttools | ||
|
||
- name: Run font tests | ||
run: gulp fonttest --headless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Lint | ||
on: [push, pull_request] | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
name: Lint | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
node-version: [lts/*] | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
|
||
- name: Install Gulp | ||
run: npm install -g gulp-cli | ||
|
||
- name: Install other dependencies | ||
run: npm install | ||
|
||
- name: Run lint | ||
run: gulp lint | ||
|
||
- name: Run lint-chromium | ||
run: gulp lint-chromium |
Oops, something went wrong.