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

5578 Коммитов

Автор SHA1 Сообщение Дата
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
matz 0f36ecebe0 * string.c (rb_str_clear): avoid revealing NULL pointer.
[ruby-dev:24766]

* string.c (str_gsub): add paranoid check. [ruby-dev:24827]

* string.c (str_mod_check): check frozen status as well.
  [ruby-dev:24801]

* lib/mathn.rb (Integer::gcd2): faster implementation by
  <erlercw@siu.edu>. [ruby-talk:120232]

* ext/gdbm/gdbm.c (fgdbm_store): StringValue() may alter string
  pointer.  [ruby-dev:24783]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 15:41:40 +00:00
akr 8f1c92af4f * process.c (proc_getrlimit): new function for Process.getrlimit.
(proc_setrlimit): new function for Process.setrlimit.
  [ruby-dev:24834]

* configure.in: check rlim_t and its size.  check setrlimit.

* ruby.h (NUM2ULL): new macro.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 10:06:16 +00:00
nobu 5d581bc314 * lib/pp.rb (PP#object_address_group): remove odd number of 'f'
prefixed to negative address.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 04:27:39 +00:00
eban 8f1e166499 * 2004-11-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-14 04:24:31 +00:00
nahi 12c788d061 Sun Nov 14 08:46:33 2004 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
* test/logger/test_logger.rb: Logger just expects
          Logger#datetime_format to be used for Time#strftime independently of
          locale. [ruby-dev:24828]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-13 23:50:46 +00:00
usa d51f21cee0 * bcc32/README.bcc32, win32/README.win32: need bison instead of
byacc.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 08:33:17 +00:00
usa 6069640f88 * 2004-11-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 06:16:03 +00:00
usa c4ce79084f * eval.c (ruby_options): now we cannot call rb_glob() before
ruby_init(), so call rb_w32_cmdvector() at ruby_options().

* win32.{c,h} (rb_w32_cmdvector): rename make_cmdvector() and
  export it.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 06:15:40 +00:00
nagai 47fa2caf2e * ext/tk/lib/tk/event.rb: remove $LOADED_FEATURES trick
* ext/tk/lib/tk.rb: ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-12 05:09:37 +00:00
matz 9f3d5e7172 * dir.c (rb_glob): should have called rb_glob_caller().
[ruby-dev:24773]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 08:59:20 +00:00
usa 0935d95369 * test/ruby/test_file.rb (test_truncate_wbuf): we want to test
only File#truncate, not behavior of seek(2).


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7250 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 07:56:38 +00:00
eban f6f5301179 * 2004-11-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-11 01:38:51 +00:00
nobu 20beabcb68 * error.c (syserr_initialize): use stringified object.
[ruby-dev:24768]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 16:53:26 +00:00
matz 7eaf299bf2 * lib/delegate.rb (SimpleDelegator::dup): wrong number of
arguments.

* lib/delegate.rb (DelegateClass::dup): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 13:52:08 +00:00
nobu 765c6a80e6 * dir.c (glob_helper): path is a string object now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 10:48:01 +00:00
matz 683400f427 * dir.c (rb_glob2): do not allocate buffer from heap to avoid
memory leaks.  use string object for buffering instead.
  [ruby-dev:24738]

* dir.c (join_path): ditto.

* io.c (io_read): external input buffer may be modified even after
  rb_str_locktmp().  [ruby-dev:24735]

* dir.c (fnmatch): p or s may be NULL.  [ruby-dev:24749]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 07:17:53 +00:00
nobu 63b9174a64 * README.EXT (Example): extconf.rb is indispensable now.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-10 03:31:55 +00:00
nagai cd84994255 * ext/tcltklib/tcltklib.c: fix SEGV when compiled with Tcl/Tk8.3.x or older
* ext/tk/lib/tkextlib/tile/style.rb: bug fix


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 18:35:52 +00:00
eban 3df602c018 * 2004-11-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 16:45:14 +00:00
naruse 877d48c8ae * ext/nkf: original nkf.c rev:1.38
* ext/nkf/nkf.c: fix bug: can't parse long-name options
* ext/nkf/test.rb: fix bug: mime tests fail


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 16:40:34 +00:00
naruse 4849f57d7b * remove dump list
* remove CR


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 13:34:43 +00:00
naruse 7b791b208a * nkf_test.pl rev:1.7
* fix bug: mime tests fail


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 13:25:54 +00:00
naruse cf943041cc * fix bug arround parse options
* add versioning constants


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 13:24:07 +00:00
naruse f441603f2a * nkf.c rev:1.38
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 13:23:05 +00:00
nobu 4c718c753e * lib/optparse.rb (OptionParser::Officious): moved from DefaultList.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-09 05:27:58 +00:00
eban 7c5c394f09 * 2004-11-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:57:31 +00:00
dave 79c4db675a Change version numbering of RDoc and ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:55:23 +00:00
seki 8b9422f502 add DRb::ExtServManager#uri=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 15:45:31 +00:00
dave 37abc5eaa3 Fix bug where parent class wasn't being detected if the
child class was defined using the A::B notation.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-08 13:25:26 +00:00
eban d9bde4fcbe * 2004-11-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-11-07 15:19:36 +00:00