summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2012-10-16Merge r35953 from ruby_1_8_7.knu
* ext/bigdecimal/bigdecimal.c (VpMemAlloc): Fixes a bug reported by Drew Yao <ayao at apple.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16Merge r33999 from ruby_1_8_7.knu
* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize store->ex_data.sk. [ruby-core:28907] [ruby-core:23971] [ruby-core:18121] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-16Merge r32233 and r32320 from ruby_1_8_7.knu
* ext/tk/extconf.rb: copy from trunk, as requested by Hidetoshi NAGAI. * ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl with mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@37217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-21* ext/syslog/syslog.c (mSyslog_inspect): Make sure self is aknu
module before calling rb_class2name(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-11 * ext/bigdecimal/bigdecimal.c (PUSH): to prevent VALUE from GC,nobu
must not cast it to unsigned long, which may be shorter than VALUE, and the result can be mere garbage. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@35619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08Backport r34482 from trunk. See #5353nahi
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-02-08merge revision(s) 31346,31528:nahi
* ext/openssl/extconf.rb: Should check SSLv2_*method. openssl compiled with "no-ssl2" the extconf don't fail when running `make' having this compilation errors. Patched by Laurent Arnoud. fixes #4562, #4556 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@34483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29* ext/openssl/ossl.h (OPENSSL_SYS_WIN32): define only if not defined.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29* ext/openssl/ossl.h (OPENSSL_SYS_WIN32): support for mingw(msys).eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-29* ext/tk/extconf.rb (intptr_t, uintptr_t): support for the latest ActiveTcl ↵eban
with mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@32289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-20merge revision(s) 28080:shyouhei
* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD. This caused failure when test/csv is executed with GC.stress = true. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e Signed-off-by: URABE, Shyouhei <[email protected]> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@31667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-15* ext/zlib/zlib.c (gzfile_check_footer): ISIZE (Input SIZE) in gzip's headernaruse
is the size of uncompressed input data modulo 2^32. [ruby-core:34481] http://www.ietf.org/rfc/rfc1952.txt git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-06* ext/socket/{getaddrinfo,getnameinfo}.c: include winsock2.h only whenusa
specified to use winsock2 by user. this problem is reported by kosaki. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-01-05* ext/socket/socket.c (make_addrinfo): skip IPv6 addresses when rubyusa
doesn't support IPv6 but system supports it. [ruby-dev:42944] (#4230) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 * Backported the fix atnahi
Mon Sep 13 09:23:58 2010 NARUSE, Yui <[email protected]> * ext/openssl/ossl_bn.c (ossl_bn_is_prime): fix comparison with rb_scan_args. Before this fix, OpenSSL::BN#prime? is fully broken. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-20 * Backported the fix atnahi
Mon Oct 4 09:30:42 2010 NARUSE, Yui <[email protected]> * ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.new accepts only Strings, so call Integer#to_s(16). 16 is for an optimization. [ruby-dev:42336] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-10* ext/tk/lib/multi-tk.rb: infinite loop on method_missing at loading.nagai
(backport from Ruby 1.9). * ext/tk/lib/multi-tk.rb: when no eventloop is running, ruby freezes at exit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@30171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-26* ext/dl/extconf.rb, ext/iconv/charset_alias.rb: use RbConfig.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-24* ext/socket/extconf.rb (getaddrinfo): should initialize winsock onusa
windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-22merge revision(s) 28835,28894:shyouhei
* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc version is older than 3.4.4. [ruby-core:31567] [Bug #3637] * ext/win32ole/extconf.rb: ditto. * ext/win32ole/win32ole.c: fix checking version of GCC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-31* ext/digest/digest.c (rb_digest_class_init): Defineknu
Digest::Class.new(). [Feature #3954] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-01* ext/-test-/threadswitch/threadswitch_hook.c (event_hook,usa
threadswitch_event_hook, restore_hook, threadswitch_hook): use rb_thread_current() instead of rb_curr_thread->thread, because the latter is not a public interface. this change fixes build problem on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-24* ext/stringio/stringio.c (Init_stringio): added readpartial,nobu
read_nonblock and write_nonblock aliases. [ruby-core:27024] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-23 * eval.c (rb_add_threadswitch_hook): wrapper for unofficial APIsnobu
in Mac OS X port. the use of them is strongly discouraged. * eval.c (rb_remove_threadswitch_hook): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-31* ext/tk/stubs.c: fix [Bug #3771] "VC++ can't make ext/tk with enablingnagai
stubs". Thanks, Akio Tajima [ruby-dev:42159]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-24* ext/tk/tcltklib.c: add codes for Ruby/Tk-Kit which depends on recentnagai
versions of kitgen for Tclkit (ready to use Mk4tcl or Vqtcl). And support working on a file tree extracted from a VFS dataset on Ruby/Tk-Kit. It's still experimental, because ext/tk/extconf.rb can't make a Makefile for Ruby/Tk-Kit. * ext/tk/lib/tk.rb: add comment about TclTkLib::WINDOWING_SYSTEM. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-23 * ext/openssl/ossl_asn1.c (obj_to_asn1bool): fixed ASN1::Booleannahi
encoding issue for OpenSSL 1.0.0 compatibility. ASN1::Boolean.new(false).to_der wrongly generated "\1\1\377" which means 'true'. ASN1_TYPE_set of OpenSSL <= 0.9.8 treats value 0x100 as 'false' but OpenSSL >= 1.0.0 treats it as 'true'. ruby-ossl was using 0x100 for 'false' for backward compatibility. Just use 0x0 for the case OpenSSL >= OpenSSL 0.9.7. * test/openssl/test_asn1.rb: test added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-19 * ext/openssl/lib/openssl/config.rb, test/openssl/test_config.rb:nahi
cosmetic changes for 1.9 compatibility; let it run on 1.9 as-is. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@29045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07.cvsignore: have not been used already. [Bug #3468]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05* ext/socket/socket.c: use _() macro instead of __P(), because theusa
former is provided by ruby's defines.h but the latter is offered by some systems only by chance. this fixes build failure with VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-30* ext/-test-/add_suffix/bug.c: typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29* util.c (ruby_add_suffix): fixed a bug returning uninitializednobu
value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,nagai
even if MacOS X Aqua version [ruby-dev:41883]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-24* ext/win32ole/win32ole.c (fev_initialize): initialize pTypeInfo.suke
[ruby-core:31304][Bug #3576]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 * ext/openssl/ossl_config.c, ext/openssl/lib/openssl/config.rb,nahi
ext/openssl/lib/openssl.rb: reimplement OpenSSL::Config in Ruby. Now it should work on windows. * test/openssl/test_config.rb: added tests for OpenSSL::Config#dup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-12 * ext/openssl/ossl_config.c (ossl_config_copy): wrongly updating the nahi
given object with uninitialized CONF data. now OpenSSL::Config#clone works as expected; cloning the config instead of SEGV or empty definition. * test/openssl/test_config.rb: added tests for Config#clone. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround forknu
getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427] patch by Wataru Kimura. [ruby-core:30842] [Backport #3474] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-10* ext/dl/dl.c (rb_dl_strdup): strdup() only allocates a buffer ofknu
strlen()+1 bytes. [Bug #2794] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02* ext/tk/lib/tk.rb: fix typo and race condition.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworksnagai
are enabled on MacOS X. * ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X. * ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter. And hide a root window before starting eventloop. (for ruby 1.9) * ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit (Rubykit). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@28112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20merge from trunk (parts of r27457)usa
* ext/openssl/extconf.rb: check some functions added at OpenSSL 1.0.0. * ext/openssl/ossl_engine.c (ossl_engine_s_load): use engines which exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19* ext/tk/extconf.rb: [ruby-def:41334] [Bug #3307] invalid result on ↵nagai
searching tcl.h/tk.h. Thanks, Masaya Tarui. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27905 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.nobu
a patch by Masaya TARUI <tarui AT prx.jp>. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-15* ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary ifnobu
errno is not set. [ruby-dev:41317] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08* ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not getnobu
collected. based on a patch masaya tarui at [ruby-dev:41213]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.nobu
* ext/tk/extconf.rb (search_tclConfig): fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06* ext/tk/extconf.rb: search directories on PATH, only if containingnagai
tclsh or wish command (probably right fix for [ruby-core:30010]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05* ext/tk/extconf.rb: revert. enbugged by last commit.nagai
([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010]) * ext/tk/README.tcltklib: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02* ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flagnobu
when scalar begins with newline. patches from Dave B <daz AT d10.karoo.co.uk> at [ruby-core:23019] and caleb clausen at [ruby-core:25851]. [ruby-core:23006][ruby-core:29925] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30* ext/tk/extconf.rb: better support for MinGW environment.nagai
* ext/tk/README.tcltklib: add info of --with-tcltk-drive for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e