nobu
e4257036ec
pathname.c: unnormalized Fixnum value
...
* ext/pathname/pathname.c (path_hash): fix unnormalized Fixnum
value bug on mingw/mswin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-04 01:51:18 +00:00
svn
61982b1537
* 2016-11-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-04 01:35:49 +00:00
nobu
0785b3e1b7
fileutils.rb: fix error for non-existent entry
...
* lib/fileutils.rb (FileUtils::Entry_#copy): ensure that the
source entry exists first, to fix error for non-existent entry.
[ruby-core:77885] [Bug #12892 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-04 01:35:49 +00:00
mrkn
03c9bc2b1d
Import from ruby/bigdecimal repository
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-03 12:46:22 +00:00
nobu
6c7024f6f4
file.c: include sys/sysmacros.h
...
* file.c: include sys/sysmacros.h for ArchLinux which deprecated
use of major() and minor() in sys/types.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-03 06:02:16 +00:00
svn
f0baa12267
* 2016-11-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-03 05:46:56 +00:00
nobu
91fbf2b24b
file.c: use DEVT2NUM
...
* file.c (rb_stat_dev_major, rb_stat_dev_minor): use DEVT2NUM as
well as rdev_major and rdev_minor.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-03 05:46:55 +00:00
nobu
af015a9adc
assertions.rb: assert_all_assertions
...
* test/lib/test/unit/assertions.rb (assert_all_assertions): prefix
assert to be filtered out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-02 01:31:00 +00:00
nobu
d97b8d0d6c
extension.rdoc: update rb_ensure description
...
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-02 00:50:05 +00:00
nobu
564cb1a0a8
extension.rdoc: update rb_rescue description
...
* doc/extension.rdoc: set ANYARGS as arguments for func1 and func2.
* doc/extension.rdoc: mention the exception object which is passed
to func2 as the second argument. [Fix GH-1471]
[ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 23:45:50 +00:00
nobu
13149a59d8
numeric.c: bit op with non-integer
...
* numeric.c (rb_num_coerce_bit): enable bit operations with
coercing by non-integer object. [ruby-core:77783] [Bug #12875 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 22:34:30 +00:00
svn
c7e99cbfc8
* 2016-11-02
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 15:47:55 +00:00
kazu
fa857bc6c2
fix some typos [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 15:47:55 +00:00
nobu
544e59ec7d
test_integer.rb: common parts
...
* test/ruby/test_integer.rb (MimicInteger, CoercionToInt): extract
common parts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 13:10:16 +00:00
nobu
69fc155c77
numeric.c: use rb_num_coerce_bit
...
* numeric.c (int_and, int_or, int_xor): use rb_num_coerce_bit to
reduce repeated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 13:10:14 +00:00
nobu
cbfe54c560
numeric.c: fix return value on big 0
...
* numeric.c (num_zero_p): should return true if zero.
rb_bigzero_p returns 1 or 0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 12:35:32 +00:00
nobu
22e41718a4
numeric.c: adjust indent [ci skip]
...
* numeric.c (rb_num2ulong_internal): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 12:35:31 +00:00
nobu
5dc2472024
numeric.c: fix typos [ci skip]
...
* numeric.c (rb_num2ulong_internal, rb_num2ull): fix typos in
comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 12:35:30 +00:00
nobu
8baad2d31c
bignum.c: use RB_INTEGER_TYPE_P
...
* bignum.c (rb_big_and, rb_big_or, rb_big_xor): use dedicated
macro RB_INTEGER_TYPE_P instead of combination of FIXNUM_P and
RB_BIGNUM_TYPE_P.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-11-01 07:51:55 +00:00
nobu
1e63aafe77
configure.in: no round in x64-mingw
...
* configure.in (ac_cv_func_round): round(3) in x86_64-w64-mingw32
is not accurate in an edge case. [ruby-core:77794] [Bug #12878 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 16:31:12 +00:00
nobu
c72fc9f323
dir.c: suppress a warning
...
* dir.c (to_be_ignored): remove duplicate inline modifier, and
suppress a warning by VC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 16:01:30 +00:00
svn
64116ea980
* 2016-11-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 15:17:28 +00:00
kazu
478606bfd5
fix typos [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 15:17:26 +00:00
shyouhei
58c5011b3e
* test/test_forwardable.rb (TestForwardable#test_on_private_method): add test for [Bug #12782 ] [Bug #12840 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 08:43:54 +00:00
svn
b37af6212e
* 2016-10-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 02:08:55 +00:00
nobu
587a24609b
uri/generic.rb: Tidy up merge
...
* lib/uri/generic.rb (URI::Generic#merge): merge merge0.
[GH-1469]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-31 02:08:54 +00:00
nobu
6ce158ba87
fix typo [ci skip]
...
* lib/rubygems/specification.rb: reapply 56225.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-30 12:08:00 +00:00
kazu
577a37dd29
Add config for *.yml [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-30 11:57:41 +00:00
hsbt
9a21c28426
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update
...
rubygems to 2.6.8.
Release note of 2.6.8: 9fb8880976
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-30 06:32:48 +00:00
svn
f4b623f780
* 2016-10-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-29 21:39:38 +00:00
duerst
2959b5aa16
* enc/windows_1254.c: Fix typo. Reported by k-takata at
...
https://github.com/k-takata/Onigmo/commit/ceb59cc . Thanks!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-29 21:39:37 +00:00
nobu
e981862fc9
parse.y: !-operator warning
...
* parse.y (cond0): !-operator is a method call, no warning for
literal in condition. [ruby-core:77801] [Bug #12881 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-29 10:59:39 +00:00
nobu
af1b9db40b
compile.c: not flip-flop
...
* compile.c (iseq_compile_each): turn flip-flop in a not-operator
into a boolean value. fix up r56315
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-29 01:09:40 +00:00
nobu
693eabb2be
vm_eval.c: follow the original class
...
* vm_eval.c (vm_call0_body): follow the original class, not to
loop the prepended module. [ruby-core:77784] [Bug #12876 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-29 00:39:16 +00:00
kazu
420b4ae26d
fix typos [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 15:50:14 +00:00
svn
102fae4e0d
* 2016-10-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 15:28:55 +00:00
nobu
703cc6748f
test/unit.rb: no file name if idle [ci skip]
...
* test/lib/test/unit.rb (Test::Unit::Parallel::Worker#to_s): show
file name if not idling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 15:28:54 +00:00
nobu
b24e093296
Update windows-1255 table
...
* enc/trans/windows-1255-tbl.rb: update mapping from 0xCA to
U+05BA. [Feature #12877 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 15:14:32 +00:00
nobu
4f7a051eee
enc/depend: downcase
...
* enc/depend: downcase table file names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 14:25:57 +00:00
nobu
8027dfafd7
enc/depend: extract transcode_tblgen
...
* enc/depend: extract transcode_tblgen method calls for libraries
loaded by dynamically generated names, in single_byte.trans.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 14:22:34 +00:00
nobu
06711fd1e3
single_byte.trans: dead code
...
* enc/trans/single_byte.trans (transcode_tblgen_singlebyte):
remove useless code. returned value is not used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 14:18:52 +00:00
nobu
1da2b2e7b9
transcode-tblgen.rb: dup literal string
...
* tool/transcode-tblgen.rb: get rid of modifying frozen literal
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 14:18:50 +00:00
nobu
f28caf31d1
insns.def: opt_case_dispatch trivial optimization
...
* insns.def (opt_case_dispatch): extract float value only if the
Float method is not redefnined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 07:05:05 +00:00
nobu
9e75488ac8
internal.h: RB_OBJ_BUILTIN_TYPE
...
* internal.h (RB_OBJ_BUILTIN_TYPE): special-const safe
BUILTIN_TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 06:58:19 +00:00
nobu
b03a92c4ce
complex.c: static IDs
...
* complex.c (id_finite_p, id_infinite_p, id_rationalize, id_PI):
initialize static IDs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 06:20:19 +00:00
svn
0ca1d842e3
* 2016-10-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 06:19:01 +00:00
nobu
2226372268
complex.c: FINITE_TYPE_P
...
* complex.c (FINITE_TYPE_P): extract predicate.
* complex.c (rb_complex_finite_p, rb_complex_infinite_p): use
dedicated predicates instead of switch by TYPE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-28 06:19:00 +00:00
nobu
8998c06461
ruby/ruby.h: optimize rb_integer_type_p
...
* include/ruby/ruby.h (rb_integer_type_p): turn into macro to help
clang based on old gcc to eliminate CSE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27 14:28:14 +00:00
usa
34ef129bd2
* tool/redmine-backporter.rb (rel): check the exception and show right
...
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27 07:34:32 +00:00
nobu
07acd05ffb
test/digest/test_digest.rb: fold long lines
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-10-27 06:26:09 +00:00