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

15074 Коммитов

Автор SHA1 Сообщение Дата
nagai 57746bb6fa * ext/tk/lib/tk.rb: bug fix. use ::RubyVM instead of ::VM [ruby-list:45676]
* ext/tk/tcltklib.c: update RELEASE_DATE


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 20:10:28 +00:00
tadf ef38a43c50 * complex.c (nurat_{to_s,inspect}): provides better representation
for in-finite imag part.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 16:43:01 +00:00
tadf 28c53aabca * complex.c (f_signbit): NaN may be signed value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 16:28:17 +00:00
akr ec324872d5 update rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 15:02:49 +00:00
svn a30be4c319 * 2008-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 15:02:15 +00:00
akr 30b8f1ee2b * process.c (EXEC_OPTION_DUP2_CHILD): defined.
(check_exec_redirect_fd): check :in, :out and :err.
  (check_exec_redirect): check [:child, fd].
  (check_exec_fds): validate EXEC_OPTION_DUP2_CHILD array.
  (run_exec_dup2_child): new function.
  (rb_run_exec_options): call run_exec_dup2_child.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 15:02:10 +00:00
nobu 8c01ec883a * parse.y (expr): keyword_not can continue across newline.
[ruby-core:20252]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 13:54:42 +00:00
nobu 6e0f413f01 * iseq.c (simple_default_value): returns simplest assignment only.
[ruby-core:20237]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 13:41:01 +00:00
akr ca209c80e9 * process.c (check_exec_redirect): accept :in, :out, :err as redirect
target.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 12:33:37 +00:00
tadf e98e384be0 revert.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 12:19:05 +00:00
nobu 13424f32fe * ext/tk/tcltklib.c (ip_ruby_cmd, ip_invoke_with_position): must
not access internal union directly.  [ruby-list:45670]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 05:48:55 +00:00
nobu f71dcc1b54 * ChangeLog: fixed function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20459 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 03:24:10 +00:00
nobu aa39c4491a * io.c (rb_io_getc, rb_io_readchar): documentation correction from
Emiel van de Laar.  [ruby-core:20212]

* ext/stringio/stringio.c (strio_ungetbyte): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 03:22:12 +00:00
nobu fea206e9b9 properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 03:21:38 +00:00
matz 684f94c0ed * lib/rexml/xpath.rb (REXML::XPath.first): apply documentation
patch from Ken Bloom in [ruby-core:20213].

* lib/rexml/xpath.rb (REXML::XPath.each): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-03 00:31:58 +00:00
mame 7fd3ac4895 * test/ruby/test_rational.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 17:58:17 +00:00
mame 181ffea5e0 * test/ruby/test_range.rb: add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 17:53:48 +00:00
mame 0863013b96 * test/ruby/test_string.rb: add some tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 17:26:31 +00:00
svn 3e2311f66c * 2008-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 17:05:50 +00:00
mame 0646c1e0d6 * ext/pty/pty.c (Init_pty): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 17:05:46 +00:00
akr 852b4629c1 * lib/open3.rb (Open3.popen3): merge hash options if given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 10:23:48 +00:00
akr e44a6c4708 move the previous comment.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 10:00:10 +00:00
akr db197f296f add comment for select behavior on file descriptors over FD_SETSIZE.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 08:52:19 +00:00
matz 348d715eaa * lib/net/protocol.rb (Net::BufferedIO#rbuf_fill): use
read_nonblock instead of sysread wrapped by timeout to boost
  performance.  a patch from Aaron Patterson in [ruby-core:20191].
  fix #806

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:34:19 +00:00
usa a01e1cfb5b * test/socket/test_tcp.rb (test_recvfrom): already can run on mswin32.
* test/socket/test_tcp.rb (test_recvfrom, test_encoding): use IP address instead
  of host name.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:14:37 +00:00
svn df5e7b9dbe * 2008-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:02:27 +00:00
usa 14c06bd441 * test/socket/test_tcp.rb (test_recvfrom, test_encoding): shouldn't assume
that th is not nil.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-02 06:02:23 +00:00
yugui 67b445f895 * set 1.9.1-p5000 into version number. [ruby-dev:36998]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 14:24:48 +00:00
usa 13a79948fe * signal.c (register_sigaltstack): no need to define on non-sigaltstack
platform.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 06:49:34 +00:00
nobu a918afe05e * cont.c (rb_fiber_start): calls with exact argument number.
[ruby-core:20088]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 03:00:48 +00:00
svn dd9f8e5ac9 * 2008-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 02:35:17 +00:00
nobu b1d93b947c properties.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-12-01 02:35:09 +00:00
yugui 4586802dff * man/rake.1: new manual page
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30 12:42:01 +00:00
yugui f8a577aa4e man/goruby.1: fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30 09:48:30 +00:00
yugui 1fe2fae259 * test/ruby/test_regexp.rb (TestRegexp#test_parse_curly_brace):
now accepts quantifier on anchrs agian by r20391.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-30 09:04:51 +00:00
svn e49315f9f3 * 2008-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 15:00:53 +00:00
yugui 56d19a9e8b * man/irb.1 (EXAMPLES): new section
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 15:00:48 +00:00
yugui 2a86c3e86a * man/irb.1: typo fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 14:26:47 +00:00
matz f7692a3373 * regparse.c (is_invalid_quantifier_target): Perl and old Ruby
accepts quantifier on anchors.  [ruby-core:20161]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 10:55:51 +00:00
matz 23e6fc744e * ext/socket/socket.c (sock_getaddrinfo): should have updated for
Mac OS X.  a patch from Shumpei Akai in [ruby-dev:37234]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-29 09:30:46 +00:00
svn 7701fde3b7 * 2008-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 15:23:13 +00:00
matz 776af67b28 * cont.c (fiber_alloc): separate allocation and initialization.
allow subclass to override #initialize.   [ruby-core:20086]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 15:23:09 +00:00
matz 46e431e3eb * ext/socket/socket.c (sock_s_getaddrinfo): refactored to remove
code duplication regarding getaddrinfo.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 09:32:20 +00:00
keiju 3c6b1bfbe4 * ChangLog: spell miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 09:00:31 +00:00
keiju 157ed5c674 * lib/foerwardable.rb: should be usable def_single_delegator for
Class and Module.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 08:59:20 +00:00
nobu 46e3b0fe7b * iseq.c (simple_default_value): extracts simplest default
argument value.

* iseq.c (rb_iseq_parameters): returns parameter list.

* proc.c (get_proc_iseq, get_method_iseq): handles ifunc and
  bmethod.

* proc.c (rb_proc_parameters, rb_method_parameters): added
  Proc#parameters and Method#parameters.  [ruby-core:19759]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-28 04:19:37 +00:00
matz 4d3f3af836 * ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): bigdecimal
division (including modulo) should raise ZeroDivisionError as
  integer division. [incompatible]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 17:20:08 +00:00
svn 6fd76fdb14 * 2008-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 16:01:58 +00:00
matz 90add5db45 * numeric.c (flodivmod): floating point division should raise
ZeroDivisionError as integer division. [incompatible]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 16:01:54 +00:00
matz ce5063c283 * gc.c (gc_mark): still needs to check stack depth during GC.
* gc.c (stack_check): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-27 14:55:45 +00:00