summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-20* Make sure to clear $! when ignoring an exceptionnahi
* ext/openssl/ossl.c (ossl_pem_passwd_cb0, ossl_verify_cb): pem_passwd_cb and verify_cb ignores the exception raised in a callback proc so it should clear $! for subsequent execution. That's said, both subsequent processes for pem_passwd_cb and verify_cb raises another exception before leaking $! to Ruby world. We cannot test this fix in Ruby land. * test/openssl/test_pkey_rsa.rb (test_read_private_key_pem_pw_exception): Test for pem_passwd_cb + exception. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20* test/ruby/test_require.rb (test_race_exception): rewrote withoutnobu
global attribute. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20* test/date/test_date_base.rb (test_jd): tests fornobu
[ruby-dev:45008]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-20* ext/date/date_core.c (wholenum): fix the type of the return value.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-19* README.ja: Update redmine.ruby-lang.org to bugs.ruby-lang.orgdrbrain
* README: ditto * common.mk: ditto * ext/bigdecimal/README: ditto * man/erb.1: ditto * man/irb.1: ditto * man/ri.1: ditto * man/ruby.1: ditto * man/ruby.1: ditto * sparc.c: ditto * tool/install-sh: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-19* 2011-12-20svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-19 * ext/date/date_core.c: [ruby-dev:45008].tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* vm.c (vm_define_method): improve guard of iseq from GC. Fixngoto
failure or segmentation fault in test_singleton_method(TestGc) on sparc Solaris10 compiled with Oracle Solaris Studio 12.2. [Bug #5762] [ruby-dev:45000] [Bug #4178] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): does not follownobu
allocation framework right now. [ruby-core:41710] [Bug #5773] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* ext/psych/lib/psych/visitors/to_ruby.rb: BigDecimals can be restoredtenderlove
from YAML. * ext/psych/lib/psych/visitors/yaml_tree.rb: BigDecimals can be dumped to YAML. * test/psych/test_numeric.rb: tests for BigDecimal serialization git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18updating documentation linktenderlove
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* ext/psych/lib/psych/scalar_scanner.rb: Strings that look like datestenderlove
should be treated as strings and not dates. * test/psych/test_scalar_scanner.rb: corresponding tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* test/thread/test_queue.rb (test_thr_kill): extend timeout.nagachika
this test takes a long time at slow machine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* 2011-12-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-18* test/ruby/envutil.rb (invoke_ruby): remove :timeout option beforenagachika
pass it to Kernel#spawn. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-17* 2011-12-17svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-17update doc.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-16* 2011-12-16svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-16* README, README.ja: 'make check' is preferable to 'make test'.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* error.c (builtin_type_name): don't return pointer to the buffer ofnagachika
temporary String object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* io.c (argf_type): make typed data.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* error.c (rb_check_type): fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* ext/strscan/strscan.c: use typed data withnobu
onig_region_memsize(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* error.c (rb_check_typeddata): refine error message withnobu
including expected struct name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15Use SIGINT to interrupt.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* regcomp.c (onig_region_memsize): implemented for memsize_of().nobu
* ext/objspace/objspace.c (memsize_of): use it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* array.c (rb_ary_reject_bang, rb_ary_delete_if): update rdoc.nobu
documentation from Thomas Leitner <t_leitner AT gmx.at> in [ruby-core:41616]. [Bug #5752] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* 2011-12-15svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-15* test/ruby/test_require.rb (test_race_exception): get rid ofnobu
not-guaranteed timing issue. [ruby-core:41655] [Bug #5754] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* test/ruby/test_io_m17n.rbusa
(TestIO_M17N#test_{read_with_binmode_and_get[cs]}): only for Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* common.mk,Makefile.in,win32/Makefile.sub (ECHO1): move platformusa
specific hack from common.mk to Makefile.in (and win32/Makefile.sub). [Bug #5711] * lib/mkmf.rb: we can generate Makefile as we like. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* win32/win32.c, include/ruby/win32.h (rb_w32_fd_is_text): new function.usa
* win32/win32.c (init_stdhandle): set default mode of stdin as binmode. * io.c (set_binary_mode_with_seek_cur): new function to replace SET_BINARY_MODE_WITH_SEEK_CUR macro. now returns previous mode of the fd and take care of LF in rbuf. * io.c (do_writeconv): set text mode when needed. * io.c (io_read): need to change the mode of the IO to binmode temporally when the length for IO#read, because IO#read with length must behave so. * test/ruby/test_io_m17n.rb (TestIO_M17N#est_{read_with_length, read_with_length_binmode,get[cs]_and_read_with_binmode, read_with_binmode_and_get[cs],read_write_with_binmode}): tests for above changes. all patches are written by Hiroshi Shirosaki. [ruby-core:41496] [Feature #5714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* transcode.c (str_encode): about the extension of :fallbacknobu
option since 1.9.3. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14Use pipe instead of $stdin.read.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* load.c (load_unlock): release loading barrier and then remove itnobu
from loading_table if it is not in-use. [Bug #5754] * thread.c (rb_barrier_release, rb_barrier_destroy): return whether any other threads are waiting on it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* thread_pthread.c (ubf_select): call rb_thread_wakeup_timer_thread()naruse
only when it is not timer_thread. [Bug #5757] [ruby-dev:44985] patched by Tomoyuki Chikanaga. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14The test added in r34034 needs to run thousands of times.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14* load.c (load_lock): delete the loading barrier if it has beennobu
destroyed. * thread.c (rb_barrier_wait): return nil for recursive lock instead of false, to distinguish it from destroyed barrier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14FreeBSD 9.0 RC3 is now released.naruse
See also r33677, r33967, and r33973. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-14Add test for [Bug #5343] [ruby-core:39634]naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* thread_pthread.c (rb_thread_create_timer_thread): fix memoryokkez
leak. [ruby-dev:44904] [Bug #5688] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* 2011-12-14svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* parse.y (primary): point method name line. [ruby-core:40936]nobu
[Bug #5614] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* ChangeLog: add ML/ticket links to r34028 entry. [ruby-core:41612] [Bug #5755]nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* error.c (name_err_mesg_to_str): clear rb_thread_t::errinfo whennagachika
ignore exception under rb_protect(). * test/ruby/test_exception.rb (test_exception_in_name_error_to_str): add a corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* load.c (load_unlock): all threads requiring one file shouldnobu
share same loading barrier, so it must be kept alive while those are waiting on it. [ruby-core:41618] [Bug #5754] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13property.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-13* ChangeLog: style fix.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-12-12* lib/webrick/httpresponse.rb (setup_header): 1xx responsestenderlove
are allowed to have Keep-Alive connections. * test/webrick/test_httpresponse.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@34024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e