Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
77 commits
Select commit Hold shift + click to select a range
a1f4b22
GPII-2212: Added restart/shutdown applications
stegru Jul 31, 2017
24ba1f9
GPII-2212: Pointing universal to the branch that works with this.
stegru Jul 31, 2017
e4320c8
GPII-2495: Made SPI tests work again.
stegru Jul 17, 2017
c99a350
Merge remote-tracking branch 'upstream/master' into GPII-2212
stegru Aug 7, 2017
c1e1dbb
Pointing to universal#demo-mainstream.
gloob Apr 14, 2017
adbfd55
GPII-2376 : Adding needed installation bits for W10 Simplification.
gloob Apr 17, 2017
65f4fba
GPII-2376 : Returning 0 at the end of the script if everything went
gloob Apr 17, 2017
56ffa52
GPII-2376 : Adding --yes and --force to the chocolatey installation.
gloob Apr 17, 2017
1e95fa9
Fixed bad option parameter and silenced command
JavierJF Apr 17, 2017
2eb7172
Added necessary scripts to synchronize start/stop lifecycle handlers
JavierJF Apr 17, 2017
d5f7e13
Unified provisioning scripts for morpher
JavierJF Apr 17, 2017
7108466
Removed unnecessary comment
JavierJF Apr 17, 2017
ff2a7a5
Pointing to universal instead of windows.
gloob Apr 17, 2017
bfd4d12
Removed unnecessary lines
JavierJF Apr 17, 2017
89053ea
Morpher setup script wasn't updating the GPII-Demo directory.
gloob Apr 20, 2017
3b961e6
Use relative path using script main dir as a root path.
gloob Apr 18, 2017
b3dbc0c
Moving all the demo-data to the gpii-app repository instead of the
gloob Apr 18, 2017
8540b34
Chaging protocol of universal from ssh to https.
gloob Apr 18, 2017
5505a9e
Changed mainDir inferer system based on the initiator script.
gloob Apr 18, 2017
e33d230
GPII-2521: Functions for ensure the state of a process after command …
JavierJF Aug 30, 2017
6977ff1
GPII-2521: Test for new process handling functions
JavierJF Aug 30, 2017
14943e1
GPII-2521: Modifications to SpiSettingsHandler and WindowUtilities fo…
JavierJF Aug 30, 2017
8e8353e
GPII-2521: Added test for new supported payload for setting handler
JavierJF Aug 30, 2017
2d8e75f
GPII-2521: New package needed to work with wchar in node ffi
JavierJF Aug 30, 2017
d3128d1
GPII-2521: Added image as data payload for setting handler tests
JavierJF Aug 30, 2017
605ea57
GPII-1716: Added the ability to set fWinIni SPI parameter from the so…
stegru Mar 8, 2017
242765c
GPII-1716: Added font-size support, via SPI_SETNONCLIENTMETRICS and S…
stegru Mar 8, 2017
a576980
GPII-1716: Updated reference to the working universal branch.
stegru Jun 21, 2017
c3d1d78
GPII-1716: Minor quality improvements.
stegru Jun 23, 2017
d281be9
Merge remote-tracking branch 'upstream/master' into GPII-2212
stegru Sep 13, 2017
37d422d
Merge remote-tracking branch 'upstream/master' into GPII-2521
JavierJF Sep 19, 2017
d91d60f
GPII-2521: Fixed function name typo
JavierJF Sep 22, 2017
b2c28d4
GPII-2521: Added missing payload for wallpaper test
JavierJF Sep 22, 2017
bd47d98
GPII-2521: Created new folder for scripts making env changes
JavierJF Sep 22, 2017
7531ee1
GPII-2521: Created new folder for chocolatey pkgs
JavierJF Sep 22, 2017
c5282f5
GPII-2521: Added scripts and menu layout for immersive shell and cust…
JavierJF Sep 22, 2017
c0714c8
GPII-2521: Added custom windows logo and wallpapers for morpher
JavierJF Sep 22, 2017
36165df
GPII-2521: Updated package.json to point the dependent gpii-universal…
JavierJF Sep 22, 2017
929d290
Merge remote-tracking branch 'upstream/master' into GPII-2521
JavierJF Sep 22, 2017
f61032b
GPII-2521: Fixed typo in repository reference
JavierJF Sep 22, 2017
2a2ffc8
Merge remote-tracking branch 'upstream/master' into GPII-2212
stegru Oct 10, 2017
3293da2
GPII-2521: Added extra verification for SpiSettingHandler: SPI_SETDES…
JavierJF Oct 12, 2017
9364634
Merge branch 'master' of https://github.com/GPII/windows into GPII-2521
JavierJF Oct 17, 2017
5f1cbff
Improved script soundness with bitness check and better error reporting
JavierJF Oct 18, 2017
e6b1f9e
GPII-2521: Added check for script being launch in 64bit mode in 64bit…
JavierJF Oct 25, 2017
5de922b
Merge branch 'GPII-2521' of https://github.com/JavierJF/windows into …
JavierJF Oct 25, 2017
a6b4123
GPII-2521: Fixed all errors reported by eslint
JavierJF Oct 25, 2017
d2a743b
GPII-2521: Updated start menu layout for Simi due to changes in start…
JavierJF Nov 10, 2017
834fa17
GPII-2521: Fixed failing test due to race condition with ClassicShell…
JavierJF Nov 10, 2017
9aa9d48
GPII-2521: Refactored functions closeAfterExitCommand and closeAfterO…
JavierJF Nov 14, 2017
6da36d5
GPII-2521: Fixed typo in process restarting function
JavierJF Nov 14, 2017
575a912
Merge remote-tracking branch 'upstream/master' into GPII-2212
stegru Dec 11, 2017
069992d
Merge branch 'GPII-2212' of https://github.com/stegru/windows into GP…
JavierJF Dec 11, 2017
6d04643
GPII-2521: Refactored function for nicely closing processes after cal…
JavierJF Dec 20, 2017
6227913
GPII-2212: MAde the teardowns global a member of the test module
stegru Jan 5, 2018
a6ceda8
GPII-2521: Removed unused require statement
JavierJF Jan 9, 2018
e5367fe
Merge branch 'GPII-2212' of https://github.com/stegru/windows into GP…
JavierJF Jan 11, 2018
733c0e7
GPII-2212: Fixed tests execution
JavierJF Jan 12, 2018
473b62c
GPII-2212
stegru Jan 13, 2018
f524f24
Merge pull request #1 from JavierJF/GPII-2212
stegru Jan 13, 2018
1495e34
GPII-2212: Fixed incorrect teardown
stegru Jan 15, 2018
5d9ab05
Merge branch 'GPII-2212' of https://github.com/stegru/windows into GP…
JavierJF Jan 15, 2018
4eb7f8e
GPII-2521: Refactored functions closeAppWithMinForce and closeAfterCo…
JavierJF Jan 15, 2018
b064ee1
GPII-2521: Added tests for functions 'closeAfterCommand' and 'closeAp…
JavierJF Jan 15, 2018
ee41c87
GPII-2521: Changed function definition for making it more intuitive
JavierJF Jan 18, 2018
8b55c88
GPII-2521: Improved several functions stability.
JavierJF Jan 24, 2018
ca0a4e8
GPII-2521: Added tests for new processHandling functions impl
JavierJF Jan 24, 2018
00f1ee1
Merge branch 'master' of https://github.com/GPII/windows into GPII-2521
JavierJF Mar 6, 2018
0c794e8
GPII-2521: Fixed reference to current development universal
JavierJF Mar 6, 2018
780267c
GPII-2521: Added new settingsHandler for setting windows tablet mode
JavierJF Mar 21, 2018
b51a490
GPII-2521: Added new settingsHandler for settings Windows 10 start me…
JavierJF Mar 21, 2018
4fef389
GPII-2521: Added some convenient functions for processHandling
JavierJF Mar 21, 2018
f6fb864
Merge branch 'master' of https://github.com/GPII/windows into GPII-2521
JavierJF Mar 21, 2018
095230d
GPII-2521: Resolved forgotten merge conflicts
JavierJF Mar 22, 2018
a764bfa
GPII-2521: Removed check because rejecting promise 'halts' Acceptance…
JavierJF Mar 25, 2018
0d3633e
GPII-2521: Fixed linter issues
JavierJF Mar 25, 2018
1f01f45
GPII-2521: Added installation of required msvc components for native …
JavierJF Mar 27, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 48 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,63 @@ https://github.com/fluid-project/infusion/raw/master/Infusion-LICENSE.txt
"use strict";

module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-jsonlint");
grunt.loadNpmTasks("grunt-shell");
grunt.loadNpmTasks("fluid-grunt-eslint");

var gypCompileCmd = "node-gyp configure build";
var gypCleanCmd = "node-gyp clean";

function nodeGypShell(cmd, cwd) {
return {
options: {
execOptions: {
cwd: cwd
}
},
command: cmd
};
}

grunt.registerTask("lint", "Apply jshint and jsonlint", ["eslint", "jsonlint"]);

grunt.initConfig({
eslint: {
src: ["./gpii/**/*.js", "./tests/**/*.js", "./*.js"]
},
jsonlint: {
src: ["gpii/**/*.json", "tests/**/*.json", "examples/**/*.json", "./*.json"]
},
shell: {
options: {
stdout: true,
stderr: true,
failOnError: true,
// A large maxBuffer value is required for the 'runAcceptanceTests' task otherwise
// a 'stdout maxBuffer exceeded' warning is generated.
execOptions: {
maxBuffer: 1000 * 1024
}
},
compileTabletMode: nodeGypShell(gypCompileCmd, "gpii/node_modules/tabletMode/src"),
cleanTabletMode: nodeGypShell(gypCleanCmd, "gpii/node_modules/tabletMode/src")
}
});

grunt.loadNpmTasks("grunt-jsonlint");
grunt.loadNpmTasks("fluid-grunt-eslint");
grunt.registerTask("build-addons", "Build the native addons", function () {
grunt.task.run("shell:compileTabletMode");
});

grunt.registerTask("build", "Build the entire GPII", function () {
grunt.task.run("build-addons");
});

grunt.registerTask("clean-addons", "Clean the native addons", function () {
grunt.task.run("shell:cleanTabletMode");
});

grunt.registerTask("clean", "Clean the GPII binaries and uninstall", function () {
grunt.task.run("clean-addons");
});

grunt.registerTask("lint", "Apply jshint and jsonlint", ["eslint", "jsonlint"]);
};
193 changes: 182 additions & 11 deletions gpii/node_modules/WindowsUtilities/WindowsUtilities.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading