summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* merges r22606 from trunk into ruby_1_9_1.yugui2009-03-031-0/+5
| | | | | | | | -- * 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-031-0/+12
| | | | | | | | | | | | | | | -- * 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-031-0/+8
| | | | | | | | | -- * 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-031-0/+5
| | | | | | | | -- * 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-031-0/+7
| | | | | | | | | | -- * 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-031-0/+10
| | | | | | | | | | | -- * 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-031-0/+5
| | | | | | | | -- * 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-031-0/+10
| | | | | | | | | | | -- * 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
* merging r22085 needs r20086. [ruby-dev:38067]yugui2009-03-031-0/+4
| | | | | | | 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-221-0/+11
| | | | | | | | | | | | | * 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-221-0/+11
| | | | | | | | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+7
| | | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+9
| | | | | | | | | | * 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-221-0/+7
| | | | | | | | | * 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-221-0/+12
| | | | | | | | | | | | | | * 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-221-0/+5
| | | | | | | * 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 r22180 from trunk into ruby_1_9_1.yugui2009-02-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+6
| | | | | | | | * 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-221-0/+8
| | | | | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+4
| | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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-221-0/+6
| | | | | | | | * 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-221-0/+6
| | | | | | | | * 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-221-0/+5
| | | | | | | | | * 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-221-0/+5
| | | | | | | * 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 r22025 from trunk into ruby_1_9_1.yugui2009-02-221-0/+5
| | | | | | | * 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-221-0/+6
| | | | | | | | * 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-221-0/+4
| | | | | | | 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-221-0/+5
| | | | | | | * 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-221-0/+5
| | | | | | | * 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
* merges r21917, r21955 and r21974 from trunk into ruby_1_9_1.yugui2009-02-221-0/+10
| | | | | | | | | | | | * 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
* merges r21933 from trunk into ruby_1_9_1. win64 support.yugui2009-02-021-0/+20
| | | | | | | | | | | | | | | | | | | | | | * 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-021-0/+5
| | | | | | | * 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-021-0/+6
| | | | | | | | * 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
* merges r21925 from trunk into ruby_1_9_1.yugui2009-02-021-0/+5
| | | | | | | * variable.c (rb_const_get_0), vm_insnhelper.c (vm_get_ev_const): avoids infinite self recursion autoload. [ruby-core:21696] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21893 from trunk into ruby_1_9_1.yugui2009-01-301-0/+5
| | | | | | | * tool/make-snapshot (prereq): remove enc.mk from tarball because BSD make checks $(srcdir)/enc.mk and try to run $(builddir)/enc.mk. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21892 from trunk into ruby_1_9_1.yugui2009-01-301-0/+4
| | | | | | * enc/depend: extract comile rules to each target for VC++. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21889 from trunk into ruby_1_9_1.yugui2009-01-301-1/+3
| | | | | | * cygwin/GNUmakefile.in (RUBYDEF): depends on makefiles. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21888 from trunk into ruby_1_9_1.yugui2009-01-301-0/+5
| | | | | | | * cygwin/GNUmakefile.in (RUBYDEF): adds DATA to non-function symbols which is not marked as T. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21686 from trunk into ruby_1_9_1.yugui2009-01-301-0/+7
| | | | | | | | | * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21875 from trunk into ruby_1_9_1.yugui2009-01-291-1/+9
| | | | | | | | * load.c (rb_feature_provided): should not calculate len by pointer subtraction because feature may be a expanded path. [ruby-core:21267] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21873 from trunk into ruby_1_9_1.yugui2009-01-291-0/+4
| | | | | | * configure.in (OBJCOPY): not used on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e