summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-11-09* 2011-11-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* thread_pthread.c (gvl_yield): don't prevent concurrent sched_yield().kosaki
[Bug #5130] [ruby-core:38647] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09 * io.c (rb_update_max_fd): fstat(2) can fail with other thannobu
EBADF. [ruby-dev:44837] [Bug #5593]. Cf. http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* io.c (rb_update_max_fd): fstat(2) can fail with other thannobu
EBADF. [ruby-dev:44837] [Backport #4339]. Cf. http://pubs.opengroup.org/onlinepubs/9699919799/functions/fstat.html git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* io.c (rb_sysopen): max fd is updated in rb_sysopen_internal()nobu
already. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09add comment.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):usa
fixed previous commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* test/ruby/test_file.rb (TestFile#test_utime_with_minus_time_segv):usa
add test for r33685. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* test/ruby/test_fiber.rb: add tests for r33684 (Fiber#resume).ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* win32/win32.c (unixtime_to_filetime): should check the return valueusa
of localtime(). reported by snowjail at gmail.com. [ruby-dev:44838] [Bug #5596] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* cont.c (rb_fiber_m_transfer, rb_fiber_resume): prohibit usingko1
"resume" after "transfer" method are used. You should not mix "resume" fiber and "transfer" fiber. [Bug #5526] * NEWS: add information about this change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* template/Doxyfile.tmpl (INCLUDE_PATH): add srcdir and include.nobu
[ruby-core:40843] [Bug #5597] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* thread.c (do_select): fix cast, tv_sec is time_t.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09* configure.in: should not use test -e for portability.nobu
[ruby-core:40841] [Bug #5594] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-09propertynobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/psych/lib/psych/tree_builder.rb: dump complex numbers,tenderlove
rationals, etc with reference ids. * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto * ext/psych/lib/psych/visitors/to_ruby.rb: loading complex numbers, rationals, etc with reference ids. * test/psych/test_object_references.rb: corresponding tests git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* 2011-11-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08FreeBSD 8.2 sticks this [ruby-dev:44726] [Bug #5524]naruse
http://redmine.ruby-lang.org/issues/5524 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/dbm/dbm.c (fdbm_fetch, fdbm_key, fdbm_delete, fdbm_store)nobu
(fdbm_has_key, fdbm_has_value): get rid of overflow. * ext/gdbm/gdbm.c (rb_gdbm_fetch2, rb_gdbm_nextkey) (rb_gdbm_delete, fgdbm_store, fgdbm_has_key): ditto. * ext/dbm/dbm.c (fdbm_delete_if): hide intermediate objects. * ext/gdbm/gdbm.c (fgdbm_delete_if): ditto. * ext/dbm/extconf.rb: check size of datum.dsize to get rid of overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* addr2line.c (PATH_MAX): define if not defined. [ruby-core:40840]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/tk/tcltklib.c (rb_thread_critical): fix type.nobu
* ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core): int is enough for micro seconds. may need to check overflow in the setter though. * ext/tk/tcltklib.c (RSTRING_LENINT): check overflow if necessary. * ext/tk/tcltklib.c (RbTk_ALLOC_N): wrapper for ckalloc() which takes an int. * ext/tk/tcltklib.c (ip_ruby_cmd_receiver_get, tcltklib_compile_info): get rid overflow. * ext/tk/tcltklib.c (tcltklib_compile_info): constified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* test/dbm/test_dbm.rb: split tests for read only database.akr
* test/gdbm/test_gdbm.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/pty/pty.c (MasterDevice): define only when used.akr
(SlaveDevice): ditto. (deviceNo): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/-test-/old_thread_select/extconf.rb: ignore deprecatednobu
declaration warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* include/ruby/ruby.h (rb_long2int): define as a macro always, sonobu
that cpp conditionals can tell if it is provided. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* lib/mkmf.rb (cpp_command): remove multiple -arch flags since cppnobu
cannot work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/pty/pty.c (get_device_once): FreeBSD 8 supported O_CLOEXEC flagnaruse
for posix_openpt, but FreeBSD 9's posix_openpt doesn't support O_CLOEXEC and fails if specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* io.c (io_fwrite): call rb_w32_write_console() only if FMODE_TTY isusa
set. this is the one of the reason of IO writing slowness of Windows in 1.9.3 or later. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ChangeLog: commit miss of r33662.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-08* ext/pty/pty.c (get_device_once): FreeBSD's posix_openpt doesn'tnaruse
support O_CLOEXEC and fails if specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* 2011-11-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* include/ruby/encoding.h (ECONV_NEWLINE_DECORATOR_READ_MASK,usa
ECONV_NEWLINE_DECORATOR_WRITE_MASK): new macro. * io.c (rb_io_extract_modeenc, pipe_open, prep_stdio, argf_next_argv): set TEXTMODE_NEWLINE_DECORATOR_ON_WRITE for textmode on creating IO if the flag is available. * io.c (make_writeconv): drop decorators for reading. * io.c (make_readconv): drop decorators for writing. * io.c (do_writeconv): existing writeconv is not the condition to raise ArgumentError. should check textmode or not. * test/ruby/test_io_m17n.rb (TestIO_M17N#test_{cr,lf,crlf}_decorator_on_stdout): test above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* ext/gdbm/gdbm.c (fgdbm_initialize): set close-on-exec flag.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07add comment.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* ext/psych/lib/psych/scalar_scanner.rb: make sure strings that looktenderlove
like base 60 numbers are serialized as quoted strings. * test/psych/test_string.rb: test for change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* test/psych/test_yamlstore.rb: make test case inherit from MiniTest,tenderlove
load psych/helper so that psych is loaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* test/psych/test_yamldbm.rb: Test case should inherit from MiniTest,tenderlove
load psych/helper so that psych and friends are loaded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* ext/dbm/extconf.rb: check dbm_pagfno() and dbm_dirfno().akr
* ext/dbm/dbm.c: use above to set close-on-exec flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* io.c (io_fflush): remove fsync().usa
* io.c (rb_io_flush, rb_io_rewind): fsync() here. these changes reduces fsync() calls to improve performance. first reported at [ruby-list:48515] by ak7 at mail.goo.ne.jp . [Bug #5585] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* io.c (rb_close_before_exec): use F_MAXFD if available.akr
F_MAXFD is available on NetBSD since NetBSD 2.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-07* test/ruby/test_io_m17n.rbusa
(TestIO_M17N#test_default_stdout_stderr_mode): new test for r33627-33629. see [backport #5565] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-06* 2011-11-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-06* lib/debug.rb: add help for 'pp' and 'r[estart]'.ayumin
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-06* ext/socket/rubysocket.h (rsock_recvmsg): declared.akr
* ext/socket/ancdata.c (rsock_recvmsg): extracted from nogvl_recvmsg_func. (nogvl_recvmsg_func): use rsock_recvmsg. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05* test/openssl/test_engine.rb: add test for engine cipher. RC4 is usedemboss
because AES is not supported by the "openssl" engine currently. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05* 2011-11-06svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05* lib/test/unit.rb (Test::Unit::Options#non_options): options[:ruby]akr
should be an array. This fixes "./ruby test/runner.rb test/testunit/test_parallel.rb" [ruby-dev:44782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05insns.def: Some fixes and tweaks to English explanationsduerst
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-11-05* io.c (rb_cloexec_fcntl_dupfd): don't clear try_dupfd_cloexec ifakr
fcntl(F_DUPFD) failed as fcntl(F_DUPFD_CLOEXEC). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e