summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* merges r22606 from trunk into ruby_1_9_1.yugui2009-03-033-2/+20
| | | | | | | | -- * string.c (rb_str_delete_bang): should recalculate coderange. [ruby-talk:329267] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22592 from trunk into ruby_1_9_1.yugui2009-03-035-11/+59
| | | | | | | | | | | | | | | -- * common.mk (main): split from exts and makes main program after building exts with miniruby, to get rid of overwriting running program. [ruby-core:22339] * Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to run script file. * ext/extmk.rb (parse_args): added --command-output option which creates script file to make main program. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22591 from trunk into ruby_1_9_1.yugui2009-03-034-1/+12
| | | | | | | | | -- * common.mk (ripper.c): exec can't work on Windows. * ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22589 from trunk into ruby_1_9_1.yugui2009-03-032-0/+10
| | | | | | | | -- * missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger than long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22587 from trunk into ruby_1_9_1.yugui2009-03-032-2/+9
| | | | | | | | | | -- * process.c (rb_waitpid): last argument was missing. * process.c (waitall_each): fixed typo. a patch from shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:38054]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22577, r22578 and r22642 from trunk into ruby_1_9_1.yugui2009-03-033-11/+37
| | | | | | | | | | | -- * thread.c (thread_cleanup_func): unlock all locked mutexes even when forking. [ruby-core:22269] -- * bootstraptest/test_thread.rb: fix for environment where fork is not available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22567 from trunk into ruby_1_9_1.yugui2009-03-032-1/+6
| | | | | | | | -- * lib/fileutils.rb (mv): added description for the case of different partitions. [ruby-talk:329072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22505 and r22547 from trunk into ruby_1_9_1.yugui2009-03-033-8/+51
| | | | | | | | | | | -- * string.c (tr_trans): should not be affected by the encoding of replacement unless actually modified. [ruby-talk:328967] -- * string.c (tr_trans): should recalculate coderange. [ruby-core:22326] (reopened at [ruby-core:22328]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-03svn2009-03-031-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merging r22085 needs r20086. [ruby-dev:38067]yugui2009-03-032-0/+11
| | | | | | | merges r22086 from trunk into ruby_1_9_1. * ruby.c (process_options): set initial default_external before -r. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22494 and r22495 from trunk into ruby_1_9_1.yugui2009-02-225-21/+73
| | | | | | | | | | | | | * vm_eval.c (method_missing): should not pop cfp if missing method is method_missing. [ruby-core:22298] * vm_eval.c (rb_raise_method_missing): new function to directly raise NoMethodError. * vm_insnhelper.c (vm_call_method): fixed the case method_missing is missing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22471 from trunk into ruby_1_9_1.yugui2009-02-223-17/+21
| | | | | | | | | | | | | * util.c (rv_alloc, freedtoa): use our normal xmalloc()/xfree() because couldn't free the returned pointer from ruby_dtoa(). * missing/vsnprintf.c (cvt): receive buffer and use/return it instead of returning the pointer returned from BSD__dtoa(). * missing/vsnprintf.c (BSD_vfprintf): pass buf to cvt() as the buffer. [ruby-core:22184] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22440 from trunk into ruby_1_9_1.yugui2009-02-222-4/+9
| | | | | | | * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): OCSP_basic_verify returns positive value on success, not non-zero. [ruby-core:21762] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22393 from trunk into ruby_1_9_1.yugui2009-02-222-1/+6
| | | | | | | * file.c (rb_file_s_extname): fix for spaces before extention. [ruby-dev:38044] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22389 from trunk into ruby_1_9_1.yugui2009-02-222-6/+13
| | | | | | | * thread.c (thread_start_func_2): do not delete main thread from living_threads. [ruby-core:19385], [ruby-core:22158] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22363 from trunk into ruby_1_9_1.yugui2009-02-223-31/+66
| | | | | | | | * compile.c: fix to add "ensure" codes across "while" clause before "return" expression. [ruby-dev:37967] * bootstraptest/test_flow.rb: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22322 from trunk into ruby_1_9_1.yugui2009-02-222-31/+31
| | | | | | | * variable.c (rb_define_hooked_variable): suppress false assertion with VC9. [ruby-core:22115] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22275 from trunk into ruby_1_9_1.yugui2009-02-224-3/+11
| | | | | | | | | | * vm_eval.c (eval_string_with_cref): use rb_vm_get_ruby_level_next_cfp() instead of vm_get_ruby_level_caller_cfp(). checking a upper frame is not enough. [ruby-dev:37984] * proc.c, vm_core.h: declare rb_vm_get_ruby_level_next_cfp() on vm_core.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22259 from trunk into ruby_1_9_1.yugui2009-02-222-2/+9
| | | | | | | | | * compile.c (hide_obj): OBJ_FREEZE() is not an expression. a patch from nagachika <nagachika00 AT gmail.com> at [ruby-dev:37977]. * compile.c (insn_set_sc_state): fixed typoe. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22255 from trunk into ruby_1_9_1.yugui2009-02-226-11/+41
| | | | | | | | | | | | | | * compile.c (compile_array_, defined_expr, iseq_compile_each): hide and freeze internal literal objects, to prevent from modifying. [ruby-dev:37959] * iseq.c (insn_operand_intern): copy internal literal objects. * insns.def (putstring, duparray): ditto. * string.c (rb_str_replace): exported. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22253 from trunk into ruby_1_9_1.yugui2009-02-222-1/+7
| | | | | | | * ext/stringio/stringio.c (strio_ungetc): calculates new position before reallocation. [Bug#1099] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22247 from trunk into ruby_1_9_1.yugui2009-02-221-0/+1
| | | | | | update rdoc [ruby-core:20407] #835 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22180 from trunk into ruby_1_9_1.yugui2009-02-222-32/+48
| | | | | | | * ext/win32ole/win32ole.c (load_conv_function51932): fixed for the case IMultiLanguage is not available. [ruby-dev:37950] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22146 from trunk into ruby_1_9_1.yugui2009-02-222-0/+9
| | | | | | | * io.c (io_encoding_set): ignore second argument when external and internal are same. [ruby-dev:37939] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22132 from trunk into ruby_1_9_1.yugui2009-02-223-21/+28
| | | | | | | | * include/ruby/st.h, st.c: order entries by a linked list instead of a loop to fix iteration miss when hash is modified during iteration. [ruby-dev:37910] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22130 from trunk into ruby_1_9_1.yugui2009-02-222-3/+11
| | | | | | | | | | * include/ruby/backward/rubysig.h (rb_thread_blocking_region_begin), (rb_thread_blocking_region_end): marked as deprecated. * include/ruby/backward/rubysig.h (TRAP_BEG): fix for C++. a patch from Aman Gupta at [ruby-core:21934] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22123 from trunk into ruby_1_9_1.yugui2009-02-222-0/+20
| | | | | | | * include/ruby/backward/rubysig.h: extern "C" was missing. [ruby-core:21929] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22121 from trunk into ruby_1_9_1.yugui2009-02-222-0/+5
| | | | | | * io.c (rb_io_s_binread): ensures file path. [ruby-dev:37940] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22099 from trunk into ruby_1_9_1.yugui2009-02-222-0/+8
| | | | | | | * io.c (io_fread): use rb_io_wait_readable for retry avoid Errno::EINTR on ruby -e 'trap(:CHLD) {}; spawn("sleep 1"); STDIN.read' git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22091 from trunk into ruby_1_9_1.yugui2009-02-222-2/+6
| | | | | | | * signal.c (register_sigaltstack): ignore sigaltstack error. It fails on OpenBSD 4.4 when pthread library is linked. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22085 from trunk into ruby_1_9_1.yugui2009-02-222-7/+12
| | | | | | | * ruby.c (process_options): -K and -E in shebang should be reflect to default_external. [ruby-dev:37920] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22083 from trunk into ruby_1_9_1.yugui2009-02-222-1/+7
| | | | | | | | * string.c (rb_str_each_codepoint): update RDoc for String#codepoints. a patch from Radoslaw Bulat in [ruby-core:21835] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22081 from trunk into ruby_1_9_1.yugui2009-02-222-3/+9
| | | | | | | | * cont.c (cont_mark, cont_capture, cont_restore_1): use #else instead of #elif. a patch from NISHIMATSU Takeshi <t_nissie at yahoo.co.jp> in [ruby-list:45856]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22054 and r22055 from trunk into ruby_1_9_1.yugui2009-02-222-2/+9
| | | | | | | | | * ext/readline/readline.c (Init_readline): entry may be NULL. [ruby-dev:37891] -- change from assigned variable to called function git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22053 from trunk into ruby_1_9_1.yugui2009-02-222-1/+6
| | | | | | | * time.c (LOCALTIME): should call tzset() before localtime_r(). [ruby-dev:37896] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22037 from trunk into ruby_1_9_1.yugui2009-02-221-2/+0
| | | | | | rdoc update. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22025 from trunk into ruby_1_9_1.yugui2009-02-222-2/+8
| | | | | | | * win32/mkexports.rb: shouldn't export DllMain. reported at http://pc11.2ch.net/test/read.cgi/tech/1233686068/21 git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r22024 from trunk into ruby_1_9_1.yugui2009-02-222-0/+7
| | | | | | | | * missing/vsnprintf.c (BSD_vfprintf): should support 't' format modifier to handle PRIdPTRDIFF. thanks for the info from Kazuhiro NISHIYAMA. [ruby-core:21807] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gets rid of ^D^D to quit script from stdin.yugui2009-02-222-1/+7
| | | | | | | merges r22017 from trunk into ruby_1_9_1. * ruby.c (load_file_internal): resets EOF flag after parse. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21998 from trunk into ruby_1_9_1.yugui2009-02-222-4/+60
| | | | | | | * lib/net/imap.rb: validate data before sending to a server. [ruby-core:20320] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21996 from trunk into ruby_1_9_1.yugui2009-02-222-2/+7
| | | | | | | * lib/net/imap.rb (hmac_md5): should use String#ord to get ascii code from the one-character string. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-22svn2009-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21917, r21955 and r21974 from trunk into ruby_1_9_1.yugui2009-02-224-1/+62
| | | | | | | | | | | | * load.c (rb_require_safe): raises when the path to be loaded is tainted. [ruby-dev:37843] --- * file.c (rb_find_file_ext): should not be infected from other load paths. --- * adds a test case for r21955 and r21917. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-13svn2009-02-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typo fixed: collect_all -> collect. [ruby-core:21706]knu2009-02-121-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-12svn2009-02-121-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention that Enumerator#enum_cons and Enumerator#enum_slice areknu2009-02-121-0/+2
| | | | | | | removed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@22263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21933 from trunk into ruby_1_9_1. win64 support.yugui2009-02-028-16/+30
| | | | | | | | | | | | | | | | | | | | | | * lib/xmlrpc/server.rb (Server#serve): gets rid of hardcoded platform names. * lib/resolv.rb (Resolv::Hosts::DefaultFileName), (Resolv::DNS::Config.default_config_hash): tries win32/resolv on mswin64 too. * lib/rubygems/specification.rb (Gem::Specification#ruby_code): aded mswin64. * lib/drb/extservm.rb (DRb::ExtServManager#invoke_service_command): spawn is better to start a process in background. * ext/extmk.rb: uses FNM_SYSCASE. * instruby.rb: installs win32.h on mswin64 platform. [ruby-core:21722] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21945 from trunk into ruby_1_9_1.yugui2009-02-022-1/+8
| | | | | | | * complex.c (f_signbit): regard NaN as a positive value. [ruby-dev:37861]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21930 from trunk into ruby_1_9_1.yugui2009-02-022-1/+7
| | | | | | | | * encoding.c (rb_filesystem_encoding): Windows' filesystem encoding is sometimes ANSI code page and sometimes OEM code page. we should check whether code page is used. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e