summaryrefslogtreecommitdiff
path: root/lib/chef/win32
Commit message (Collapse)AuthorAgeFilesLines
* fixing Style/ConstantName copLamont Granquist2016-08-163-4/+4
|
* autofixing Performance/TimesMapLamont Granquist2016-08-162-2/+2
|
* Fix Ruby 2.3 `symlink?` when symlink points to nonexistent fileJohn Keiser2016-08-031-4/+4
|
* windows fixes for ruby 2.2.4Lamont Granquist2016-03-231-3/+5
|
* chefstyle Style/AndOr fixesLamont Granquist2016-03-141-1/+1
| | | | | this is part of our informal style guide, lets make it formal since clearly its not getting followed very well.
* add some @yield docsLamont Granquist2016-03-041-0/+3
| | | | added some FIXMEs because trying to sort out types for random undocumented code was making me completely aggro
* remove unused block argumentslcg/chefstyle-perfLamont Granquist2016-02-231-3/+3
|
* Autofixing new Perf cops in 0.37.2Lamont Granquist2016-02-232-4/+4
| | | | | | | | | | 6 Performance/Casecmp 18 Performance/Detect 1 Performance/RangeInclude 27 Performance/RedundantBlockCall 6 Performance/RedundantMatch 5 Performance/RedundantMerge 18 Performance/StringReplacement
* deal with 0.37.2 renamed copsLamont Granquist2016-02-181-1/+1
| | | | | | | | | | | | | | | 252 Style/TrailingCommaInLiteral 84 Style/TrailingCommaInArguments 15 Style/SpaceAroundKeyword -- 351 Total We already dealt with SpaceAroundKeyword under its old name SpaceBeforeModifierKeyword, it looks like it got stricter about spaces after keywords. TrailingComma also got split, and it looks like the TrailingCommaInArguments behavior is new?
* fallback to netmsg.dll error table if error message is not found in system ↵Matt Wrock2016-02-182-4/+45
| | | | errors
* convert MultilineOperationIndentation style to "indented"Lamont Granquist2016-02-123-10/+10
| | | | this looks nicer.
* pull rubocop 0.37.2 into chefstyleLamont Granquist2016-02-121-1/+1
| | | | | this is from the same ruleset that we had, but the new code catches more conditions.
* auto fixing some rubocopsLamont Granquist2016-02-096-8/+8
| | | | | | | | | Style/NegatedWhile Style/ParenthesesAroundCondition Style/WhileUntilDo Style/WordArray Performance/ReverseEach Style/ColonMethodCall
* autofixing whitespace copsLamont Granquist2016-02-0518-102/+122
| | | | | | | | | | | | | | | | | | | | | | 4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
* fixes #4515 and use FormatMessage to get correct error messages from native ↵invalidMatt Wrock2016-02-034-65/+27
| | | | API instead of retyping them with our fingers
* Update all auth email address from opscode.com and getchef.com to chef.io.Noah Kantrowitz2016-02-0228-31/+31
| | | Generated via git ls-files | xargs perl -pi -e "s/(Author.*?<[^@]+@)(?:opscode\\.com|getchef\\.com)(>)/\\1chef.io\\2/gi"
* Replace all Opscode copyrights with Chef Software.Noah Kantrowitz2016-02-0228-28/+28
| | | Created via git ls-files | xargs perl -pi -e "s/(Copyright.*?), Opscode(,)? Inc(\.)?/\\1, Chef Software Inc./gi"
* Manual fix ups for things that didn't follow the usual pattern.Noah Kantrowitz2016-02-022-2/+2
|
* Copyright year update for 2016 and massive cleanup.Noah Kantrowitz2016-02-0234-34/+34
| | | Generated via git ls-files | xargs perl -pi -e "s/[Cc]opyright (?:\([Cc]\) )?((?\!$(date +%Y))\\d{4})(-\\d{4})?([, ][ \d]+)*(,|(?= ))/Copyright \\1-$(date +%Y),/g"
* correct windows 10 major/minor version numbersversionMatt Wrock2016-02-011-2/+2
|
* Use double quotes by defaultThom May2016-01-1436-202/+202
| | | | | | | This is an entirely mechanically generated (chefstyle -a) change, to go along with chef/chefstyle#5 . We should pick something and use it consistently, and my opinion is that double quotes are the appropriate thing.
* autocorrecting Style/TrailingCommalcg/trailing_commaLamont Granquist2016-01-136-71/+71
| | | | chefstyle -a fixed 1044 occurrances
* yet more lint copslcg/lint-cops-againLamont Granquist2016-01-131-13/+0
| | | | | | | fixes: Lint/AmbiguousOperator Lint/DuplicateMethods
* really fix copslcg/really-fix-copsLamont Granquist2016-01-122-131/+131
|
* fixes #3521 correcting format of user name passed to policy apis and does ↵Matt Wrock2015-12-294-3/+108
| | | | not clobber existing service rights of other users
* adds support to installer types inno, nsis, wise and installshield top the ↵Matt Wrock2015-12-073-1/+149
| | | | windows_package resource
* Improve sentencesTim Smith2015-10-181-1/+1
|
* Merge pull request #3462 from chef/jdm/pscred-winrmSteven Murawski2015-09-081-1/+1
|\ | | | | | | Fix issue where ps_credential does not work over winrm
| * Allow creation of secure strings over remoting/servicesjdm/pscred-winrmJay Mundrawala2015-06-011-1/+1
| | | | | | | | | | | | | | | | The issue here is the user profile does not get loaded when running over winrm / as a service. This user profile is needed to use the DPAPI to encrypt the data for the current user. Should fix #3246
* | Move Win32::Registry#write monkeypatch into win32/registry monkeypatch file.Claire McQuin2015-09-041-27/+0
| |
* | Implement delete_key with Win32::Registry#delete_keyClaire McQuin2015-09-031-26/+13
| |
* | Remove access mask to RegDeleteKeyExW, it's not usefulClaire McQuin2015-09-031-2/+1
| |
* | Monkey-patch Win32::Registry::API::DeleteKey for Win32::Registry#delete_keyClaire McQuin2015-09-031-4/+1
| |
* | Monkey-patch Win32::Registry::API::DeleteValue for Win32::Registry#delete_value.Claire McQuin2015-09-032-0/+10
| |
* | Refactor Chef::Mixin::WideString to remove implicit Windows dependency.mcquin/refactor-wstringClaire McQuin2015-09-0111-55/+20
| |
* | Patch Win32::Registry#write on Ruby 2.1, resolves encoding errorsmcquin/monkeypatch-win32-registry-writeClaire McQuin2015-08-311-0/+27
| |
* | Fix constantSalim Alam2015-08-311-1/+1
| |
* | Prep for Registry FFI; Convert RegDeleteKeyEx to FFIsalam/registry-ffichefsalim2015-08-302-2/+57
| |
* | FFI NetUseAddJay Mundrawala2015-08-282-0/+24
| |
* | FFI NetUseGetInfoJay Mundrawala2015-08-282-0/+38
| |
* | Create StructHelperJay Mundrawala2015-08-281-38/+42
| |
* | Use FFI for NetUseDelJay Mundrawala2015-08-282-0/+31
| |
* | Rename NetUser -> NetJay Mundrawala2015-08-281-1/+2
| |
* | Make win32/api/net.rb look nicerjdm/net-api-styleJay Mundrawala2015-08-281-11/+28
| |
* | Use ffi for GetVolumeNameForVolumeMountPointJay Mundrawala2015-08-272-0/+14
| |
* | Convert SetVolumeMountPoint to use ffiJay Mundrawala2015-08-272-0/+13
| |
* | Rewrite DeleteVolumeMountPoint to use FFIJay Mundrawala2015-08-272-0/+16
| |
* | Merge pull request #3775 from chef/salam/win64Salim Alam2015-08-193-0/+98
|\ \ | | | | | | Enable 64-bit support for Powershell and Batch scripts
| * | Enable 64-bit support for Powershell and Batch scriptsSalim Alam2015-08-193-0/+98
| | |
* | | FFYify NetLocalGroupDelMembersJay Mundrawala2015-07-301-0/+13
| | |