Skip to content

GPII-2395: XRandR bridge should provide all posible screen resolutions - #92

Open
klown wants to merge 12 commits into
GPII:masterfrom
klown:GPII-2395
Open

GPII-2395: XRandR bridge should provide all posible screen resolutions#92
klown wants to merge 12 commits into
GPII:masterfrom
klown:GPII-2395

Conversation

@klown

@klown klown commented Apr 24, 2017

Copy link
Copy Markdown
Member

@javihernandez, @kaspermarkus Here are changes to the Linux/GNOME XRandR bridge to provide all possible screen resolutions when asked.

I went a little further than just modifying the node add-on and the bridge to provide this information. I also refactored the bridge into a fluid component. It was previously a set of namespaced functions -- a number of fluid.defaults() each with a grade of "fluid.function". Now those functions are invokers within a gpii.xrandr fluid component.

One issue, though: @javihernandez, I'm not clear what the gpii.xrandr.allSettings construct at line 93 is for. I couldn't see where it was actually used outside of the XRandR bridge. I kept it, and its use inside the bridge, but couldn't actually fit it into the new gpii.xrandr component.

Anyhow, let me know what you think.

- Modified the node XRandR add-on to return the available screen
resolutions as an array of JSON objects, rather than strings.
- Refactored the XRandR bridge code into a fluid component.
- Updated the unit tests in light of the above.
@gpii-bot

Copy link
Copy Markdown

CI job passed.

Modified "screen-resolution" payload to now contain:
- "current-resolution" (width and height)
- "available-resolution" (array of widths and heights).
@gpii-bot

gpii-bot commented May 2, 2017

Copy link
Copy Markdown

CI job passed.

Modified to be analagous to the Windows display settings handler.
@gpii-bot

Copy link
Copy Markdown

CI job passed.

@gpii-bot

Copy link
Copy Markdown

CI job passed.

Remvoed {that} parameter from get() and set() functions.
@gpii-bot

gpii-bot commented Jul 5, 2017

Copy link
Copy Markdown

CI job passed.

@gpii-bot

gpii-bot commented Aug 4, 2017

Copy link
Copy Markdown

CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details.

@gtirloni

Copy link
Copy Markdown
Contributor

ok to test

@gpii-bot

Copy link
Copy Markdown

CI job passed.

@klown

klown commented Feb 12, 2018

Copy link
Copy Markdown
Member Author

ok to test

@gpii-bot

Copy link
Copy Markdown
@gpii-bot

Copy link
Copy Markdown
@gpii-bot

Copy link
Copy Markdown
@klown

klown commented Mar 12, 2018

Copy link
Copy Markdown
Member Author

ok to test

@gpii-bot

Copy link
Copy Markdown
@klown

klown commented Apr 2, 2018

Copy link
Copy Markdown
Member Author

ok to test

@gpii-bot

gpii-bot commented Apr 2, 2018

Copy link
Copy Markdown
@klown

klown commented Apr 5, 2018

Copy link
Copy Markdown
Member Author

ok to test

@gpii-bot

gpii-bot commented Apr 5, 2018

Copy link
Copy Markdown
@gpii-bot

Copy link
Copy Markdown
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants