svn
4f662fe74f
* 2014-08-25
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25 02:24:22 +00:00
normal
0ae8dd168e
rb_iseq_location_t: change first_lineno type to VALUE
...
Nearly all current uses of iseq->location.first_lineno are as a
VALUE, not a size_t. The only exception was the experimental
(and currently unused) rb_iseq_build_for_ruby2cext function.
* vm_core.h (rb_iseq_location_t): change first_lineno type to VALUE
* iseq.c (rb_iseq_build_for_ruby2cext): update based on argument
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-25 02:24:10 +00:00
hsbt
2afed6ecef
* lib/e2mmap.rb: remove needless instance variables.
...
* lib/irb.rb: ditto.
* lib/irb/**/*.rb: ditto.
* lib/shell.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 07:16:25 +00:00
hsbt
a3a6c69656
* test/ruby/test_complex.rb: removed needless conditions.
...
* test/ruby/test_rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 03:45:03 +00:00
hsbt
6d67a48876
* test/ruby/test_rational.rb: fixed indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 02:47:59 +00:00
hsbt
e9e99651e3
* test/ruby/test_rational.rb: remove commented-out code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 02:44:34 +00:00
normal
03fa0c4986
lib/benchmark.rb (measure): reduce allocations as in r47260
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 02:10:28 +00:00
svn
4d31df0342
* 2014-08-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 02:03:17 +00:00
normal
249bd1ed2a
lib/benchmark.rb: speedup by reducing allocations
...
* lib/benchmark.rb (module Benchmark): define BENCHMARK_CLOCK
(realtime): use Process.clock_gettime(BENCHMARK_CLOCK)
[Feature #10165 ]
* test/benchmark/test_benchmark.rb (test_realtime_output): new test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-24 02:03:06 +00:00
nobu
ccbeb0d6dc
* win32/win32.c (cmdglob): use inline function.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23 13:32:32 +00:00
svn
e698311038
* 2014-08-23
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23 02:52:34 +00:00
nobu
e2418c39bd
ruby.c: reduce RARRAY_PTR_USE region
...
* ruby.c (process_options): reduce RARRAY_PTR_USE region, make the
path to be set before entering the region.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-23 02:52:23 +00:00
kou
01606c71de
ChangeLog: Remove garbage introduced at r47253.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 11:54:17 +00:00
ko1
7bfaa467ce
* string.c (rb_fstring): fix condition (easy to cause infinite loop!).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 11:24:38 +00:00
ko1
32dcb81d58
* string.c (rb_fstring, fstr_update_callback): simply delete garbage
...
key first.
Garbage keys can be swept by lazy sweeping invoked by creating new
fstring. So that simply do:
(1) delete garbage key and return `fstr_update_callback' immediately
(2) try again `fstr_update_callback()' to create a new fstr.
This bug can be cause memory corruption, reported by
http://u64.rubyci.org/~chkbuild/ruby-trunk/log/20140821T220302Z.fail.html.gz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 11:16:56 +00:00
hsbt
51c3acb6f4
* test/ruby/test_complex.rb: removed commented-out code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47251 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 10:30:56 +00:00
hsbt
8a29e5b44b
* test/ruby/test_complex.rb: fixed broken tests. Math is not
...
compatible CMath now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 10:28:36 +00:00
nobu
9261f25e0f
provide backward compatibilities
...
* complex.c (Init_Complex): provide the feature for backward
compatibility.
* rational.c (Init_Rational): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 08:01:42 +00:00
nobu
f024d46f11
tool/vcs.rb: no time.rb
...
* common.mk (Doxyfile): revert r43888, not to require preinstalled
ruby. [ruby-core:64488] [Bug #10161 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:46 +00:00
nobu
3229456d40
rbinstall.rb: remove unused variable
...
* tool/rbinstall.rb: $vcs is no longer used since r46513.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 06:36:09 +00:00
hsbt
4c91cbb9a8
* lib/shell.rb: removed commented-out code.
...
* lib/shell/builtin-command.rb: ditto.
* lib/shell/command-processor.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 03:32:36 +00:00
hsbt
6f74ab1d97
* lib/complex.rb: removed deprecated library.
...
* lib/rational.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 03:21:55 +00:00
svn
faa92cde0d
* 2014-08-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 02:39:13 +00:00
hsbt
a84821f8dd
* lib/prettyprint.rb: removed PrettyPrint#first?
...
because it is obsoleted method since Ruby 1.8.2
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-22 02:38:59 +00:00
nobu
34ec7c5b49
win32/test_console_attr.rb: reset attributes
...
* ext/-test-/win32/console/attribute.c (console_set_attribute):
set console attribute.
* test/-ext-/win32/test_console_attr.rb (reset): reset attributes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 13:10:34 +00:00
nobu
43b00d8a11
win32.c: manage reverse video
...
* win32/win32.c (constat_attr): manage reverse video internally
since Windows console window does not manage it. based on the
patch by white leaf in [ruby-dev:48483]. [Bug #10158 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 08:10:34 +00:00
hsbt
4d9de3db0a
* lib/e2mmap.rb: removed commented-out code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 05:45:47 +00:00
nobu
3118c4c46e
compar.c: use Module#to_s
...
* compar.c (rb_cmperr): use Module#to_s so that names in a message
can be overridden by to_s.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:39:32 +00:00
nobu
dafeb23e99
struct.c: no rb_class_real twice
...
* struct.c (inspect_struct): as rb_obj_class() returns real class
name, so rb_class_name is not needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:39:28 +00:00
svn
36ee0a83fe
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:24:04 +00:00
hsbt
59ca946543
* lib/rinda/ring.rb: split executable code into sample directory.
...
* sample/rinda-ring.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:23:56 +00:00
hsbt
bff692b94d
* lib/drb/acl.rb: split executable code into sample directory.
...
* sample/drb/acl.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 04:23:43 +00:00
hsbt
9cb4054cde
* .gitignore: ignored temporary file for Changelog.
...
http://mkosaki.blog46.fc2.com/blog-entry-1284.html
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:55:52 +00:00
svn
8759a73111
* properties.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:40:52 +00:00
hsbt
ef4c25720a
* lib/net/imap.rb: split executable code into sample directory.
...
* sample/net-imap.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:40:42 +00:00
svn
2fbca47789
* 2014-08-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:24:17 +00:00
hsbt
c6efc649f8
* lib/net/imap.rb: removed commented-out code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-21 03:24:06 +00:00
nobu
9b569069b2
.travis.yml: remove generated directories
...
* .travis.yml (before_script): remove directories generated
previously.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 08:37:54 +00:00
nobu
86c72d1a9c
configure.in: quote defun names
...
* configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS),
(RUBY_CHECK_BUILTIN_SETJMP, RUBY_SETJMP_TYPE),
(RUBY_STACK_GROW_DIRECTION): quote defun names, for some
versions of autoconf possibly. [ruby-core:64473] [Bug #10156 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 08:27:05 +00:00
svn
8e274670ec
* 2014-08-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 01:33:50 +00:00
nobu
776e96d183
test_thread.rb: let main thread exit from Thread.new
...
* test/ruby/test_thread.rb (test_main_thread_status_at_exit): let
the main thread run to ensure exiting from Thread.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-20 01:33:40 +00:00
nobu
28dd61607e
sprintf.c: fix condition
...
* sprintf.c (rb_str_format): fix condition to round.
[ruby-core:64454] [Bug #10151 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 13:28:32 +00:00
nobu
f587347c28
euckr-tbl.rb: euro and registered signs
...
* enc/trans/euckr-tbl.rb (EUCKR_TO_UCS_TBL): add missing euro and
registered signs. [ruby-core:64452] [Bug #10149 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 13:22:46 +00:00
nobu
40db3d97ac
compar.c: preserve encodings
...
* compar.c (rb_cmperr): preserve encodings of arguments in the
message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 04:59:44 +00:00
nobu
f9b7a2a33f
win32ole.c: check overflow
...
* ext/win32ole/win32ole.c (ole_invoke): check integer overflow on
win64 platforms.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:29:45 +00:00
svn
b38142e972
* 2014-08-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:13:36 +00:00
nobu
a198bb3929
thread.c: check initialized
...
* ext/thread/thread.c (get_array): check instance variables are
initialized properly. [ruby-core:63826][Bug #10062 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-19 01:13:24 +00:00
nobu
1d196e0d2b
sprintf.c: rational 'f' format
...
* sprintf.c (rb_str_format): support rational 'f' format.
[ruby-core:64382] [Bug #10136 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 08:06:48 +00:00
nobu
22892ca6c2
sprintf.c: remove magic numbers
...
* sprintf.c (rb_str_format): name default float precision and
remove unused initial value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 08:06:37 +00:00
nobu
1767764791
test_time_tz.rb: has_lisbon_tz
...
* test/ruby/test_time_tz.rb (has_lisbon_tz): separate from
has_right_tz.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-08-18 00:04:32 +00:00