Граф коммитов

12895 Коммитов

Автор SHA1 Сообщение Дата
ko1 285066dd0b * configure.in: need a ",".
* process.c (rb_fork): check CANNOT_FORK_WITH_PTHREAD macro.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 21:53:40 +00:00
ko1 d4cddaaa4c * vm_eval.c (vm_call_super): fix to call method_missing.
[ruby-core:15719], [ruby-core:17340]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 21:52:44 +00:00
svn d7a87286a7 2008-06-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 15:00:31 +00:00
nobu de15273702 * ruby.c (set_arg0, ruby_prog_init): freeze $0. a patch from Keita
Yamaguchi <keita.yamaguchi at gmail.com>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 15:00:16 +00:00
mame 478d1da7fa * string.c (rb_str_index_m, rb_str_rindex_m, rb_str_include): fix
rdoc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 14:58:59 +00:00
matz 94dc6bdd7a ChangeLog: need address tweak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 08:47:30 +00:00
matz 4524572f79 * variable.c (rb_f_trace_var): should not be allowed at safe level 4.
a patch from Keita Yamaguchi <keita.yamaguchi@gmail.com>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 08:44:59 +00:00
drbrain 8b424513fd Upgrade to RubyGems 1.2.0 r1824. Incorporates [ruby-core:17353].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-26 02:06:00 +00:00
svn dbf3fb3d8e 2008-06-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 15:49:21 +00:00
matz d8c930dd06 * parse.y (primary): not operand might be empty. [ruby-dev:35227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 15:49:17 +00:00
matz 89080e0254 * parse.y (primary): make functional-style not operator to act
like function.  see <http://d.hatena.ne.jp/ku-ma-me/20080624/p1>.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 12:55:47 +00:00
nobu d02ef8342c * array.c (rb_ary_fill): not depend on unspecified behavior at integer
overflow.  reported by Vincenzo Iozzo <snagg AT openssl.it>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 06:28:53 +00:00
naruse f94c46a745 * lib/erb.rb (ERB::Compiler:Buffer#new): push magic comment first.
* lib/erb.rb (ERB::Compiler#compile): fix for broken input.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 04:44:32 +00:00
naruse 30e263fc07 * lib/erb.rb (ERB::Compiler#compile): magic comment needs LF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 03:10:57 +00:00
naruse 8eb4988a03 * lib/erb.rb (ERB::Compiler#compile): output magic comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-25 00:33:11 +00:00
mame f32f40cc49 * vm_eval.c (eval_string_with_cref): preserve parse_in_eval even if
exception raised.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 13:16:44 +00:00
suke 238738f314 * ext/win32ole/win32ole.c(ole_invoke): fix memory leak.
[ruby-bugs-20792]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 13:11:21 +00:00
nobu ac531a8aa8 * configure.in (rb_cv_fork_with_pthread): check after check for
pthread library, and define the macro when checked only.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 08:20:42 +00:00
usa a0e7746d78 * ext/io/wait/extconf.rb: check sys/socket.h for cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 08:05:06 +00:00
usa 404dda9716 * io.c (io_reopen): remove cygwin handling because it seems to be for
C's stdio.
	  fixed [ruby-dev:35183]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 07:54:05 +00:00
usa 5bf133eb50 * test/ruby/test_process.rb (test_exec_wordsplit): on win32, exec'ed process is not child but grandchild.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 02:37:51 +00:00
usa d3a0ef8198 * include/ruby/win32.h, win32/win32.c (rb_w32_getppid): now support
getppid() on win32 (but only Win2k or later).

	* process.c (get_ppid): remove win32 special logic.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 02:14:00 +00:00
usa b6cab6e8f1 * test_process.rb (test_popen_fork): skip test if fork is not implemented.
* test_process.rb (test_getpriority): skip test if Process::PRIO_USER is not
  defined.

* test_process.rb (test_setpriority): cannot rescue exceptions which raise in
  assert_nothing_raised. check Process:PRIO_USER before test to skip instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 01:26:54 +00:00
usa 1a13281ab7 * ext/socket/socket.c (init_sock): socket is binmode on platforms
which support binmode.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-24 00:41:38 +00:00
mame 59e103794e * compile.c (iseq_build_from_ary): initialize arg_opts, a patch from
Adam Strzelecki <ono@java.pl> in [ruby-core:17220].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 15:23:12 +00:00
svn a1c3a776e8 2008-06-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 15:12:38 +00:00
wanabe 266a84c904 * compile.c (iseq_build_from_ary): fix expression to obtain
iseq->local_size and iseq->local_table_size.  [ruby-dev:35205]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 15:12:29 +00:00
svn 6b20b1e464 2008-06-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 03:36:29 +00:00
matz 473acf0a31 * lib/mathn.rb (Rational::power2): removed incomplete method.
see [ruby-dev:35195].   [ruby-core:17293]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-23 03:36:25 +00:00
nobu 3f1f29037d * ext/readline/extconf.rb (have_readline_func): readline on Mac OS X
needs headers to detect some functions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 05:16:30 +00:00
nobu fa57f78b9b * object.c (rb_class_superclass): rdoc improvement, a patch from
Gaston Ramos <ramos.gaston AT gmail.com> in [ruby-core:17371].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 00:51:17 +00:00
shyouhei 3381bd94d1 * README.EXT: translated README.EXT.ja
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-22 00:24:45 +00:00
usa 275c6951cc * ChangeLog: add reporter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:12:00 +00:00
eban 0463e736d8 auto update version.h test last
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:10:59 +00:00
svn c6f664fbf2 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:09:31 +00:00
eban 2d305a251d auto update version.h test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:09:28 +00:00
eban eedf67a8af reverted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:06:39 +00:00
svn 2712b68272 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:06:03 +00:00
eban 02aa4bb020 auto update version.h test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:06:00 +00:00
eban 00e6cbb0a8 reverted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:01:41 +00:00
svn 15bb75646a 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:00:41 +00:00
eban 6852497a13 auto update version.h test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:00:38 +00:00
eban b12d241ab0 reverted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 16:00:02 +00:00
svn 88a0e3c0d4 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:55:37 +00:00
eban e30a62f1ff auto update version.h test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:55:30 +00:00
eban 19861f925a reverted
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:49:38 +00:00
svn f977e38f3c 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:45:20 +00:00
usa 7c936bcbb7 * win32/win32.c (rb_w32_osid, rb_w32_osver, CreateChild): XP is
is different from Vista about pipe handle inheritance.
	  fixed [ruby-core:17367]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:45:16 +00:00
svn 8fc91349e9 2008-06-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:41:03 +00:00
usa d8bac55788 * README.EXT.ja: add note about mark and free.
(now we are testing auto version.h updating.)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-21 15:40:59 +00:00