Skip to content

Add window icon on X11 and Windows - #21087

Merged
bors-servo merged 7 commits into
servo:masterfrom
UK992:window-icon
Jul 4, 2018
Merged

bors-servo merged 7 commits into
servo:masterfrom
UK992:window-icon

Conversation

@UK992

@UK992 UK992 commented Jun 23, 2018 •

Copy link
Copy Markdown
Contributor

  • There are tests for these changes OR
  • These changes do not require tests because _____

This change is Reviewable

@highfive

Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @paulrouget: ports/servo/glutin_app/window.rs, ports/servo/Cargo.toml

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 23, 2018
@jdm

jdm commented Jun 23, 2018

Copy link
Copy Markdown
Member

@bors-servo r+
Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📋 Looks like this PR is still in progress, ignoring approval

@highfive highfive assigned jdm and unassigned asajeffrey Jun 23, 2018
bors-servo pushed a commit to servo/skia that referenced this pull request Jun 23, 2018
Update glutin to 0.16

De-duplicate many dependencies in servo/servo#21087

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/skia/157)
<!-- Reviewable:end -->
@emilio emilio changed the title WIP: Add window icon on X11 and Windows Add window icon on X11 and Windows Jun 24, 2018
@emilio

emilio commented Jun 24, 2018

Copy link
Copy Markdown
Member

@bors-servo r=jdm

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit fa41be0 has been approved by jdm

@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 Jun 24, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit fa41be0 with merge ddc3bbf...

bors-servo pushed a commit that referenced this pull request Jun 24, 2018
Add window icon on X11 and Windows

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

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #20761

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/21087)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux-dev

@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 Jun 24, 2018
@CYBAI

CYBAI commented Jun 24, 2018 •

Copy link
Copy Markdown
Member

The error in linux-dev:

Details
Checking files for tidiness...

./Cargo.lock:1: duplicate versions for package `wayland-protocols`
	The following packages depend on version 0.12.5 from 'crates.io':
		wayland-window
		winit
	The following packages depend on version 0.20.10 from 'crates.io':
		smithay-client-toolkit

./Cargo.lock:1: duplicate versions for package `core-graphics`
	The following packages depend on version 0.13.0 from 'crates.io':
		cocoa
		core-text
		gfx
		glutin
		webrender
		webrender_api
		winit
	The following packages depend on version 0.14.0 from 'crates.io':
		cocoa
		glutin
		winit

./Cargo.lock:1: duplicate versions for package `winit`
	The following packages depend on version 0.11.3 from 'crates.io':
		glutin
	The following packages depend on version 0.15.0 from 'crates.io':
		glutin
		servo

./Cargo.lock:1: duplicate versions for package `tempfile`
	The following packages depend on version 2.2.0 from 'crates.io':
		wayland-window
	The following packages depend on version 3.0.2 from 'crates.io':
		smithay-client-toolkit

./Cargo.lock:1: duplicate versions for package `inflate`
	The following packages depend on version 0.3.3 from 'crates.io':
		png
	The following packages depend on version 0.4.2 from 'crates.io':
		png

./Cargo.lock:1: duplicate versions for package `core-foundation`
	The following packages depend on version 0.5.1 from 'crates.io':
		core-graphics
		core-text
		gfx
		glutin
		io-surface
		offscreen_gl_context
		webrender
		webrender_api
		winit
	The following packages depend on version 0.6.0 from 'crates.io':
		core-graphics
		glutin
		winit

./Cargo.lock:1: duplicate versions for package `wayland-sys`
	The following packages depend on version 0.12.5 from 'crates.io':
		wayland-client
		wayland-protocols
	The following packages depend on version 0.20.10 from 'crates.io':
		wayland-client
		wayland-commons
		wayland-protocols

./Cargo.lock:1: duplicate versions for package `png`
	The following packages depend on version 0.11.0 from 'crates.io':
		image
	The following packages depend on version 0.12.0 from 'crates.io':
		image

./Cargo.lock:1: duplicate versions for package `core-foundation-sys`
	The following packages depend on version 0.5.1 from 'crates.io':
		core-foundation
	The following packages depend on version 0.6.0 from 'crates.io':
		core-foundation

