summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-01-10add tag v1_8_7_249v1_8_7_249shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_8_7_249@26269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-10merge revision(s) 26267:shyouhei
* lib/webrick/accesslog.rb : Escape needed. * lib/webrick/httpstatus.rb : ditto. * lib/webrick/httprequest.rb : ditto. * lib/webrick/httputils.rb : ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24merge revision(s) 26005:shyouhei
* configure.in: default ac_cv_prog_CC to CC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24merge revision(s) 22931,23086:shyouhei
* common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile. [ruby-core:20131] * common.mk (EXTMK_ARGS): shouldn't use ``\"'' because cmd.exe eat ''\'' in such quotes. * common.mk (EXTMK_ARGS): needs MINIRUBY for cross-compile. [ruby-core:20131] * mkconfig.rb (patchlevel): config.status may not contain PATCHLEVEL even if other version numbers exist. * ext/extmk.rb: MINIRUBY is given via make-flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24merge revision(s) 17103:shyouhei
* ext/stringio/stringio.c (strio_init): rewind when reopened. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24merge revision(s) 18394,18397:shyouhei
* gc.c (chain_finalized_object): deletes finalizers to be invoked from finalizer_table. * gc.c (rb_gc_call_finalizer_at_exit): warns when could not invoke finalizers. * gc.c (run_final): runs finalizers with the object terminated. * gc.c (rb_gc_call_finalizer_at_exit): ObjectSpace::finalizers needs to scan whole object space, although deprecated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21revert revision r26082. cf: [ruby-dev:39889]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21merge revision(s) 25181:25183:shyouhei
* win32/Makefile.sub (LD_SHARED1): typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16merge revision(s) 25656:shyouhei
* win32/win32.c (CreateChild): allocate temporary buffer and use it instead of directly modify the passed string. [ruby-dev:39635] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16* instruby.rb (with_destdir): revert. [ruby-dev:39885]shyouhei
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 24621:shyouhei
* lib/test/unit.rb (Test::Unit.run=, Test::Unit.run?): fixed rdoc. [ruby-core:25034] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25009:shyouhei
* lib/open3.rb (Open3#popen3): fixed and improved rdoc. [ruby-core:25658] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 20573:shyouhei
* configure.in (LIBPATHFLAG): use numbered specifier if RPATHFLAG is set. [ruby-talk:322136] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 26033:shyouhei
* lib/bigdecimal.rb: fix comparison operators [ruby-core:26646] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 26032:shyouhei
* object.c (rb_Float): Allow results of to_f to be NaN [ruby-core:26733] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25975:shyouhei
* eval.c (proc_invoke): unbound block created by define_method cannot call super. [ruby-core:26984] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25921:shyouhei
* ext/digest/digest.c (rb_digest_instance_method_unimpl): Do not 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_7@26089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25890:shyouhei
* eval.c (rb_method_missing): adjusted format and argument number. * eval.c (rb_call): fixed for super in cached method. [ruby-dev:39757] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25766:shyouhei
* hash.c (ruby_setenv): get rid of crash in Solaris 8 and 10. [ruby-core:26668] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14merge revision(s) 25735:shyouhei
* lib/cgi.rb: fix command-line option of non-interactive terminal. [ruby-core:23016] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13merge revision(s) 25693:shyouhei
* eval.c (method_inspect, method_name, mnew): Bug fix when method created from an alias. Based on a patch by Peter Vanbroekhoven [ruby-core:22040] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13merge revision(s) 25670:shyouhei
* eval.c (call_trace_func): remove the trace hook if any exception raised. [ruby-list:46515] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13merge revision(s) 25659:25661:shyouhei
* hash.c (rb_hash): always return a fixnum value because a return value of rb_hash may be used as a hash value itself and bignums have no unique VALUE. * test/ruby/test_hash.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13merge revision(s) 25515:shyouhei
* string.c (rb_str_inspect): get rid of adding garbage to shor UTF-8 string. [ruby-dev:39550] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13* 2009-12-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13merge revision(s) 25230,25995:shyouhei
* marshal.c (struct {dump,load}_arg): manage with dfree, instead of using local variable which may be moved by context switch. [ruby-dev:39425] * marshal.c (marshal_load): should set taintness. [ruby-dev:39723] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@26076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25merge revision(s) 25485:shyouhei
* io.c (io_fwrite): adjust stdio file position after direct write on BSDish platforms. [ruby-core:26300] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25merge revision(s) 22372:shyouhei
* test/ostruct/test_ostruct.rb (test_frozen): added assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25merge revision(s) 25420:shyouhei
* lib/monitor.rb (MonitorMixin.mon_release): ensure the scheduled thread to be alive when a thread is releasing a monitor. #2240 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25merge revision(s) 25396:shyouhei
* lib/rexml/element.rb (text=): false should be converted to string. A patch by Teruo Oshida [ruby-dev:38351] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-25merge revision(s) 25359:shyouhei
* eval.c (rb_clear_cache_for_undef): clear entries for inherited methods. [ruby-core:26074] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24merge revision(s) 25343:shyouhei
* ext/iconv/iconv.c (iconv_create): cannot retry with given block. [ruby-dev:39487] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24merge revision(s) 25340:shyouhei
* lib/net/imap.rb (resp_text_code): accepts response codes without text. backported from trunk. [ruby-core:24194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24merge revision(s) 25311:shyouhei
* lib/net/ftp.rb (getaddress): rescue exceptions. [ruby-dev:39451] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25900 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-24merge revision(s) 25269:shyouhei
* ext/curses/curses.c: Many functions of module Curses could cause a crash 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_7@25899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-20merge revision(s) 25246:shyouhei
* lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6. (Resolv::DNS::ConnectedUDP#initialize): specify is_ipv6 argument of bind_random_port. [ruby-core:25970] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19merge revision(s) 25230:25233:shyouhei
* lib/cgi.rb (CGI.unescapeHTML): fix for hex values 80-FF, single-byte hex entity encodings from 80-FF are valid HTML. [ruby-core:25702] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19merge revision(s) 25181:shyouhei
* io.c (rb_io_fptr_finalize): free fptr to avoid memory leaks. fixed: #2009 [ruby-core:25173] [ruby-dev:39410] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-19merge revision(s) 25098:shyouhei
* lib/net/http.rb (transport_request): Handle timeout error by closing socket if exception raised. [ruby-core:20976] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-18merge revision(s) 25069:shyouhei
* ext/openssl/ossl_config.c (ossl_config_add_value_m, ossl_config_set_section): Check if frozen (or untainted for $SECURE >= 4) [ruby-core:18377] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-18merge revision(s) 24993:24997,25069:25074:shyouhei
* win32/win32.c (rb_w32_select): wait specified time on select. * win32/win32.c (rb_w32_select): on 1.8, we don't need to poll sockets, because our select is never called from multiple threads. * instruby.rb: win32/win32.h exists in srcdir. reported by arton ( http://www.artonx.org/diary/20090919.html#p01 ) * win32/win32.c (subtract): if the parameters are same value, should return zero. * win32/win32.c (rb_w32_select): of course, need to initialize rest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17merge revision(s) 24958,24979:shyouhei
* eval.c (rb_thread_start_timer): start to catch SIGVTALRM together with timer thread. [ruby-core:25606] * eval.c (rb_thread_atfork): stop timer thread. * eval.c (rb_thread_start_0, rb_thread_start_1): should call star timer after added new thread to thread list. [ruby-core:25613] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17merge revision(s) 24913:shyouhei
* lib/cgi/cookie.rb (value): Keep CGI::Cookie#value in sync with the cookie itself. A patch by Arthur Schreiber [ruby-core:17634] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17merge revision(s) 24911:shyouhei
* lib/irb/ext/multi-irb.rb: Fix arguments handling for shell commands in irb; a patch by Yusuke Endoh [ruby-dev:35075] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17merge revision(s) 24751:shyouhei
* io.c (rb_io_binmode): check if closed regardless platforms. [ruby-core:25363] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-17merge revision(s) 24750:shyouhei
* numeric.c (round): added declaration. [ruby-dev:39222] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16merge revision(s) 24713:shyouhei
* gc.c (gc_sweep): makes new room if object space is full of finalized objects and has no free objects. [ruby-dev:39201] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16merge revision(s) 23353:shyouhei
* util.c: suppress strict-aliasing warning with gcc-4.4.0 -O2 to fix infinite loop by ruby -e "1.402e-45" . git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-16 * ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): revert a part ofshyouhei
r23645, which was not a bug fix. [ruby-dev:39474] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-11-08* NEWS: added String#linesmarcandre
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_7@25696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e