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

7314 Коммитов

Автор SHA1 Сообщение Дата
nobu 00f96715f3 * eval.c (calling_scope_t): gave names to magic numbers for rb_call().
[ruby-dev:27978]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 15:32:00 +00:00
eban fc0434bc1d * 2005-12-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 15:30:31 +00:00
akr ed75a38f76 remove unused variable `tmp'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 15:29:03 +00:00
nobu 2eac4d0fb4 * lib/rexml/encoding.rb (encoding=): give priority to particular
conversion to iconv.  [ruby-core:06520]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 14:31:47 +00:00
eban c7143d7779 * 2005-12-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 14:19:27 +00:00
nobu c4c90eca34 * range.c (range_include): return false unless included in numeric
range.  fixed: [ruby-dev:27975]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-09 14:17:09 +00:00
nobu 949f6fe394 * eval.c (umethod_bind): adjust invoking class for module method.
[ruby-dev:27964]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 17:08:40 +00:00
eban 074313aed9 * 2005-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 15:50:31 +00:00
matz 41c48d1ee8 * eval.c (call_trace_func): klass parameter should be a
class/module that defines calling method.  [ruby-talk:169307]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 15:46:49 +00:00
matz da32ce1a67 * sprintf.c (rb_f_sprintf): [ruby-dev:27967]
* range.c (range_include): use discrete membership for non Numeric
  values, for example, String.

* numeric.c (num_scalar_p): new method. [ruby-dev:27936]

* lib/complex.rb (Complex#scalar?): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 08:41:59 +00:00
matz e122cca179 * sprintf.c (rb_str_format): integer overflow check added.
* sprintf.c (GETASTER): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-07 06:36:38 +00:00
nagai dfcbc92614 * ext/tk/tcltklib.c: forgot to update RELEASE_DATE.
* ext/tk/lib/tk.rb: ditto.
* ext/tk/sample/demos-en/menu.rb: commit miss.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06 16:24:22 +00:00
eban ff6a6a0e28 * 2005-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06 16:16:32 +00:00
nagai 976124788e * ext/tk/README.macosx-aqua: [new document] tips to avoid the known
bug on platform specific dialogs of Tcl/Tk Aqua on MacOS X.
* ext/tk/tcltklib.c: fix bug on switching threads and waiting on the
  deleted interpreter on vwait and tkwait command.
* ext/tk/lib/multi-tk.rb: kill the meaningless loop for the deleted Tk
  interpreter.
* ext/tk/sample/demos-jp/image3.rb: [bug fix] wrong argument.
* ext/tk/sample/demos-en/image3.rb: ditto.
* ext/tk/sample/demos-jp/menu.rb: fix message for MacOS X.
* ext/tk/sample/demos-jp/menu8x.rb: ditto.
* ext/tk/sample/demos-en/menu.rb: ditto.
* ext/tk/sample/demos-jp/widget; update version-info.
* ext/tk/sample/demos-en/widget; ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06 16:05:50 +00:00
matz 6b6ddb6cdf ChangeLog fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06 08:20:04 +00:00
matz 088fb2a36e * gc.c (ruby_xmalloc2): change check for integer overflow.
[ruby-dev:27399]

* gc.c (ruby_xrealloc2): ditto.

* eval.c (exec_under): avoid accessing ruby_frame->prev.
  [ruby-dev:27948]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-06 07:52:18 +00:00
eban 445d6076d8 * 2005-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-02 11:24:44 +00:00
ocean 47debbfa60 * dir.c (Compare): should not fold double byte alphabet on win9x.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-12-02 10:10:19 +00:00
eban ff5e9feced * 2005-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 15:55:48 +00:00
nobu 7d3b09acf2 * eval.c (rb_funcall2): allow to call protected methods.
fixed: [ruby-dev:27890]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 15:51:05 +00:00
nobu 2267384c1b * parse.y (struct parser_params): fields common to ripper must be
placed at each same offset.

* parse.y (NEWHEAP, ADD2HEAP): set count after pointer was set.
  fixed: [ruby-dev:27896]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 14:52:30 +00:00
akr 1717014d72 A trick for negative address removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 05:02:37 +00:00
matz cced56ef7c * misc/ruby-mode.el (ruby-expr-beg): support $! at the end of
expression.   [ruby-dev:27868]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 04:50:04 +00:00
eban 0711cf3cd8 * 2005-11-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 04:47:50 +00:00
akr 1ebb904958 ChangeLog lib/pp.rb
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-30 04:44:12 +00:00
nobu 96aa0c2a8f * parse.y (struct parser_params): heap must be placed at same offset
also in ripper.y.  fixed: [ruby-dev:27846]

* parse.y (yycompile): prevent vparser from tail call optimization.
  fixed: [ruby-dev:27851]

* parse.y (parser_mark): value needs to be marked.
  fixed: [ruby-dev:27845]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-29 14:57:18 +00:00
eban 684b527b58 * 2005-11-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-29 14:19:44 +00:00
seki e5857628fc follow change of observer.rb. fixed [ruby-core:6796]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-29 13:50:27 +00:00
akr 5a6ed851fe * lib/pp.rb (PP::PPMethods#object_address_group): adjust address format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 11:26:39 +00:00
usa 3be312869d * ext/socket/socket.c (init_inetsock_internal): remove setting
SO_REUSEADDR option on server socket on Cygwin.
  fixed: [ruby-core:6765] ([ ruby-Bugs-2872 ])


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 09:56:45 +00:00
usa 21d45159de * ext/socket/socket.c (init_inetsock_internal): remove setting
SO_REUSEADDR option on server socket. fixed: [ruby-core:6765]
  ([ ruby-Bugs-2872 ])


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 04:26:46 +00:00
ocean c43a23d49e * win32/win32.c (rb_w32_strerror): remove all CR and LF. (avoid broken
error message on bccwin32 + winsock)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 04:24:26 +00:00
usa 1e85f16423 * 2005-11-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 00:27:02 +00:00
ocean bb4507588c * lib/mkmf.rb (create_makefile): should not change sodir with
dir.gsub!. (bccwin32 failed to install third party exntesions)
  [ruby-dev:27834]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-28 00:22:53 +00:00
akr 66283e1c0f * lib/pathname.rb: use File.basename to decompose pathnames.
experimental Windows support.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 20:43:08 +00:00
eban 14a0dd769e * 2005-11-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 16:05:41 +00:00
nahi 269558f209 * lib/wsdl/xmlSchema/complexContent.rb: missing
ComplexContent#elementformdefault method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 16:01:31 +00:00
eban f18ce88411 * 2005-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 11:01:20 +00:00
eban ceefeadd4f * dln.c (conv_to_posix_path): should initialize posix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-26 11:01:01 +00:00
nagai 8245833fb4 commit miss.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 07:12:58 +00:00
nagai b244f5d57b * sample/tkextlib/tile/demo.rb: bug fix
* sample/tkextlib/tile/themes/*: add some themes (blue, keramik, and
  plastik; require Tile-0.5 or later).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 07:05:22 +00:00
matz 9c5a4caf72 * range.c (range_max): treat end exclusion without iteration if
the end value is an integer.  [ruby-talk:167433]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 05:42:28 +00:00
usa 689cc98238 * 2005-11-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 04:45:38 +00:00
kou 254670b3bc * lib/rss/rss.rb: added backward compatibility codes.
* lib/rss/parser.rb: ditto.
* test/rss/test_parser.rb: ditto.
* test/rss/test_2.0.rb: ditto.

* test/rss/test_content.rb: use #__send__ instead of #funcall for
  no private method.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 03:54:29 +00:00
kou 456ba712fe * lib/rss/rss.rb: improved type conversion.
* lib/rss/1.0.rb: ditto.
* lib/rss/0.9.rb: ditto.
* lib/rss/2.0.rb: ditto.
* lib/rss/image.rb: ditto.
* lib/rss/syndication.rb: ditto.

* test/rss/test_2.0.rb: added type conversion tests.
* test/rss/test_accessor.rb: ditto.
* test/rss/test_to_s.rb: ditto.
* test/rss/test_syndication.rb: ditto.
* test/rss/test_setup_maker_2.0.rb: ditto.
* test/rss/test_setup_maker_1.0.rb: ditto.
* test/rss/test_setup_maker_0.9.rb: ditto.
* test/rss/test_maker_sy.rb: ditto.
* test/rss/test_maker_image.rb: ditto.
* test/rss/test_maker_2.0.rb: ditto.
* test/rss/test_maker_0.9.rb: ditto.
* test/rss/test_image.rb: ditto.

* test/rss/test_maker_1.0.rb: use assert instead of assert_equal.

* test/rss/rss-assertions.rb: improved type conversion assertions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 03:43:48 +00:00
kou ea0e7c1599 * lib/rss/image.rb: added Image prefix.
* lib/rss/maker/image.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 01:39:16 +00:00
kou ce4befa488 * test/rss/test_2.0.rb: added RSS 2.0 tests.
* test/rss/rss-assertions.rb: extended XML stylesheet assertion.
* lib/rss/0.9.rb: added initialize method.
* test/rss/test_1.0.rb: cleanup.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 01:33:50 +00:00
matz 8449be98d1 * range.c (range_min): use <=> comparison rather than iteration.
[ruby-talk:167420]

* range.c (range_max): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-25 01:30:57 +00:00
eban 207b7ca66a * 2005-11-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 16:38:30 +00:00
ocean 427c2754e9 * file.c (w32_io_info): CreateFile failed on Win9x if file was already
opened. (FILE_SHARE_READ was needed, but actually I don't understand
  the flags of CreateFile well...)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 16:32:47 +00:00