aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * vm_insnhelper.c (vm_throw): fix "return" process from "lambda".ko12008-06-194-16/+57
| | | | | | | | | * bootstraptest/test_proc.rb: add a test. * bootstraptest/pending.rb: add a pending bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/etc/test_etc.rb: avoid infinite loop. [ruby-dev:35158]mame2008-06-183-6/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_newobj): prohibit call of rb_newobj() during gc.shyouhei2008-06-182-0/+8
| | | | | | | | a patch from Sylvain Joyeux in [ruby-core:12099]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (verbose_setter, opt_W_getter): fixed prototypes.nobu2008-06-182-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typokazu2008-06-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: use character class instead of alternationkazu2008-06-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_unicode_escape.rb (test_basic): windows' echo support.usa2008-06-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fix ChangeLog.naruse2008-06-181-0/+1092
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_shebang.rb (test_shebang): on windows path separetor is '\'.usa2008-06-181-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (opt_W_getter): use ruby_verbose directly instead of parameterusa2008-06-182-1/+7
| | | | | | | | | because ruby_verbose is not a real variable, so the address of parameter is not collect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_copy_stream_dst_rbuf): set binmode.usa2008-06-181-1/+2
| | | | | | | * test/ruby/test_io.rb (make_tempfile): set binmode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (errmap): add some pipe errors.usa2008-06-182-2/+21
| | | | | | | | | * win32/win32.c (rb_w32_write): set errno when CRT's errno is EINVAL for pipe errors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (poll_child_status): set EINVAL to errno whenusa2008-06-182-5/+14
| | | | | | | | GetExitCodeProcess() fails with ERROR_INVALID_HANDLE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb: support NO_SAFE_RENAME platforms.usa2008-06-181-11/+25
| | | | | | | * test/ruby/test_argf.rb: now tempfiles are binmode'ed to test tell/pos/etc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_open_file): fs_encoding and fname_encoding isnaruse2008-06-182-1094/+8
| | | | | | | rb_encoding *. fixed [ruby-dev:35151] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb (test_binmode): wrong test. fixed.usa2008-06-181-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_open_file): not rb_enc_get_index but rb_enc_get.naruse2008-06-182-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (pipe): now pipe is textmode. although thisusa2008-06-182-1/+7
| | | | | | | | | change is experimental, it will be spec if no compatiblity problem is reported. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_object, marshal_dump, r_object0, marshal_load): searchnobu2008-06-184-14/+22
| | | | | | | | | | | | public methods only. [ruby-core:17283] * object.c (convert_type): ditto. * lib/singleton.rb (Singleton#_dump): conversion method should be public. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/etc.c (etc_passwd, etc_group): fixed rdoc. a patch fromnobu2008-06-182-2/+7
| | | | | | | okkez <okkez000 AT gmail.com> in [ruby-dev:35141]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-style LFnobu2008-06-180-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix RubyGems for 1.9, r1780drbrain2008-06-1710-81/+77
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update RubyGems to 1.1.1 r1778 (almost 1.2)drbrain2008-06-1771-1083/+3721
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.ko12008-06-173-15/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c, vm_insnhelper.c: fix escape process with "braek" and "return"ko12008-06-175-23/+125
| | | | | | | | | syntax in "lambda". [ ruby-Bugs-19304 ], [ruby-core:17164] * KNOWNBUGS.rb, bootstraptest/test_proc.rb: add/move solved test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: cannot access class variable from singleton method.nagai2008-06-172-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (Init_Dir): dir_foreach() takes variable argument.usa2008-06-173-6/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/telnet.rb: Fixing Telnet#wairfor() which was broken by changes tojeg22008-06-172-2/+7
| | | | | | | | the Kernel::Integer() method. [ruby-core:17272] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (opt_W_getter): made a hooked variable.nobu2008-06-172-5/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/euc_jp.c (property_name_to_ctype): core dumped when sizeof(int)mame2008-06-174-6/+16
| | | | | | | | | | | differs from sizeof(long). * enc/shift_jis.c (property_name_to_ctype): ditto. * enc/unicode.c (onigenc_unicode_property_name_to_ctype): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_thread_init_stack): suppress warnings.nobu2008-06-171-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (miniruby$(EXEEXT)): $(PREP) isn't always same asnobu2008-06-172-13/+19
| | | | | | | | miniruby, and tests, debug, etc have no meaning when cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed dependencies on minirubyryan2008-06-172-39/+43
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h (pipe): expand pipe buffer size.usa2008-06-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): no need to inherit handles here becauseusa2008-06-172-1/+6
| | | | | | | | spawn'ed child cannot detect that STDIN is closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_data): add intenc and extenc.naruse2008-06-162-16/+111
| | | | | | | | | | | | | | | | | | | | | | | | | * dir.c (dir_s_alloc): ditto. * dir.c (dir_initialize): now accept internal_encoding and exernal_encoding. * dir.c (dir_s_open): changed for dir_initialize. * dir.c (dir_open_dir): ditto. * dir.c (dir_foreach): changed for dir_oepn_dir. * dir.c (dir_entries): changed for dir_oepn_dir. * dir.c (dir_enc_str): defined. * dir.c (dir_path): use dir_enc_str. * dir.c (dir_read): ditto. * dir.c (dir_each): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_set_encoding): defined.naruse2008-06-162-20/+97
| | | | | | | | | * io.c (rb_open_file): convert path on Windows and Mac OS X. * io.c (open_key_args): use io_set_encoding and now accept internal_encoding and exernal_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_filesystem_encoding): defined.naruse2008-06-163-0/+23
| | | | | | * include/ruby/encoding.h (rb_filesystem_encoding): added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: add encoding header.naruse2008-06-163-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/demos-jp/toolber.rb, ext/tk/sample/demos-en/toolber.rb:nagai2008-06-162-2/+2
| | | | | | | fail to back a tear-off marker when reattach the toolbar. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c: SEGV when exit.nagai2008-06-164-9/+31
| | | | | | | | | * ext/tk/lib/tk.rb: add a check for safety to Tk.exit. * ext/tk/sample/irbtkw.rbw: freezes when receives SIGINT. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_start_func_2): use PRIxVALUE to format a VALUE.nobu2008-06-161-2/+2
| | | | | | | * thread.c (ruby_native_thread_p): removed unused declaration. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_each, strio_readlines): IO#each andnobu2008-06-162-2/+5
| | | | | | | IO#readlines do not affect $_. [ruby-core:17277] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/thwait.rb (ThreadsWait): Exception2MessageMapper no longer hasnobu2008-06-162-1/+6
| | | | | | | extend_to method. [ruby-core:17267] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb (E2MM.def_e2message): typo.nobu2008-06-162-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17356 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (enumerator_with_object, Init_Enumerator):knu2008-06-163-7/+13
| | | | | | | Temporarily back out with_memo, for which we need a better name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17353 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_readline, strio_each)nobu2008-06-152-1/+8
| | | | | | | (strio_readlines): set lastline. [ruby-core:17257] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_block_given_p): fix to skip class frame.ko12008-06-154-28/+44
| | | | | | | | | [ruby-core:14813] * KNOWNBUGS.rb, bootstraptest/test_method.rb: move solved test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17351 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (vm_stack_dump_raw): disable verbose debug output.ko12008-06-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, thread.c: rename global_interpreter_lock toko12008-06-154-11/+16
| | | | | | | | global_vm_lock. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e