summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* * 2009-02-02svn2009-02-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21925 from trunk into ruby_1_9_1.yugui2009-02-024-0/+19
| | | | | | | * 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
* * NEWS: fixed points pointed by akira yamada.yugui2009-01-301-5/+5
| | | | | | also thanks to okkez. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add yet more missing items pointed by akira yamada inknu2009-01-301-2/+6
| | | | | | | [ruby-dev:37852]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* $= was obsoleted.knu2009-01-301-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21901 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Split the String and Regexp section into two and elaborate onknu2009-01-301-6/+14
| | | | | | | individual changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21893 from trunk into ruby_1_9_1.yugui2009-01-302-9/+6
| | | | | | | * 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-302-11/+8
| | | | | | * 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-302-2/+4
| | | | | | * 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-302-1/+6
| | | | | | | * 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-304-6/+13
| | | | | | | | | * 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
* Ruby 1.9.1 does not support bcc32. (#1067).yugui2009-01-296-1122/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merges r21875 from trunk into ruby_1_9_1.yugui2009-01-293-3/+11
| | | | | | | | * 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-292-0/+9
| | | | | | * 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
* merges r21871 from trunk into ruby_1_9_1.yugui2009-01-293-40/+33
| | | | | | | | | | | | | | | * lib/rake.rb (FileUtils#rake_system): no longer needs workaround on Windows. [ruby-core:21339] * lib/rake/win32.rb (Rake::Win32#rake_system): ditto. * lib/rake/win32.rb (Rake::Win32#win32_system_dir): no longer needs environment variables other than APPDATA now. * lib/rake.rb (Rake::Application#standard_system_dir): uses platfrom specific definition on Windows system. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_1@21879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e