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

Add class for windows version checking #210

Merged
merged 9 commits into from
Mar 10, 2017

Commits on Mar 3, 2017

  1. Adds WindowsVersion

    Adds a simple way to grab the windows version. 
    
    eg.WindowsVersion.IsXp()
    eg.WindowsVersion.IsVista()
    eg.WindowsVersion.Is7()
    eg.WindowsVersion.is8()
    eg.WindowsVersion.Is10()
    
    This is going to be used by the Systemn.PowerBroadcastNotifier and also System.DeviceChangeNotifier (if the PR for the latter gets accepted)
    kdschlosser committed Mar 3, 2017
    Configuration menu
    Copy the full SHA
    a1a5a86 View commit details
    Browse the repository at this point in the history

Commits on Mar 10, 2017

  1. Convert to class and add comparison functions.

    Reworked the compare functions (based on kdschlosser's idea)
    added more docstrings and layout the class docstring.
    added the class to help file (Developer documentation -> The eg module)
    topic2k committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    a639236 View commit details
    Browse the repository at this point in the history
  2. deprecate eg.Utils.IsXP() and eg.Utils.IsVista()

    only show deprecation warning for eg
    topic2k committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    f39a7b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e09cae1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3991366 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c637d8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b50e103 View commit details
    Browse the repository at this point in the history
  7. replace eg.Utils.IsVista() with eg.WindowsVersion.IsVista()

    replace `eg.Utils.IsXP()` with `eg.WindowsVersion.IsXP()`
    topic2k committed Mar 10, 2017
    Configuration menu
    Copy the full SHA
    fa0d718 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e6668da View commit details
    Browse the repository at this point in the history