aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* call to_inaruse2014-04-242-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: statfs_inspectnobu2014-04-242-0/+43
| | | | | | * file.c (statfs_inspect): add File::Statfs#inspect method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-24svn2014-04-231-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (dsym_node_gen): like r45492, call rb_gc_resurrect().naruse2014-04-233-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/etc/extconf.rb: Build ext/etc unconditionally.akr2014-04-232-23/+27
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* skip on SEEK_HOLEnaruse2014-04-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add uname -rnaruse2014-04-231-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (statfs_fsid): remove statfs.f_fsid because it doesn't returnnaruse2014-04-233-18/+5
| | | | | | meaningful value portably. http://togetter.com/li/658517 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* travis doesn't have /proc/version_signaturenaruse2014-04-231-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* show versionsnaruse2014-04-231-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix to rescue when test-all runs without installationnaruse2014-04-231-1/+4
| | | | | | https://api.travis-ci.org/jobs/23564212/log.txt?deansi=true git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: unpack in binarynobu2014-04-233-21/+3
| | | | | | | | * file.c (statfs_fsid): convert with rb_integer_unpack. * configure.in: fsid_t is no longer used. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32ole.c: suppress warningsnobu2014-04-231-2/+2
| | | | | | | * ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): cast to suppress warnings, SCODE varies on cygwin and mingw. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check Linux versionnaruse2014-04-231-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typonaruse2014-04-231-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32ole.c: fix formatnobu2014-04-231-2/+2
| | | | | | | * ext/win32ole/win32ole.c (ole_excepinfo2msg, lcid_installed): fix format to suppress warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, win32/Makefile.sub: fsid_t is defined in include/ruby/win32.h.usa2014-04-232-1/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check whther ext4+ or notnaruse2014-04-231-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: fsid_t may not be definednobu2014-04-232-0/+15
| | | | | | | | | * configure.in: check if fsid_t is defined. * file.c (statfs_fsid): fsid_t may not be defined, assume long in that case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stringio.c: use rb_str_append other than ASCII-8BITnobu2014-04-233-1/+31
| | | | | | | | * ext/stringio/stringio.c (strio_write): use rb_str_append to reuse coderange bits other than ASCII-8BIT, and keep taintedness. [ruby-dev:48118] [Bug #9769] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stringio.c: move GC guardnobu2014-04-231-1/+1
| | | | | | | * ext/stringio/stringio.c (strio_write): move GC guard after the last using position. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby-additional.el: ruby-encode-unicodenobu2014-04-231-0/+12
| | | | | | | * misc/ruby-additional.el (ruby-encode-unicode): convert non-ascii string to \\u{} form. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r45670 "stringio.c: use rb_str_append"naruse2014-04-223-19/+2
| | | | | | | | | | It breaks test-all. http://u64b.rubyci.org/~chkbuild/ruby-trunk/log/20140422T143301Z.diff.html.gz rb_str_conv_enc() return original string for example when from ASCII-8BIT to UTF-8 with non ASCII strings git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-23svn2014-04-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c, include/ruby/win32.h (ustatfs): implementation ofusa2014-04-226-1/+83
| | | | | | | | | | | statfs(2) clone. [EXPERIMENTAL] * file.c (rb_io_statfs): use above function. * configure.in, win32/Makefile.sub (struct statfs): available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_io_stafs): use statfs(2) if fstatfs(2) is unavailable.usa2014-04-223-1/+13
| | | | | | | * configure.in (fstatfs): check it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stringio.c: use rb_str_appendnobu2014-04-223-2/+19
| | | | | | | | * ext/stringio/stringio.c (strio_write): use rb_str_append to reuse coderange bits and keep taintedness. [ruby-dev:48118] [Bug #9769] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* file.c: suppress a warningnobu2014-04-221-2/+6
| | | | | | | * file.c (statfs_fsid): use union to suppress strict-aliasing warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_io_statfs): need to define even if the system doesn't haveusa2014-04-223-0/+11
| | | | | | | | | | fstatfs(2). * test/ruby/test_file.rb (TestFile#test_statfs): skip if IO#stafs is not implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* define File::Statfs only if HAVE_STRUCT_STATFSnaruse2014-04-221-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* check statfs and skipnaruse2014-04-221-0/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2014-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* refix the point is seeknaruse2014-04-221-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typonaruse2014-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* show what filesystem it is on failurenaruse2014-04-221-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c: newly added a class File::Statfs. (experimental)naruse2014-04-225-0/+351
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* [DOC]akr2014-04-221-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_io.rb: test with holesnobu2014-04-221-0/+20
| | | | | | | * test/ruby/test_io.rb (test_seek, test_seek_symwhence): add tests of SEEK_DATA and SEEK_HOLE with holes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* enable test-all and add -j2 on travis-cinaruse2014-04-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add to check ruby_2_0_0 and ruby_2_1 (and ruby_2_2) branchnaruse2014-04-221-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (objspace_malloc_increase): don't cause GC by malloc_increaseko12014-04-212-13/+22
| | | | | | | | | | | when memop type is MEMOP_TYPE_REALLOC. GC at realloc is not well maintained. We need a time to make it safe. [ruby-dev:48117] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: full mark after malloc/reallocnobu2014-04-212-3/+12
| | | | | | | * gc.c (objspace_malloc_increase): run full mark if 0x04 bit is set in ruby_gc_stress. [ruby-core:62103] [Feature #9761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2014-04-22svn2014-04-211-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* gc.c: GC.stress after reallocnobu2014-04-212-1/+6
| | | | | | | * gc.c (objspace_malloc_increase): run GC after realloc not only malloc and calloc by GC.stress. [ruby-core:62103] [Feature #9761] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * properties.nobu2014-04-210-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_coderange_scan_restartable): coderange is alwaysnaruse2014-04-212-3/+10
| | | | | | | ENC_CODERANGE_VALID if the string is ASCII-8BIT and already has a non ASCII character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (coderange_scan): remove useless condtion `p < e` afternaruse2014-04-212-33/+24
| | | | | | | | search_nonascii. * string.c (rb_str_coderange_scan_restartable): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/-test-/string/coderange.c: add Bug::String.new#coderange_scannaruse2014-04-213-2/+83
| | | | | | to explicitly scan coderange. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (coderange_scan): remove unused logic.naruse2014-04-212-8/+8
| | | | | | * string.c (rb_str_coderange_scan_restartable): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* string.c: rename rb_str_splice as rb_str_updatenobu2014-04-211-7/+3
| | | | | | | * string.c (rb_str_update): rename rb_str_splice as exported name rb_str_update, and make the former an alias macro of the latter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e