./Cargo.lock:1: duplicate versions for package `wayland-scanner`
	The following packages depend on version 0.12.5 from 'crates.io':
		wayland-client
		wayland-protocols
	The following packages depend on version 0.20.10 from 'crates.io':
		wayland-client
		wayland-protocols

./Cargo.lock:1: duplicate versions for package `glutin`
	The following packages depend on version 0.13.1 from 'crates.io':
		servo-skia
	The following packages depend on version 0.16.0 from 'crates.io':
		servo

./Cargo.lock:1: duplicate versions for package `image`
	The following packages depend on version 0.18.0 from 'crates.io':
		compositing
		net_traits
		script
		webdriver_server
		webrender
	The following packages depend on version 0.19.0 from 'crates.io':
		winit

./Cargo.lock:1: duplicate versions for package `wayland-client`
	The following packages depend on version 0.12.5 from 'crates.io':
		glutin
		wayland-kbd
		wayland-protocols
		wayland-window
		winit
	The following packages depend on version 0.20.10 from 'crates.io':
		glutin
		smithay-client-toolkit
		wayland-protocols
		winit

./Cargo.lock:1: duplicate versions for package `cocoa`
	The following packages depend on version 0.14.0 from 'crates.io':
		glutin
		winit
	The following packages depend on version 0.15.0 from 'crates.io':
		glutin
		winit

./Cargo.lock:1: duplicate versions for package `gif`
	The following packages depend on version 0.10.0 from 'crates.io':
		image
	The following packages depend on version 0.9.1 from 'crates.io':
		image

Running the dependency licensing lint...

@UK992

UK992 commented Jun 24, 2018

Copy link
Copy Markdown
Contributor Author

updated "servo-skia" need to be published, to reduce number of duplicated packages.

@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit fa41be0 with merge 5dcd265...

bors-servo pushed a commit that referenced this pull request Jun 30, 2018
Add window icon on X11 and Windows

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

---
<!-- 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
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #20761

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/21087)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Jun 30, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - arm32

@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 Jun 30, 2018
@atouchet

Copy link
Copy Markdown
Contributor

@UK992 would it be possible to update straight to winit 0.16/glutin 0.17? That would help fix a couple of additional issues (see: #20505 (comment), #21094 (comment)).

@asajeffrey

Copy link
Copy Markdown
Contributor

Oops, hadn't noticed the servo-skia patch. Can we remove that?

@UK992

UK992 commented Jul 2, 2018

Copy link
Copy Markdown
Contributor Author

I will removed it, its only for passing tidy, Im waiting for latest servo-skia to be published.

@paulrouget

Copy link
Copy Markdown
Contributor

Im waiting for latest servo-skia to be published.

I just published it.

@atouchet

atouchet commented Jul 3, 2018

Copy link
Copy Markdown
Contributor

winit 0.16.1 is now out.

@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 Jul 3, 2018
@UK992

UK992 commented Jul 3, 2018

Copy link
Copy Markdown
Contributor Author

Updated.

@paulrouget

Copy link
Copy Markdown
Contributor

@bors-servo: r=asajeffrey

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 3d577ba has been approved by asajeffrey

@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 Jul 4, 2018
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 3d577ba with merge ce43056...

bors-servo pushed a commit that referenced this pull request Jul 4, 2018
Add window icon on X11 and Windows

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

---
<!-- 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 #20761

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/21087)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev
Approved by: asajeffrey
Pushing ce43056 to master...

@bors-servo
bors-servo merged commit 3d577ba into servo:master Jul 4, 2018
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Jul 4, 2018
@jdm jdm mentioned this pull request Jul 17, 2018
4 tasks done
bors-servo pushed a commit that referenced this pull request Jul 17, 2018
Fix hittesting on HiDPI screens

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21168
- [x] These changes do not require tests because we do not have the ability to test embedding input yet.

<!-- 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/21190)
<!-- Reviewable:end -->
bors-servo pushed a commit that referenced this pull request Jul 17, 2018
Fix hittesting on HiDPI screens

This fixes some regressions introduced in #21087 due to treating logical coordinates as physical ones without converting between them correctly.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #21168
- [x] These changes do not require tests because we do not have the ability to test embedding input yet.

<!-- 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/21190)
<!-- Reviewable:end -->
@UK992
UK992 deleted the window-icon branch March 24, 2020 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Servo icon does not appear in application window