News for hackers. Stuff that matters.
Re:XPlain – Explaining X11 for the rest of us by Jasper_ on Friday July 11, 2014 @09:34AM (#8020021)
I wrote the server from scratch JavaScript, and I can't verify its accuracy towards real server behavior:

https://github.com/magcius/xplain/blob/gh-pages/src/server/s...

It's fake in a lot of ways, especially in its input model. It's well-commented and designed as a codebase to learn from, not as a real implementation of an X server that's reusable.

Re:XPlain – Explaining X11 for the rest of us by eridius on Friday July 11, 2014 @02:03PM (#8021508)
Very cool.

Unfortunately, while it appears to run just fine under Safari, the window inspector is broken. It's not vertically splitting the area and putting the attributes on the right; it's horizontally splitting and putting the attributes below the window list, except there's no room to see any of the attributes like that.

It seems a real shame for the layout of the window inspector to be the only compatibility issue with Safari. Any chance you can get that fixed?

Re:XPlain – Explaining X11 for the rest of us by Jasper_ on Friday July 11, 2014 @02:09PM (#8021538)
I don't know why, considering that it works fine under Firefox and Chrome. I don't have a Mac to test on here. Pull requests are welcome.
Re:XPlain – Explaining X11 for the rest of us by eridius on Friday July 11, 2014 @02:14PM (#8021571)
Actually, it turns out it's not even working right under Chrome either. The inspector isn't tall enough to show Properties, and it's not scrollable, so all I see is the "Properties" header with nothing under it. Here's what I'm seeing:

https://files.app.net/299dvuDv6.png

Is this supposed to scroll, or what?

Edit:

The issue with Safari is purely that the flexbox model requires the -webkit prefix, so it needs `display: -webkit-flex` and `-webkit-flex: 1`.

Edit 2:

I'll submit a pull request for the Safari issues shortly, I'm trying to see if I can figure out what's wrong with scrolling first.

Edit 3:

PR submitted. This fixes both Safari compatibility and scrolling for Chrome/Safari.

Re:XPlain – Explaining X11 for the rest of us by nandhp on Friday July 11, 2014 @02:19PM (#8021591)
It looks like it is supposed to scroll -- but it doesn't in Firefox 26 or Firefox 30.