aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * test/rake/test_namespace.rb: not executable.nobu2009-10-111-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb (IRB::Context#irb_name): removed duplicatednobu2009-10-113-3/+9
| | | | | | | | | | attr_reader. [ruby-core:26047] * lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated character class range. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (fetch_token_in_cc): warn when \p is notnaruse2009-10-112-0/+13
| | | | | | | | followed by property name. * regparse.c (fetch_token): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c (onig_vsnprintf_with_pattern): added.naruse2009-10-113-20/+37
| | | | | | * regparse.c (onig_syntax_warn): use above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RB_GC_GUARD_PTR): workaround for gccnobu2009-10-112-2/+11
| | | | | | | optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (ruby_exec_node): declared.nobu2009-10-102-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (onig_syntax_warn): added.naruse2009-10-102-30/+28
| | | | | | | * regparse.c (CC_ESC_WARN, CLOSE_BRACKET_WITHOUT_ESC_WARN, CC_DUP_WARN, UNKNOWN_ESC_WARN): use onig_syntax_warn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump, marshal_load): prevent from GC.nobu2009-10-103-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (path_check_0): prevent from GC.nobu2009-10-102-10/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_transcoding, str_transcoding_resize): fixednobu2009-10-102-34/+37
| | | | | | | types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c: reverted r25277.nobu2009-10-101-32/+29
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): reverted r25279.yugui2009-10-102-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: use rb_thread_blocking_region to avoidakr2009-10-103-20/+82
| | | | | | | | | | | | | | | | | | | rb_read_check. This makes other threads runnable in getstr and wgetstr. (getch_func): extracted from curses_getch. (curses_getch): use rb_thread_blocking_region with getch_func. (getstr_func): extracted from curses_getstr. (curses_getstr): use rb_thread_blocking_region with getstr_func. (wgetch_func): extracted from window_getch. (window_getch): use rb_thread_blocking_region with wgetch_func. (wgetstr_func): extracted from window_getstr. (window_getstr): use rb_thread_blocking_region with wgetstr_func. * include/ruby/io.h (rb_read_check): deprecated because it access internal of stdio. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (cflags, cxxflags): remove duplicating options.nobu2009-10-102-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),nobu2009-10-105-4/+11
| | | | | | | win32/mkexports.rb (each_export): exclude _threadptr_ functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_threadptr_errinfo): renamed.nobu2009-10-102-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_threadptr_errinfo): renamed.nobu2009-10-102-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_exec_node): removed unused argument.nobu2009-10-102-3/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (Init_jump): removednobu2009-10-101-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): Fix bug for Math.atanh(+/-1). It now returns ↵marcandre2009-10-102-1/+5
| | | | | | +-Infinity. [ruby-core:26028] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_threadptr_execute_interrupts_rec, rb_threadptr_raise): ↵marcandre2009-10-104-7/+37
| | | | | | | | Thread#raise with no argument will now re-raise the current exception if there is one [ruby-core:25367] * eval.c (get_errinfo, rb_rubylevel_thread_errinfo): Getter for current exception for a given thread git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_transcoding, str_transcoding_resize): fixednobu2009-10-102-29/+37
| | | | | | | types. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-10svn2009-10-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/unicode/name2ctype.h: update.nobu2009-10-101-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_method_boundp): should exclude NOEX_RESPONDS.matz2009-10-092-1/+6
| | | | | | based on the patch from Nikolai Lugovoi. [ruby-core:25949] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS::Requester::ConnectedUDP): disableakr2009-10-092-1/+9
| | | | | | | | reverse lookup. (Resolv::DNS::Requester::UnconnectedUDP): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb (IRB::Context#initialize):naruse2009-10-092-1/+7
| | | | | | remove warnings when $VERBOSE is set as true in .irbrc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: optimized.naruse2009-10-085-20/+41
| | | | | | | | * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: U+100000-U+10FFFD is assigned, not Cn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: Many functions of module Curses could cause a crash ↵marcandre2009-10-082-0/+47
| | | | | | | | | 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, use_default_colors git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (ADD_TRACE): fire coverage event in ensure clause.mame2009-10-084-1/+11
| | | | | | | | [ruby-dev:39303] * iseq.h, iseq.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb (cmd): Pass FailEOF options: patch by Brian Candler ↵marcandre2009-10-082-2/+9
| | | | | | [ruby-core:22723] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-09svn2009-10-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.udp_server_recv): extracted fromakr2009-10-082-19/+47
| | | | | | | Socket.udp_server_loop_on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: parse range notation of UnicodeData.txt.naruse2009-10-087-529/+272
| | | | | | | | * enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: follow above change. [ruby-dev:39444] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): copy by chunks.nobu2009-10-072-29/+36
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (iseq_s_disasm): accept proc objects. [ruby-core:18762]nobu2009-10-073-2/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update comment.akr2009-10-071-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (mark_dump_arg, mark_load_arg): ignore already cleanednobu2009-10-072-2/+13
| | | | | | | | | data. [ruby-core:25969] * marshal.c (clear_dump_arg, clear_load_arg): clear freed fields. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_long2int): evalates the argument onlynobu2009-10-073-2/+9
| | | | | | | | | once. * struct.c (rb_struct_alloc): check array length overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25255 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_inspect): don't assign -1 to unsigned int.naruse2009-10-072-19/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_upto): RDoc updated. a patch from Nobuhiromatz2009-10-062-0/+13
| | | | | | IMAI <nov at yo.rim.or.jp> in [ruby-dev:39440]. [ruby-dev:39439] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-07svn2009-10-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/resolv.rb (Resolv::DNS.bind_random_port): bind to "::" for IPv6.akr2009-10-062-4/+12
| | | | | | | | | (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/trunk@25246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator::public_api): take snapshot ofmatz2009-10-063-1/+50
| | | | | | | | | | | | public method at the beginning time. * lib/delegate.rb (SimpleDelegator#initialize): use Delegator.public_api since public_method might be added after initialization. [ruby-dev:39383] * lib/delegate.rb (DelegateClass): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): avoid close if possible.akr2009-10-062-8/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_select): Struct#select should returnmatz2009-10-062-0/+6
| | | | | | enumerator when no block given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * **/*.ja: set mime-type charset.nobu2009-10-060-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-10-06svn2009-10-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk/canvas.rb: *** POTENTIALLY INCOMPATIBLE ***nagai2009-10-054-8/+24
| | | | | | | | | | 'tags' option of a TkcItem object gives a list of TkcTag objects. * ext/tk/lib/tkextlib/vu/dial.rb: fix logical bug. * ext/tk/lib/tk/canvas.rb, ext/tk/lib/tkextlib/blt/component.rb: lack of support for methodcall_optkeys. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_{times, shuffle_bang, sample}): reducing macromatz2009-10-054-59/+111
| | | | | | | | | | | | | calls inside of the loop by keeping pointers in local variables. a patch from Masahiro Kanai (CanI) in [ruby-dev:39406]. It was found and fixed at Security and Programming camp 2009. * string.c (rb_str_{times, split_m}): ditto. * struct.c (rb_struct_{getmember, set, aref_id, aset_id}, {make, inspect}_struct, recursive_{equal, hash, eql}): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e