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

7280 Коммитов

Автор SHA1 Сообщение Дата
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
matz 4f85b9edfb * numeric.c (num_div): use floor rather than rb_Integer().
[ruby-dev:27674]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 14:54:43 +00:00
kou 93402a2f17 * lib/rss/parser.rb: added entity handling type predicate.
* lib/rss/rexmlparser.rb: ditto.
* lib/rss/xmlparser.rb: ditto.
* lib/rss/xmlscanner.rb: ditto.

* lib/rss/xmlscanner.rb: more robust entity handling.

* test/rss/test_parser.rb: added an entity handling test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 13:35:11 +00:00
nagai 4b87fa9de2 Add lacks for Tk8.5 support.
* ext/tk/lib/tk.rb: add Tk.pkgconfig_list and Tk.pkgconfig_get [Tk8.5 feature].
* ext/tk/lib/tk/text.rb: supports new indices modifires on a Text widget
  [Tk8.5 feature].
* ext/tk/lib/tk/virtevent.rb: add TkNamedVirtualEvent.
* ext/tk/lib/tk/autoload.rb: ditto.
* ext/tk/lib/tk/event.rb: add :data key for virtual events [Tk8.5 feature].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 12:01:24 +00:00
ocean 29bcbe5c5e * file.c (w32_io_info): should not call GetFileInformationByHandle
for pipe.

* file.c (w32_io_info): checks return value from rb_w32_get_osfhandle.

* file.c (w32_io_info): now can identify directory on WinNT.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 09:56:23 +00:00
kou 73cd292fcd * lib/rss/: use #__send__ instead of #send.
* test/rss/: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 09:49:02 +00:00
kou 4cfc20b20d * test/rss/test_taxonomy.rb: use #reject directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 09:33:49 +00:00
kou d32f46ad4b * lib/rss/taxonomy.rb: changed class or module prefix to
Taxonomy from Taxo.
* lib/rss/maker/taxonomy.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 09:32:22 +00:00
kou 4ef7ec62ca * lib/rss/maker/taxonomy.rb: implemented taxonomy module for RSS
Maker.
* lib/rss/taxonomy.rb: supported RSS Maker.
* lib/rss/maker.rb: added taxonomy module support.

* lib/rss/rss.rb: adjusted to other element API.
* lib/rss/1.0.rb: adjusted to other element API but backward
  compatibility is reserved.
* lib/rss/0.9.rb: ditto.

* test/rss/test_maker_taxo.rb: added test case for taxonomy module
  for RSS Maker.
* test/rss/test_setup_maker_1.0.rb: added tests for taxo:topic.

* test/rss/test_setup_maker_1.0.rb: added backward compatibility
  test.
* test/rss/test_setup_maker_0.9.rb: ditto.
* test/rss/test_setup_maker_2.0.rb: ditto.

* test/rss/rss-testcase.rb: added convenience method for setting
  up taxo:topic.
* test/rss/rss-assertions.rb: added assertion for taxo:topic.

* sample/rss/blend.rb: followed new API.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 09:24:17 +00:00
kou f988ceb53b * lib/rss/rss.rb: fixed a indentation bug.
* lib/rss/taxonomy.rb: fixed <taxo:topic> #to_s bug.
* test/rss/test_taxonomy.rb: added a #to_s test.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 08:44:05 +00:00
matz 7ff5d02f8b * re.c (KR_REHASH): should cast to unsigned for 64bit CPU.
[ruby-core:06721]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-23 05:11:18 +00:00
gotoyuzo 67673f6b47 * ext/openssl/extconf.rb: check for X509V3_EXT_nconf_nid.
* ext/openssl/ossl_x509ext.c (MakeX509ExtFactory): should use
  OPENSSL_malloc to allocate X509V3_CTX.

* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): use
  X509V3_EXT_nconf_nid to avoid SEGV (and to build extensions which
  values are placed in separate section).

* test/openssl/test_x509ext.rb: new file.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 22:29:13 +00:00
eban 462c97ebd7 * 2005-11-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 16:32:54 +00:00
nobu 4ef75249df * file.c (test_identical): test if two files are identical.
* file.c (rb_f_test): support DOSISH systems where st_ino is not
  reliable.  fixed: [ruby-core:06672]

* win32.h, win32.c (rb_w32_osid): check the running platform.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 16:26:39 +00:00
nobu e8a83b54cb * lib/optparse.rb: match incomplete (in current enconding) multibyte
string.  http://inamode6.tokuhirom.dnsalias.org/show/1551


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 14:53:16 +00:00
ocean abcbaa5c6f * win32/win32.c (winnt_stat): set mapped errno instead of ENOENT.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 09:42:09 +00:00
usa 333e8b294d * file.c (rb_file_s_basename): skip slashes just after UNC top slashes.
* test/ruby/test_path.rb (test_dirname, test_basename): follow new
  spec. and add new tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 05:39:50 +00:00
ocean 886f33e199 * win32/win32.c (rb_w32_stat): Dir.chdir('//server/shared');
p Dir.glob('*') should work on WinNT. (implemented our own
  stat(2) on WinNT) [ruby-list:41552] [ruby-dev:27711]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-22 04:32:39 +00:00
ryan 9372265026 Updated rdoc to fix timeout.rb and include rinda directory. By Eric Hodel
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 23:58:10 +00:00
eban 1eee80577f * 2005-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 17:36:31 +00:00
nagai 63e6a0a91f * ext/tk/lib/tkextlib/tile.rb: bug fix (Tk::Tile::USE_TTK_NAMESPACE
is not defined).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 17:34:12 +00:00
nobu 1ce26d09fe * file.c (rb_file_s_basename): DOSISH_UNC is defined on cygwin but
DOSISH is not.  fixed: [ruby-dev:27797]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 16:47:13 +00:00
nobu cc24146adc * parse.y (dsym): prohibit empty symbol literal by interpolation.
fixed: [ruby-talk:166529]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 13:52:49 +00:00
nobu e4b2293712 * file.c (rb_path_skip_prefix, rb_file_s_basename): UNC without path
should not be splitted.  fixed: [ruby-dev:27776] [ruby-dev:27786]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 13:21:47 +00:00
ocean cbb5d57a2a changed ml-number
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 07:21:50 +00:00
eban 873cfd06b3 * 2005-11-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 07:17:40 +00:00
ocean 90382d8aab * win32/setup.mk: findstr doesn't exist on win9x.
fixed: [ruby-dev:27756] (written by nobu)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-21 07:12:57 +00:00
matz 36fbf43b09 * regparse.c (fetch_token_in_cc): tok->escaped should be
initialized.  [ruby-dev:27763]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 13:42:57 +00:00
nobu 479a05bf89 * parse.y (rb_symname_p): [ not followed by ] is not valid symbol.
fixed: [ruby-talk:166520]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 13:36:05 +00:00
eban e125f5f171 * 2005-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 04:15:59 +00:00
akr a27ce746ad document that fork doesn't copy other threads
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 03:30:47 +00:00
ocean fbf2bcf37d * test/ruby/test_array.rb (test_misc): added some tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-20 01:26:39 +00:00
matz 9ad68774c1 * lib/fileutils.rb (FileUtils::ln): ln documentation fix.
[ruby-core:06661]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-19 11:42:51 +00:00
eban 9549ee64e1 * 2005-11-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-19 06:09:23 +00:00
ocean 0e97a81adf * ext/socket/socket.c: Socket Documentation. [ruby-core:6580]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2005-11-18 23:34:06 +00:00