Permalink
Commits on Sep 20, 2016
Commits on Sep 15, 2016
  1. Merge branch 'GPII-1828'

    * GPII-1828:
      GPII-1828: Allows for retrieval of updated env vars
    amb26 committed Sep 15, 2016
Commits on Sep 14, 2016
  1. Merge branch 'master' into GPII-1108

    Conflicts:
    	gpii/node_modules/WindowsUtilities/WindowsUtilities.js
    amb26 committed Sep 14, 2016
Commits on Sep 13, 2016
  1. Merge branch 'GPII-1540'

    * GPII-1540:
      GPII-1540: Fixed indentation.
      GPII-1540: Make test-window.exe build automatically
      GPII-1540: Removed the test application executable
      GPII-1540: Flipped options.force to option.cleanOnly. Off by default feels better.
      GPII-1540: Unit tests for closeProcessByName always pass Waiting for process start sometimes triggers just before the window is created.
      GPII-1540: Unit tests for closeProcessByName Created test-window, a dummy application that creates a window for testing.
      GPII-1540: rollback; Put findProcessByName back to how it was. It turned out to be better to enumerate the windows, rather than enumerate every thread.
      GPII-1540: Made the process enumeration in findProcessByName re-usable. Refactored it out into eachProcess, in preparation for a "get the windows of each process" routine.
      GPII-1540: Merge from master
      GPII-1540: Implemented closeProcessByName. Terminate a process less aggressively.
    amb26 committed Sep 13, 2016
Commits on Sep 6, 2016
  1. Merge branch 'GPII-1996'

    * GPII-1996:
      GPII-1996: Upgrades node-gyp to 3.4.0
    amb26 committed Sep 6, 2016
  2. GPII-1540: Fixed indentation.

    ste committed Sep 6, 2016
Commits on Aug 29, 2016
  1. GPII-1540: Flipped options.force to option.cleanOnly.

    Off by default feels better.
    ste committed Aug 29, 2016
  2. GPII-1540: Unit tests for closeProcessByName always pass

    Waiting for process start sometimes triggers just before the window is created.
    ste committed Aug 29, 2016
Commits on Aug 26, 2016
  1. GPII-1540: Unit tests for closeProcessByName

    Created test-window, a dummy application that creates a window for testing.
    ste committed Aug 26, 2016
Commits on Aug 25, 2016
  1. Merge branch 'GPII-581'

    * GPII-581: (22 commits)
      GPII-581: Removed console.log for SPI, added fluid.log for process waiting
      GPII-581: Tidy up of waitForSpi
      GPII-581: Tidy up of waitForProcessState Made options immutable, renamed waitForProcessStateChange to waitForProcessState
      GPII-581: Removed redundant waitForTask() Replaced with windows.waitForProcessStart()
      GPII-581: Created waitForProcessStateChange function, and waitForProcessTermination/Start wrappers. Provides the ability to wait for a process to start or end.
      GPII-581: Removed assertion of the waitfor process being closed on demand. For some reason it was unable to send the signal, but it's ok because it will die after a few seconds. Not going to fail the test just because waitfor didn't work.
      GPII-581: Made the API test asynchronous (and work). The promise returned from 'set' is no longer synchronous.
      GPII-581: Made the API test asynchronous. The promise returned from 'set' is no longer synchronous
      GPII-581: Fixed indentation.
      GPII-581: Added comment to waitForTask helper function.
      GPII-581: Removed some declarations that are no longer required. "WaitForSingleObject" and related constants.
      GPII-581: Added 'options' parameter to waitForProcessTermination And other tidy-ups
      GPII-581: Added comment for waitForSpi.
      GPII-581: Wait for sethc.exe to finish before calling SPI, too. Acceptance tests where still causing 2 instances of sethc.
      GPII-581: SPI High contrast detection no longer spawns a new process. Moved process related code into processHandling.js, updated kill tests to also make use of it.
      GPII-581: Created processHandling, and consumed killProcess. Putting process related functionality together
      GPII-581: Put WindowsUtilitiesCore.js back into WindowsUtilities.js No longer needs to be in a separate file.
      GPII-581: Environment variable not being set for child process Options for fork now added to instead of replaced
      GPII-581: Made SpiHighContrastCompletion.js more pleasant. Added background information, refactored convoluted loops and nesting into separate functions.
      GPII-581: Moved the win api definitions to WindowsUtilitiesCore.js Taken the ffi funciton definitions from WindowsUtilities.js into its own file, so they can be included by the child-process in SpiHighContrastCompletion.js without the need to load universal.
      ...
    amb26 committed Aug 25, 2016
  2. GPII-1540: rollback; Put findProcessByName back to how it was.

    It turned out to be better to enumerate the windows, rather than enumerate every thread.
    ste committed Aug 25, 2016
  3. GPII-1540: Made the process enumeration in findProcessByName re-usable.

    Refactored it out into eachProcess, in preparation for a "get the windows of each process" routine.
    ste committed Aug 25, 2016
  4. GPII-1540: Merge from master

    ste committed Aug 25, 2016
  5. Merge branch 'GPII-581' into GPII-1540

    Conflicts:
    	gpii/node_modules/WindowsUtilities/WindowsUtilities.js
    ste committed Aug 25, 2016
  6. GPII-581: Tidy up of waitForSpi

    ste committed Aug 25, 2016
  7. GPII-581: Tidy up of waitForProcessState

    Made options immutable, renamed waitForProcessStateChange to waitForProcessState
    ste committed Aug 25, 2016
Commits on Aug 24, 2016
  1. GPII-1540: Implemented closeProcessByName.

    Terminate a process less aggressively.
    ste committed Aug 24, 2016
Commits on Aug 23, 2016
  1. GPII-581: Removed redundant waitForTask()

    Replaced with windows.waitForProcessStart()
    ste committed Aug 23, 2016
  2. GPII-581: Created waitForProcessStateChange function, and waitForProc…

    …essTermination/Start wrappers.
    
    Provides the ability to wait for a process to start or end.
    ste committed Aug 23, 2016
  3. GPII-581: Removed assertion of the waitfor process being closed on de…

    …mand.
    
    For some reason it was unable to send the signal, but it's ok because it will die after a few seconds. Not going to fail the test just because waitfor didn't work.
    ste committed Aug 23, 2016
  4. GPII-581: Made the API test asynchronous (and work).

    The promise returned from 'set' is no longer synchronous.
    ste committed Aug 23, 2016
  5. GPII-581: Made the API test asynchronous.

    The promise returned from 'set' is no longer synchronous
    ste committed Aug 23, 2016
  6. GPII-581: Fixed indentation.

    ste committed Aug 23, 2016
Commits on Aug 22, 2016
  1. GPII-581: Merged GPII-1873 from main

    ste committed Aug 22, 2016
  2. Merge branch 'GPII-1826'

    * GPII-1826:
      GPII-1826 : Fixed structure LOGFONT, switching lfFaceName from pointer to an array of chars.
      GPII-1826: Stop using the binary file and use ffi again
      GPII-1826 : Fixed to correct return type of HANDLE as reference said.
      GPII-1826 : ULONG_PTR and HANDLE needs to worry about running architecture.
      GPII-1826: Add the full path to the killProcessByName binary
      GPII-1826: Avoid pskill and use a custom binary that kills processes
      GPII-1826: Use pskill to terminate processes
    amb26 committed Aug 22, 2016
  3. Merge branch 'GPII-1873'

    * GPII-1873:
      GPII-1873: Added linting semicolon
      GPII-1873 : Using fluid.log instead of console.log and changed log literal.
      GPII-1873 : Moved the workaround function to the public spi namespace.
      GPII-1873 : Checking existance of HighContrastTheme definition block.
      GPII-1873 : Adding new test for checking GPII-1873 issue.
      GPII-1873 : Adding method to override the behaviour of Windows defining the value of default scheme to null for HighContrast method.
    amb26 committed Aug 22, 2016
  4. GPII-1873: Added linting semicolon

    amb26 committed Aug 22, 2016