-
Notifications
You must be signed in to change notification settings - Fork 39
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-1716: Windows font-size #115
base: master
Are you sure you want to change the base?
Conversation
…PI_SETICONTITLELOGFONT
CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details. |
1 similar comment
CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details. |
ok to test |
if (typeof(flags) === "string") { | ||
var or = flags.indexOf("&") < 0; | ||
op = or ? "or" : "and"; | ||
flags = flags.split(/ *[&|,]+ */); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we permit comma here as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't know.
if (fluid.isArrayable(flags)) { | ||
togo = gpii.windows.combineFlags(flags, allFlags, op); | ||
} else { | ||
fluid.log("windows.resolveFlags was passed an unknown type of flags"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fail
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -206,12 +209,16 @@ gpii.windows.spi.applySettings = function (payload) { | |||
// Wait for sethc.exe to end before making the SPI call | |||
gpii.windows.spi.waitForSpi() | |||
.then(function () { | |||
// SPIF_SENDCHANGE broadcasts several messages and has the potential to block, so call it in a child | |||
// process. | |||
var sendChange = (fWinIni & gpii.windows.API_constants.SpiFlags.SPIF_SENDCHANGE) === |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems a bit more brief and equally effective to skip the === check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree.
var or = op !== "and" && op !== "&"; | ||
|
||
var combine = or | ||
? function (left, right) { return left | right; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The legendary Do IIIIIIT block!
Can we get the CI to pass for this? |
CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details. |
ok to test |
CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details. |
CI job failed. Please visit http://lists.gpii.net/pipermail/ci/ for more details. |
# Conflicts: # package.json
# Conflicts: # package.json
CI job passed. |
# Conflicts: # gpii/node_modules/WindowsUtilities/WindowsUtilities.js # package.json
CI job passed: https://ci.gpii.net/job/windows-tests/261/ |
# Conflicts: # package.json
CI job passed: https://ci.gpii.net/job/windows-tests/300/ |
CI job passed: https://ci.gpii.net/job/windows-tests/391/ |
CI job passed: https://ci.gpii.net/job/windows-tests/450/ |
ok to test |
CI job failed: https://ci.gpii.net/job/windows-tests/460/ |
# Conflicts: # package.json
CI job failed: https://ci.gpii.net/job/windows-tests/483/ |
CI job failed: https://ci.gpii.net/job/windows-tests/484/ |
ok to test
|
CI job failed: https://ci.gpii.net/job/windows-tests/485/ |
ok to test
|
CI job failed: https://ci.gpii.net/job/windows-tests/486/ |
# Conflicts: # package.json
CI job failed: https://ci.gpii.net/job/windows-tests/545/ |
ok to test
|
CI job failed: https://ci.gpii.net/job/windows-tests/549/ |
ok to test Unrelated (but slightly worrying) failure about narrator.
|
CI job failed: https://ci.gpii.net/job/windows-tests/550/ |
2nd time today GPII-2001 has affected a test. Unable to repro on a local VM.
ok to test |
CI job failed: https://ci.gpii.net/job/windows-tests/551/ |
ok to test |
CI job failed: https://ci.gpii.net/job/windows-tests/552/ |
A slower poll caused the WM_SETTINGCHANGE(?) broadcast from SPI_SETNONCLIENTMETRICS to delay.
CI job failed: https://ci.gpii.net/job/windows-tests/553/ |
ok to test
|
CI job passed: https://ci.gpii.net/job/windows-tests/554/ |
ok to test - again, to ensure it wasn't a fluke. |
CI job passed: https://ci.gpii.net/job/windows-tests/555/ |
Shall we dust this one off? It looks harmless enough |
Font-size support for windows, via the SystemParametersInfo.
The changes here are to allow the fWinIni parameter to be defined in the solutions registry.