Repository navigation
Remove 'get_*' on getters as per RFC 0344 on canevas, compositing, devtools, gfx, layout, net, profile, servo and webdriver_server - #7559
Conversation
|
@ddrmanxbxfr Didn't expect to see you here. I guess I will take this review. |
|
Good work. Some nits, and some questions for @mbrubeck. Could you rewrite the commit message when you amend it? You mistyped "canvas" (and its title is a bit long, but that's not very important). Reviewed 28 of 28 files at r1. components/compositing/compositor.rs, line 577 [r1] (raw file): components/gfx/font_cache_task.rs, line 224 [r1] (raw file): components/gfx/font_cache_task.rs, line 288 [r1] (raw file): components/gfx/font_template.rs, line 91 [r1] (raw file): components/gfx/platform/freetype/font_list.rs, line 30 [r1] (raw file): components/gfx/platform/freetype/font_list.rs, line 60 [r1] (raw file): components/gfx/platform/macos/font_list.rs, line 13 [r1] (raw file): components/gfx/platform/macos/font_list.rs, line 23 [r1] (raw file): components/net/storage_task.rs, line 140 [r1] (raw file): components/net_traits/image_cache_task.rs, line 114 [r1] (raw file): components/servo/lib.rs, line 190 [r1] (raw file): Comments from the review on Reviewable.io |
|
Review status: all files reviewed at latest revision, 11 unresolved discussions, all commit checks successful. components/compositing/compositor.rs, line 577 [r1] (raw file): components/gfx/font_cache_task.rs, line 224 [r1] (raw file): components/gfx/font_cache_task.rs, line 288 [r1] (raw file): components/gfx/font_template.rs, line 91 [r1] (raw file): components/gfx/platform/freetype/font_list.rs, line 30 [r1] (raw file): components/gfx/platform/freetype/font_list.rs, line 60 [r1] (raw file): components/net/storage_task.rs, line 140 [r1] (raw file): components/net_traits/image_cache_task.rs, line 114 [r1] (raw file): components/servo/lib.rs, line 190 [r1] (raw file): Comments from the review on Reviewable.io |
ee55f21 to
97970ab
Compare
|
Review status: 19 of 28 files reviewed at latest revision, 9 unresolved discussions, some commit checks pending. components/net/storage_task.rs, line 140 [r1] (raw file): components/net_traits/image_cache_task.rs, line 114 [r1] (raw file): Comments from the review on Reviewable.io |
|
@nox well I guess I'll be chipping in and try to learn some rust along the way :) |
|
-S-awaiting-review +S-awaiting-answer @mbrubeck Some last questions for you and I'm done with this review. Reviewed 9 of 9 files at r2. components/net/storage_task.rs, line 140 [r1] (raw file): components/net_traits/image_cache_task.rs, line 114 [r1] (raw file): components/servo/lib.rs, line 190 [r1] (raw file): Comments from the review on Reviewable.io |
|
-S-awaiting-answer +S-needs-code-changes Review status: 27 of 28 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. components/net/storage_task.rs, line 140 [r1] (raw file): components/servo/lib.rs, line 190 [r1] (raw file): Comments from the review on Reviewable.io |
|
@ddrmanxbxfr Ping? Almost there! :) |
|
Incoming. Had some work rush that got underway :p. Review status: 27 of 28 files reviewed at latest revision, 3 unresolved discussions, all commit checks successful. Comments from the review on Reviewable.io |
|
@nox I guess we're safe and sound now... 👍 |
|
@ddrmanxbxfr Please squash everything together. |
b7e7d8c to
03fbd8b
Compare
|
@nox ok. done. |
|
@nox I just updated the ref tests to make sure they pass using the new function names. Thanks! |
|
@bors-servo r+ Thanks for your contribution. Reviewed 32 of 32 files at r5, 30 of 30 files at r6. Comments from the review on Reviewable.io |
|
📌 Commit 44e9e3c has been approved by |
Remove 'get_*' on getters as per RFC 0344 on canevas, compositing, devtools, gfx, layout, net, profile, servo and webdriver_server Hi guys, I just gave a big pass of RFC-0344 as per issue #6224 . Pretty much renamed all the get_* fn that were used to fetch values. I hope I didn't rename too much. As said in the issue discussion, I didn't touch at the scripts folder so we keep the unsafe ones pretty explicit. I've ran the whole pass of test, everything seems to be still working right :). Please give feedback on this PR. Thanks for looking into it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7559) <!-- Reviewable:end -->
|
@nox wait before merging commit leaexplores@5db4b09 Shouldn't be in this branch.. it's open in an other PR... |
|
Rebasing without this commit! |
|
@bors-servo r- |
|
@bors-servo r- force |
|
⛄ The build was interrupted to prioritize another pull request. |
44e9e3c to
0663196
Compare
0663196 to
7320433
Compare
|
@nox Should be ok with this one. I removed the nits commits. Error on my side while rebasing commits. |
|
@bors-servo r+ |
|
📌 Commit 7320433 has been approved by |
Remove 'get_*' on getters as per RFC 0344 on canevas, compositing, devtools, gfx, layout, net, profile, servo and webdriver_server Hi guys, I just gave a big pass of RFC-0344 as per issue #6224 . Pretty much renamed all the get_* fn that were used to fetch values. I hope I didn't rename too much. As said in the issue discussion, I didn't touch at the scripts folder so we keep the unsafe ones pretty explicit. I've ran the whole pass of test, everything seems to be still working right :). Please give feedback on this PR. Thanks for looking into it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7559) <!-- Reviewable:end -->
|
☀️ Test successful - android, gonk, linux-dev, linux-rel, mac-dev-ref-unit, mac-rel-css, mac-rel-wpt |
Hi guys,
I just gave a big pass of RFC-0344 as per issue #6224 .
Pretty much renamed all the get_* fn that were used to fetch values.
I hope I didn't rename too much.
As said in the issue discussion, I didn't touch at the scripts folder so we keep the unsafe ones pretty explicit.
I've ran the whole pass of test, everything seems to be still working right :).
Please give feedback on this PR.
Thanks for looking into it.