akr
1b1a1ed6c8
{Fixnum,Bignum}#divmod is unified into Integer.
...
* numeric.c (int_divmod): {Fixnum,Bignum}#divmod is unified into
Integer.
* bignum.c (rb_big_divmod): Don't define Bignum#divmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 05:05:54 +00:00
akr
bda463c134
move Fixnum#/ document position.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 04:22:27 +00:00
akr
27f9556de9
{Fixnum,Bignum}#fdiv is unified into Integer.
...
* numeric.c (int_fdiv): {Fixnum,Bignum}#fdiv is unified into
Integer.
* bignum.c (rb_big_fdiv): Don't define Bignum#fdiv.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 04:20:56 +00:00
akr
8a2df1ce3f
{Fixnum,Bignum}#** is unified into Integer.
...
* numeric.c (rb_int_pow): {Fixnum,Bignum}#** is unified into
Integer.
* bignum.c (rb_big_pow): Don't define Bignum#**.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 03:59:02 +00:00
akr
d73b431e50
Rename fix_rev and rb_big_neg to fix_comp and rb_big_comp.
...
* bignum.c (rb_big_comp): Renamed from rb_big_neg.
* numeric.c (fix_comp): Renamed from fix_rev.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54830 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 03:30:53 +00:00
akr
10fb4e151d
{Fixnum,Bignum}#~ is unified into Integer.
...
* numeric.c (int_comp): {Fixnum,Bignum}#~ is unified into
Integer.
* bignum.c (rb_big_neg): Don't define Bignum#~.
* internal.h (rb_big_neg): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 03:27:20 +00:00
akr
b296cacb12
{Fixnum,Bignum}#& is unified into Integer.
...
* numeric.c (int_and): {Fixnum,Bignum}#& is unified into
Integer.
* bignum.c (rb_big_and): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 03:08:53 +00:00
nobu
23603c27ee
ext/thread: remove
...
* ext/thread: removed dummy extension library. thread_sync.c
provides "thread.rb" already.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:56:17 +00:00
nobu
13d62659ce
thread_sync.c: define global constants always
...
* thread_sync.c (ALIAS_GLOBAL_CONST): define global constant
aliases unconditionally. same constants are not defined at this
time.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54826 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:55:18 +00:00
akr
44af023d44
{Fixnum,Bignum}#| is unified into Integer.
...
* numeric.c (int_or): {Fixnum,Bignum}#| is unified into
Integer.
* bignum.c (rb_big_or): Don't define Bignum#|.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:54:14 +00:00
yui-knk
480bcad71d
* vm_trace.c: Fix typos. [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 02:18:00 +00:00
nobu
89a7e87cd4
pty.c: dry up
...
* ext/pty/pty.c (establishShell): gather initializations by the
default shell path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 01:12:52 +00:00
nobu
00a2285917
pty.c: user shell
...
* ext/pty/pty.c (establishShell): honor USER environment variable
and login name over uid, one pid can be shared by some login
names.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54822 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 01:09:07 +00:00
svn
3908b3da22
* 2016-04-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 01:09:06 +00:00
nobu
36717c8620
pty.c: portabilities
...
* ext/pty/pty.c (no_mesg): define only if used.
* ext/pty/pty.c (pty_check): some flags may not be defined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-30 01:09:06 +00:00
nobu
e46ba7abcc
maintainers.rdoc: update ext/io/nonblock [ci skip]
...
* doc/maintainers.rdoc (ext/io/nonblock): still maintained, as
well as ext/io/wait, which is the origin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 13:40:29 +00:00
usa
82e6e21ecd
* doc/maintainers.rdoc (ext/win32): of course, it's still maintained. [skip ci]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 12:18:51 +00:00
hsbt
37aa0f4613
* gems/bundled_gems: Update latest gems, test-unit-3.1.8 and rake-11.1.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 12:03:13 +00:00
hsbt
5c194ec061
* doc/maintainers.rdoc: Update latest maintainers list on Ruby 2.4
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 11:43:13 +00:00
hsbt
621f2323bc
* doc/maintainers.rdoc: Removed deprecated entries. These are already deleted.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 10:52:51 +00:00
hsbt
49b64a9015
* doc/maintainers.rdoc: Removed Ruby 1.8 entries. It's not necessary to
...
Ruby 2.4 or later.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 10:52:49 +00:00
svn
ecc17e56dc
* 2016-04-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 00:56:45 +00:00
nobu
f9602ee315
win32/win32.c: remove unnecessary declaration
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-29 00:56:44 +00:00
nobu
a19b53aeab
hash.c: dry up code
...
* hash.c (rb_hash_update_{block,func}_callback): dry up hash
update callback code. [Fix GH-1338]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 08:03:19 +00:00
naruse
0c4466abba
* re.c (rb_reg_prepare_enc): use rb_enc_asciicompat(enc) instead of
...
rb_enc_str_asciicompat_p(str) to avoid useless rb_enc_get(str) call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 07:52:59 +00:00
nobu
38b756501f
optparse.rb: [DOC] fix example code [ci skip]
...
* lib/optparse.rb: [DOC] fix example code. base on the code by
Semyon Gaivoronskiy in [ruby-core:75224]. [Bug #12323 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 07:33:43 +00:00
nobu
9ef7c87d67
win32/file.c: fix reallocation threshold
...
* win32/file.c (replace_to_long_name): fix reallocation threshold.
dereferenced size of a pointer is not same as the buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 06:54:05 +00:00
nobu
1e775c18e5
win32/file.c: remove unnecessary code
...
* win32/file.c (replace_to_long_name): remove unnecessary backward
scan for the last directory separator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 06:54:03 +00:00
svn
51cf90c514
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 00:33:09 +00:00
hsbt
4e53f3ad72
* lib/rubygems.rb, lib/rubygems/*, test/rubygems/*: Update rubygems-2.6.4.
...
Please see entries of 2.6.4 on
https://github.com/rubygems/rubygems/blob/master/History.txt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-28 00:33:08 +00:00
odaira
7a3f794da0
* configure.in (rb_cv_lgamma_r_pm0): check if lgamma_r(+0.0)
...
returns positive infinity, in addition to lgamma_r(-0.0).
AIX returns an incorrect result of negative infinity.
* math.c (ruby_lgamma_r): handle +0.0, in addition to -0.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54803 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 20:00:57 +00:00
naruse
173005bb6f
* time.c: define _DEFAULT_SOURCE because glibc 2.20 depracates
...
_BSD_SOURCE.
https://sourceware.org/glibc/wiki/Release/2.20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 16:15:21 +00:00
svn
43f2058032
* 2016-04-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 15:35:24 +00:00
akr
f949a95dab
{Fixnum,Bignum}#^ is unified into Integer.
...
* numeric.c (int_xor): {Fixnum,Bignum}#^ is unified into
Integer.
* bignum.c (rb_big_xor): Don't define Bignum#^.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 15:35:23 +00:00
akr
c71e02bd07
[Doc] Add Document-method: directives.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 13:05:09 +00:00
kazu
b530f58647
Update rdoc of Integer#[] (fix -> int)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 12:59:59 +00:00
akr
02107a91c8
[DOC] move rdoc comments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 12:46:46 +00:00
akr
d5a7299bca
{Fixnum,Bignum}#[] is unified into Integer.
...
* numeric.c (int_aref): {Fixnum,Bignum}#[] is unified into
Integer.
* bignum.c (rb_big_aref): Don't define Bignum#<<.
* internal.h (rb_big_aref): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 11:56:03 +00:00
naruse
e5b436cd76
* tool/instruction.rb: fix to follow current implementation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 07:11:07 +00:00
naruse
5d2d4c936d
setdynamic is obsoleted
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 07:11:06 +00:00
nobu
7a5b56677a
stringio.c: warn block for new
...
* ext/stringio/stringio.c (strio_s_new): warn if a block is given,
as well as IO.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 06:47:56 +00:00
nobu
d226ce8dec
internal.h: ONLY_FOR_INTERNAL_USE
...
* error.c (ruby_only_for_internal_use): raise fatal error when
deprecated function only for internal use is called, not just a
warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 05:29:49 +00:00
nobu
f8fe534980
internal.h: adjust style
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-27 05:29:07 +00:00
svn
3571995605
* 2016-04-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 15:14:19 +00:00
kazu
9708a62c84
fix typos [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 15:14:18 +00:00
usa
95f3abf34a
* tool/redmine-backporter.rb (rel): should not raise exceptions even if
...
the user input is wrong. only reports the error and continue process.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 14:43:50 +00:00
nobu
6ef87aa633
Fix -e script encoding
...
* ruby.c (process_options): convert -e script to the encoding
given by a command line option on Windows. assume it is the
expected encoding. [ruby-dev:49461] [Bug #11900 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 14:35:24 +00:00
akr
68c661b8e5
[DOC] update Integer#<< doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 12:29:41 +00:00
akr
06ca50338b
{Fixnum,Bignum}#<< is unified into Integer.
...
* numeric.c (rb_int_lshift): {Fixnum,Bignum}#<< is unified into
Integer.
* bignum.c (rb_big_lshift): Don't define Bignum#<<.
* internal.h (rb_big_lshift): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 12:23:05 +00:00
akr
69fbb21c12
{Fixnum,Bignum}#>> is unified into Integer.
...
* numeric.c (rb_int_rshift): {Fixnum,Bignum}#>> is unified into
Integer.
* bignum.c (rb_big_rshift): Don't define Bignum#>>.
* internal.h (rb_big_rshift): Declared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-26 12:09:40 +00:00