Commit Graph

87 Commits

Author SHA1 Message Date
Delan Azabani
94a3c49a80 Allow building with Nix on Linux distros other than NixOS (#31001)
* remove NixOS check from mach wrapper

* pin nixpkgs to fix jemalloc-sys + mozangle build scripts

* add stdenv.cc.cc to LD_LIBRARY_PATH to fix webrender build.rs

* add all buildInputs to LD_LIBRARY_PATH to fix ldd servo

* add glib + zlib to buildInputs to fix ldd servo

* working! patchelf --remove-rpath --set-interpreter

* undo changes that were ultimately unhelpful

* make compiled programs independent of Nix

* avoid installing patchelf’d toolchains in ~/.rustup

* remove another spurious change

* fix rustup pollution

* only enable on other distros when MACH_USE_NIX is set
2024-01-09 10:29:25 +00:00
Corey Farwell
117d59d393 Replace virtualenv with Python's built-in venv (#30377)
* Replace virtualenv with Python's built-in venv.

* Apply Delan's suggestions and make a couple small fixes

- Fix a tidy warning about directories that don't exist
- Use shutil instead of the redundant get_exec_path
- Miscellaneous cleanups

* Fix typo in environment variable

* fix bug where pip still tries to the wrong site-packages

---------

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Co-authored-by: Delan Azabani <dazabani@igalia.com>
2023-12-07 08:18:30 +00:00
Servo WPT Sync
c06ec90151 Sync WPT with upstream (04-10-2023) (#30493)
* Update web-platform-tests to revision b'dfda99176a5d552fb1129fa353b7e4c69f6ed92c'

* fix linter errors after WPT import

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* Update expectations

---------

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com>
2023-10-06 00:51:48 +00:00
Martin Robinson
aadf48bd4d Bootstrap pkg-config and cmake on MacOS (#30497)
These need to be installed in order to build so we can install them via
Homebrew. Do this by simply restoring the Homebrew bootstrapping logic
we had in place previously.

Fixes #27171.
2023-10-05 01:12:29 +00:00
Martin Robinson
6f4f237fbd Remove lzma path workaround for MacOS (#30053)
Now that the new version of GStreamer fixes this issue, we can remove
the workarounds for this problem as well as all of the homebrew
bootstrapping logic.
2023-08-01 11:11:46 +00:00
Jade
64adc98e64 Add .envrc to .gitignore (#29988)
This allows people on nix to add an envrc file without it polluting the
working tree.

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2023-07-18 12:36:09 +00:00
Martin Robinson
c58d74fe62 Remove UWP / Hololens support 2023-07-05 09:12:09 +02:00
Martin Robinson
bc3abf9953 Remove more Taskcluster and Treeherder integration
Servo no longer uses Taskcluster and Treeherder, so this change removes
script references to those services and support files.
2023-04-10 23:04:17 +02:00
chansuke
e10cb9e726 Cleanup .gitignore 2023-01-20 17:48:08 +09:00
teymour-aldridge
93ab63f0f0 Remove settings.json from .gitignore.
Also add `Brewfile.lock.json` to the list of ignored files.

Signed-off-by: teymour-aldridge <teymour.aldridge@icloud.com>
2021-06-24 11:31:29 +01:00
Alan Jeffrey
7930bcdd86 Remove emacs backup files, add them to .gitignore 2020-07-17 10:19:11 -05:00
Simon Sapin
494e28bbcd Generalize the 2020 regression report to show local unexpected failures 2020-05-04 18:18:48 +02:00
Paul Rouget
0b489a0135 Make it possible to add a title to context menu 2020-03-31 12:25:54 +02:00
Simon Sapin
44c72413f9 Add Layout 2020 reftests regression report
This shows WPT reftests that fail in Servo with Layout 2020 but pass with Layout 2013, together with screenshots of the corresponding runs and HTML source code for the test and its reference.

https://community-tc.services.mozilla.com/api/index/v1/task/project.servo.layout-2020-regressions-report/artifacts/public/regressions.html redirects to the latest report for the `master` branch.
2020-03-20 19:45:50 +01:00
Fernando Jiménez Moreno
cce74e814d Ignore layout debugger trace files 2020-02-21 11:11:00 +01:00
Simon Sapin
63d5d8a4b6 .gitignore all virtualenvs 2019-12-10 16:11:02 +00:00
bors-servo
a1c911f07f Auto merge of #23686 - saschanaz:git-ignore, r=jdm
Ignore VSCode IDE files

<!-- Please describe your changes on the following line: -->

This ignores launch.json (to configure debugger) and `ipch/` (for IntelliSense).

---
<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [x] These changes do not require tests because it only changes gitignore.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23686)
<!-- Reviewable:end -->
2019-09-25 05:33:52 -04:00
Paul Rouget
3e4cac3481 Cleanup AppPackages on mach clean 2019-09-21 09:45:50 +02:00
Paul Rouget
94eeea3664 "mach clean" cleans uwp artifacts 2019-09-17 07:47:01 +02:00
Paul Rouget
56dd81f852 Branding: s/servo/firefox reality/ 2019-09-06 07:45:43 +02:00
Josh Matthews
317977237d Add ARM64 configuration to ServoApp. 2019-07-23 11:14:25 -04:00
Paul Rouget
24d2213780 Add new hololens code (winrt + D3D immersive mode example) 2019-07-22 12:37:53 +02:00
Kagami Sascha Rosylight
80ac5bba36 Ignore VSCode IDE files 2019-07-05 08:31:40 +09:00
Paul Rouget
acde7e04cb Hololens port 2019-07-03 21:35:43 +02:00
bors-servo
107dfb36f3 Auto merge of #23597 - EB-Forks:vscode/extensions, r=jdm
chore(vscode): Add VSCode recommended extensions

The provided `extensions.json` file is based on the one [in `mozilla‑central`][mozilla‑central‑vscode‑extensions].

[mozilla‑central‑vscode‑extensions]: https://hg.mozilla.org/mozilla-central/file/tip/.vscode/extensions.json

---
<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because this only adds extension recommendations for **Visual Studio Code**.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23597)
<!-- Reviewable:end -->
2019-06-25 00:20:58 -04:00
ExE Boss
0f46f5c052 chore(vscode): Add VSCode recommended extensions
The provided `extensions.json` file is based on the one
[in `mozilla‑central`][mozilla‑central‑vscode‑extensions].

[mozilla‑central‑vscode‑extensions]:
https://hg.mozilla.org/mozilla-central/file/tip/.vscode/extensions.json
2019-06-19 08:14:19 +02:00
Maharsh
30cc087526 Changes for gitignore 2019-05-09 18:30:25 -04:00
Tom Servo
846c3ba1a3 Update manifest integration to reflect upstream API changes. 2018-11-23 15:48:02 -05:00
Simon Sapin
09d8339b46 Code coverage for decisionlib 2018-10-09 14:00:25 +02:00
Simon Sapin
9e544c2aae Remove the egl-configs diagnostic program
It has served its purpose. If we ever need it again it’s in git history.
2018-07-02 19:00:48 +02:00
Simon Sapin
eab971cba1 Android cross-compiled command line hello world
`cargo run` Just Works®
2018-07-02 13:25:44 +02:00
Simon Sapin
b9d5f11b20 Add ./mach bootstrap-android 2018-07-02 13:25:44 +02:00
asoni3
437276d3dc Automation Script to take screenshot for servo 2018-04-27 14:05:32 -04:00
OJ Kwon
7b0beedf3d feat(windowevent): expose CaptureWebRender event 2018-03-16 10:19:23 -07:00
Josh Matthews
0c83d95d5a Update test expectations. 2017-11-15 15:01:53 -05:00
Vijay Hebbar
4a43dba8d7 Add implementation for itemprop and itemtype
Created test file

Added the stub methods for itemprop and itemscope

Resolved html5ever dependency, added ItemScope and ItemProp attr

Resolving dependency

Added pref override on metadata attributes

Resetting to original state due to change in requirement

Reverted adding attributes

1. add a customized implementation of parse_plain_attribute
2. add the following methods to HTMLElement.webidl

added itemprop and itemtype, enabled pref in test

Added initial implementation for getting itemprop property values

Adding the wireframe for testing

Implemented function to handle itemType

Corrected typo

Fixed typo bug in code

Handling duplicates for itemtype attribute values

Added the test suite structure

Added test for extra space

Added test for regular test values

Added test cases for Single property values

Test cases to check absence of itemtype and itemprop attributes

Added code to handle absence of itemtype or itemprop attributes

Added shell script to run all test cases

cleared up Cargo file

Tidying up

Removed the local test file

Removed new line for test-tidy

Ordered key in prefs.json

Fixes for test-tidy

Enabled test preferences

Created test using wpt

Creating WPT Tests for Regular and Single Prop Types

Fixed the Regular type test

Fixed tests

Removed old test case metadata

Incorporate review changes from PR

Updated MANIFEST to sync test cases

Making changed suggested in review

Removed editor folding

Removed unnecessary code

Resolving cargo conflicts

Updated PropertyNames and itemtypes implementation

Trying different data in test case

Updated manifest

Updated code based on reviews
2017-11-06 15:11:50 -05:00
tigercosmos
a0ae81610d Print the full path for errors occurring in the servo crate 2017-11-03 13:54:39 +08:00
Emilio Cobos Álvarez
ea90730593 Also ignore orig files. 2017-06-08 17:34:23 +02:00
Emilio Cobos Álvarez
c9320de02e Remove file accidentally added in #17219.
And prevent it from happening again.
2017-06-08 17:33:58 +02:00
Imanol Fernandez
7a2a90959e Android life cycle improvements and Gradle integration 2017-04-21 18:24:10 +02:00
Fernando Jiménez Moreno
3ad473755c Unminify JS and dump it to a file before executing it 2017-04-12 09:17:52 +02:00
Xidorn Quan
de46e88ff9 Remove legacy items from .gitignore 2016-12-12 20:15:50 +11:00
David Raifaizen
0e9560e954 Adding vscode and intellij settings folders to gitignore 2016-04-23 15:50:42 -04:00
Peter
7a7bbe001c gitignore: /python/tidy/servo_tidy.egg-info/ 2016-04-17 20:41:40 +01:00
Ms2ger
549f2669f0 Stop generating a parser.out file in the source. 2016-03-01 15:02:50 +01:00
Corey Farwell
e38df50bbf Revert "Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests."
This reverts commit 47d6d958f5.
2015-09-02 09:34:01 -04:00
Ms2ger
47d6d958f5 Revert "Auto merge of #7103 - frewsxcv:python-venv, r=metajack" for breaking web-platform-tests.
This reverts commit c315404db8, reversing
changes made to b00583bd4e.
2015-08-09 11:20:40 +02:00
Corey Farwell
33f78314d9 Use one Python virtual environment for all mach commands
Prior to this commit:

* Our Python dependency story was a bit of a mess. We had complete
 Python packages (wheels and directories) living in-tree, despite
 not having any changes from upstream. This is particularly bad because
 `setup.py` never gets run on these packages which could (sometimes
 silently) unintended breakage.
* Python virtual environments (virtualenv) were only utilized for
 testing web-platform tests

After this commit:

* A single virtualenv (`python/_virtualenv`) is activated upon *every*
 call to mach
* A requirements file (`python/requirements.txt`) is added to describe
 the dependencies needed by Python modules in `python/`. The child
 commit immediately following this will remove all the dependencies
 no longer needed in-tree (for the sake of keeping this commit
 readable).

Relevant to https://github.com/servo/servo/issues/861

Fixes https://github.com/servo/servo/issues/6999
2015-08-08 18:48:02 -04:00
Jack Moffitt
07d95627ca Generate code into OUT_DIR.
This is necessary to ensure Cargo knows when to rebuild. Normally
.gitignore would be enough to exclude these from Cargo's freshness
calculation, but https://github.com/rust-lang/cargo/issues/1729 prevents
this currently. This is the new, correct way to do these thigns, just
like the style crate does.
2015-06-17 16:18:22 -06:00
Tetsuharu OHZEKI
27dfbb69c1 remove the trailing slash for consistence. 2015-03-09 02:55:14 +09:00