Skip to content

Sanitise web fonts - #7634

Closed
nox wants to merge 1 commit into
servo:masterfrom
nox:fontsan
Closed

nox wants to merge 1 commit into
servo:masterfrom
nox:fontsan

Conversation

@nox

@nox nox commented Sep 14, 2015

Copy link
Copy Markdown
Contributor

Fixes #3030. Original work by @kmcallister.

Review on Reviewable

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 14, 2015
@nox nox mentioned this pull request Sep 14, 2015
@nox

nox commented Sep 14, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo r=pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit dc328d6 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 14, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit dc328d6 with merge 128461d...

bors-servo pushed a commit that referenced this pull request Sep 14, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - gonk

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 14, 2015
@jdm

jdm commented Sep 15, 2015

Copy link
Copy Markdown
Member
+ ./configure --with-zlib=/home/servo/buildbot/slave/gonk/build/target/arm-linux-androideabi/debug/build/fontsan-d3cbc03c2b9e68ec/out/fake-zlib-install CFLAGS=-fPIC -include /home/servo/buildbot/slave/gonk/build/target/arm-linux-androideabi/debug/build/fontsan-d3cbc03c2b9e68ec/out/fake-zlib-install/include/zlib.h CXXFLAGS=-fPIC -include /home/servo/buildbot/slave/gonk/build/target/arm-linux-androideabi/debug/build/fontsan-d3cbc03c2b9e68ec/out/fake-zlib-install/include/zlib.h LDFLAGS=-L /home/servo/buildbot/slave/gonk/build/target/arm-linux-androideabi/debug/build/fontsan-d3cbc03c2b9e68ec/out/fake-zlib-install/lib
configure: error: in `/home/servo/.cargo/git/checkouts/fontsan-0cbd0044c518b5ef/master/ots':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
thread '<main>' panicked at 'assertion failed: Command::new("./scripts/build-ots.sh").status().unwrap().success()', /home/servo/.cargo/git/checkouts/fontsan-0cbd0044c518b5ef/master/build.rs:9

@nox nox added the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Sep 16, 2015
@nox nox assigned mbrubeck and pcwalton and unassigned pcwalton and mbrubeck Sep 16, 2015
@nox

nox commented Sep 16, 2015

Copy link
Copy Markdown
Contributor Author

servo/fontsan#5

@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 16, 2015
@nox

nox commented Sep 16, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo r=pcwalton

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 12efa30 has been approved by pcwalton

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Sep 16, 2015
@nox nox removed the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Sep 16, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 12efa30 with merge 4fbcf8b...

bors-servo pushed a commit that referenced this pull request Sep 16, 2015
@highfive highfive added S-awaiting-review There is new code that needs to be reviewed. and removed S-tests-failed The changes caused existing tests to fail. labels Sep 21, 2015
@nox

nox commented Sep 21, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo retry

@larsbergstrom It's probably going to fail again, will you be able to get me the config.log file before it gets away?

@nox

nox commented Sep 21, 2015

Copy link
Copy Markdown
Contributor Author

@bors-servo try

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Trying commit 85a9d7a with merge 943ddde...

bors-servo pushed a commit that referenced this pull request Sep 21, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - gonk

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 21, 2015
@nox

nox commented Sep 21, 2015

Copy link
Copy Markdown
Contributor Author

We don't pass --sysroot to the Android toolchain, that's why it doesn't build. Any idea how ANDROID_SYSROOT should be computed in fontsan?

@bors-servo

Copy link
Copy Markdown
Contributor

☔ The latest upstream changes (presumably #7596) made this pull request unmergeable. Please resolve the merge conflicts.

@highfive highfive added S-needs-rebase There are merge conflict errors. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Sep 28, 2015
@mbrubeck

Copy link
Copy Markdown
Contributor

We don't pass --sysroot to the Android toolchain, that's why it doesn't build. Any idea how ANDROID_SYSROOT should be computed in fontsan?

For the OpenSSL build, we set ANDROID_SYSROOT in openssl.sh. Maybe we could move this code into the mach build command so it's available for all packages.

@mbrubeck mbrubeck removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 13, 2015
@eefriedman eefriedman added the S-needs-code-changes Changes have not yet been made that were requested by a reviewer. label Nov 13, 2015
@frewsxcv

Copy link
Copy Markdown
Contributor

Any updates?

@jdm jdm mentioned this pull request Feb 26, 2016
@jdm

jdm commented Feb 26, 2016

Copy link
Copy Markdown
Member

Closing due to lack of updates.

@jdm jdm closed this Feb 26, 2016
talklittle added a commit to talklittle/servo that referenced this pull request Jun 7, 2016
Original author was
Keegan McAllister <[email protected]>
in stale May 2015 branch (servoGH-7634).

This commit is rebased to current servo master and
accounts for the async loading of web fonts.
talklittle added a commit to talklittle/servo that referenced this pull request Jun 7, 2016
Original author was
Keegan McAllister <[email protected]>
in stale May 2015 branch (servoGH-7634).

This commit is rebased to current servo master and
accounts for the async loading of web fonts.
@talklittle talklittle mentioned this pull request Jun 7, 2016
4 of 5 tasks
bors-servo pushed a commit that referenced this pull request Jun 7, 2016
Sanitize web fonts

<!-- Please describe your changes on the following line: -->
Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #3030 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because original PR #7634 didn't require tests

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Original author was @kmcallister in 2015

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11649)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Jun 10, 2016
Sanitize web fonts

<!-- Please describe your changes on the following line: -->
Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #3030 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because original PR #7634 didn't require tests

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Original author was @kmcallister in 2015

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11649)
<!-- Reviewable:end -->
talklittle added a commit to talklittle/servo that referenced this pull request Jul 2, 2016
Original author was
Keegan McAllister <[email protected]>
in stale May 2015 branch (servoGH-7634).

This commit is rebased to current servo master and
accounts for the async loading of web fonts.
bors-servo pushed a commit that referenced this pull request Jul 6, 2016
Sanitize web fonts

<!-- Please describe your changes on the following line: -->
Use https://github.com/servo/fontsan to sanitize web fonts. This is essentially a rebase of #7634

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #3030 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because original PR #7634 didn't require tests

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Original author was @kmcallister in 2015

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11649)
<!-- Reviewable:end -->
talklittle added a commit to talklittle/servo that referenced this pull request Jul 15, 2016
Original author was
Keegan McAllister <[email protected]>
in stale May 2015 branch (servoGH-7634).

This commit is rebased to current servo master and
accounts for the async loading of web fonts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-needs-rebase There are merge conflict errors. S-tests-failed The changes caused existing tests to fail.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants