-
ghservo
[rust-bindgen] bors-servo pushed 0 new commits to auto:
git.io/fAvXH
-
ghservo
[rust-bindgen] bors-servo pushed 2 new commits to auto:
git.io/fAvXQ
-
ghservo
rust-bindgen/auto cd65068 Jean-Philippe Dufraigne: Not gnereate binding for variadic function with ms_abi...
-
ghservo
rust-bindgen/auto c1c7160 bors-servo: Auto merge of #1369 - jeanphilippeD:abi-variadic-997, r=emilio...
-
ghservo
[rust-bindgen] bors-servo merged auto into master:
git.io/fAvXQ
-
ghservo
[rust-bindgen] bors-servo closed issue #997: variadic function must have C or cdecl calling convention
git.io/v5dy1
-
ghservo
[servo] atouchet opened pull request #21460: List additional keyboard shortcuts (master...shortcuts)
git.io/fAvSN
-
ghservo
[webrender] gw3583 opened pull request #2977: Use get_relative_transform for clip <-> prim space conversions. (master...get-rel-4)
git.io/fAfer
-
nox
emilio: Hey, around?
-
ajeffrey|uk
nox: back from PTO?
-
ajeffrey|uk
nox: just in time to review #21029 :)
-
crowbot
PR #21029: Upgrade to SM 60 -
servo/servo #21029
-
emilio
nox: omw to the office, will be in a couple minutes
-
nox
ajeffrey|uk: Looking.
-
nox
emilio: I had ideas about how to encode C enums in bindgen.
-
nox
emilio: The gist is #[repr(transparent)] struct SomeCEnum(pub i32); const SomeVariant: SomeCEnum = SomeCEnum(32);
-
ajeffrey|uk
nox: thanks!
-
nox
emilio: This brings us a new type for the enum, ability to discriminate it against known enum values, being able to represent values that are not known enum values, and finally no weird namespacing.
-
nox
emilio: Tell me what you think when you have some time.
-
nox
ajeffrey|uk: Are you telling me no one reviewed your PR in 2 damn weeks? :|
-
nox
ajeffrey|uk: Two commits need to be squashed btw.
-
ajeffrey|uk
nox: we've been fighting CI the whole time.
-
emilio
nox: that sounds great. I think you still need the weird `SomeVariant_SomeCEnum` name (or associated consts), to handle `enum class` and co without name clashing
-
nox
emilio: Yes, associated consts for C++ enum classes,
-
emilio
nox: but generally looks good, and should be easy. I think bindgen should do associated consts by default now
-
nox
emilio: and normal consts for C ones.
-
ajeffrey|uk
nox: moving the arm builds to clang, and dealing with old MSVC builders.
-
nox
All of this stuff is stable in next Rust stable.
-
nox
emilio: I redid bindings for CGL on my spare time,
-
nox
emilio: let me gist the ffi module.
-
emilio
nox: sure. Not sure if we could differentiate between both.
-
nox
-
nox
emilio: We may not need to differentiate between both,
-
nox
emilio: but I like how this brings us closer to a 1:1 mapping for C.
-
nox
emilio: I.e. there is no namespacing of enums in C, so we shouldn't namespace them on the Rust side.
-
nox
emilio: I also did something similar in the public API
gist.github.com/nox/defd0d6f60be14c2508337cb57f57e16
-
nox
emilio: The u32 struct wrapper + associated consts mean we can have extensible enums where adding variants don't break semver.
-
emilio
nox: nice
-
ghservo
[libfontconfig] asajeffrey opened pull request #36: Use environment variables for dependencies (master...expat-config)
git.io/fAfJd
-
nox
emilio: Also I had fun with that crate,
-
nox
emilio: it doesn't depend on anything, not even bitflags.
-
nox
And in ffi.rs you can see strlen because it also doesn't depend on libstd but core has no CStr.
-
nox
ajeffrey|uk: What are the new Blob failures?
-
ajeffrey|uk
nox: goes and looks...
-
nox
ajeffrey|uk: Also I think all the expectations similar to
gist.github.com/nox/defd0d6f60be14c2508337cb57f57e16 are obsolete.
-
nox
Mmmh,
-
nox
c/p fail.
-
nox
-
nox
I think those are from when our SM was so old the stuff wouldn't parse.
-
nox
And kinda like for WebGL tests from Khronos, this is probably some sort of fail() function that doesn't even get called when the problem disappears, so the expectation update tool can't see that those should be removed.
-
ajeffrey|uk
nox: in general, the test failures are due to promise tests now running.
-
nox
ajeffrey|uk: Yeah, but that doesn't change what I said I think. :P
-
ajeffrey|uk
nox: yes, I don't know if that applies to the Blob failures.
-
nox
ajeffrey|uk: tests/wpt/web-platform-tests/css/css-transitions/idlharness.html:2:<title>css-transitions IDL tests</title>
-
nox
It's the title page, I think a good heuristic would be to double check whether remaining single failures correspond to title pages.
-
nox
emilio: Also,
-
nox
emilio: discovered that context switches are not really necessary on macOS.
-
nox
(OpenGL context switches I mean.)
-
ajeffrey|uk
-
ajeffrey|uk
which claims the blob test failures are real.
-
nox
ajeffrey|uk: Nah.
-
nox
ajeffrey|uk: That's exactly what I'm saying.
-
nox
ajeffrey|uk: This tool only works for stuff that *changed*.
-
nox
ajeffrey|uk: If you have if (some_test) { fail("that test failed") },
-
nox
and then you fix a bug that makes some_test be false,
-
ajeffrey|uk
nox: OK, I'll try removing the existing ini files and see if that makes a difference.
-
nox
the tool won't remove the failure named "that test failed".
-
nox
ajeffrey|uk: I *think* that you can safely remove any single failure that correspond to the test title.
-
nox
ajeffrey|uk: Khronos tests are full of this pattern. See commit 6c7609c6f0230c18324ef80fd34caf1bf36ce1c6 where I change no code but remove a bunch of outdated expectations.
-
ajeffrey|uk
nox: oh pox I see what you mean.
-
nox
For a sec I thought you called me pox,
-
nox
some may think I'm toxic but come on. :P
-
emilio
nox: oh, how so/
-
emilio
*?
-
nox
emilio: You on your computer?
-
emilio
nox: yes
-
ajeffrey|uk
nox: removing the existing .ini files then running update-wpt should be sensible?
-
nox
emilio: Open /System/Library/Frameworks/OpenGL.framework/Headers/gliDispatch.h
-
nox
ajeffrey|uk: Yeah.
-
emilio
nox: not sure I'd find that on Linux ;)
-
nox
emilio: Oh. :)
-
nox
emilio: Let me find them on GH.
-
nox
-
nox
-
nox
emilio: I also googled for a while and find documentation about Quartz Composer plugins where they say to never change the current context and instead use those macros,
-
nox
and other random people confirming that you can safely call gl functions on inactive contexts with this stuff.
-
nox
emilio: I think we could experiment with implementing the gleam trait with that stuff if I ever finish the stuff I was doing those last 2 weeks around CGL.
-
nox
TL;DR macOS has an internal dispatch table with a renderer parameter that we can call ourselves.
-
nox
ajeffrey|uk: So SM doesn't build with clang? :(
-
nox
And why is libfontconfig patched?
-
emilio
nox: so that's like a vtable associated to a given context? Makes sense
-
nox
emilio: Yes.
-
nox
emilio: Also, I think I know how to implement preserveDrawingBuffer,
-
nox
emilio: and I think I found the context loss infra in CGL.
-
emilio
nox: I didn't know about context loss in CGL, thought it was mostly an EGL thingie
-
nox
emilio: It's pretty much the same.
-
nox
emilio: Not lost / innocent / guilty blacklisted status that gets autocleared on lookup, except for the guilty blacklisted one.
-
nox
ajeffrey|uk: Could you maybe post an executive summary of the various current hacks in your PR?
-
nox
There is >300 comments and I don't really want to dig the info after 2 weeks of PTO. :P
-
emilio
lol
-
ajeffrey|uk
nox: SM does build with clang, but getting all our other dependencies to compile with clang took a while.
-
nox
ajeffrey|uk: So it doesn't need GCC 6 anymore?
-
ajeffrey|uk
nox: the change to libfontconfig is to allow EXPAT_LIB_DIR to be set.
-
nox
What's the relation between EXPAT_LIB_DIR and libfontconfig and SM?
-
nox
And could you write all of that stuff in a commit message please?
-
ajeffrey|uk
nox: we use gcc for the x86_64 builds,
-
nox
Why?
-
ajeffrey|uk
nox: changing as little as possible.
-
nox
Oh we already use GCC? I'm dumb.
-
nox
Ok.
-
ajeffrey|uk
We moved to clang where we had to.
-
nox
ajeffrey|uk: Can you squash the expectations' commits together? Not with the first one but I want to start the review with them.
-
ajeffrey|uk
nox: the annoying one was arm, where we only moved because the gcc x-compilers are stuck on old versions on trusty.
-
ajeffrey|uk
nox: they are all squashed, apart from the ones I'm doing now.
-
nox
No package 'gstreamer-video-1.0' found
-
nox
Ugh I can't build Servo anymore.
-
ajeffrey|uk
nox: I'll post an executive summary of the SMup changes.
-
nox
Manishearth: Why are all those gstreamer plugins needed?
-
nox
I don't really want to install a package with -bad or -ugly in its name. :/
-
nox
ajeffrey|uk: Ack thanks.
-
ajeffrey|uk
nox: welcome to gstreamer :)
-
nox
ajeffrey|uk: But I just want a build.
-
nox
I don't think the README should require ogg support and whatnot, I doubt Servo doesn't build without it.
-
nox
Can't find which package provide gstreamer-player :(
-
eijebong
nox: Which distribution ?
-
nox
macOS
-
nox
Homebrew
-
eijebong
Ha
-
eijebong
Don't know then but I think there's a PR to help people on mac
-
nox
Ah, it's the -bad plugins set.
-
nox
Whatever…
-
eijebong
-
crowbot
PR #21422: Add macOS gstreamer setup -
servo/servo #21422
-
nox
Yeah I saw that but I'm trying to understand what provides what.
-
nox
AFAICT you don't need the -ugly and the -good ones.
-
nox
ajeffrey|uk: enumerate/newEnumerate
-
nox
Reminds me mysql_escape_string and mysql_real_escape_string.
-
nox
ajeffrey|uk: Good summary, thanks!
-
nox
ajeffrey|uk: What's JSCLASS_FOREGROUND_FINALIZE out of curiosity?
-
nox
ajeffrey|uk: Many changes seem to introduce new intermediate variables for no reason, is there an explanation somewhere for those?
-
nox
ajeffrey|uk: Never mind I can't read. -_-
-
philn
nox: -good is needed, -ugly well... i think you can avoid it yes :)
-
nox
philn: Yep it built. :)
-
philn
-bad is not bad per-se, it's more like a staging area for -good and -base
-
nox
ajeffrey|uk: `ref mut` bindings mean you don't know at call sites whether the mutability is needed or not.
-
nox
ajeffrey|uk: Done.
-
nox
ajeffrey|uk: Will review expectations after lunch.
-
nox
standups: Reviewed the SMUP PR.
-
standups
Ok, submitted #59454 for
standu.ps/user/nox
-
nox
emilio: Just realised something,
-
nox
emilio: you know how c_void is weirdly defined in libstd and is actually some sort of i8 value right?
-
nox
emilio: that's because otherwise LLVM gets confused sometimes and misses optimisation opportunities.
-
nox
emilio: Doesn't that mean the various zero-sized struct types for opaque pointers in bindgen suffer from that issue too?
-
ajeffrey|uk
nox: ta.
-
ajeffrey|uk
nox: JSCLASS_FOREGROUND_FINALIZE is because you need to specify the finalizer style in SM these days, I picked one at random.
-
nox
ajeffrey|uk: What if I prefer the purple one?
-
ajeffrey|uk
nox: submit a PR :)
-
emilio
nox: I did not, lol. (so, perhaps?)
-
eijebong
rust-lang/rust #53521 This might help with script compile times :)
-
crowbot
PR #53521: syntax: Optimize some literal parsing -
rust-lang/rust #53521
-
nox
emilio: Maybe. :D I don’t really know. Maybe eddyb knows.
-
eddyb
wat
-
eddyb
why would I know anything
-
eddyb
nox: oh that's easily alleviated, I think?
-
eddyb
nox: make them transparent byte wrappers
-
nox
eddyb: Yes yes, was just wondering.
-
eddyb
nox: idk if LLVM still has that bug tbh
-
nox
eddyb: extern types would work too right?
-
nox
eddyb: Oh interesting.
-
eddyb
nox: probably not right now?
-
eddyb
LLVM shouldn't give a rat's... tail... about pointee types
-
nox
eddyb: Why not right now?
-
eddyb
because they're not i8's?
-
nox
We control what happens with extern types right?
-
eddyb
yeah
-
nox
Ah, why not?
-
eddyb
just not on today's nightly
-
eddyb
you could open a PR if it helps
-
nox
Oh ok.
-
ajeffrey|uk
nox: the casts to u32 are caused by jsapi defining the constants to be u8s.
searchfox.org/mozilla-central/rev/8…6ce05ce62bc0c882/js/src/jsapi.h#474
-
nox
ajeffrey|uk: Lol, nice.
-
nox
That brings me to another topic,
-
nox
eddyb: do you think it would make sense to forbid or at least warn on casts that change both the size and the signedness of a value?
-
nox
-1i32 as u64 can be unintuitive depending on what you meant. I think that’s a footgun.
-
nox
Manishearth: Is there a lint for that in clippy?
-
ghservo
[string-cache] bors-servo pushed 0 new commits to auto:
git.io/fAfZa
-
ghservo
[string-cache] bors-servo pushed 2 new commits to auto:
git.io/fAfZV
-
ghservo
string-cache/auto f26c0f6 Bastien Orivel: Update quote, proc-macro2 and bump version in codegen
-
ghservo
string-cache/auto ae2836d bors-servo: Auto merge of #207 - Eijebong:bump, r=jdm...
-
eijebong
jdm: Thanks :)
-
ghservo
[string-cache] bors-servo merged auto into master:
git.io/fAfZV
-
ghservo
[string-cache] bors-servo closed pull request #207: Update quote, proc-macro2 and bump version in codegen (master...bump)
git.io/vhBTP
-
ghservo
[servo] jdm opened pull request #21461: Various webgl fixes for framebuffer attachment test (master...webgltmp2)
git.io/fAfna
-
ajeffrey|uk
nox: Addressed most of the smup issues.
-
nox
ajeffrey|uk: r=moo
-
jdm
nox: left you a present!
-
ajeffrey|uk
nox: excellent!
-
nox
jdm: Reviewed smup, fought hot garbage on the Twitters, ready for WebGL stuff. 😎
-
ajeffrey|uk
HEY EVERYONE, nox just r+d SMup!
-
» jdm eyes buildbot warily
-
ajeffrey|uk
jdm: we still need to update the windows builders?
-
jdm
ajeffrey|uk: oh, you were testing servo master on the update as well. right.
-
nox
ajeffrey|uk: Squash it, tho :)
-
jdm
ajeffrey|uk: any idea what larsberg did for that update?
-
travis-ci
Servo failed to build with Rust nightly:
travis-ci.org/servo/servo-with-rust-nightly/builds/418204483 CC nox, SimonSapin, jntrnr, emilio
-
ajeffrey|uk
jdm: a fresh windows insstall, a fresh msvc install, then just followed the servo build instructions I thinl.
-
ajeffrey|uk
*think
-
jdm
mmm, I see
-
ajeffrey|uk
nox: will do
-
» jdm wonders if we could limp by on the single upgraded windows builder
-
ajeffrey|uk
jdm: is windows3 in the builbot builder bool?
-
ajeffrey|uk
*pool
-
jdm
ajeffrey|uk: no
-
» ajeffrey|uk can't type
-
ajeffrey|uk
jdm: OK, I think that's the only remaining blocker.
-
ajeffrey|uk
jdm: unless you want to take a final look-over on the SMup PR.
-
» jdm is fine with the looks that have been taken
-
ajeffrey|uk
jdm: OK
-
ajeffrey|uk
we are ready to roll once we've got an updated msvc builder.
-
eijebong
:party:
-
ajeffrey|uk
-
crowbot
PR #36: Use environment variables for dependencies -
servo/libfontconfig #36
-
jdm
ajeffrey|uk: I have looked at it; could you explain how/why it's used?
-
ajeffrey|uk
jdm: it's in the arm32 and arm64 builds.
-
larsberg
jdm: yes that's exactly what I did (just fresh windows EC2 instance)
-
larsberg
and then followed the servo windows setup instructions
-
larsberg
sorry I can't help this morning - nanny is sick so I'm on kid drop off duty :-(
-
jdm
larsberg: I'm about to start trying to setup buildbot on windows3
-
jdm
sorry to hear that!
-
ajeffrey|uk
-
larsberg
jdm: good luck! Follow the instructions as if the fate of that machine depended upon it :-) That said, I've done windows service hacking a lot and can regedit-plunge to fix things up if something goes terribly awry
-
jdm
ajeffrey|uk: we have an expat-sys build; why do we want to ignore it?
-
ajeffrey|uk
otherwise the linker tries to link against the x86_64 expat libs,
-
jdm
huh
-
ajeffrey|uk
jdm: does the expat_sys build include building the lib?
-
jdm
-
jdm
we allow forcing a harfbuzz build with an environment variable, but expat doesn't have that
-
ajeffrey|uk
jdm: so we link against the existing libexpat,
-
ajeffrey|uk
which is fine until we do a x-compile.
-
jdm
right, makes sense
-
jdm
ajeffrey|uk: do we use the fontconfig stuff too?
-
jdm
ajeffrey|uk: er, freetype
-
ajeffrey|uk
jdm: no but I was making one env var overridable so I just did all of them while I was there.
-
jdm
ha
-
nox
jdm: Nice CRASH removal.
-
ghservo
[libfontconfig] bors-servo pushed 3 new commits to auto:
git.io/fAfWW
-
ghservo
libfontconfig/auto f1cd13c Alan Jeffrey: Allow expat dirs to be overridden
-
ghservo
libfontconfig/auto e7fdd22 Alan Jeffrey: Version bump
-
ghservo
libfontconfig/auto 960986a bors-servo: Auto merge of #36 - asajeffrey:expat-config, r=jdm...
-
jdm
nox: now the only failures in that test left seem to be related to the depth test
-
nox
jdm: "[WebGL test #522: gl.checkFramebufferStatus(gl.FRAMEBUFFER) should be FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT was FRAMEBUFFER_UNSUPPORTED or FRAMEBUFFER_UNSUPPORTED]"
-
crowbot
Issue #522: don't let configure nuke uncommitted state -
servo/servo #522
-
nox
I'm squinting really hard at that,
-
jdm
nox: yeah, I had the same reaction :P
-
nox
did the test mix "was" and "or" in the message?
-
nox
Wait no that doesn't make sense either.
-
nox
tests/wpt/mozilla/tests/webgl/conformance-1.0.3/conformance/renderbuffers/framebuffer-object-attachment.html:437: msg += " or FRAMEBUFFER_UNSUPPORTED";
-
nox
Oh, ok.
-
nox
I saw nothing.
-
ghservo
[libfontconfig] bors-servo closed pull request #36: Use environment variables for dependencies (master...expat-config)
git.io/fAfJd
-
ghservo
[servo] asajeffrey opened issue #21462: Can GetPropertyKeys fail?
git.io/fAfW6
-
ghservo
[servo] asajeffrey opened issue #21463: Can jsid_to_string fail?
git.io/fAflq
-
ajeffrey
-
standups
Ok, submitted #59457 for
standu.ps/user/ajeffrey
-
ajeffrey
standups: The SMup servo PR is now approved by nox!
-
standups
Ok, submitted #59458 for
standu.ps/user/ajeffrey
-
» jdm is now dealing with python SSL errors
-
» jgraham wonders which gods jdm offended
-
eijebong
jgraham: All of them ! (probably)
-
nox
jdm: Some failures in your PR.
-
jdm
yep
-
ghservo
[euclid] bors-servo pushed 0 new commits to auto:
git.io/fAfgF
-
ghservo
[euclid] bors-servo pushed 2 new commits to auto:
git.io/fAfgN
-
ghservo
euclid/auto 1f4618c Dzmitry Malyshau: Mint integration
-
ghservo
euclid/auto 5ab2b59 bors-servo: Auto merge of #205 - kvark:mint, r=nical...
-
» jdm nervously tries to update the servo-master buildbot config to use only windows3
-
ghservo
[euclid] bors-servo closed pull request #205: Mint flavour integration (master...mint)
git.io/vHzVr
-
ghservo
[euclid] bors-servo merged auto into master:
git.io/fAfgN
-
ajeffrey|uk
jdm: oooooooooo
-
jdm
unfortunately I fear I still need to solve
servo/saltfs #879
-
crowbot
Issue #879: Can't highstate servo-master1 -
servo/saltfs #879
-
ajeffrey|uk
jdm: oh that's annoying, it's blocking deploying new builders?
-
jdm
ajeffrey|uk: it's blocking making any changes to salt
-
ajeffrey|uk
jdm: :(
-
jdm
the buildbot master config doesn't know anything about servo-windows3 yet unfortunately
-
jdm
I guess I could yolo modify the actual config on disk and restart the service
-
jdm
huh, the salt operation definitely took place
-
ajeffrey|uk
jdm: can we change the DNS entry for servo-windows1?
-
jdm
maybe, but let's try my way first
-
ajeffrey|uk
jdm: better if we can avoid DNS hackery
-
jdm
wooo
-
jdm
-
» jdm runs a try build
-
jdm
yesss
-
eijebong
:o
-
jdm
-
jdm
what a ridiculous series of steps
-
jdm
standups: set up buildbot on new windows3 builder.
-
standups
Ok, submitted #59459 for
standu.ps/user/jdm
-
ajeffrey|uk
\o/
-
eijebong
WindowsError: [Error 2] The system cannot find the file specified
-
ajeffrey|uk
-
jdm
boo, I followed their instructions, and this is how they repay me?
-
ajeffrey|uk
but this means the new builder is working!
-
ajeffrey|uk
(for certain values of "working")
-
larsberg
jdm: nice work :-)
-
larsberg
And yes, it's incredible how bad the buildbot setups are
-
larsberg
hrm did I not globally install rustup? Or possibly it's not on the path in the environment in which the build is being run
-
jdm
hooray, my new house now has internet
-
ajeffrey|uk
jdm: welcome to the late 20th century.
-
nox
Fake News,
-
nox
jdm has no house,
-
nox
only trains.
-
larsberg
definitely gonna have to pick up a
amazon.com/Power-Wheels-Thomas-Friends-Exclusive/dp/B00F6N06CS for between the kitchen and office to keep the embark/disembarking in effect :-)
-
eijebong
lol
-
larsberg
only semi-related, I find the thomas the train series actually horrifying and would never recommend to a child
-
jdm
ahaha
-
nox
larsberg: Can you overclock it?
-
nox
larsberg: Make it go 7.2krpms.
-
jdm
-
» jdm wonders if there's an equivalent for lldb
-
-
ghservo
[rust-smallvec] llogiq opened pull request #117: new constructors: from_buf_and_len(_unchecked) (master...from_buf_and_len)
git.io/fAfPJ
-
manrajsingh
Hi everyone, I had raised a request on
janitor.technology for servo long back but it is still on the waitlist. Can anyone look into it? Thanks in advance. :)
-
jdm
oh, huh. that's very strange.
-
jdm
janx: ^
-
ghservo
[saltfs] jdm created jdm-patch-23 (+1 new commit):
git.io/fAfDa
-
ghservo
saltfs/jdm-patch-23 ca71e3b Josh Matthews: Use updated windows worker.
-
ghservo
[saltfs] jdm opened pull request #880: Use updated windows worker. (master...jdm-patch-23)
git.io/fAfDo
-
ghservo
[servo] atouchet closed issue #20356: Update num-traits to 0.2
git.io/vxsAN
-
janx
jdm++
-
janx
manrajsingh: Hello! Apologies for the long waiting time. We're currently a bit short on resources, so we can't accept as many new users as we'd like. But I'll send you an invite right away because you asked :) please PM me the email address with which you requested the invite
-
manrajsingh
janx: Thank you for looking into it. I've pinged you my email address. :)
-
manrajsingh
jdm: Thank you again :D
-
jdm
hooray, a different windows build failure
-
janx
manrajsingh: invite sent!
-
manrajsingh
janx: Yup, got it. Thank you so much again :D
-
janx
no worries :) happy to help
-
ajeffrey|uk
jdm: er, yay I guess
-
ajeffrey|uk
jdm: that failure is caused by not running vcvars64 before running mach.
-
jdm
yes
-
jdm
and I'm trying to sort out why that's the case
-
jdm
-
ajeffrey|uk
jdm: I've always just run it by hand I'm afraid.
-
» ajeffrey|uk didn't even know mach did this
-
larsberg
jdm: oh I may only have the VS build tools on that machine and not full VS
-
larsberg
So that file might not exist on the machine
-
jdm
larsberg: no, it exists
-
larsberg
aha
-
jdm
but vswhere isn't returning an installation path
-
jdm
probably for that reason
-
jdm
if we hadn't merged
servo/servo c20efd5 then it probably wouldn't affect us
-
larsberg
Aha, yeah, it probably is checking a bunch of registry keys that don't get set in that case
-
jdm
bah, vswhere isn't finding _anything_
-
jdm
I'm tempted to revert that commit for now
-
nox
REVERT, WHAT IN TARNATION
-
ghservo
[servo] jdm opened pull request #21464: Revert "build(mach): locate vs via vswhere on win32" (master...undovswhere)
git.io/fAfH7
-
Manishearth
nox: we dont need ugly, we do need bad for gstplayer which we dont use yet but sill
-
Manishearth
*will
-
nox
👍
-
nox
Manishearth: Can't build without -bad, not sure what you mean by not using it.
-
Manishearth
nox: i dont think theres a lint for that, file it?
-
nox
Manishearth: SimonSapin mentioned to me there has been discussions for similar topic on the language itself, so I'll file an issue for rust-lang/rust, probably.
-
Manishearth
nox: its required to build servo media but the player part of servo media is unused by servo
-
nox
Manishearth: Oh ok.
-
Manishearth
nox sg
-
Manishearth
nox: ceyusa is working on video playback stuff in servo
-
SimonSapin
nox: let me know if/when you open that issue
-
nox
SimonSapin: I'll cc you.
-
nox
Tempted to name it Heterogeneous Integer Casts Considered Harmful
-
SimonSapin
nox: might be slightly amusing but possibly not productive
-
nox
SimonSapin: The intent being to put all the snark in the title and make the body be only Positive Mental Attitude.
-
SimonSapin
I think Gankro tweeted something about the title of
internals.rust-lang.org/t/pre-rfc-a…-performance-the-raw-entry-api/7043 but I can’t find it now
-
Gankro
?
-
Gankro
oh right
-
Gankro
yeah framing it in a negative way was very non-productive
-
Gankro
lots of confusion
-
Gankro
i was assuming everyone had the same background details as me
-
nox
Gankro: Maybe starting the topic with a quote about bitterness didn't help though. :)
-
nox
(And mentioning morals, I got triggered somewhere else when someone told me a feature was "morally right".)
-
nox
Anyway, first I need to vanquish my procrastination and file the damn issue, chide me about that not about a hypothetical title. :P
-
SimonSapin
nox: I didn’t mean to chide, just say that like the Church and State, maybe Shitposting and Actual Proposals are better kept separate :)
-
nox
Heh. :D
-
nox
SimonSapin: Nah I know, don't worry. I just like the verb "chide" and don't have enough opportunities to use it in my life.
-
SimonSapin
haha
-
nox
SimonSapin: Probably next time I meet the gang and use it IRL, I'll discover I've been pronouncing it wrongly my entire life.
-
jgraham
nox: And they will chide you for it?
-
nox
jgraham: They will be amused, but not as amused as when I said "gigabyte".
-
jdm
ajeffrey|uk: will you have time to provide feedback on
servo/servo #14692#issuecomment-414277683 ?
-
crowbot
Issue #14692: Frame should store some of the data that is currently in Pipeline -
servo/servo #14692
-
mbrubeck
nox: By the way, I'm in favor of getting rid of the more risky `as` use cases, and eventually deprecating it completely, so I agree with your idea, but...
-
nox
ALWAYS A BUT 😡
-
mbrubeck
nox: One legit use case that will be made more verbose is assembling a multi-byte value of out `u8` bytes, or going the other way
-
nox
:P
-
nox
mbrubeck: Not sure what you mean.
-
mbrubeck
nox: e.g. `(x & 0xFF) as i8 as u8`
-
nox
I see.
-
nox
mbrubeck: That truncates though.
-
nox
Can anything wrong happen on truncatio-- oh yes of course.
-
mbrubeck
Fortunately we're getting more helpers for this in libstd, so most user code shouldn't need to do this "manually"
-
nupur
how to open a new terminal in noVNC in janitor ? I accidentally closed the one present and unable to open now =L
-
nox
janx: ^
-
nupur
This must be a really silly question, but I have no clue...
-
nox
nupur: There is no silly questions, only bad answers and confusing user interfaces. :P
-
nupur
nox: hehe this makes it sound better :P
-
cbrewster
jdm: Sorry been a bit busy, but with #21150 is there any profiling code that can be reused (like `components/profile`)?
-
crowbot
Issue #21150: Build a webgl profiler -
servo/servo #21150
-
jdm
good question!
-
jdm
cbrewster: I think you can probably start with time::profile and see how far that gets you - add a new WebGlDomApi ProfilerCategory variant with a sub-enum for each profiled method
-
cbrewster
jdm: sounds good, thanks!
-
jdm
cbrewster: and then running servo with -p will show the profiling output in the terminal
-
jdm
ha, the windows build failed during packaging
-
jdm
need to install wix or something I guess
-
pylbrecht
jdm: Hi,
servo/servo #19797#issuecomment-414143596 I'm not quite sure about how to implement the 'test'. Would a jsfiddle, which I'd run in servo, do the trick?
-
crowbot
Issue #19797: Measure how often layout queries are blocked by ongoing layout -
servo/servo #19797
-
jdm
pylbrecht: a local html file that you load from disk should work fine
-
jdm
jsfiddle and similar sites don't always work in servo yet
-
pylbrecht
jdm: didn't think of that.. thanks
-
ajeffrey|uk
jdm: I'm out at the intern leaving do right now, but I should be able to look tomorrow.
-
ajeffrey|uk
jdm: urg, didn't check packaging.
-
ajeffrey|uk
"what could possibly go wrong?"
-
jdm
:)
-
nupur
-
jdm
nupur: yes. it comes from the value sent over responder_sender
-
jdm
nupur: which is stored in the list of listeners for a particular cache entry in the image cache
-
nupur
So for a new request, as in our case where we swapped values of iframe
-
jdm
nupur: one thing I didn't think of; the reacting algorithm implementation should probably increase the generation number
-
jdm
nupur: you might be seeing an issue right now where there are conflicting responses arriving
-
nupur
jdm: Yes metadata and none both
-
nupur
Thats what you mean right?
-
nupur
by conflicting
-
jdm
right
-
nupur
jdm: where can we update generation in that case?
-
jdm
nupur: try before calling await_stable_state, like update_the_image_data
-
nupur
okay trying....
-
retep007
jdm: are tests runned under valgrind on CI?
-
jdm
retep007: no
-
» jdm takes a look at the PR
-
ghservo
[rust-smallvec] bors-servo pushed 0 new commits to auto:
git.io/fAJfv
-
ghservo
[rust-smallvec] bors-servo pushed 2 new commits to auto:
git.io/fAJff
-
ghservo
rust-smallvec/auto 7a41a66 Andre Bogus: new constructors: from_buf_and_len(_unchecked)...
-
ghservo
rust-smallvec/auto 191bc11 bors-servo: Auto merge of #117 - llogiq:from_buf_and_len, r=mbrubeck...
-
belew.mozilla.org
This channel has been closed to new users for 60 seconds because there have been more than 4 joins in 2 seconds.
-
belew.mozilla.org
This channel has been closed to new users for 60 seconds because there have been more than 4 joins in 2 seconds.
-
ghservo
[rust-smallvec] bors-servo closed pull request #117: new constructors: from_buf_and_len(_unchecked) (master...from_buf_and_len)
git.io/fAfPJ
-
eijebong
-
jdm
eijebong: hmm?
-
jdm
a cargo.toml override?
-
eijebong
jdm: I forgot some things depending on hyper 0.10
-
eijebong
So I just duped everything
-
jdm
oh, ha
-
eijebong
lol, tried continuing, duped one more
-
eijebong
This is going to be so bad T_T So many update at once
-
eijebong
I'm so sorry for the reviewer(s) in advance
-
jdm
wooooo windows try worked
-
eijebong
It keeps getting worse T_T
-
eijebong
Now openssl is duped
-
eijebong
Damsn hasn't the ipc-channel stuff already landed ? :/
-
pylbrecht
jdm:
servo/servo #19797#issuecomment-414143596 Unfortunately I couldn't verify my code yet. I looked at RUST_LOG="debug", but there are no entries regarding script thread shutdown. Should I create a PR anyways, so you can have a look at the code?
-
crowbot
Issue #19797: Measure how often layout queries are blocked by ongoing layout -
servo/servo #19797
-
jdm
pylbrecht: link me to the branch?
-
pylbrecht
-
jdm
pylbrecht: have you tried RUST_LOG=script::script_thread when using a debug build?
-
pylbrecht
jdm: not yet, I'm on it.
-
pylbrecht
I just used RUST_LOG="debug"
-
pylbrecht
05.395567: DEBUG 2018-08-20T19:44:11Z: script::script_thread: tracing fields of ScriptThread
-
pylbrecht
that's the last message
-
pylbrecht
Am I closing servo correctly by clicking the red "x" on the window's title bar? (os x)
-
jdm
huh
-
ajeffrey|uk
jdm: \o/ re MSVC build, let's see if it works with SMup.
-
jdm
pylbrecht: try moving the reporting code to after the script_thread.start() call
-
pylbrecht
jdm: Ok.
-
nox
emilio: Oh also, I looked into how the hell one is supposed to properly share IOSurface values across processes.
-
nox
It seems to require a huge infra (XPC), but it could be cleanly done with Rust and some tooling around it.
-
nox
The only way to have IPC surfaces that are not global (so that other processes can't try to access them) is to have an XPC service, which is a specific kind of macOS bundle, which means servo itself could only be run as an app bundle on macOS afterwards.
-
jdm
hi Patriciap25!
-
jdm
ajeffrey|uk: the try will need to wait until my current PR finishes merging.
-
jdm
I'll run it through once it does.
-
lqd
jdm: it's a spambot
-
jdm
;_;
-
eijebong
jdm: Don't you want to meet hot singles in your area though ?
-
ghservo
[webrender] HellDunkel opened issue #2978: Flawed resampling of downscaled images
git.io/fAJLz
-
ajeffrey|uk
jdm: okay, I can be patient.
-
jdm
standups: investigating weird behaviour in generic script PR.
-
standups
Ok, submitted #59468 for
standu.ps/user/jdm
-
ghservo
[servo] jdm opened issue #21465: Support using rr-record with headless servo
git.io/fAJqQ
-
ghservo
[servo] jdm opened issue #21466: Read file URLs in chunks
git.io/fAJme
-
ghservo
[servo] jdm opened issue #21467: Read blob URLs in chunks
git.io/fAJmq
-
pylbrecht
jdm: placing the reporting code here:
github.com/pylbrecht/servo/blob/bdc…onents/script/script_thread.rs#L605 did not work. Debug output is still the same.
-
jdm
pylbrecht: I meant immediately after script_thread.start()
-
pylbrecht
jdm: oh ok, I'll try that then.
-
jdm
pylbrecht: oh wait, that shouldn't make any different
-
jdm
*difference
-
jdm
pylbrecht: ok, what about in the Drop implementation for ScriptThread
-
pylbrecht
jdm: that's a neat idea. Hopefully that will do the trick, because I only have time for one more build before going to bed!
-
jdm
yeah, I know that feeling
-
» jdm tries to remember what else he wanted to get done today
-
eijebong
So, I have a question, how am I supposed to impl MallocSizeOf on that
github.com/hyperium/mime/blob/master/src/lib.rs#L52 ?
-
eijebong
Everything is private
-
eijebong
Is it mime.type_().len() + mim.subtype().len() + 1 (the /) + 1 (the usize) + 2 (Option<usize>) + sizeof(params) whatever that is ?
-
jdm
eijebong: #[ignore_malloc_size_of]?
-
eijebong
jdm: But I don't want to break everything :/
-
jdm
eijebong: break in what sense?
-
eijebong
jdm: I dunno, I have no idea what mallocSizeOf is used for
-
eijebong
But I don't want to update stuff and remove features
-
jdm
ah, I see we have an implementation in-tree right now
-
eijebong
Yeah
-
jdm
eijebong: stuff like the declaration you linked to where it's private is too risky to try to guess like that
-
jdm
eijebong: because stuff like
github.com/hyperium/mime/blob/master/src/lib.rs#L79 doesn't consume any memory
-
eijebong
jdm: Yeah I just saw it
-
jdm
eijebong: adding ignore_malloc_size_of will just mean that our memory profiling tools will be a bit less accurate
-
eijebong
jdm: Ok, so just remove it then and add #[ignore_] where needed
-
jdm
yep
-
eijebong
I hope I won't have too many of those
-
ghservo
[html5ever] bors-servo pushed 0 new commits to auto:
git.io/fAJOW
-
ghservo
[html5ever] bors-servo pushed 2 new commits to auto:
git.io/fAJOl
-
ghservo
html5ever/auto 690af7d Frederik: Remove unrequired assertion for invalid markup (fixes #305)
-
ghservo
html5ever/auto 7ec6509 bors-servo: Auto merge of #344 - mozfreddyb:patch-1, r=jdm...
-
ghservo
[html5ever] bors-servo merged auto into master:
git.io/fAJOl
-
ghservo
[html5ever] bors-servo closed pull request #344: Remove unrequired assertion for invalid markup (fixes #305) (master...patch-1)
git.io/vhkXI
-
eijebong
Nice ^
-
ghservo
[servo] bors-servo closed pull request #21464: Revert "build(mach): locate vs via vswhere on win32" (master...undovswhere)
git.io/fAfH7
-
pylbrecht
jdm: still the same output..
-
pylbrecht
I'll comment the issue including my .html (maybe that is wrong all along?)
-
pylbrecht
would you mind commenting on the issue if you have any new ideas, because I'm going to bed now.
-
lqd
smup failed again, but not on windows
-
jdm
gotta update the test expectations before we sync from upstream tests again
-
jdm
bah, why is servo-mac9 taking almost 50 minutes to build servo
-
jdm
that's an absurd number
-
» eijebong looks around
-
eijebong
Is it ?
-
cdisselkoen
newbie question - where is cascade() called in servo? both as in, where in the source, and on which thread (a script thread? some other thread?)
-
cdisselkoen
cascade() being the main function exported from properties.mako.rs, not CustomPropertiesBuilder::cascade()
-
mbrubeck
-
cdisselkoen
mbrubeck: ah yes, thanks, that's what I was looking for
-
cdisselkoen
the turbofish spoiled my grep
-
mbrubeck
cdisselkoen: In terms of threading, it's done on the layout thread pool, I think here
github.com/servo/servo/blob/master/…ts/layout_thread/lib.rs#L1307-L1319
-
mbrubeck
cdisselkoen: This page has a high-level overview of the tree traversals that the layout threads perform:
github.com/servo/servo/wiki/Layout-Overview
-
JaseW
Yup, its called by style_resolver.rs i think
-
mbrubeck
(Cascading is part of the first traversal, "style computation")
-
cdisselkoen
thanks!
-
JaseW
-
JaseW
@mbrubeck is that Layout overview still up to date?
-
mbrubeck
JaseW: Not 100%, but I think only minor-ish details have changed.
-
lqd
1 test fail on mac ?!
-
ghservo
[servo] jdm opened issue #21468: Intermittent NOTRUN in /css/css-transitions/transitions-animatable-properties-01.html
git.io/fAJBV
-
jdm
so close
-
KiChjang
jdm: fingers crossed
-
eijebong
Question: Hyper removed the RawStatus thingy and now only has StatusCode (which can't have text). Should I just remove all mentions of status reasons ?
-
eijebong
(Or do I transform everything into (StatusCode, String)
-
jdm
remind me what we use status reasons for?
-
eijebong
No idea if they're even used in the end
-
eijebong
I know they're passed around everywhere
-
jdm
eijebong: it looks like the only usage we might care about is in the devtools
-
jdm
eijebong: so it would be good to keep it, I think
-
eijebong
jdm: Oukay'
-
eijebong
Will do
-
eijebong
But now it's probably time to take a break and go to bed
-
ghservo
[core-foundation-rs] mehcode opened pull request #249: Add CTFrame and CTFramesetter (master...feature/add-ctframe)
git.io/fAJRd
-
ghservo
[core-foundation-rs] mehcode opened pull request #250: Allow most CGContext methods to be usable from a immutable reference and expose several more methods (master...feature/cgcontext)
git.io/fAJ0U
-
jdm
crowbot1: what does the web need?
-
crowbot1
jdm: web developers are clamouring for the web performance working group (
w3.org/Consortium/activities#Web_Performance_Working_Group)
-
jdm
fair
-
KiChjang
indeed
-
» jdm -> dinner
-
lqd
holy shit
-
ghservo
[servo] bors-servo closed pull request #21029: Upgrade to SM 60 (master...smup)
git.io/vhgyM
-
lqd
you heard it from me first
-
lqd
:3
-
KiChjang
OMG!
-
lqd
and jdm isn't even here
-
» KiChjang does a git pull upstream master
-
lqd
ajeffrey|uk++
-
lqd
larsberg++
-
KiChjang
jdm++
-
lqd
crowbot1: tell jdm jdm++
-
crowbot1
all this computing power, and I'm being used as a glorified telephone.
-
KiChjang
crowbot1 is not happy
-
lqd
crowbot1: botsnack
-
crowbot1
yum!
-
nox
-
larsberg
OMG! Great work ajeffrey|uk, jdm, nox, etc. :-)
-
nox
I DID NOTHING BUT A TWITTER-RAGE-FUELLED REVIEW FAM
-
lqd
il pushait du smup debout
-
nox
Ah ah.
-
larsberg
nox: nichijou gif clearly contributed
-
nox
Ah ah ah ah.
-
KiChjang
would future smups be easier at this point?
-
nox
AFAIK yes, because ajeffrey|uk doesn't give fish, he gives fishing lessons.
-
KiChjang
ajeffrey|uk++
-
lqd
ajeffrey|uk += 1 million
-
lqd
ajeffrey|uk is gonna wake up tomorrow with a million notifications and go on pto a happy man
-
nox
Oh he is on PTO next week?
-
nox
That's nice.
-
lqd
wednesday IIRC
-
nox
Cool.
-
lqd
quite timely
-
KiChjang
definitely earned it
-
larsberg
we clearly need an ajeffrey gif involving dr. who, a giant monkey covered in spiderwebs getting bonked, and something implying vacations
-
KiChjang
larsberg: ah, too bad jdm is gone, otherwise it'd be done in servomemes already
-
» larsberg knows the origin of the SM name and would prefer not to relive 90s MTV :-)
-
nox
I'm obviously too lazy to make memes.
-
larsberg
unless forced
-
larsberg
HAHAHA THAT WAS A BAD PL JOKE ok I'll show myself out
-
nox
Ah ah ah ah.
-
KiChjang
hehe
-
lqd
:D
-
larsberg
too strict around here anyways
-
nox
mbrubeck: You wanted to make PL laziness jokes. ^
-
larsberg
everybody always judging and evaluating me
-
KiChjang
sounds exactly like what SM does
-
larsberg
that's just the type of community we are, I guess
-
» larsberg was warped by years of PL grad school and full of armloads of bad PL puns