nobu
a0248a2ba1
* lib/mkmf.rb (try_do): log no source when no developement env.
...
* lib/mkmf.rb (create_makefile): srcprefix always needs $(srcdir).
* lib/mkmf.rb (create_makefile): yield configuration if a block is
given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 02:09:51 +00:00
naruse
6899b6ff80
* enc/trans/utf8_mac.trans (buf_shift_char): don't see uninitialised
...
value. [ruby-dev:40233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 00:56:10 +00:00
nobu
796931aa09
* common.mk (help): updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26463 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-29 00:50:13 +00:00
matz
d9e84f2327
* lib/delegate.rb (Delegator#initialize_copy): use initialize_copy
...
instead of overriding clone/dup. [ruby-dev:40221]
it now always clones the target, it might cause incompatibility.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 16:47:21 +00:00
matz
d1499525d5
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): update RDoc to
...
denote that #to_i raises FloatDomainError for Inf and NaN.
* ext/bigdecimal/bigdecimal.c (BigDecimal_to_i): fast #to_i using
BigDecimal_split().
* bignum.c (conv_digit): use faster ISDIGIT() assuming ASCII.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 16:34:11 +00:00
svn
a715d95a82
* 2010-01-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 15:19:55 +00:00
mame
266ee3bc7a
* lib/cgi.rb: set autoload to CGI::HtmlExtension. [ruby-dev:40194]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 15:19:52 +00:00
naruse
62f8c207b2
* regcomp.c (onig_compile): initialize ScanEnv.
...
mainly to initialize env->warnings_flag [ruby-dev:40196]
* regparse.c (scan_env_clear): clear warnings_flag.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-28 00:50:17 +00:00
svn
15ae29a714
* 2010-01-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 16:59:06 +00:00
kazu
d42641db66
add ML ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 16:59:03 +00:00
mame
5f7f5098a6
* test/matrix/test_matrix.rb, test/matrix/test_vector.rb: add some
...
tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:34:03 +00:00
mame
0aafb0b4b6
* lib/thread.rb (ConditionVariable#wait, signal, broadcast): return
...
self (for 1.8 compatibility).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:30:37 +00:00
keiju
afc9fce01f
* lib/matrix.rb: add exception Matrix::ErrOperationNotImplemented
...
[ruby-dev:40149].
* lib/matrix.rb: change message of exception
Matrix::ErrOperationNotDefined [ruby-dev:40150], [ruby-dev:40176].
* lib/matrix.rb: add method Vector#/ [ruby-dev:40151].
* lib/matrix.rb(Matrix::Scalar#+,-,/): delete meaningless when
switch. [ruby-dev:40149]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:28:47 +00:00
kazu
606f59bbff
* vm_dump.c (bugreport_backtrace): trivial change.
...
* vm_dump.c (rb_vm_bugreport): uninitialized local variable i.
* test/ruby/test_rubyoptions.rb (TestRubyOptions#test_segv_test):
follow above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:25:27 +00:00
kazu
9c8f53c10d
* test/ruby/test_exception.rb
...
(TestException#test_thread_signal_location):
change test method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:25:19 +00:00
kazu
ea379a7f8d
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 14:25:13 +00:00
mame
a817c0b089
* lib/matrix.rb (determinant): fix name error.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 13:49:58 +00:00
mame
69eb602b02
* vm_eval.c (rb_backtrace): "circular require" warning was output to
...
stdout except the first line. All line is output to stderr now.
[ruby-dev:40147]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 13:29:01 +00:00
akr
bf4a6a0557
suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-27 12:04:17 +00:00
mame
1d3c2678e2
* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod, BigDecimal_mod,
...
BigDecimal_divmod, BigDecimal_div2): BigDecimal#% and #div returned
an array itself that was returned by #divmod.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 15:25:04 +00:00
svn
671c165b6d
* 2010-01-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 15:21:28 +00:00
mame
48b4d8c528
* ext/bigdecimal/bigdecimal.c (VpCtoV): do not raise infinity
...
exception for BigDecimal("0E200000000000").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 15:21:25 +00:00
akr
6ce4994231
suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 14:54:02 +00:00
naruse
bddadeeae4
* ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc. [Bug #2656 ]
...
patched by Hugh Sasse [ruby-core:27692] [ruby-core:27852]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 13:31:12 +00:00
mame
05d80e2fc6
* ext/bigdecimal/bigdecimal.c (VpCtoV): BigDecimal("0E200000000000")
...
was Infinity, not 0.
* test/bigdecimal/test_bigdecimal.rb: add a test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 12:52:49 +00:00
akr
96542c3678
* configure.in: test unsetenv returns a value.
...
unsetenv is void in older BSDs (FreeBSD 6 and OpenBSD 4.5 at least).
* hash.c (ruby_setenv): don't use the result of unsetenv if unsetenv
doesn't return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 12:41:43 +00:00
akr
fe98a03c53
* ext/socket/extconf.rb: suppress a warning.
...
* ext/extmk.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 12:34:51 +00:00
mame
b71cab7fa0
* vm.c (rb_vm_invoke_proc): this function must not catch TAG_RETURN
...
because vm_exec does. This caused rubyspec error. [ruby-dev:40158]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 11:28:38 +00:00
seki
e92661e647
* lib/drb/eq.rb: fix circular requrie in drb.
...
reported by akr. see [ruby-dev:40156] [ruby-core:27661]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 11:22:20 +00:00
naruse
0ba192d729
* ext/zlib/zlib.c (rb_gzfile_s_wrap): add rdoc.
...
patched by Hugh Sasse [ruby-core:27692]
* ext/zlib/doc/zlib.rd: removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 11:18:17 +00:00
naruse
6dc1a46323
* ext/strscan/strscan.c: fix rdoc. (length -> bytesize)
...
reported by Kornelius Kalnbach. see [ruby-core:27792]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 07:56:36 +00:00
akr
46c8b826fd
don't gnerate core file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-26 00:00:38 +00:00
akr
37679ee584
supress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 23:12:50 +00:00
akr
a967f738c8
* lib/matrix.rb: suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 22:08:29 +00:00
svn
7123baaf14
* 2010-01-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 18:23:02 +00:00
mame
f53d825447
* cont.c, vm_core.h, eval.c: because rb_protect must not be jumped by
...
callcc, revert r26407. And rename trap_tag to protect_tag and
change exception message (across trap -> across stack rewinding
barrier).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 18:22:58 +00:00
usa
6ebdbb30ad
* thread.c (do_select): wrong conditions. [ruby-core:27753]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 14:09:46 +00:00
mame
e090c62277
* test/ruby/envutil.rb: use method_defined? instead of
...
instance_methods.include?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 13:33:02 +00:00
mame
24f5161c39
* cont.c (rb_cont_call, cont_restore_1): remove trap_tag check because
...
it seems not to make sense. [ruby-dev:40121]
* vm_core.h, eval.c (rb_protect): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 13:22:16 +00:00
mame
1d415019bd
* test/ruby/envutil.rb: fix the check if instance method `ruby' is
...
defined or not.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 12:44:28 +00:00
mame
34bcba57a9
* test/ruby/test_rubyoptions.rb (test_segv_test): add a test for
...
bugreport trace dumper.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 12:18:50 +00:00
nobu
54e45b30cc
* file.c (be_chown, be_fchown, eaccess): suppressed warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 09:47:11 +00:00
nobu
57d4faec1b
* configure.in (RUBY_ARCHLIB): moved to version.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 09:16:14 +00:00
nobu
b148948982
* ext/pty/pty.c (pty_check): needs WNOHANG to poll, return $?, and
...
call raise_from_check() with pid_t. [ruby-dev:40141]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 08:47:04 +00:00
nobu
ccf67667b8
* version.c (RUBY_LIB, RUBY_*_LIB): moved from configures.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 08:36:14 +00:00
nobu
695c32a028
* include/ruby.h: removed duplication, added the macro for version.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 05:02:26 +00:00
nobu
423657b42c
* signal.c (USE_SIGALTSTACK): only when SA_SIGINFO also is
...
available. see [ruby-core:27768].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 03:11:46 +00:00
naruse
d5b0c4b1f3
* dln.c, file.c, io.c, signal.c: add __HAIKU__.
...
patched by Alexander von Gluck [ruby-core:27767]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 03:06:06 +00:00
naruse
0fdbdfbbda
* math.c (domain_check): ignore errno if y is inf.
...
r26335 is because NetBSD 5.0's asin and acos returns
0.0 with errno EDOM. But it breaks Linux whose gamma returns inf
with errno ERANGE on.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 02:51:16 +00:00
nobu
68e111176f
* string.c (rb_str_inspect): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-25 02:50:05 +00:00