<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/win32, branch v3_3_11</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>merge revision(s) 0d16c36d0ab2afa2ec79b72b229e69c141ebdaba: [Backport #13831]</title>
<updated>2024-11-04T22:26:25+00:00</updated>
<author>
<name>Jonathan Calvert</name>
<email>athemeus@athemeus.com</email>
</author>
<published>2024-09-07T03:19:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7446f7cdd103b129b8b750f577efd29e069176c0'/>
<id>7446f7cdd103b129b8b750f577efd29e069176c0</id>
<content type='text'>
	[win32/registry] Fallback to UTF-8 for unknown codepages

	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 `&lt;main&gt;'
	    -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]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	[win32/registry] Fallback to UTF-8 for unknown codepages

	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 `&lt;main&gt;'
	    -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]
</pre>
</div>
</content>
</entry>
<entry>
<title>merge revision(s) 051a874325c177e040301878069c2b28f5d06ce6: [Backport #20096]</title>
<updated>2024-03-04T02:57:04+00:00</updated>
<author>
<name>NARUSE, Yui</name>
<email>naruse@airemix.jp</email>
</author>
<published>2024-03-04T02:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ade02f3c8909a8bf630af2c88f00b7bd7ff02682'/>
<id>ade02f3c8909a8bf630af2c88f00b7bd7ff02682</id>
<content type='text'>
	Fix memory overread in registry.rb

	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]
	---
	 ext/win32/lib/win32/registry.rb | 7 ++-----
	 1 file changed, 2 insertions(+), 5 deletions(-)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
	Fix memory overread in registry.rb

	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]
	---
	 ext/win32/lib/win32/registry.rb | 7 ++-----
	 1 file changed, 2 insertions(+), 5 deletions(-)
</pre>
</div>
</content>
</entry>
<entry>
<title>Expand tabs [ci skip]</title>
<updated>2022-07-21T16:42:04+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-07-21T16:23:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5b21e94bebed90180d8ff63dad03b8b948361089'/>
<id>5b21e94bebed90180d8ff63dad03b8b948361089</id>
<content type='text'>
[Misc #18891]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
[Misc #18891]
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix some typos by spell checker</title>
<updated>2021-04-26T01:07:41+00:00</updated>
<author>
<name>Ryuta Kamizono</name>
<email>kamipo@gmail.com</email>
</author>
<published>2021-04-25T15:10:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=33f2ff3babb7054f3df1efa25c1285e09613d7b8'/>
<id>33f2ff3babb7054f3df1efa25c1285e09613d7b8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[DOC] Fix grammar: "is same as" -&gt; "is the same as"</title>
<updated>2021-01-05T14:13:53+00:00</updated>
<author>
<name>Marcus Stollsteimer</name>
<email>sto.mar@web.de</email>
</author>
<published>2021-01-05T14:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3108ad7bf3dcae52054a1c29b86246cdb470000b'/>
<id>3108ad7bf3dcae52054a1c29b86246cdb470000b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Fiddle::Importer directly</title>
<updated>2020-11-11T00:27:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-11-10T07:59:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=dd07354f2797473261f06159801e50dc6445ef76'/>
<id>dd07354f2797473261f06159801e50dc6445ef76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed win32/resolv.rb for 32bit env</title>
<updated>2020-11-11T00:27:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-11-10T06:39:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5081bd96753d637d213315ccd8e5efdbf2222a03'/>
<id>5081bd96753d637d213315ccd8e5efdbf2222a03</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Removed win32api</title>
<updated>2020-11-11T00:27:36+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2020-11-10T04:56:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ff67aac193eed4e5ea0a6801d0903ddc35f21be0'/>
<id>ff67aac193eed4e5ea0a6801d0903ddc35f21be0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use fiddle (win32/importer) instead of Win32API</title>
<updated>2020-11-10T05:45:15+00:00</updated>
<author>
<name>NAKAMURA Usaku</name>
<email>usa@ruby-lang.org</email>
</author>
<published>2020-11-10T05:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9728cb730f29783f949ba2824f4e411c6abade18'/>
<id>9728cb730f29783f949ba2824f4e411c6abade18</id>
<content type='text'>
- ext/win32/lib/win32/sspi.rb: Use fiddle (win32/importer) instead of Win32API
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ext/win32/lib/win32/sspi.rb: Use fiddle (win32/importer) instead of Win32API
</pre>
</div>
</content>
</entry>
<entry>
<title>Include ruby/assert.h in ruby/ruby.h so that assertions can be there</title>
<updated>2019-07-14T08:58:03+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2019-07-14T04:06:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=715955ff27206351dcf509eb3c60e0927ad9a708'/>
<id>715955ff27206351dcf509eb3c60e0927ad9a708</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
