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

5608 Коммитов

Автор SHA1 Сообщение Дата
eban a6610efee8 * 2004-11-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 16:48:37 +00:00
eban 86761931c8 * test/xmlrpc/test_webrick_server.rb : move `requrie "webrick/https"'
into #setup_http_server mohtod to avoid soap test errors.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 16:48:05 +00:00
eban 5913c969f1 * lib/test/unit/collector/dir.rb: typo fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 15:09:13 +00:00
eban ab55ad1afd * lib/test/unit/collector/dir.rb: better regex.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 15:01:20 +00:00
eban 0fe17f5d81 * lib/test/unit/collector/dir.rb: better support for -p/-x option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 13:45:46 +00:00
kou b37319295d * lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Image#have_required_values):
changed /rss/channel/image to be optional. [ruby-Bugs:1047]

* test/rss/test_maker_0.9.rb: added tests for the above.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 08:49:05 +00:00
kou 9be1ed43c8 * lib/rss/rss.rb (RSS::VERSION): 0.1.0 -> 0.1.1.
* lib/rss: #to_s used #tag.
* test/rss/test_to_s.rb: added.

* lib/rss/maker.rb (RSS::Maker.make): changed API. It's not
  received modules which is used as the second argument.

* lib/rss/xml-stylesheet.rb (RSS::XMLStyleSheet#alternate):
  changed return value type which is not String but Boolean.

* lib/rss/2.0.rb (RSS::Rss::Channel#ttl): changed return value
  type which is not String but Integer.

* lib/rss/0.9.rb (RSS::Rss::Channel): <skipDays> has <day>s and
  <skipHours> has <hour>s.
* lib/rss/maker/0.9.rb (RSS::Maker::RSS09::Channel): ditto.

* lib/rss/0.9.rb (RSS::Rss::Channel::Item): <item> has <category>s.
* lib/rss/maker/2.0.rb (RSS::Maker::Rss20::Channel::Item): ditto.

* lib/rss/2.0.rb (RSS::Rss::Channel): <channel> has <category>s.
* lib/rss/maker/2.0.rb (RSS::Maker::RSS20::Channel): ditto.

* lib/rss/trackback.rb: parent element has <trackback:about>s.
* lib/rss/maker/trackback.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 08:25:25 +00:00
eban 1c453c0608 * lib/xmlrpc/datetime.rb (XMLRPC::DateTime#==): should use Array()
instead of to_a.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 02:26:23 +00:00
eban e6a0f42c94 * lib/test/unit/collector/dir.rb: add support for directory name
with -p/-x options.

* test/testunit/collector/test_dir.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 02:22:57 +00:00
shugo 964171ebfa * ext/readline/readline.c (readline_s_set_completion_append_character):
accept nil.  [ruby-core:03765]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 01:38:38 +00:00
usa 2bf189db24 * 2004-11-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-19 00:07:12 +00:00
matz 5e2c8a40c3 * string.c (str_gsub): internal buffer should not be listed by
ObjectSpace.each_object().  [ruby-dev:24919]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 16:02:08 +00:00
aamine 5e2fdf0163 * ext/ripper/depend: Never regenerate lib/ripper/core.rb automatically. [ruby-dev:24911]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 14:42:54 +00:00
usa fce2bb5ea8 * win32/win32.[ch] (rb_w32_isatty): new function to replace MSVCRT's
isatty because it never sets errno.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 11:52:46 +00:00
matz 5141d3ea79 * hash.c (rb_f_getenv): prohibit for $SAFE=4. [ruby-dev:24908]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 08:11:12 +00:00
nobu fc20fdcbc8 * parse.y (f_rest_arg): store rest args into invisible local variabe
in order to get rid of SEGV at ZSUPER.  [ruby-dev:24913]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 08:06:09 +00:00
shugo 1e6cdc00e7 * ext/readline/readline.c: check $SAFE.
* test/readline/test_readline.rb: added tests for readline.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 06:12:12 +00:00
usa ac5eac4066 * 2004-11-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 03:55:04 +00:00
matz b28b7933a8 * process.c (proc_getpgrp): prohibit for $SAFE=2.
[ruby-dev:24899]

* process.c (get_pid): ditto.  [ruby-dev:24904]

* process.c (get_ppid): ditto.

* array.c (rb_ary_delete): defer rb_ary_modify() until actual
  modification.  [ruby-dev:24901]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 03:45:23 +00:00
nobu 76fd9b85d9 * ext/stringio/stringio.c: needs fcntl.h for O_* constants.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 02:27:00 +00:00
nobu 27e4aa4a93 * io.c, rubyio.h (rb_io_modenum_flags): exported.
* ext/stringio/stringio.c (strio_initialize): allow Fixnum as mode as
  well as IO.new does.  [ruby-dev:24896]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-18 01:11:01 +00:00
nahi e766a04a57 Wed Nov 17 23:47:30 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/ruby/test_settracefunc.rb: added.  [ruby-dev:24884]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 14:48:35 +00:00
mneumann eabc1fc658 * lib/xmlrpc/parser.rb, test/xmlrpc/test_features.rb: fixed "assinging to constants" warnings
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 11:51:08 +00:00
akr 6c8ffdbf32 * process.c (proc_getrlimit, proc_setrlimit): add rb_secure(2) to
methods of Process.{getrlimit,setrlimit}
  patched by Kazuhiro NISHIYAMA  <zn@mbf.nifty.com>


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 10:12:19 +00:00
gotoyuzo 3691ea5cf4 * test/openssl/ssl_server.rb: try to listen ports from 20443 to 20542
while failed in getting a TCPServer.

* test/openssl/test_x509name.rb: remove version dependence about
  nickname of OIDs.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 08:04:19 +00:00
nobu 9c1e33fc45 * dir.c (rb_push_glob): fix overrun. [ruby-dev:24886]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 04:05:18 +00:00
eban 46a9555860 * 2004-11-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 02:29:02 +00:00
matz 288ceaeec2 * re.c (rb_reg_initialize_m): should raise exception instead of
compile error.  [ruby-core:03755]

* string.c (rb_str_splice): move rb_str_modify() after
  StringValue(), which may alter the receiver.  [ruby-dev:24878]

* error.c (rb_error_frozen): now raise RuntimeError instead of
  TypeError.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7294 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-17 02:27:38 +00:00
mneumann 3ad741f132 * lib/xmlrpc/server.rb (CGIServer): fixed bug when client sends "Content-typ: text/xml; ..."
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 21:25:50 +00:00
matz 02f848f9a4 * numeric.c (flo_divmod): protect float values from GC by
assignment to local variables.  [ruby-dev:24873]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 14:51:38 +00:00
mneumann a74375b05f ChangeLog entry for XML-RPC changes I made during the last day
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 14:36:35 +00:00
mneumann f6c1872354 added howto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7287 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 14:12:53 +00:00
mneumann 597e0c74ba added new test case (which spawn off a webrick XML-RPC server)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 14:07:15 +00:00
mneumann 790a05a3b9 * fixed issue #998 (http://rubyforge.org/tracker/?func=detail&atid=1700&aid=998&group_id=426)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 13:35:45 +00:00
mneumann f5c2af51db * fixed test cases so that they can be run from any directory
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 10:55:47 +00:00
usa befb362acf * {bcc32,win32,wince}/setup.mak (-epilogue-): fix bug of previous commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 08:37:59 +00:00
usa 15de1b79f0 * {bcc32,win32,wince}/setup.mak (-epilogue-): remove config.h and
config.status to force updating them.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:30:42 +00:00
nobu 2d28e9d55b * ext/stringio/stringio.c (strio_read): position was ignored when a
buffer was passed.  http://www.yo.rim.or.jp/~nov/d/?date=20041116#p03


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 07:21:21 +00:00
matz b93479b8d9 * string.c (str_mod_check): frozen check should be separated.
[ruby-core:3742]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 04:55:14 +00:00
usa c2b7884076 * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): add
new option --exclude (-x) to skip some tests.

* lib/test/unit/collector/dir.rb (Test::Unit::Collector::Dir.exclude):
  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 04:39:22 +00:00
nobu 6116dd832c * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::options): use
Regexp conversion.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 02:19:44 +00:00
mneumann 8b38f8c03e * applied patch by MoonWolf <moonwolf@moonwolf.com> to allow parsing
datetime.iso8601 (e.g. 20041105T01:15:23Z).

* added test case


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 01:11:49 +00:00
usa 0cf2581ec1 * 2004-11-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-16 00:48:02 +00:00
mneumann 396b1f27ca * imported and refactored original test cases
* added methods XMLRPC::XMLParser.each_installed_parser and
  XMLRPC::XMLWriter.each_installed_writer to simply original test cases

* use Object#allocate instead of defining an empty #initialize

* module XMLRPC::Marshallable is now only used for tagging


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 23:26:20 +00:00
matz 67d54f209d * array.c (rb_ary_update): pedantic check to detect
rb_ary_to_ary() to modify the receiver.  [ruby-dev:24861]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 16:45:03 +00:00
akr 30b3ce3445 * configure.in: check rlim_t more portably. [ruby-core:3735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 10:05:17 +00:00
nobu e77fc75802 * misc/ruby-mode.el (ruby-special-char-p, ruby-parse-partial): handle
operator symbols.  [ruby-talk:120177]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 02:51:10 +00:00
matz 7320e53be1 * eval.c (Init_Proc): make proc as an alias to Proc.new.
[ruby-dev:24848]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-15 01:52:45 +00:00
matz 9d4144af09 * eval.c (rb_yield_0): lambda{}.call(1) should raise exception.
[ruby-talk:120253]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 16:00:36 +00:00
eban eeb6612e72 * 2004-11-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 15:45:15 +00:00