summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2010-04-24* ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):nobu
removed wrong extra assignments. a patch from Marcus Rueckert <darix AT opensu.se> at [ruby-core:29759]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23* ext/win32ole/win32ole.c (ole_val2variant): fix the core dumpsuke
when converting Array object to VT_ARRAY variant. [ruby-core:28446] [Bug #2836] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23* doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.nobu
* ext/etc.c (Init_etc): fixed rdoc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-16* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-12* ext/dl/depend: add -I. for cross compiling.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 * ext/rational/lib/rational.rb: fix [Bug #1397].keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25* ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997]. Thanks, Michael Graff.nagai
* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC(). * ext/tk/tkutil/tkutil.c: ditto. * ext/tk/lib/tkextlib/version.rb: forgot updating. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24* ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13* ext/nkf/nkf-utf8/nkf.c (numchar_getc): get rid of buffernobu
overflow. [ruby-dev:40606] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-13* ext/tk/extconf.rb: fix [Bug #2840] Tk doesn't built in mingw.nagai
* ext/tk/lib/tk.rb: forgot updating RELEASE_DATE at last commit. * ext/tk/tkutil/tkutil.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-09 * ext/openssl/ossl_config.c: defined own ↵nahi
IMPLEMENT_LHASH_DOALL_ARG_FN_098 macro according to IMPLEMENT_LHASH_DOALL_ARG_FN in OpenSSL 0.9.8m. OpenSSL 1.0.0beta5 has a slightly different definiton so it could be a temporal workaround for 0.9.8 and 1.0.0 dual support. * ext/openssl/ossl_pkcs5.c (ossl_pkcs5_pbkdf2_hmac): follows function definition in OpenSSL 1.0.0beta5. PKCS5_PBKDF2_HMAC is from 1.0.0 (0.9.8 only has PKCS5_PBKDF2_HMAC_SHA1) * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_eq): do not use SSL_SESSION_cmp and implement equality func by ousrself. See the comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-08 * ext/openssl/ossl_ssl_session.cnahi
(ossl_ssl_session_{get,set}_time{,out}): fixed a bug introduced by backporting. (see [ruby-dev:40573]) use long in according to OpenSSL API. (SSL_SESSION_{get,set}_time{,out}) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06 * ext/openssl/ossl_x509name.c: added X509::Name#hash_old as a wrappernahi
for X509_NAME_hash_old in OpenSSL 1.0.0. * test/openssl/test_x509name.rb (test_hash): make test pass with OpenSSL 1.0.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06backport the commit from trunk:nahi
Sun Feb 28 11:49:35 2010 NARUSE, Yui <[email protected]> * openssl/ossl.c (OSSL_IMPL_SK2ARY): for OpenSSL 1.0. patched by Jeroen van Meeuwen at [ruby-core:25210] fixed by Nobuyoshi Nakada [ruby-core:25238], Hongli Lai [ruby-core:27417], and Motohiro KOSAKI [ruby-core:28063] * ext/openssl/ossl_ssl.c (ossl_ssl_method_tab), (ossl_ssl_cipher_to_ary): constified. * ext/openssl/ossl_pkcs7.c (pkcs7_get_certs, pkcs7_get_crls): split pkcs7_get_certs_or_crls. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06 * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst isnahi
truncated with ec_key.group.order.size after openssl 0.9.8m for FIPS 186-3 compliance. WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns false when you pass dgst longer than expected (no truncation performed). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-06 * ext/openssl: backport fixes in 1.9.nahi
* r25019 by marcandre * ossl_ocsp.c (ossl_ocspres_to_der): Bug fix in Response#to_def. Patch by Chris Chandler [ruby-core:18411] * r25017 by marcandre * ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untrusted for $SECURE >= 4) [ruby-core:18377] * r22925 by nobu * ext/openssl/openssl_missing.h (i2d_of_void): cast for callbacks. [ruby-core:22860] * ext/openssl/ossl_engine.c (ossl_engine_s_by_id): suppress a warning. * ext/openssl/ossl_ssl.c (ossl_sslctx_flush_sessions): time_t may be larger than long. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_get_time), (ossl_ssl_session_get_timeout): use TIMET2NUM() to convert time_t. * r22924 by nobu * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should use OPENSSL_free instead of free. a patch from Charlie Savage at [ruby-core:22858]. * r22918 by akr * ext/openssl: suppress warnings. * ext/openssl/ossl.h (OSSL_Debug): don't use gcc extention for variadic macro. * r22666 by akr * ext/openssl/lib/openssl/buffering.rb: define Buffering module under OpenSSL. [ruby-dev:37906] * r22440 by nobu * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify returns positive value on success, not non-zero. [ruby-core:21762] * r22378 by akr * ext/openssl: avoid cyclic require. * ext/openssl/lib/openssl/ssl-internal.rb: renamed from ssl.rb * ext/openssl/lib/openssl/x509-internal.rb: renamed from x509.rb. [ruby-dev:38018] * r22101 by nobu * ext/openssl/ossl_cipher.c (add_cipher_name_to_ary): used conditionally. * r21510 by akr * ext/openssl/ossl.c (ossl_raise): abolish a warning. * r21208 by akr * ext/openssl/ossl_digest.c (GetDigestPtr): use StringValueCStr instead of STR2CSTR. * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_initialize): ditto. (ossl_ec_group_initialize): ditto. * r19420 by mame * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_to_string): comment out fragments of unused code. * r18975 by nobu * ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): fix for initialization of r18168. * r18971 by nobu * ext/openssl/ossl_config.c (Init_ossl_config): removed C99ism. * r18944 by matz * ext/openssl/ossl_config.c (Init_ossl_config): memory leak fixed. a patch <shinichiro.hamaji at gmail.com> in [ruby-dev:35880]. * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto. * r18917 by nobu * ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): fix for initialization of r18168. * ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): ditto. * ext/openssl/ossl_x509name.c (ossl_x509name_initialize): ditto. * r18283 by nobu * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): suppress warnings on platforms which int size differs from pointer size. * r18181 by nobu * ext/openssl/openssl_missing.h (d2i_of_void): define for older versions. [ruby-dev:35637] * r18168 by nobu * ext/openssl: suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-28* ext/pty/pty.c (get_device_once): raise on error when fail isnobu
non-zero. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-19* ext/readline/readline.c (Init_readline): initializenaruse
check rl_catch_signals and rl_catch_sigwinch. [ruby-core:28238] [ruby-core:28242] * ext/readline/extconf.rb: check rl_catch_signals and rl_catch_sigwinch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05* ext/rational/rational.c: Added to provide a fast implementationknu
of Fixnum#gcd (and maybe some others in the future) in C. The base code was submitted by Kurt Stephens. [Feature #2561] * ext/rational/lib/rational.rb: Moved from lib/rational.rb. Make overall code optimization; submitted by Kurt Stephens. [Feature #2561] * test/rational/test_rational.rb, test/rational/test_rational2.rb: Add tests for Rational, ported from trunk. * test/rational/test_fixnum_gcd.rb: Add a test for Integer#gcd. Case values are only provided for i386 and amd64 at the moment; submitted by Kurt Stephens. [Feature #2561] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-31* ext/tk/tkutil/tkutil.c: fix SEGV on TkUtil::CallbackSubst._setup_subst_table.nagai
* ext/tk/lib/tk.rb: [POTENTIAL INCOMPATIBLE] return NoMethodError for TkWindow#to_ary and to_str. * ext/tk/lib/tkextlib/tcllib/plotchart.rb: wrong arguments. * ext/tk/sampel/tkballoonhelp.rb: fail to support TkEntry widgets. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27* ext/dl/dl.c (c_parray): get rid of a deprecated function.nobu
* ext/dl/handle.c (rb_dlhandle_sym): conditionally used variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26* ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656]naruse
patched by Hugh Sasse [ruby-core:27692] [ruby-core:27852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26* ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc.naruse
patched by Hugh Sasse [ruby-core:27692] * ext/zlib/doc/zlib.rd: removed. -This line, and those below, will be ignored-- M ext/zlib/zlib.c M ChangeLog git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-19* Makefile.in (clean-ext): allow glob patterns.nobu
* ext/extmk.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26355 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17* ext/digest/digest.c (rb_digest_instance_digest)knu
(rb_digest_instance_hexdigest): Save a method call of reset() for a disposable clone. * ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fix rdoc. * ext/digest/lib/digest.rb (Digest::Class.base64digest) (Digest::Instance#base64digest{,!}): New methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-15 * ext/zlib/zlib.c: backport r18029 and r21861 from trunk.nahi
* r18029 ext/zlib/zlib.c (rb_deflate_params): flush before deflateParams. [ruby-core:17675] (by mame) * r21861 ext/zlib/zlib.c (zstream_run): desperately guard the variable. [ruby-core:20576] (by usa) * test/zlib/test_zlib.rb: backport deflate tests from trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31* ext/digest/digest.c (rb_digest_instance_method_unimpl): Suppressknu
compiler warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-31* ext/socket/socket.c: include addrinfo.h only when using our ownusa
getaddrinfo.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* ext/socket/extconf.rb: fix for wide-getaddrinfo option.nobu
* ext/socket/addrinfo.c: rename {addr,name}info functions to ensure those are used on darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-30* ext/extmk.rb: fix for extstatic.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 * ext/stringio/stringio.c (strio_getline): fix for "" as separator.nahi
[ruby-dev:34591] (Backport r17739 by Yusuke Endoh from trunk). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06* ext/bigdecimal/bigdecimal_en.html: Remove obsolete information, fix typosmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06* lib/bigdecimal.rb: fix comparison operators [ruby-core:26646]marcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@26033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-30* ext/extmk.rb (command_output): $makeflags are already quoted.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25* ext/digest/digest.c (rb_digest_instance_method_unimpl): Do notknu
call rb_inspect() on an object that does not implement necessary methods; reported by NaHi. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24* ext/digest/lib/md5.rb, ext/digest/lib/sha1.rb: Add anknu
obsoleteness warning under -w/-v. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13* ext/tk/lib/tk/variable.rb (TkVariable::coerce): fix bug on a numeric value.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-13* ext/tk/lib/tk/variable.rb: TkVariable#*(other) and /(other) have anagai
bug on handling of the "other" value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25752 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-09* ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): rdoc fixmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-27* ext/tk/lib/tk/variable.rb: add TkVariable#+@ and -@ method.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26* ext/tk/tcltklib.c: mistake on operation. sorry.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26* ext/tk/tcltklib.c,stubs.c: remove errors or warnings when compilednagai
with old ruby 1.8.x. * ext/tk/tkutil/tkutil.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-26* ext/tk/lib/remote-tk.rb: typo fixed.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-22* intern.h (rb_thread_join): added prototype. a patch fromnobu
Mikhail T. in [ruby-core:26217]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-15* ext/iconv/iconv.c (iconv_create): cannot retry with given block.nobu
[ruby-dev:39487] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-13* ext/tk/variable.rb: bug fix. additional trace definition changes thenagai
option of first trace definition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-11* ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justinnobu
Collins in [ruby-core:26050]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08ext/curses/curses: more whitespacemarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08* ext/curses/curses.c: Many functions of module Curses could cause a crash ↵marcandre
if the ncurses library was not properly initialized. Fix pointed out by Alexander Beisig [ruby-core:22592] Functions fixed: attroff, attron, attrset, bkgd, bkgdset, can_change_color, close_screen, closed, color_content, curs_set, def_prog_mode, delch, deleteln, getmouse, getstr, has_colors, init_color, init_pair, insertln, keyname, mouseinterval, mousemask, pair_content, pair_number, reset_prog_mode, resizeterm, scrl, setscrreg, standend, standout, start_color, timeout, ungetmouse git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-10-08ext/curses/curses.c: fix whitespacemarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@25268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e