summaryrefslogtreecommitdiff
path: root/ext/win32
AgeCommit message (Collapse)Author
2025-12-10[ruby/win32-registry] v0.1.2Hiroshi SHIBATA
https://github.com/ruby/win32-registry/commit/2a6ab00f67
2025-12-09[ruby/resolv] use domain suffix from 'Domain' instead of 'NV Domain'YO4
'NV Domain' does not change results of `powershell -command Get-DnsClientGlobalSetting`. 'Domain' do this. https://github.com/ruby/resolv/commit/d49e3d5b84
2025-12-08[ruby/resolv] Check the second RegGetValue typeNobuyoshi Nakada
https://github.com/ruby/resolv/commit/3678de9e30
2025-12-08[ruby/resolv] Fix warnings on cygwinNobuyoshi Nakada
https://github.com/ruby/resolv/commit/075e76f997
2025-11-20[ruby/resolv] Move minimal registry access to the extensionNobuyoshi Nakada
Now win32/registry depends on fiddle, and its conversion is complex and too generic for the purpose of resolv. https://github.com/ruby/resolv/commit/bd24870d2d
2025-11-09[ruby/win32-registry] [DOC] Convert documents from RD2Nobuyoshi Nakada
https://github.com/ruby/win32-registry/commit/8680eedd43
2025-10-31[ruby/win32-registry] v0.1.1Hiroshi SHIBATA
https://github.com/ruby/win32-registry/commit/6d8a43a890
2025-10-30[ruby/resolv] Fix invalid "Broken registry" warning for UseDomainNameDevolutionOrgad Shaneh
This value is dword, not a string. Amends https://github.com/ruby/resolv/commit/720e25034042. https://github.com/ruby/resolv/commit/bf00ed8585
2025-10-30[ruby/resolv] Fallback to powershell implementation under the bundle environmentHiroshi SHIBATA
[Bug #21645] win32-registory can't load fiddle if Gemfile didn't have that dependency. https://github.com/ruby/resolv/commit/1319183a4b
2025-10-27[ruby/win32-registry] Use pathspecs to select needed files in the gem fileNobuyoshi Nakada
Exclude other git management files too. https://github.com/ruby/win32-registry/commit/3be0188111
2025-10-27[ruby/resolv] win32/resolv: fix loading of `NV Domain`fukunori03
https://github.com/ruby/resolv/commit/da14f1f2fc
2025-08-13[ruby/resolv] win32/resolv: add headers to GetNetworkParams check.Jeremy Drake
On 32-bit Cygwin at least, it was failing to find that function, presumably due to it being stdcall. Signed-off-by: Jeremy Drake <github@jdrake.com> https://github.com/ruby/resolv/commit/bceafef74b
2025-06-17[ruby/win32-registry] Minor readme improvements and typo fixesTim Smith
- Put shell commands in code blocks so they can easily be copied from the GitHub UI directly - Fix a few typos - Fix a dead link to MSDN Signed-off-by: Tim Smith <tsmith84@gmail.com> https://github.com/ruby/win32-registry/commit/61a4672df7
2025-04-17[ruby/resolv] quote registry value name properlyYO4
'NV Domain' needs to be quoted. https://github.com/ruby/resolv/commit/332a16dcc0
2025-02-05Integrate read_s and read_s_expand with get_item_property for Win32::RegistryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-02-05Added get_item_property and use it for Win32::Registry and Get-ItemPropertyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-02-05Use powershell for retrieving value from registry if fiddle is not availableHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-02-05Don't use nested registry open for rewriting powershell versionHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-02-05Handle failing case to load win32/registryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/12616
2025-01-30[ruby/resolv] `w32error_raise` never returnsNobuyoshi Nakada
https://github.com/ruby/resolv/commit/d00e86f7e4
2024-12-10[ruby/resolv] Build the extension library only when CRuby (FixNobuyoshi Nakada
https://github.com/ruby/resolv/pull/69) On JRuby no C compiler is available and this call results in a runtime error. https://github.com/ruby/resolv/commit/33105bc504
2024-11-08[ruby/win32-registry] Bump up v0.1.0Hiroshi SHIBATA
https://github.com/ruby/win32-registry/commit/a87076ee42
2024-10-17[ruby/win32-registry] Exclude rake files from packages [ci skip]Nobuyoshi Nakada
https://github.com/ruby/win32-registry/commit/e7b2eeb885
2024-10-17[ruby/win32-registry] Exclude mailmap from packages [ci skip]Nobuyoshi Nakada
https://github.com/ruby/win32-registry/commit/521f93af9e
2024-10-17[ruby/win32-registry] Fix compatibility with JRubyLars Kanis
JRuby's fiddle implementation has quite some shortcomings compared with the CRuby impl. Add JRuby tests in CI. https://github.com/ruby/win32-registry/commit/7f34184c2e
2024-10-09Sync from ruby/win32-registryHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/11791
2024-10-08Extract ext/win32/lib/win32/sspi.rb to ruby/win32-sspiHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/11829
2024-09-29win32/sspi: Use `start_with?` to see prefixNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-29win32/sspi: Rafactor pack/unpackNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-29win32/sspi: For Ractor use a constant instead of a class variableNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-29win32/sspi: Fix missing A suffix in an API constant nameNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-29win32/sspi: Fix Win32::SSPI::SSPIResult#== with IntegerNobuyoshi Nakada
The values of `@@map` are `Symbol`s and `@value` should be an `Integer` since unpacked as unsigned long, so this comparison should be false always. Probably comparison with `Symbol` was intended. Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-29win32/sspi: Already Fixnum has been removed years agoNobuyoshi Nakada
Notes: Merged: https://github.com/ruby/ruby/pull/11722
2024-09-25[win32/registry] Fallback to UTF-8 for unknown codepagesJosh Cooper
There are some codepages like cp708 for which no ruby encoding exists: $ ruby -e "Encoding.find('cp708')" Traceback (most recent call last): 1: from -e:1:in `<main>' -e:1:in `find': unknown encoding name - cp708 (ArgumentError) win32/registry uses ENCODING to transcode error messages and expand environment variables from UTF-16LE, so using UTF-8 seems like the best choice and is better than a hard failure. This should resolve [Bug #13831] Notes: Merged: https://github.com/ruby/ruby/pull/7366
2024-09-10[ruby/resolv] Add spec extensionsNobuyoshi Nakada
https://github.com/ruby/resolv/commit/3189d16b69
2024-05-03win32/registry: Shorten with safe navigation operatorNobuyoshi Nakada
2024-05-03win32/registry: Make frozen_string_literal trueNobuyoshi Nakada
2024-05-03win32/registry: Refine pack/unpackNobuyoshi Nakada
* Use 'J' for HANDLE. * Use 'Q' for QWORD. * Define template constants. * Supply zero bytes in `unpackqw` as well as `unpackdw`. * Use `String#unpack1`.
2024-04-26Enable Ruby to run on Windows with frozen string literalsSam Aaron
2023-12-28Fix memory overread in registry.rbKJ Tsanaktsidis
The terminator is not actually getting filled in; we're simply passing (two) bytes of empty memory as the NUL terminator. This can lead to garbage characters getting written to registry values. Fix this by explicitly putting a WCHAR_NUL character into the string to be sent to the registry API, like we do in the MULTI_SZ case. [Bug #20096]
2022-07-21Expand tabs [ci skip]Takashi Kokubun
[Misc #18891] Notes: Merged: https://github.com/ruby/ruby/pull/6094
2021-04-26Fix some typos by spell checkerRyuta Kamizono
Notes: Merged: https://github.com/ruby/ruby/pull/4414
2021-01-05[DOC] Fix grammar: "is same as" -> "is the same as"Marcus Stollsteimer
2020-11-11Use Fiddle::Importer directlyHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3712
2020-11-11Removed win32/resolv.rb for 32bit envHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3712
2020-11-11Removed win32apiHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/3712
2020-11-10Use fiddle (win32/importer) instead of Win32APINAKAMURA Usaku
- ext/win32/lib/win32/sspi.rb: Use fiddle (win32/importer) instead of Win32API
2019-07-14Include ruby/assert.h in ruby/ruby.h so that assertions can be thereNobuyoshi Nakada
2019-07-14Added depend filesNobuyoshi Nakada
2019-06-07win32/registry.rb: fix potential infinite loopNobuyoshi Nakada
* ext/win32/lib/win32/registry.rb (Win32::Registry#each_value): advance the index even if an error occurred in #read.