summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * parse.y (parser_yylex): fix token even after trailing under score.akr2009-10-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (basic_obj_respond_to): call #respond_to_missing?matz2009-10-171-0/+5
| | | | | | always with two arguments. [ruby-core:26090] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#respond_to_missing): warn only whenmatz2009-10-171-0/+5
| | | | | | specified method is a private. [ruby-dev:39498] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * st.c (unpack_entries): save table->bins and never change the tablewanabe2009-10-161-0/+6
| | | | | | | during unpacking. Because st_insert() may cause GC and refer the table, i.e. st_foreach(). [Bug #2196] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * prelude.rb (require_relative): defined as a module function ofakr2009-10-161-0/+5
| | | | | | | Kernel. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#method_missing): remove backtracematz2009-10-161-0/+5
| | | | | | lines _until_ `method_missing'. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#freeze): #freeze should freeze selfmatz2009-10-161-0/+5
| | | | | | and the target at once. [ruby-core:26118] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add ML ref [ruby-core:26081]matz2009-10-161-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#respond_to_missing): warn if optionalmatz2009-10-161-0/+9
| | | | | | | | | | include_private argument is not false. Delegator does (and should) not forward private methods. [ruby-core:26080] * lib/delegate.rb (Delegator#respond_to_missing): instead of redefining #respond_to?, use #respond_to_missing?. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_gc.rb: added tests based on [ruby-dev:39484]nobu2009-10-161-0/+5
| | | | | | | from wanabe <s.wanabe AT gmail.com>. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): `\'' is also quote character.usa2009-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h (rb_gc_debug_body): constified.nobu2009-10-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMidRound): remove warnings.naruse2009-10-161-0/+21
| | | | | | | | | | | | | | | | | | | | patch from Charlie Savage. [ruby-core:22869] * ext/digest/bubblebabble/bubblebabble.c (bubblebabble_str_new): ditto. * ext/digest/digest.c (hexencode_str_new): ditto. * ext/iconv/iconv.c (iconv_convert): ditto. * ext/socket/socket.c (inspect_sockaddr): ditto. * ext/socket/raddrinfo.c (sockaddr_obj): ditto. * ext/syck/emitter.c (syck_emitter_write): ditto. * ext/syck/emitter.c (syck_emitter_flush): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV#raw_encoding): returns ASCII-8BIT when the ionaruse2009-10-161-0/+5
| | | | | | doesn't have encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV#read_to_char): set encoding and verify datanaruse2009-10-151-0/+10
| | | | | | | | | | | which read from io before encode it to @encoding. * lib/csv.rb (CSV#raw_encoding): add to get @io's encoding. * lib/csv.rb (CSV#read_io): add to read string and set @io's encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3): check symbol table overflow before generatenobu2009-10-151-3/+3
| | | | | | | next id. [ruby-core:26092] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (rb_intern3): check symbol table overflow.nobu2009-10-151-0/+5
| | | | | | | [ruby-core:26092] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_encoding_set): get rid of parsing non-ascii string, andnobu2009-10-151-1/+4
| | | | | | | refine messages for invalid name encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_reopen): unread current buffer before telling thenobu2009-10-151-0/+5
| | | | | | | position, for the case of reopening same file. [ruby-dev:39479] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/iconv/iconv.c (iconv_create): cannot retry with given block.nobu2009-10-151-0/+5
| | | | | | | [ruby-dev:39487] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (rsock_init_sock): mswin doesn't have S_IFSOCKusa2009-10-151-0/+6
| | | | | | | | | flag in st_mode of struct stat. so, use rb_w32_issocket() function instead of S_ISSOCK macro. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb,naruse2009-10-141-0/+8
| | | | | | | | | enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: use UTS#18 for POSIX character class. http://rubyspec.org/issues/show/161 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (rsock_init_sock): validate file descriptor.akr2009-10-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): script name should not be shown in annobu2009-10-141-0/+5
| | | | | | | error message before loaded. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_run_node): need to call ruby_cleaup() always evennobu2009-10-141-0/+5
| | | | | | | if any error occurred so far. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (mnew): Method#new checks for respond_to_missing? with private set ↵marcandre2009-10-131-0/+6
| | | | | | | | to true [ruby-core:26069] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add derived core and binary property and aliases.naruse2009-10-131-0/+10
| | | | | | | | | | | | * tool/enc-unicode.rb, enc/unicode/name2ctype.h, enc/unicode/name2ctype.h.blt, enc/unicode/name2ctype.kwd, enc/unicode/name2ctype.src: Add DerivedCoreProperties, PropList (Binary Property), PropertyAlias and PropertyValueAlias. Now users of tool/enc-unicode.rb should specify the directory of UCD files. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/variable.rb: bug fix. additional trace definition changes thenagai2009-10-131-0/+5
| | | | | | | option of first trace definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (token_info_push, token_info_pop): reduced ifdefs.nobu2009-10-131-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_magic_comment): fixed normalization.nobu2009-10-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: add commit logmarcandre2009-10-131-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (login): use "anonymous@" as a default password.shugo2009-10-121-0/+5
| | | | | | | [ruby-dev:39451] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (retrlines): added a new block parameter.shugo2009-10-121-0/+7
| | | | | | | | * lib/net/ftp.rb (gettextfile): preserve missing end-of-line at end of files. [ruby-core:24590] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_run_node): if an exception occurred in ruby_option,nobu2009-10-121-0/+5
| | | | | | | the result is not executable. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (fetch_token): warn invalid back referencenaruse2009-10-111-0/+5
| | | | | | and subexp call. (\k and \g). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (has_encoding): added for check the regexpnaruse2009-10-111-0/+7
| | | | | | | | is dumped by 1.8 or 1.9. * marshal.c (r_object0): use has_encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c (fgdbm_select): fixed rdoc. a patch from Justinnobu2009-10-111-0/+5
| | | | | | | Collins in [ruby-core:26050]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/context.rb (IRB::Context#irb_name): removed duplicatednobu2009-10-111-0/+8
| | | | | | | | | | attr_reader. [ruby-core:26047] * lib/irb/ruby-lex.rb (RubyLex#lex_int2): removed duplicated character class range. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (fetch_token_in_cc): warn when \p is notnaruse2009-10-111-0/+7
| | | | | | | | followed by property name. * regparse.c (fetch_token): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regerror.c (onig_vsnprintf_with_pattern): added.naruse2009-10-111-0/+6
| | | | | | * regparse.c (onig_syntax_warn): use above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RB_GC_GUARD_PTR): workaround for gccnobu2009-10-111-1/+4
| | | | | | | optimization. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (ruby_exec_node): declared.nobu2009-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25293 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (onig_syntax_warn): added.naruse2009-10-101-0/+7
| | | | | | | * regparse.c (CC_ESC_WARN, CLOSE_BRACKET_WITHOUT_ESC_WARN, CC_DUP_WARN, UNKNOWN_ESC_WARN): use onig_syntax_warn. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (marshal_dump, marshal_load): prevent from GC.nobu2009-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (path_check_0): prevent from GC.nobu2009-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (rb_transcoding, str_transcoding_resize): fixednobu2009-10-101-5/+5
| | | | | | | types. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (math_atanh): reverted r25279.yugui2009-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: use rb_thread_blocking_region to avoidakr2009-10-101-0/+17
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@25286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (cflags, cxxflags): remove duplicating options.nobu2009-10-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in (LIBRUBY_SO), common.mk (ruby.imp),nobu2009-10-101-0/+5
| | | | | | | win32/mkexports.rb (each_export): exclude _threadptr_ functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e