aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/psych/lib/psych/visitors/yaml_tree.rb: register time objects sotenderlove2013-07-053-1/+15
| | | | | | | they are referenced as ids during output. * test/psych/test_date_time.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-06svn2013-07-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use server_port for Windowsnaruse2013-07-051-1/+5
| | | | | | fix r41686 [Bug #8574] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* un.rb: help ordernobu2013-07-051-3/+13
| | | | | | * lib/un.rb (UN#help): show help messages in the given order. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* un.rb: help messagenobu2013-07-051-1/+14
| | | | | | * lib/un.rb (setup): show help message by help method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* un.rb: refine regexpnobu2013-07-051-1/+1
| | | | | | * lib/un.rb (help): refine regexp to extract method name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* un.rb: nodoc setupnobu2013-07-051-0/+1
| | | | | | * lib/un.rb (setup): nodoc for internal use method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_unicode_escape.rb (TestUnicodeEscape#test_basic): thisusa2013-07-052-1/+9
| | | | | | | | | | assertion doesn't seems to be checking the unicode string on command line, but seems to be checking how to treat the unicode string from stdin. so, should escape '\' before 'u'. this fixes a test failure on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#chown, FileUtils#chown_R): Fix theknu2013-07-052-2/+8
| | | | | | | wrong output message when user is nil, which should be "chown :group file" instead of "chown group file". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: better approach.usa2013-07-051-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb: typo in r41791.usa2013-07-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rbknu2013-07-052-10/+18
| | | | | | | | (TestRegexp#test_options_in_look_behind) (TestRegexp#assert_match_at): Parse regexps in run time rather than in compile time. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_regexp.rbknu2013-07-052-1/+42
| | | | | | | | | | | (TestRegexp#test_options_in_look_behind) (TestRegexp#assert_match_at): Add tests for another problem fixed in Onigmo 5.13.5. Previously Onigmo did not allow option enclosures in look-behind, which makes it impossible to interpolate a regexp into another in the middle of a look-behind pattern. cf. https://github.com/k-takata/Onigmo/pull/17 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rubyoptions.rb (TestRubyOptions#test_notfound): afterusa2013-07-052-0/+7
| | | | | | | | r41710, the path of command uses backslash as the separator on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/unit: assert_raise_with_messagenobu2013-07-053-24/+48
| | | | | | | | * lib/test/unit/assertions.rb (assert_raise_with_message): move from test/fileutils/test_fileutils.rb. this is still experimental and the interface may be changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (w32_spawn): r41710 made that if the command starts withusa2013-07-052-6/+9
| | | | | | | | | | a quote and includes slash, removed the top quote and NOT removed the last quote. this fixes test failures on test/ruby/test_process.rb and test/webrick. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: config_stringnobu2013-07-051-1/+1
| | | | | | | * lib/mkmf.rb (CPPOUTFILE): use config_string. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CONFIG['CPPOUTFILE']): fix r41769; CONFIG['CPPOUTFILE']naruse2013-07-052-1/+6
| | | | | | may be nil. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* broken utf-8naruse2013-07-053-8/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix comment typo by @parroty [fix GH-350]hsbt2013-07-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (BARY_MUL1): Renamed from BARY_MUL.akr2013-07-042-9/+15
| | | | | | | | (bary_mul1): Renamed from bary_mul. (bary_mul): Renamed from bary_mul2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (bary_mul_balance): Extracted from bigmul1_balance andakr2013-07-042-20/+43
| | | | | | | | use bary_mul2 and bary_add to decrease allocations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils.chmod{,_R}): Enhance the symbolicknu2013-07-043-47/+95
| | | | | | | | | mode parser to support the permission symbols u/g/o and multiple actions as defined in SUS, so that chmod("g=o+w", file) works as expected. Invalid symbolic modes are now rejected with ArgumentError. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): Fix the wrongknu2013-07-042-2/+8
| | | | | | | character class [+-=], which happened to match all desired characters but also match undesired characters. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: old syntaxnobu2013-07-041-2/+6
| | | | | | | * lib/mkmf.rb (have_framework): get rid of newer syntax to run with ruby 1.8 for cross compiling. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-05svn2013-07-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: header in frameworknobu2013-07-043-2/+43
| | | | | | | * lib/mkmf.rb (have_framework): allow header file to check. [ruby-core:55745] [Bug #8593] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* bignum.c: constifynobu2013-07-041-10/+10
| | | | | | * bignum.c: constify maxpow tables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_obj_equal): Fixed an rb_obj_equal documentation typocharliesome2013-07-042-3/+9
| | | | | | | where "a" was used instead of "obj". Fixes GH-349. Patch by @adnandoric git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: Exit with EXIT_FAILURE when it fails.akr2013-07-042-1/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (maxpow_in_bdigit_dbl): Use tables if available.akr2013-07-042-10/+236
| | | | | | | | | | | | | | | | | | | | (maxpow_in_bdigit): Ditto. (U16): New macro. (U32): Ditto. (U64): Ditto. (U128): Ditto. (maxpow16_exp): New table. (maxpow16_num): New table. (maxpow32_exp): New table. (maxpow32_num): New table. (maxpow64_exp): New table. (maxpow64_num): New table. (maxpow128_exp): New table. (maxpow128_num): New table. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_cstr_to_inum): Avoid temporary buffer allocation exceptakr2013-07-042-56/+80
| | | | | | | | very big base non-power-of-2 numbers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/mkmf: $extmk in parallel testnobu2013-07-042-0/+4
| | | | | | | * test/mkmf/base.rb, test/mkmf/test_config.rb: needs to set $extmk since worker processes in parallel test mode. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_have_library.rb: toolchains resultnobu2013-07-041-3/+5
| | | | | | | * test/mkmf/test_have_library.rb (create_library): check if toolchains work. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: CONFTESTnobu2013-07-042-20/+21
| | | | | | * lib/mkmf.rb (CONFTEST): constify hardcoded filename. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_succ): use ONIGENC_MBCLEN_CHARFOUND_P correctly.naruse2013-07-042-4/+14
| | | | | | * string.c (rb_str_dump): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test_regexp.rb: test for conditional expressionnobu2013-07-041-0/+17
| | | | | | | * test/ruby/test_regexp.rb (TestRegexp#test_conditional_expression): test for [Bug #8583] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fixing example in comments that raised an error by @JackDanger [fix GH-345]hsbt2013-07-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Additional description for r41764naruse2013-07-041-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regcomp.c (): Merge Onigmo 5.13.5 23b523076d6f1161.naruse2013-07-043-5/+15
| | | | | | https://bugs.ruby-lang.org/issues/8583 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2013-07-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* internal.h: supperss warningnobu2013-07-032-0/+6
| | | | | | | * internal.h (SIGNED_INTEGER_MAX): supperss warning C4146 on VC6. seems a logical ORed expression becomes unsigned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41762 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2013-07-04svn2013-07-031-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby_atomic.h: ATOMIC_CAS on VC6nobu2013-07-032-2/+9
| | | | | | | | * ruby_atomic.h (rb_w32_atomic_cas): call InterlockedCompareExchange directly. * ruby_atomic.h (ATOMIC_CAS): fix missing function call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ruby_atomic.h: suppress warnignsnobu2013-07-032-0/+14
| | | | | | | * ruby_atomic.h (ATOMIC_CAS): suppress C4022 and C4047 warnings in VC6. only InterlockedCompareExchange is declared using PVOID. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * internal.h (ruby_digit36_to_number_table): Declared.akr2013-07-035-39/+40
| | | | | | | | | | | | * util.c (ruby_digit36_to_number_table): Moved from scan_digits. * bignum.c (conv_digit): Use ruby_digit36_to_number_table. * pack.c (hex2num): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* mkmf.rb: revert DESTDIR prefixnobu2013-07-032-13/+17
| | | | | | | * lib/mkmf.rb (install_dirs): revert DESTDIR prefix by r39841, since it is fixed by r41648. [ruby-core:55760] [Bug #8115] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dir.c: get rid of FindFirstFile bugnobu2013-07-033-1/+17
| | | | | | | | * dir.c (do_stat): use rb_w32_ustati64() in win32.c to get rid of mysterious behavior of FindFirstFile() Windows API which treat "<" and ">" like as wildcard characters. [ruby-core:55764] [Bug #8597] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* dir.c: do_lstat aliasnobu2013-07-031-4/+4
| | | | | | | * dir.c (do_lstat): make an alias of do_stat instead of two same functions, when no lstat is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/ruby: independent from pathnamenobu2013-07-032-4/+2
| | | | | | | | * test/ruby/test_dir.rb (TestDir#setup): remove dependency on pathname. * test/ruby/test_rubyoptions.rb (TestRubyOptions#with_tmpchdir): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41753 b2dd03c8-39d4-4d8f-98ff-823fe69b080e