summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2011-05-29merges r31278 from trunk into ruby_1_9_2.yugui
-- * include/ruby/win32.h (frexp, modf): wrongly declared as pure in mingw math.h. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31277 from trunk into ruby_1_9_2.yugui
-- * include/ruby/win32.h (ftruncate, truncate): mingw64 misses prototypes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31272 from trunk into ruby_1_9_2.yugui
-- * io.c (rb_f_syscall): reduce warning: "HAVE___SYSCALL" is not defined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31266 from trunk into ruby_1_9_2.yugui
-- * lib/uri/common.rb: avoid race condition. fixes #4572 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31262 and r31264 from trunk into ruby_1_9_2.yugui
-- Evaluate truncate, ftruncate and ftello existence This corrects mingw-w64 compilation. -- * include/ruby/win32.h: VC doesn't have ftruncate() and others, but ruby needs HAVE_ macros to use our emulation functions. (fix the problem of 31262) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31248 from trunk into ruby_1_9_2.yugui
-- * ext/stringio/stringio.c (strio_getline): check whether str is a string when str and lim are given. https://twitter.com/watson1978/status/56225052152168449 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31244 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl_pkey_dh.c (ossl_dh_initialize): pop pushed error after each try of reading. fixes #4550 * ext/openssl/ossl_pkey_dsa.c (ossl_dsa_initialize): ditto. * ext/openssl/ossl_pkey_ec.c (ossl_ec_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31242 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl_pkey_rsa.c (ossl_rsa_initialize): pop pushed error after each try of reading. fixes #4550 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31237 from trunk into ruby_1_9_2.yugui
-- * io.c (rb_io_syswrite): While local FS writes are usually buffered, the buffers can be full or the file opened with O_SYNC. IO#syswrite can also be used on blocking IOs (pipe/socket) just like IO#write. The patch is written by Eric Wong. [ruby-core:35554] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31177,r31178 and r31179 from trunk into ruby_1_9_2.yugui
-- Use LOG_PID instead of LOG_PERROR in Syslog.open test LOG_PERROR isn't a POSIX option for syslog, so it fails on platforms that don't define it. Solaris 9 and 10 are examples of this. Use LOG_PID instead. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> -- Skip syslog tests that rely on LOG_PERROR unless it's defined Instead of checking looking at the platform to determine if the tests relying on LOG_PERROR should be run, look for the definition of the constant as this will be robust against all platforms as long as the underlying syslog.c code sets it up correctly. This specifically addresses failures on Solaris 9. Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca> Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org> -- ChangeLog for it git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31164 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl_x509name.c: id_aref's type is ID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31162 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/ossl_ocsp.c (ossl_ocspreq_verify): flags is VALUE, so it should use NUM2INT. * ext/openssl/ossl_ocsp.c (ossl_ocspbres_verify): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31158 from trunk into ruby_1_9_2.yugui
-- * numeric.c (flo_round): fix inaccurate results. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-29merges r31152 and r31154 from trunk into ruby_1_9_2.yugui
-- * win32/win32.c: wait process real termination after reading exit code. fixes #4518 -- * win32/win32.c: fix r31152 (dup line) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31113 from trunk into ruby_1_9_2.yugui
-- * ext/openssl/lib/openssl/buffering.rb (module OpenSSL): #flush should not change sync mode on exception. * test/openssl/test_buffering.rb: added git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31101 from trunk into ruby_1_9_2.yugui
-- * lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe is true. Patch by Masaki Matsushita (Glass_saga). [ruby-dev:43337] * test/test_pstore.rb: Test for above. Patch by Masaki Matsushita (Glass_saga) [ruby-dev:43337] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31086 from trunk into ruby_1_9_2.yugui
-- * parse.y (parser_encode_length): add exception as UTF8-MAC for magic comment's emacs newline specifier patched by James M. Lawrence [ruby-core:35476] fixes #4489 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31085 from trunk into ruby_1_9_2.yugui
-- * parse.y (parser_encode_length): fix typo: the length of "-dos" and "-mac" is not 5 but 4. patched by James M. Lawrence [ruby-core:35476] fixes #4489 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31050 from trunk into ruby_1_9_2.yugui
-- * lib/pstore.rb: Delete variable @transaction and fix #4474. Patch by Masaki Matsushita (Glass_saga). * test/test_pstore.rb(test_thread_safe): Add test for #4474. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31028 from trunk into ruby_1_9_2.yugui
-- * include/ruby/intern.h: fix a typo of prototype declaration. rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r31016 from trunk into ruby_1_9_2.yugui
-- * test/ruby/test_process.rb (test_execopts_redirect): redirecting fd >= 3 is not supported on Windows, so should not specify such options when calling spawn or others. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28* strftime.c (STRFTIME): return 0 and ERANGE when precision is tooyugui
large. [ruby-dev:43284] fixes #4456 based on r31011. * test/test_time.rb (TestTime#test_huge_precision): test for #4456. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r30957 from trunk into ruby_1_9_2.yugui
-- * ext/psych/lib/psych/scalar_scanner.rb: fix parsing timezone's whose whose format is (+/-)hhmm. Thanks Gonçalo Silva! * test/psych/test_scalar_scanner.rb: test for bug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r30975 from trunk into ruby_1_9_2.yugui
-- * lib/tempfile.rb: Fix example file paths in docs for tempfile. https://github.com/ruby/ruby/pull/5 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges a part of r30931 from trunk into ruby_1_9_2.yugui
-- * ext/psych/lib/psych/json/stream.rb: do not emit custom tags in maps or sequences when emitting JSON. * ext/psych/lib/psych/json/tree_builder.rb: do not emit custom tags in sequences when emitting JSON. * test/psych/json/test_stream.rb: tests for custom stream emits. * test/psych/test_json_tree.rb: tests for JSON emits. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-28merges r30922 and r30924 from trunk into ruby_1_9_2.yugui
-- * prevent temporary objects from GC, and should not use RSTRING_PTR() for function calls since it evaluates the argument a couple of times. -- * thread.c (exec_recursive): prevent temporary objects from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30919 from trunk into ruby_1_9_2.yugui
-- * signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usage because FreeBSD don't permit it. If it's used, it behave as pthread_sigmask(xx, NULL, &mask). * signal.c (init_sigchld): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30916 from trunk into ruby_1_9_2.yugui
-- * vm_insnhelper.c (vm_check_if_namespace): guard temporary object from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30894 from trunk into ruby_1_9_2.yugui
-- * compile.c (get_exception_sym2type): guard temporary object from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30856 from trunk into ruby_1_9_2.yugui
-- * lib/date.rb (Date#===): [ruby-core:35127] -- * test/date/test_date.rb (TestDate#test_coerce): test for [ruby-core:35127]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges a part of r30840 from trunk into ruby_1_9_2.yugui
-- * gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free. [ruby-core:35192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30837 and r30839 from trunk into ruby_1_9_2.yugui
-- * test/ruby: uniquify test names. -- * test/ruby/test_transcode.rb (test_from_cp50221): fix wrong assertion and move back. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30820 from trunk into ruby_1_9_2.yugui
-- * process.c (proc_setgroups): add GC guard to prevent intermediate variable from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30817 from trunk into ruby_1_9_2.yugui
-- * lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead of Object#tap to restore STDOUT.sync. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30805 and r30809 from trunk into ruby_1_9_2. fixes #4365yugui
-- * parse.y (words, qwords): dispatch array events. based on a patch from Michael Edgar. [Bug #4365]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30799 from trunk into ruby_1_9_2.yugui
-- * parse.y (mlhs_basic): include mlhs_post for ripper. a patch from Michael Edgar at [ruby-core:35078]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-11merges r30791 and r30792 from trunk into ruby_1_9_2.yugui
-- * ext/json/parser/parser.h (GET_PARSER): check if initialized. [ruby-core:35079] * ext/json/parser/parser.rl (cParser_initialize): ditto. -- * ext/json/parser/parser.h (GET_PARSER): raise TypeError. * ext/json/parser/parser.rl (cParser_initialize): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01merges r30786, r30787 and r30797 from trunk into ruby_1_9_2.yugui
-- * test/fileutils/fileasserts.rb: add message arguments. -- * lib/fileutils.rb (FileUtils::LowMethods): make low level methods in NoWrite and DryRun to do nothing. [ruby-dev:43129] -- * test/fileutils/fileasserts.rb (assert_block): pass arguments as-is. [ruby-dev:43174] -- * test/fileutils/fileasserts.rb (assert_block): little workaround for [ruby-dev:43174]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01merges r30784 from trunk into ruby_1_9_2.yugui
-- * parse.y (lex_getline, parser_set_encode): set encoding of lines in SCRIPT_LINES__ as source encoding. [ruby-dev:43168] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01* thread.c (thread_s_kill): workaround for [ruby-core:35086].yugui
fixes #4367. * test/ruby/test_thread.rb (TestThread#test_kill_wrong_argument): test for [ruby-core:35086]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01merges r30779 from trunk into ruby_1_9_2.yugui
-- * string.c (str_utf8_nth): fixed a conditon of optimized lead byte counting. [Bug #4366][ruby-dev:43170] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30772,r30773 and r30776 from trunk into ruby_1_9_2.yugui
-- * ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_new_shared because gz->z.input is hidden string. [ruby-core:35057] -- e ext/zlib/zlib.c (gzfile_reader_get_unused): use rb_str_resurrect -- * ext/zlib/zlib.c (gzfile_reader_get_unused): no need to dup before rb_str_resurrect. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30763 from trunk into ruby_1_9_2.yugui
-- * ext/psych/lib/psych/visitors/to_ruby.rb: ARG_ENCODING_NONE regular expressions can round trip. [ruby-core:34969] * test/psych/test_yaml.rb: test for ARG_ENCODING_NONE regex * ext/sych/lib/syck/rubytypes.rb: ARG_ENCODING_NONE regular expressions can round trip. * test/syck/test_yaml.rb: test for ARG_ENCODING_NONE regex git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30743 from trunk into ruby_1_9_2.yugui
-- * thread.c (thread_start_func_2): check deadlock condition before release thread stack. fix memory violation when deadlock detected. reported by Max Aller. [Bug #4009] [ruby-core:32982] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30741 from trunk into ruby_1_9_2.yugui
-- * lib/irb/locale.rb (IRB::Locale::#search_file): Gem might be undefined if --disable-gems. [ruby-core:34990] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30736,r30738 and r30739 from trunk into ruby_1_9_2.yugui
-- * array.c (rb_ary_uniq_bang): call ARY_SET_LEN(ary, 0) before rb_resize_capa because rb_resize_capa expects resized length is smaller than current array length. call rb_ary_unshare before rb_resize_capa because rb_resize_capa losts the reference to original shared array. -- Add ML Reference and a test for r30736 [ruby-core:34997] -- Additional fix for r30736 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30733 from trunk into ruby_1_9_2.yugui
-- * test/dl/test_dl2.rb (TestDL#test_sin): math functions do not work on x86_64 due to the design of DL2. * test/dl/test_func.rb (DL::TestFunc#test_{sinf,sin): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30727 and r30731 from trunk into ruby_1_9_2.yugui
-- * enc/emacs_mule.c (emacsmule_islead): fix inverse condition. -- * enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading byte. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-03-28merges r30725 from trunk into ruby_1_9_2.yugui
-- * configure.in: Mac OS X wrongly reports it has fdatasync(3). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@31196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-02-18merges r30896 from trunk into ruby_1_9_2.yugui
-- * lib/fileutils.rb (FileUtils::remove_entry_secure): there is a race condition in the case where the given path is a directory, and some other user can move that directory, and create a symlink while this method is executing. Reported by: Nicholas Jefferson <nicholas at pythonic.com.au> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@30907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e