Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

klown
Copy link
Member

@klown klown commented Apr 24, 2017

@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

CI job passed.

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

gpii-bot commented May 2, 2017

CI job passed.

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

CI job passed.

@gpii-bot
Copy link

CI job passed.

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

gpii-bot commented Jul 5, 2017

CI job passed.

@gpii-bot
Copy link

gpii-bot commented Aug 4, 2017

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

@gtirloni
Copy link
Contributor

ok to test

@gpii-bot
Copy link

CI job passed.

@klown
Copy link
Member Author

klown commented Feb 12, 2018

ok to test

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/linux-tests/133/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/linux-tests/135/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/linux-tests/141/

@klown
Copy link
Member Author

klown commented Mar 12, 2018

ok to test

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/linux-tests/143/

@klown
Copy link
Member Author

klown commented Apr 2, 2018

ok to test

@gpii-bot
Copy link

gpii-bot commented Apr 2, 2018

CI job passed: https://ci.gpii.net/job/linux-tests/149/

@klown
Copy link
Member Author

klown commented Apr 5, 2018

ok to test

@gpii-bot
Copy link

gpii-bot commented Apr 5, 2018

CI job passed: https://ci.gpii.net/job/linux-tests/156/

@gpii-bot
Copy link

CI job passed: https://ci.gpii.net/job/linux-tests/160/

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.

3 participants