Permalink
Commits on Jun 7, 2013
  1. Merge pull request #8 from joshcooper/ticket/master/16080-handle-miss…

    djberg96 committed Jun 7, 2013
    …ing-description
    
    (#16080) Protect against misconfigured services
Commits on Jun 6, 2013
  1. (#16080) Protect against misconfigured services

    joshcooper committed Jun 5, 2013
    Previously, the Win32::Service.services method would raise an exception if any
    service was misconfigured. On Windows 2012 in VMware fusion, the tsusbhub
    (driver) service is installed by default, so this bug is always triggered
    though the same issue could occur in other Windows OS's.
    
    The issue occurs when a service, e.g. tsusbhub, has a Description entry in
    the registry of the form:
    
        @[path]dllname,-strID
    
    where strID is the localized description identifier, but the resource with
    that identifier is absent from the dll.
    
    This commit updates the `services` method to rescue exceptions related to
    `get_config2_info`.
    
    The commit adds a optional parameter to `get_config2_info` so that the caller
    can decide whether the handles should be closed. This way if we fail to
    retrieve the description, for whatever reason, we can still attempt to lookup
    failure actions.
Commits on May 7, 2013
  1. Merge pull request #7 from jeckersb/no-tchar-on-cygwin

    djberg96 committed May 7, 2013
    Configure on HAVE_TCHAR_H to fix build on cygwin
Commits on May 6, 2013
  1. Configure on HAVE_TCHAR_H to fix build on cygwin

    jeckersb committed May 6, 2013
    Cygwin does not have tchar.h, so in that case fall back to just use a
    plain char type.
Commits on Dec 15, 2012
  1. Merge pull request #5 from evolve2k/patch-1

    djberg96 committed Dec 15, 2012
    Update doc/service.txt
Commits on Dec 14, 2012
  1. Update doc/service.txt

    evolve2k committed Dec 14, 2012
    Removed trailing comma from 'Create a new service' example as currently example will fail if copied.
Commits on May 28, 2012
Commits on Sep 7, 2011
Commits on Sep 5, 2011
  1. Fixed 'daemon' spelling.

    djberg96 committed Sep 5, 2011
Commits on Aug 21, 2011
  1. Added changes so far for 0.7.2.

    djberg96 committed Aug 21, 2011
Commits on Apr 16, 2011
  1. Updated for mingw/gcc and seh.

    djberg96 committed Apr 16, 2011
Commits on Mar 4, 2011
Commits on Feb 27, 2011
  1. Added a Rake task to run one of the sample programs and added some co…

    djberg96 committed Feb 27, 2011
    …mments to the daemon demo program.
  2. Installation update for README.

    djberg96 committed Feb 27, 2011
Commits on Feb 25, 2011
Commits on Dec 9, 2010
Commits on Feb 11, 2010
Commits on Feb 10, 2010
Commits on Feb 9, 2010