summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* svn:eol-style LFnobu2008-06-180-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix RubyGems for 1.9, r1780drbrain2008-06-1710-81/+77
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb, bootstraptest/pending.rb: move pending bug.ko12008-06-173-15/+19
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixed dependencies on minirubyryan2008-06-172-39/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: add encoding header.naruse2008-06-163-3/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/e2mmap.rb (E2MM.def_e2message): typo.nobu2008-06-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/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: http://svn.ruby-lang.org/repos/ruby/trunk@17349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c (yaml_org_handler): associate encoding.naruse2008-06-152-0/+8
| | | | | | * ext/syck/rubyext.c (syck_genericresolver_node_import): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (rb_vm_t), vm.c (rb_vm_mark): moved preallocated specialnobu2008-06-157-10/+43
| | | | | | | | | | | | | | | | exceptions. * eval.c (Init_eval), gc.c (Init_GC), proc.c (Init_Proc): freeze preallocated special exceptions. * eval.c (rb_longjmp): duplicate the thrown exception to set backtrace if it was frozen. * gc.c (rb_memerror): raise nomem_error without backtrace if failed to make backtrace. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* tgamma and lgamma_r is not a error function.akr2008-06-152-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add an example to rdoc of sqrt and cbrt.akr2008-06-151-1/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_sysread): should not raise at emptynobu2008-06-142-1/+6
| | | | | | | read. a patch from Arthur Schreiber at [ruby-core:17245]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): no need to expand root path which has nonobu2008-06-142-3/+8
| | | | | | | short file name. [ruby-dev:35095] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.h (STACK_UPPER): moved from gc.cnobu2008-06-147-106/+163
| | | | | | | | * thread.c, thread_{pthread,win32}.c (ruby_init_stack, ruby_thread_init_stack): moved stack initialization from gc.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_initial_gc_stress): defined.akr2008-06-133-4/+16
| | | | | | | | | | (ruby_initial_gc_stress_ptr): defined. * debug.c (set_debug_option): use ruby_initial_gc_stress_ptr for gc_stress option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_gc_stress): moved to rb_objspace_t.nobu2008-06-134-10/+23
| | | | | | | | | * gc.c (gc_stress_get, gc_stress_set): VM local attribute. * signal.c (sigsegv): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e