aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * compile.c (setup_args, iseq_compile_each): optimize AMPER LAMBDAnobu2010-12-183-10/+21
| | | | | | combination as block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (Init_GC): move #__id__ and #object_id to BasicObject.matz2010-12-172-2/+7
| | | | | | [ruby-dev:42778] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/mkmf/base.rb (TestMkmf::FakeLog): capture output from mkmf.nobu2010-12-173-0/+49
| | | | | | | * test/mkmf/test_find_executable.rb (test_find_executable): suppress meaningless diffrences for chkbuild. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (RbConfig): get rid of unused variable.nobu2010-12-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_require): -rnobu2010-12-171-0/+2
| | | | | | with no name is ignored. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (BASERUBY): quit with an error when BASERUBY was notusa2010-12-172-0/+8
| | | | | | | able to set, just like configure.in does. [ruby-dev:42782] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: removed garbage line.nobu2010-12-161-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_advise): removed unused variable, and fix indent.nobu2010-12-161-15/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c: parenthesize macro arguments.akr2010-12-162-10/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Alter comment on String#encode for better wording and ri outputdrbrain2010-12-162-23/+28
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix indentationkosaki2010-12-161-32/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-17svn2010-12-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_advise): New API. IO#advise() allows to tell thekosaki2010-12-164-1/+207
| | | | | | | | | | | | | | ruby runtime how it expects to use a file handle. This feature can be improved a performance some situations. Note: This feature is mainly developed by Run Paint Run Run. Thank you! [ruby-core:33110] [Ruby 1.9-Feature#4038] * io.c (do_io_advise): Helper function. * io.c (io_advise_sym_to_const): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (bin-comm): use transformed name.nobu2010-12-162-1/+6
| | | | | | [ruby-dev:42777] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: parenthesize macro arguments.akr2010-12-162-12/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/mkconfig.rb (RbConfig): honor ARCHFLAGS and RC_ARCHS tonobu2010-12-162-1/+21
| | | | | | override embedded ARCH_FLAG value on universal-darwin. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/{configure.bat,setup.mak,Makefile.sub} (PROGRAM_PREFIX,usa2010-12-164-8/+15
| | | | | | | | | PROGRAM_SUFFIX): unite the differences of the names of macros of prefix and suffix. reported by HANEDA Norikatsu. [ruby-dev:42775] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (RNode): match the type of flags to RBasic, and renamednobu2010-12-152-3/+6
| | | | | | nd_file as nd_reserved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (set_relation), vm_insnhelper.c (vm_cref_push): nd_filenobu2010-12-153-4/+5
| | | | | | is always zero-cleared. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 2.0.1 r6079.ryan2010-12-151-5/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-16svn2010-12-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* drying up the requires in the openssl teststenderlove2010-12-1517-94/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (process_args): need to setup @help to print options.usa2010-12-152-0/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (clean-local): remove pc file.nobu2010-12-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (nogvl_copy_stream_sendfile): fix missing condition.nobu2010-12-151-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (test_to_io): forgotten to fix with r30201.usa2010-12-152-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (simple_sendfile): enable on Mac OS X.nobu2010-12-152-15/+39
| | | | | | | | * io.c (nogvl_copy_stream_sendfile): moved precheck of copy length. * io.c (nogvl_copy_stream_sendfile): should wait for both of read/write fds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c: parenthesize macro arguments.akr2010-12-142-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_set_config):kosaki2010-12-142-1/+7
| | | | | | | | | fix compile error when !HAVE_X509V3_SET_NCONF. Thanks Chikanaga-san. [ruby-dev:42761] [Ruby 1.9-Bug#4158] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ripper/test_parser_events.rb (TestRipper#test_block_variables):kosaki2010-12-142-1/+7
| | | | | | | | | | Limit address space 100MB instead 100KB. Quite frankly, This margin is too narrow to contain ruby. [ruby-dev:42763] [Bug#4159] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-15svn2010-12-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (simple_sendfile): improve linux compatibility on FreeBSD,naruse2010-12-142-5/+17
| | | | | | and now it works. But without cpuset -l 0, it still gets stuck. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: parenthesize macro arguments.akr2010-12-142-17/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: help messages.usa2010-12-142-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (help): there is no reason to use the abbreviation for here.usa2010-12-142-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_reopen, test_reinitialize): should closeusa2010-12-142-12/+29
| | | | | | | the temporay files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_binmode_after_closed): the temporary fileusa2010-12-142-2/+9
| | | | | | | maked by make_temfile is already closed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (test_flush_in_finalizer[12]): should closeusa2010-12-142-2/+12
| | | | | | | | temporary file because it's only used for taking pathname and unlinking the file after the end of the test (in GC phase). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (gzfile_s_open): should close the IO if some errorusa2010-12-142-9/+49
| | | | | | | occurs in initilizing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (Net::HTTPRequest#send_request_body_data):naruse2010-12-143-0/+7
| | | | | | set binmode to tempfile. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb (*): should close files associated with zlib.usa2010-12-142-129/+155
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix wrong argument.naruse2010-12-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_argf.rb (test_inplace_rename_impossible): unlinkusa2010-12-142-4/+24
| | | | | | | | | | | | the renamed temporary file on no_safe_rename platforms. * test/ruby/test_argf.rb (test_readlines_limit_0, test_each_line_limit_0): should close argf because the associated Tempfile object cannot unlink the temporary file when it's gc'ed on some platforms (Windows, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/minitest/unit.rb (Minitest::Unit#_run_suite): split testnaruse2010-12-142-1/+8
| | | | | | | name and its time. Thiw allows to know test's name when you are running tests and meet a test which spends long time at realtime. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: Add -Werror=declaration-after-statement to defaultnaruse2010-12-142-0/+7
| | | | | | | warning flag. If you are using GCC, this flag is useful to prevent breaking VC build. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-12-14svn2010-12-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): how many gcc-c99ismsusa2010-12-142-1/+6
| | | | | | | must a man mend; before he can build with VC? r30178 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (simple_sendfile): disable the use of sendfile(2) onnaruse2010-12-132-3/+11
| | | | | | FreeBSD. It blocks on TestIO#test_copy_stream_socket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: define USE_SENDFILE on FreeBSD or DragonFly BSD.naruse2010-12-132-1/+8
| | | | | | Remove Mac OS X because its argument is different from them. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adding a test for OpenSSL::PKCS12.createtenderlove2010-12-131-0/+149
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e