aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * class.c: fix camelCase to snake_case in documentation code examples.naruse2011-03-057-27/+43
| | | | | | | | | | | | | | | | patched by Andrew Grimm. fixes Bug #4469 * marshal.c: ditto. * proc.c: ditto. * sample/biorhythm.rb: ditto. * vm_eval.c: ditto. * vm_method.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-06svn2011-03-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): use rb_thread_io_blocking_region() insteadkosaki2011-03-052-1/+6
| | | | | | | | rb_thread_blocking_region(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h: fix a typo of prototype declaration.nagachika2011-03-052-1/+6
| | | | | | rb_mutex_try_lock -> rb_mutex_trylock [ruby-dev:43213] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_io.rb (TestIO#test_fcntl_lock): small clean up.kosaki2011-03-052-28/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-05svn2011-03-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl, nogvl_io_cntl): IO.fcntl() and IO.ioctl()kosaki2011-03-043-13/+75
| | | | | | | | | | | | release GVL during calling kernel interface. Suggested by Eric Wong. [ruby-core:35417][Bug #4463] * test/ruby/test_io.rb (TestIO#test_fcntl_lock): add new test for IO.fcntl(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .gitignore: ignore ext/date and ext/-test-/*/*.nagachika2011-03-041-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rbnagachika2011-03-042-0/+7
| | | | | | | (test_should_run_all_without_any_leaks): consider that the order of testcase could change. [ruby-dev:43300] [Bug #4466] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_cntl): change 'cmd' type to int. ioctl and fcntl need tokosaki2011-03-042-3/+9
| | | | | | | | | be passed int. * io.c (rb_io_ctl): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: save warnflags. the patch is created by Eric Wong.kosaki2011-03-042-0/+6
| | | | | | | | [Bug #4465] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dsa.c: parenthesize macro arguments.akr2011-03-032-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-04svn2011-03-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * golf_prelude.rb (Symbol#call): new method.nobu2011-03-031-0/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (check_exec_redirect_fd, check_exec_redirect): raiseusa2011-03-033-7/+21
| | | | | | | | | | | ArgumentError if fd >= 3 on Windows because the feature is not supported. * test/ruby/test_process.rb (test_execopts_redirect): remove meaningless argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (test_execopts_redirect): redirecting fdusa2011-03-032-6/+16
| | | | | | | | >= 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/trunk@31016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): raise error when the string is frozen.naruse2011-03-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* incompatibility arround REXML is reverted in r31008. ref #3990naruse2011-03-031-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (STRFTIME): return 0 and ERANGE when precision is toonaruse2011-03-032-0/+9
| | | | | | large. [ruby-dev:43284] fixes #4456 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * addr2line.c (uleb128): cast the value to unsigned long.naruse2011-03-022-1/+13
| | | | | | * addr2line.c (fill_lines): print error when lseek fails. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-03svn2011-03-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encodingnaruse2011-03-0211-147/+114
| | | | | | | | | | | | | | | | | a String which means the name of the encoding. this partially revert r29646. * lib/rexml/document.rb: follow above. * lib/rexml/output.rb: ditto. * lib/rexml/parsers/baseparser.rb: ditto. * lib/rexml/source.rb: ditto. * lib/rexml/xmldecl.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (str_byte_substr): return nil for negative length.nobu2011-03-023-27/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey_dh.c: parenthesize macro arguments.akr2011-03-022-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Fix name from `inclement_io` tosorah2011-03-022-4/+9
| | | | | | `increment_io`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_slice_bang): move treatments which is only needednaruse2011-03-022-4/+9
| | | | | | when the result is not nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-02svn2011-03-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_parallel.rb(TestParallel#spawn_runner):sorah2011-03-023-5/+8
| | | | | | | | Fix outputing empty line in running test. * test/testunit/tests_for_parallel/test_third.rb: Remove `sleep` git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkey.h: parenthesize macro arguments.akr2011-03-012-8/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: Fix number.sorah2011-03-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: For Windows.sorah2011-03-013-41/+31
| | | | | | | | | * test/testunit/test_parallel.rb(TestParallelWorker#test_quit_in_test): Fix for above specification change. * test/testunit/test_parallel.rb(TestParallel#spawn_runner): Fix outputing empty line in running test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (TestSystem#test_system_at):kosaki2011-03-012-16/+7
| | | | | | | | | remove tests for [bug#4396]. because we decided to reject this ticket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/date/{test_date.rb,test_date_attr.rb}: [ruby-dev:43280]tadf2011-03-013-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import rubygems 1.6.0 (released version @ 58d8a0b9)ryan2011-03-0173-715/+2404
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c: revert r30987 because it causes some failures inusa2011-03-012-9/+5
| | | | | | | test-all, especially webrick. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_byteslice): the resulted encoding should keepnaruse2011-03-013-22/+29
| | | | | | | original encoding. this also fixes the encoding when the result shares internal string. [ruby-core:35376] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpMemAlloc): CVE-2011-0188.mrkn2011-03-012-4/+9
| | | | | | Fixes a bug reported by Drew Yao <ayao at apple.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix rdoc of String#byteslice. Feature #4447naruse2011-03-011-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_byteslice): Add String#byteslice. [ruby-core:35376]naruse2011-03-014-0/+137
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-03-01svn2011-02-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h: define WIN32 if neither _WIN64 nor WIN32 defined. it ↵arton2011-02-282-0/+8
| | | | | | forces to use push/pop for pack(4) pragma. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/testunit/test_rake_integration.rb (test_with_rake_runner):nagachika2011-02-282-1/+11
| | | | | | use assert_in_out_err for suppress messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (rb_w32_spawn): use shell if a commandline containkosaki2011-02-283-5/+25
| | | | | | | | | | | | | | | double-quote character. * win32/win32.c (is_internal_cmd): similar, use shell if a commandline contain caret character. * test/ruby/test_system.rb (TestSystem#test_system_at): fix wrong test case. if system() invoke a command by using shell, system() never return nil. Also, "" quotation must not appear twice in a command line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: test commit.shugo2011-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: test commit.shugo2011-02-281-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_pkcs7.c: parenthesize macro arguments.akr2011-02-282-19/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * version.h: test commit.shugo2011-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test commiteban2011-02-281-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test commiteban2011-02-281-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test commiteban2011-02-281-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e