aboutsummaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* lib/minitest/*.rb: Imported minitest 2.0.2 r6207ryan2011-02-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (sig_trap): avoid pthread_sigmask(xx, &mask, &mask) usagekosaki2011-02-191-0/+8
| | | | | | | | | | | 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/trunk@30919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_bn.c: parenthesize macro arguments.akr2011-02-191-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_check_if_namespace): guard temporary objectnagachika2011-02-191-0/+5
| | | | | | from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: partial revert of r30849. [ruby-core:32864]tenderlove2011-02-181-0/+7
| | | | | | | * test/testunit/test_rake_integration.rb: adding an integration test with the rake loader to prevent regressions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::remove_entry_secure): there is ashyouhei2011-02-181-0/+8
| | | | | | | | | | 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/trunk@30896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (get_exception_sym2type): guard temporary object from GC.nagachika2011-02-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (prepare_iseq_build): initialize iseq_compile_data::err_infonagachika2011-02-171-0/+5
| | | | | | with nil. this fix exception in rb_iseq_load(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_marshal.rb (test_marshal_dump_extra_iv):nagachika2011-02-171-0/+5
| | | | | | fix a typo of local variable. [Bug #3720] [ruby-dev:42083] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: parenthesize macro arguments.akr2011-02-171-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_jump.c (rb_exec_end_proc): changed at_exit and END prockosaki2011-02-161-0/+11
| | | | | | | | | | | | | | evaluation order. [Bug #4400] [ruby-core:35237] * eval_jump.c (rb_mark_end_proc): ditto. * test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_nested_at_exit): added a test for nested at_exit. * test/ruby/test_beginendblock.rb (TestBeginEndBlock#test_beginendblock): changed the test to adopt new spec. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl_missing.h: parenthesize macro arguments.akr2011-02-161-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/gdbm/gdbm.c: parenthesize macro arguments.akr2011-02-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_join_1): fix array size.akr2011-02-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix and resubmit r30621. [ruby-dev:43203]kosaki2011-02-151-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (array_join): copy the encoding of the first element asnaruse2011-02-151-0/+14
| | | | | | | | | | | | | | | an initial encoding. * array.c (array_join_0): ditto. * array.c (array_join_1): ditto. * array.c (inspect_ary): ditto. * array.c (array_join_1): add an argument to check the appending is first one or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (inspect_i): copy the encoding of the first key asnaruse2011-02-151-0/+5
| | | | | | an initial encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (inspect_ary): don't taint the inspected result of anaruse2011-02-151-0/+5
| | | | | | recursive array. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_compatible): change the rule for empty strings:naruse2011-02-151-0/+7
| | | | | | | | remove the special treatment of the US-ASCII encoded empty string. Now Encoding.compatible? usually respect the encoding of the receiver. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_enc_cr_str_buf_cat): remove special treatment ofnaruse2011-02-151-0/+8
| | | | | | | | | ASCII-8BIT receivers. * string.c (str_gsub): set initial encoding of the buffer as the same of the receiver. [ruby-core:35141] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30876 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (TestSystem#test_system_at): use findstrusa2011-02-151-0/+6
| | | | | | | | command instead of find command, because the latter is confusing another famous Unix command. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_io_blocking_region): reset th->waiting_fdnagachika2011-02-141-0/+6
| | | | | | | after blocking region, because remaining waiting_fd might cause unnecessary IOError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: revert r30621. That revision introduced mkmf testshyouhei2011-02-141-0/+5
| | | | | | | failures and it turned out to be OK to revert. [ruby-dev:43203] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30872 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/conversions.h: parenthesize macro arguments.akr2011-02-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (USE_RUBYGEMS): fixed r30835. It didn't work onkosaki2011-02-141-0/+6
| | | | | | | | | mswin32 port. If you changed win32/configure.bat, you should change setup.mak too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (TestSystem#test_system_at):kosaki2011-02-141-0/+5
| | | | | | | | added test. [ruby-core:35218] (#4393) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (is_internal_cmd): if the first char of prog is '@',usa2011-02-141-0/+5
| | | | | | | execute it via shell. [ruby-core:35218] (#4393) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: revert r30863, because it causes too many noise.usa2011-02-141-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c: parenthesize macro arguments.akr2011-02-131-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): skipnobu2011-02-131-0/+5
| | | | | | test suites failed to load instead of mere messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: re-edit, and fix indent.nobu2011-02-131-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_config.rb (OpenSSL#test_freeze): fix errornobu2011-02-131-1/+4
| | | | | | message assertion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/io/nonblock/test_flush.rb (TestIONonblock#flush_test):nobu2011-02-131-1/+4
| | | | | | return true to finish the test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/syck/test_string.rb (Syck::TestString#test_non_binary_string):nobu2011-02-131-1/+7
| | | | | | | | use assert_not instead of refute, unless required minitest directly. * test/test_prime.rb (TestPrime::sieve.Integer): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/xmlrpc/webrick_testing.rb (WEBrick_Testing#start_server):nobu2011-02-131-0/+5
| | | | | | catch IOError when server socket was closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (enum_inject): typo fixed. a patch from Gaku Ueda inmatz2011-02-121-0/+5
| | | | | | [ruby-core:35216]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date#===): [ruby-core:35127]tadf2011-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Options#process_args): alwaysnobu2011-02-121-0/+14
| | | | | | | | | | | | return options. * lib/test/unit.rb (Test::Unit::RequireFiles#non_options): return if any test case get loaded. * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): do not add default directory if it is nil. * lib/test/unit.rb (Test::Unit::AutoRunner#process_args): return true if any test cases to run. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (assert_include): add alias.nobu2011-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_io_blocking_region): new function to runnobu2011-02-121-1/+6
| | | | | | | blocking region with GIL released, for fd. * thread.c (rb_thread_fd_close): implement. [ruby-core:35203] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (th_init): rename from th_init2.nobu2011-02-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::AutoRunner#initialize): usenobu2011-02-121-1/+4
| | | | | | default_dir if no test case given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::Runner): rename from Test::Unit::Mini.nobu2011-02-121-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30849 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit::GlobOption#non_options): run testsnobu2011-02-121-0/+5
| | | | | | under base directory if no argument given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_settracefunc.rb (TestSetTraceFunc): ensure to usenobu2011-02-111-0/+5
| | | | | | method_added hook defined in Module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): enable rubygems if --gem option is given.nobu2011-02-111-0/+7
| | | | | | | * ruby.c (process_options): load rubygems if it is disabled but --gem option is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30846 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): add --gem=enabled as an alias ofyugui2011-02-111-0/+7
| | | | | | | | --enable=gems and --gem=disabled as an alias of --disable=gems. Gem named "enabled" or "disabled" has already been reserved legitimately for this purpose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/cfunc.c: parenthesize macro arguments.akr2011-02-111-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bin/testrb, test/runner.rb, lib/test/unit.rb: improve backwardnobu2011-02-111-0/+5
| | | | | | compatibility. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_cleanup): use rb_ary_free to free internal object.nobu2011-02-111-0/+7
| | | | | | | * gc.h (RUBY_FREE_UNLESS_NULL): get rid of double free. [ruby-core:35192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e