summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2011-06-14* ext/tk/tcltklib.c (lib_eventloop_core): revert the last change (it'snagai
the part for ruby_1_8), and use rb_thread_check_ints() when RUBY_VM is defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-14 * ext/date/date_core.c: renamed some functions.tadf
* ext/date/date_core.c: modified doc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/coverage/coverage.c: make it restartable. [ruby-core:36539]mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/io/console/console.c (console_dev): typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/io/console/console.c (console_dev): console should benobu
unbuffered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/io/console/console.c (console_dev): take care of no-cttynobu
case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/socket/unixsocket.c (unix_send_io): race condition fixed.akr
(unix_recv_io): ditto. fixed by Eric Wong. [ruby-core:35574] * test/socket/test_unix.rb: test added for above problem. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/io/console/console.c (console_dev): fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/bigdecimal/bigdecimal.c (is_kind_of_BigDecimal): new function tomrkn
examine the whether the object is kind of BigDecimal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/bigdecimal/bigdecimal.c (BigDecimalCmp): use GetVpValueWithPrecmrkn
for Float and Rational arguments. * test/bigdecimal/test_bigdecimal.rb (test_new, test_cmp, test_power): add and modify tests for the above change. * ext/bigdecimal/bigdecimal.c (BigDecimalCmp): modify coding style to match ruby's standard. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13Fix: r32043 may raise NameError.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/openssl/ossl_digest.c: fix error for digests that have no oidemboss
(e.g. DSS1). * test/openssl/test_digest.c: add tests for this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/syck/lib/syck/rubytypes.rb: ditto.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/psych/lib/psych/deprecated.rb (Object#to_yaml_properties):naruse
undef to_yaml_properties before redefine it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/openssl/ossl_digest.c: allow Digests to be created by sn, ln oremboss
oid. * test/openssl/test_digest.rb: add tests for this. [Ruby 1.9 - Feature #4412] [ruby-core:35319] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/openssl/pkey_dh.c: corrected documentation.emboss
* test/openssl/utils.rb: add test key for DH. * test/openssl/test_pkey_dh.rb: add tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-13* ext/openssl/pkey_dh.c: clarify difference between DH#public_key andemboss
DH#pub_key in documentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12* ext/openssl/ossl_pkey.c: added PKey.read module function that allowemboss
reading arbitrary public/private keys from DER-/PEM-encoded File or string instances. * ext/openssl/ossl_pkey_dh.c: improved documentation. * test/openssl/utils.rb: added EC test key. * test/openssl/test_pkey_rsa.rb test/openssl/test_pkey_dsa.rb: Test PKey.read. Reuse keys from OpenSSL::TestUtils. * test/openssl/test_pkey_ec.rb: Created test file for EC tests. Test PKey.read. [Ruby 1.9 - Feature #4424] [ruby-core:35330] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12* ext/objspace/objspace.c (total_i): fix to skip no ruby objects.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12* ext/openssl/ossl_pkey_dh.c: completed documentation.emboss
* ext/openssl/ossl_pkey_dsa.c: corrected examples. Improved parameter sections. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12* ext/openssl/ossl_pkey_dsa.c: completed documentation.emboss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12 * ext/date/date_core.c (d_lite_marshal_load): should give converted value.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12 * ext/date/date_core.c: edited doc.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-12* ext/tk/extconf.rb: fails on Mac OS X [Ruby 1.9 - Bug #4853]nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c: edited doc.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c: edited doc.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* ext/openssl/lib/openssl/buffering.rb (module OpenSSL):nahi
Buffering#each_byte should return String in accordance with IO in 1.9. * test/openssl/test_buffering.rb (class OpenSSL): add tests for getc and each_byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c: replaced doc for strftime based on Time's one.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c ↵tadf
(datetime_s_{iso8601,rfc3339,xmlschema,rfc2822,httpdate}): do not take argument comp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c: added examples.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11* ext/openssl/ossl_x509req.c: raise RequestError instead ofnahi
CertificateError when Request#to_der gets an error from OpenSSL. Patch from Ippei Obayashi, see #4420. I cannot write a test for this... Request does not allow to create broken bytes... git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c (Date::(ABBR_)?(MONTH|DAY)NAMES): should be usascii.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-11 * ext/date/date_core.c: rewrote doc.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-10* ext/tk/tcltklib.c (lib_eventloop_core): replace CHECK_INTS withkosaki
rb_thread_check_ints(). Because current code can't be compiled. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09* ext/psych/lib/psych.rb: updating version to match released gem.tenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09 * ext/bigdecimal (BigDecimal_to_i): Integer#** may return flonum.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09* ext/psych/lib/psych/visitors/to_ruby.rb: Hash subclasses can be readtenderlove
from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Hash subclasses can be dumped to YAML files. * test/psych/test_hash.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby modules can be loadedtenderlove
from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby modules can be dumped to YAML files. * test/psych/test_class.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-09* ext/psych/lib/psych/visitors/to_ruby.rb: Ruby classes can be loadedtenderlove
from YAML files. * ext/psych/lib/psych/visitors/yaml_tree.rb: Ruby classes can be dumped to YAML files. * test/psych/test_class.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07* ext/date/date_core.c (date_s_today, datetime_s_now): check thenobu
result of localtime_r(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-07* ext/tk/extconf.rb: use $defs not $CPPFLAGS to get rid ofnobu
command line escape issues on Windows. fixed #4835. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06 * ext/date/date_core.c: added notes.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06 * ext/date/date_core.c: flattened format to strftimev.tadf
* ext/date/date_core.c (date_strftime_internal): taints run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06* ext/date/date_core.c (valid_jd_sub): need to convert from VALUE tousa
double. * ext/date/date_core.c (offset_to_sec): get rid of a compiler warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-06* ext/psych/parser.c (parse): release event objects to plug memorytenderlove
leak. Thanks Mark J. Titorenko! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-05 * ext/date/date_core.c (m_real_cwyear): new. derived from m_cwyear.tadf
* ext/date/date_strftime.c: trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-05* ext/tk/config_list.in: add new options for tcltklib.nagai
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-05 * ext/date/date_tmx.h: now does not place decoded data. allows totadf
access indirectly via functions on demand. * ext/date/date_strftime.c: ditto. * ext/date/date_core.c: ditto. * ext/date/date_core.c ({d|dt}_lite_to_s): use strftime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-04 * ext/date/date_core.c (d_lite_inspect): changed the format.tadf
* ext/date/date_core.c: refactoring and fixing some bugs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-06-03* ext/date/date_core.c (d_lite_plus): get rid of compiler warnings.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e