summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-02tags branches/ruby_1_9_2@28522 as v1_9_2_rc1v1_9_2_rc1yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_9_2_rc1@28524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-02* io.c (argf_inplace_mode_set): prohibits an assignmentyugui
of a tainted value. Patch by unak. * util.c, file.c: prevents a buffer over-run on windows. Patch by unak. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01* NEWS (YAML, Psych, DL, fiddle): new entriesyugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28456 and r28476 from trunk into ruby_1_9_2.yugui
-- * test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check that Ruby is 32bit or 64bit binary in order to get correct offset value. [ruby-dev:41741] -- * test/win32ole/test_win32ole_method.rb (is_ruby64): check ruby binary is mswin64 or mingw64. [ruby-dev:41756] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28457 from trunk into ruby_1_9_2.yugui
-- * thread.c (rb_fd_resize, rb_fd_copy): avoid NULL dereference upon failed realloc by using xrealloc instead of not realloc. a patch from Jim Meyering <meyering at redhat.com> in [ruby-core:30920] [Bug #3489] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merge revision(s) 28507:naruse
* thread_pthread.c (thread_start_func_1): don't call native_thread_init_stack(th) on cygwin to avoid the segv introduced by r27789. Cygwin's signal implementation is half baked so USE_SIGNALSTACK is not defined and it needs another treatment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01* common.mk (test-knownbug): ignore known bugs.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01* test/rubygems/test_gem_activation.rb: comment out a test for WONTFIXmame
bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28455 and r28460 from trunk into ruby_1_9_2.yugui
-- * lib/rdoc/ri/driver.rb (RDoc::RI::Driver#formatter): should use bs format when stdout is piped. [ruby-core:30734] -- * test/rdoc/test_rdoc_ri_driver.rb (TestRDocRIDriver#test_formatter): fix a test accordingly to r28455. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28453 and r28454 from trunk into ruby_1_9_2.yugui
-- * class.c (rb_mod_init_copy): when class is dup'ed, a metaclass of the class should be attached to the dup'ed class, not the original class. [ruby-core:30843] [Bug #3461] -- * bootstraptest/test_class.rb: add a test for [ruby-core:30843]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28442 from trunk into ruby_1_9_2.yugui
-- * test/win32ole/test_win32ole_method.rb (test_offset_vtbl): check that OS is Windows 32bit or Windows 64bit in order to get correct offset value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28431 and r28432 from trunk into ruby_1_9_2.yugui
-- * lib/csv.rb: Fixing a bug that prevented CSV from parsing all multi-line fields correctly. Patch by Rob Biedenham. -- Fixing a spelling error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28428,r28429,r28430 and r28444 from trunk into ruby_1_9_2.yugui
-- * test/ruby/envutil.rb (EnvUtil#invoke_ruby): get rid of possible deadlock. -- * test/ruby/envutil.rb (EnvUtil#invoke_ruby): change the environment of spawned process only. -- * test/ruby/envutil.rb (Test::Unit::Assertions#assert_in_out_err): return the exit status. -- * test/ruby/envutil.rb (EnvUtil#invoke_ruby): no needs to copy the original ENV, since it's done in spawn automatically. [ruby-dev:41733] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28422 from trunk into ruby_1_9_2.yugui
-- refine an assertion message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28421 from trunk into ruby_1_9_2.yugui
-- add an assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28410 from trunk into ruby_1_9_2.yugui
-- * ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber to avoid confusion to str_isnumber in ext/socket/getaddrinfo.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-01merges r28403 from trunk into ruby_1_9_2.yugui
-- * ext/win32ole/win32ole.c (reg_get_typelib_file_path): try win64 registry entry at first. [ruby-dev:41674] [Bug #3464] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-30merge from trunk (r28492)marcandre
* string.c (rb_str_gsub_bang, rb_str_sub_bang, str_gsub): rdoc fix based on patch by Run Paint [ruby-core:30938] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-30* 2010-07-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-30merge from trunk (r28408)tarui
* ext/socket/raddrinfo.c: don't use __P. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29* test/ruby/test_rubyoptions.rb (test_script_from_stdin): by usingnobu
a pipe, get rid of not-well-defined behavior after the child process terminated in pty. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29* 2010-06-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29 * thread_pthread.c (get_stack): use pthread_getthrds_np() for AIX.kanemoto
* configure.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merges r28401 and r28402 from trunk into ruby_1_9_2.yugui
-- * ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround for getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427] patch by Wataru Kimura. [ruby-core:30842] -- add a comment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merges r28395 and r28396 from trunk into ruby_1_9_2.yugui
-- * configure.in (fchown): need to check. [ruby-core:30818] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merges r28387 from trunk into ruby_1_9_2.yugui
-- * test/optparse/test_summary.rb: fixed superclass so that it run solely. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merges r28361 from trunk into ruby_1_9_2.yugui
-- * ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix the exception message when attempting to load an unknown class. Thanks nobu! [ruby-dev:41399] * test/psych/test_psych.rb: test for the exception message git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merges r28357 from trunk into ruby_1_9_2.yugui
-- * object.c: Object#public_methods, private_methods, etc. returns method ids that belong to the class or the singleton class(es) of the object. [ruby-dev:41613] * class.c: on the other hand, Module#public_instance_methods, etc. returns method ids that belong to the module itself (even if the module is singleton, it does not return method ids of super class(es); see [ruby-core:28837]). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29merge from trunk (r28477)tarui
* ext/stringio/stringio.c (strio_write): add RB_GC_GUARD. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29* file.c (rb_realpath_internal, realpath_rec): skip UNC share rootusa
on DOSISH platforms. http://pc12.2ch.net/test/read.cgi/tech/1272248179/600 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter (fixnagai
[ruby-core:30358]). And hide a root window before starting eventloop. * ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks are enabled on MacOS X. * ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28* ext/fiddle/fiddle.h: fixed typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 * test/rdoc/test_rdoc_rdoc.rb: change to bin-mode to write directly.tarui
reported at http://rubyforge.org/tracker/index.php?func=detail&aid=28249&group_id=627&atid=2472 * test/rdoc/test_rdoc_markup_pre_process.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28merge from trunk (r28440)tarui
* ext/dl/lib/dl/func.rb (call): don't overwrite original arguments to defend from GC. * test/dl/test_func.rb (test_string): add test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28merge from trunk (r28423)tarui
* include/ruby/ruby.h (static inline rb_gc_guarded_ptr): prevent RB_GC_GUARD_PTR being removed by optimization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28merge from trunk (r28461)tarui
* test/rubygems/gemutilities.rb: check ENV['make'] for make_command. * test/rubygems/test_gem_ext_configure_builder.rb: use gemutilities' make_command. * test/rubygems/test_gem_ext_ext_conf_builder.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28* 2010-06-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28* ext/fiddle/fiddle.h: added FFI type detection to avoid bug in ffitenderlove
header files. Thanks Yugui! [ruby-core:30917] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27* marshal.c (w_object, r_bytes0, marshal_load): suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27* include/ruby/io.h, io.c: reverted r21709.nobu
* ruby.c (load_file_internal): nothing to read if EOF reached while reading shebang. [ruby-core:30910] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27* io.c (simple_sendfile): don't try to send data more than SSIZE_MAXakr
with single sendfile call.. based on the patch by Eric Wong. [ruby-core:30908] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27merge r28448 from trunk into ruby_1_9_2:marcandre
* enum.c (zip): rdoc fix, patch by okkez [ruby-dev:41737] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-27* lib/rubygems/require_paths_builder.rb (write_require_paths_file_if_needed):nobu
no reason that bin directory should be included in $LOAD_PATH. it is for executable files, but not libraries. [ruby-core:25936] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-26* common.mk (clear-installed-list): put redirection before setnobu
command, since it seems to be handled by nmake in special way. [ruby-dev:41711] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24* lib/un.rb (httpd): MaxClients also should be integer.nobu
[ruby-dev:41724] [Bug #3477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24merges r28327,r28329 and r28332 from trunk into ruby_1_9_2.yugui
-- * ext/fiddle/extconf.rb: use pkg_config to find ffi.h. -- * ext/fiddle/extconf.rb: De Morgan's laws. -- * ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded. On Debian/lenny, which is a "supported" platform, ffi.h is installed in /usr/include/i486-linux-gnu/. This causes build error when using gcc whose target is not i486-linux-gnu. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24merges r28330 from trunk into ruby_1_9_2.yugui
-- * test/ruby/test_io.rb (safe_4): does not use Timeout because Timeout.timeout uses Thread#kill which raises SecurityError when $SAFE == 4. based on a patch from Tomoyuki Chikanaga. [ruby-dev:41484] * test/ruby/test_io.rb (test_print_separators): use pipe (test helper method) instead of IO.pipe. [ruby-dev:41484] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@28419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e