Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build the new (yet unused) style system as part of libscript, to avoid bitrot. #831

Closed
wants to merge 30 commits into from

Conversation

@SimonSapin
Copy link
Member

SimonSapin commented Aug 30, 2013

I started this in a separate repository, and imported it with git-subtree into servo/src/components/script/style after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.

@metajack
Copy link
Contributor

metajack commented Aug 30, 2013

I reviewed the rust upgrade and servo changes at the end. I'll come back and look over this code later in more detail.

bors-servo pushed a commit that referenced this pull request Aug 30, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
bors-servo pushed a commit that referenced this pull request Aug 31, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
@jdm
Copy link
Member

jdm commented Aug 31, 2013

Looks like you need to upgrade the OS X submodules too.

@SimonSapin
Copy link
Member Author

SimonSapin commented Aug 31, 2013

@jdm I don’t have a OS X system at hand. Can I still build these modules in order to upgrade them?

@SimonSapin
Copy link
Member Author

SimonSapin commented Aug 31, 2013

More generally, how can we deal with rust upgrades as we start to have more platform-specific code? (OS X, Linux, Android, …)

@jdm
Copy link
Member

jdm commented Aug 31, 2013

You could remove the os cfg directives temporarily, fix the build errors, wait for the inevitable link errors and then reapply the cfgs.

@SimonSapin
Copy link
Member Author

SimonSapin commented Sep 2, 2013

Updated PR: rebase onto servo master, and updated the OS X specific submodules to fix the Rust upgrade. This depends on those PRs being merged:
servo/core-foundation-rs#18
servo/core-graphics-rs#9
servo/core-text-rs#11
servo/io-surface-rs#7

@metajack

This comment has been minimized.

Copy link

metajack commented on 91593b5 Sep 3, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 91593b5 Sep 3, 2013

saw approval from metajack
at SimonSapin@91593b5

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

merging SimonSapin/servo/newnewcss = 91593b5 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

SimonSapin/servo/newnewcss = 91593b5 merged ok, testing candidate = b64bcf6

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

bors-servo pushed a commit that referenced this pull request Sep 3, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
I previously changed this to the same date as another commit, so the changed "disappeared" when I rebased.
@metajack

This comment has been minimized.

Copy link

metajack commented on 496072c Sep 3, 2013

r+

This comment has been minimized.

Copy link

metajack replied Sep 3, 2013

@bors: retry

This comment has been minimized.

Copy link

metajack replied Sep 4, 2013

@bors: retry

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 496072c Sep 3, 2013

saw approval from metajack
at SimonSapin@496072c

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

merging SimonSapin/servo/newnewcss = 496072c into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

SimonSapin/servo/newnewcss = 496072c merged ok, testing candidate = c15a291

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

saw approval from metajack
at SimonSapin@496072c

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 3, 2013

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

saw approval from metajack
at SimonSapin@496072c

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

merging SimonSapin/servo/newnewcss = 496072c into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

SimonSapin/servo/newnewcss = 496072c merged ok, testing candidate = 9fb1f5d

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

bors-servo pushed a commit that referenced this pull request Sep 3, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
bors-servo pushed a commit that referenced this pull request Sep 3, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
@SimonSapin
Copy link
Member Author

SimonSapin commented Sep 4, 2013

I tried a fresh clone/build of this branch, and it built fine. I could not reproduce the issue bors is having :(

bors-servo pushed a commit that referenced this pull request Sep 4, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
@metajack

This comment has been minimized.

Copy link

metajack commented on 1912b82 Sep 4, 2013

r+

@bors-servo

This comment has been minimized.

Copy link
Contributor

bors-servo commented on 1912b82 Sep 4, 2013

saw approval from metajack
at SimonSapin@1912b82

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

merging SimonSapin/servo/newnewcss = 1912b82 into auto

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

SimonSapin/servo/newnewcss = 1912b82 merged ok, testing candidate = df2906f

This comment has been minimized.

Copy link
Contributor

bors-servo replied Sep 4, 2013

fast-forwarding master to auto = df2906f

bors-servo pushed a commit that referenced this pull request Sep 4, 2013
I started this in a [separate repository](https://github.com/SimonSapin/servo-style), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt) into `servo/src/components/script/style` after some Rust minor upgrades.

I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
@bors-servo bors-servo closed this Sep 4, 2013
ChrisParis pushed a commit to ChrisParis/servo that referenced this pull request Sep 7, 2014
Move and improve keypath tests for IndexedDB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.