aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * ext/io/console: imported. [ruby-dev:40897]nobu2010-05-081-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.nobu2010-05-081-0/+8
| | | | | | | | | * ext/etc/etc.c (etc_sysconfdir): added. * lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not getnobu2010-05-081-0/+5
| | | | | | | collected. based on a patch masaya tarui at [ruby-dev:41213]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (BasicSocket#connect_address): MacOS X 10.6akr2010-05-081-0/+6
| | | | | | | | returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address. [ruby-dev:41215] patch by Tomoyuki Chikanaga. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: bump up to 1.9.3.nobu2010-05-071-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (install-man): install mdocs directly withoutnobu2010-05-071-0/+5
| | | | | | temporary files. [ruby-dev:41204] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.nobu2010-05-071-0/+6
| | | | | | | * ext/tk/extconf.rb (search_tclConfig): fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: search directories on PATH, only if containingnagai2010-05-061-0/+5
| | | | | | | tclsh or wish command (probably right fix for [ruby-core:30010]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpCtoV): fix to check overflow.naruse2010-05-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: define FIBER_USE_NATIVE only when _WIN32_WINNT >= 0x0400usa2010-05-061-0/+7
| | | | | | | | | on Windows because Fiber APIs are supported only such building (and running) environments. [ruby-dev:41192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst isnobu2010-05-061-0/+14
| | | | | | | | | | | | | | | | 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). * ext/openssl/ossl_pkey_ec.c: rdoc typo fixed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (fiber_setcontext): Fix last commit.ko12010-05-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (rb_localtime_r2): get rid of infinite loop bug ofnobu2010-05-061-0/+5
| | | | | | localtime() on x86_64-darwin. [ruby-core:30031] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/*: Adding fiddle library to wrap libffitenderlove2010-05-061-0/+8
| | | | | | | | | * test/fiddle/*: testing fiddle extension * ext/dl/lib/dl.rb: Requiring fiddle if it is available * ext/dl/lib/dl/callback.rb: using Fiddle if it is available * ext/dl/lib/dl/func.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_match_m): add description about optionalnaruse2010-05-061-0/+6
| | | | | | | position parameter. [ruby-list:47064] patched by KISHIMOTO, Makoto <ksmakoto AT dd.iij4u.or.jp> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tmpdir.rb: test RUBY_PLATFORM for loading tmpdir.so to avoidakr2010-05-061-0/+5
| | | | | | | LoadError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add rationalize methods of Complex, Float, Integer, NilClass, and ↵mrkn2010-05-061-0/+5
| | | | | | Rational classes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README: update.nobu2010-05-061-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c: apply FIBER_USE_NATIVE patch. This patch improveko12010-05-051-0/+6
| | | | | | | | | Fiber context switching cost using system APIs. Detail comments are written in cont.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_unlink_method_entry, rb_sweep_method_entry):ko12010-05-051-0/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | added. Unlinked method entries are collected to vm->unlinked_method_entry_list. On the GC timing, mark all method entries which are on all living threads. Only non-marked method entries are collected. This hack prevents releasing living method entry. [Performance Consideration] Since this Method Entry GC (MEGC) doesn't occuer frequently, MEGC will not be a performance bottleneck. However, to traverse living method entries, every control frame push needs to clear cfp->me field. This will be a performance issue (because pushing control frame is occurred frequently). Bug #2777 [ruby-dev:40457] * cont.c (fiber_init): init cfp->me. * gc.c (garbage_collect): kick rb_sweep_method_entry(). * method.h (rb_method_entry_t): add a mark field. * vm.c (invoke_block_from_c): set passed me. * vm.c (rb_thread_mark): mark cfp->me. * vm_core.h (rb_thread_t): add a field passed_me. * vm_core.h (rb_vm_t): add a field unlinked_method_entry_list. * vm_insnhelper.c (vm_push_frame): clear cfp->me at all times. * vm_insnhelper.c (vm_call_bmethod): pass me. * bootstraptest/test_method.rb: add a test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_set_sequence): fix check range of ic_index.wanabe2010-05-051-0/+5
| | | | | | a patch from Tomoyuki Chikanaga. #3236 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (aix_loaderror): use execerror for load error on AIX.kanemoto2010-05-051-0/+5
| | | | | | | This can avoid SEGV reported by Perry Smith. [Bug #2063] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (w32_wait_events): get GVL before handle interruptwanabe2010-05-051-0/+5
| | | | | | event. [ruby-core:27199], [ruby-core:29698] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: revert. enbugged by last commit.nagai2010-05-051-0/+11
| | | | | | | | ([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010]) * ext/tk/README.tcltklib: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_stat): use STAT macro instead of calling stat() directly.usa2010-05-051-0/+5
| | | | | | | reported by Bill Kelly. [ruby-core:30012] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.rb (megacontent-copy_stream): get rid ofnobu2010-05-051-0/+5
| | | | | | deadlock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_mark_method_entry): renamed.nobu2010-05-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h (rb_gc_mark_method_entry): fixed typo.nobu2010-05-041-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h, vm_method.c: rename some internal functions related toko12010-05-041-0/+10
| | | | | | | | | | | | rb_method_entry_t. rb_add_method_me() -> rb_method_entry_set(). rb_get_method_entry() -> rb_method_entry_without_cache(). rb_gc_mark_method_entry() -> rb_mark_method_entry(). * class.c, proc.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_build_body): update iseq->ic_size.wanabe2010-05-041-0/+5
| | | | | | a patch from Tomoyuki Chikanaga. see #3236. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (name_err_mesg_to_str): preserve encoding of inspection.nobu2010-05-041-0/+5
| | | | | | [ruby-core:29948] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/fileutils/test_fileutils.rb (test_copy_stream):nobu2010-05-041-0/+6
| | | | | | | IO.copy_stream support binmode only currently. [ruby-core:23724] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (argument_error): push correct backtrace.ko12010-05-041-0/+5
| | | | | | | | Bug #2281 [ruby-core:26333] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (sockopt_inspect): use rb_str_cat2 andakr2010-05-041-0/+7
| | | | | | | | | | rb_str_append. * ext/socket/ancdata.c (ancillary_inspect): refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_inspect): use rb_str_cat2 andakr2010-05-041-0/+5
| | | | | | | rb_str_append. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPResponse#read_chunked): ensure to skip themame2010-05-031-0/+9
| | | | | | | | | | last newline of chunk. [ruby-core:29229] * test/net/http/utils.rb: add an option for chunked response test. * test/net/http/test_http.rb: add tests for chunked response. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: Update nkf 2010-04-28.naruse2010-05-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/README: update file list. [ruby-core:28981]kazu2010-05-031-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* trivial changekazu2010-05-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flagnobu2010-05-021-0/+7
| | | | | | | | | 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/trunk@27591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/task.rb (RDoc::Task): should not override newer code.nobu2010-05-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c (rb_dlcfunc_call): ignore signedness.nobu2010-05-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix log. missed ref.wanabe2010-05-021-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_load): allow filepath to be nil.wanabe2010-05-021-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi.rb (CGI::NEEDS_BINMODE): check if O_BINARY value insteadnobu2010-05-011-0/+5
| | | | | | | of fragile check by platform name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (dir_config): should not modify argument arraysnobu2010-05-011-0/+5
| | | | | | | themselves. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#size): stat by path name when it isnobu2010-05-011-1/+4
| | | | | | closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu2010-05-011-1/+4
| | | | | | keep the first trace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/assertions.rb (Test::Unit::Assertions#assert):nobu2010-05-011-0/+5
| | | | | | fixed filtering. [ruby-core:29908] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): don't usenobu2010-05-011-0/+5
| | | | | | | non-ascii character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e