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

4613 Коммитов

Автор SHA1 Сообщение Дата
dave 91faa496b3 Don't be as eager to invent classes to document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 03:35:24 +00:00
dave fdef713db1 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:19 +00:00
dave 124a20d3d2 Allow templates to be specified outside the RDoc tree
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 02:14:18 +00:00
matz a43eeaef75 * lib/tempfile.rb (Tempfile::_close): should not clear @tmpname
until the file is really removed. [ruby-core:02684]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 01:08:20 +00:00
nobu 9de96e572c 2004-03-24
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 22:33:47 +00:00
matz 4f0ef242cc * object.c (rb_mod_cvar_get): new method Module#class_variable_get.
* object.c (rb_mod_cvar_set): ditto (Module#class_variable_set).

* eval.c (rb_thread_atfork): 1.9 warns no more for thread
  termination.  [ruby-dev:23212]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 19:14:16 +00:00
nobu 38c173aa60 2004-03-23
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:54:55 +00:00
nobu 8b7dbcf4b7 MANIFEST update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:49:10 +00:00
nobu 9356e8d177 * bcc32/Makefile.sub: needs bcc32/mkexports.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:46:14 +00:00
nobu 52a67fe60d * Makefile.in, */Makefile.sub, common.mk (clean-local, distclean-local):
separate files under directories due to directory separator.

* */Makefile.sub (MKFILES): common.mk and */Makefile.sub should not be
  removed.

* win32/Makefile.sub, wince/Makefile.sub: $* cannot appear in explicit
  rules.

* cygwin/GNUmakefile.in: some mingw stuffs were missed.

* lib/mkmf.rb (create_makefile): Borland make wrongly removes braces
  from command lines.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-23 05:32:01 +00:00
usa 69d80a3120 2004-03-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-22 02:32:48 +00:00
nobu 71f46f0724 * Makefile.in, */Makefile.sub, common.mk: extract common portions.
* Makefile.in, cygwin/GNUmakefile.in, */Makefile.sub (RBCONFIG):
  separated time stamp file for rbconfig.rb.

* configure.in: append common.mk to Makefile.

* mkconfig.rb: keep mtime of rbconfig.rb if unchanged.

* win32/rm.bat: remove multiple files.

* wince/mkconfig_wce.rb: use fake.rb instead.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 23:21:31 +00:00
gotoyuzo 48dde6f3e6 * lib/webrick/httpserver.rb (WEBrick::HTTPServer#virtual_host):
sort @virtual_hosts in address, port, host order.

* lib/webrick/httpserver.rb (WEBrick::HTTPServer#lookup_server):
  hostname should not be match if :ServerAlias is not given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 13:17:24 +00:00
keiju 06d1cbb926 * lib/shell/*: bug fix for Shell#system(command_line_string).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:21:11 +00:00
eban b9c8bcafdc * ruby.1: add -width option to .Bl for old groff.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 12:08:02 +00:00
eban 7515ca9a06 MANIFEST:
Added files:
    ruby/lib/rss:
      xml-stylesheet.rb
    ruby/test/rss:
      test_xml-stylesheet.rb rss-assertions.rb rss-testcase.rb
  Removed files:
    ruby/test/rss:
      common.rb my-assertions.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 10:08:44 +00:00
kou abe876ed4e * test/rss/*: Test::Unit::TestCase -> RSS::TestCase and
Test::Unit::Assertions -> RSS::Assertions.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 10:03:17 +00:00
kou cfbe158fae * lib/rss/{rss,dublincore,syndication}.rb: handled W3CDTF correctly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:54:07 +00:00
kou 7ead69e5b3 * test/rss/test_xml-stylesheet.rb: added tests for xml-stylesheet.
* lib/rss/xml-stylesheet.rb: added xml-stylesheet parsing
  function.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-21 09:20:47 +00:00
eban 2639d6dc80 2004-03-21
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 16:59:47 +00:00
matz aab1ba1365 * eval.c (rb_require_safe): preserve old ruby_errinfo.
[ruby-talk:95409]

* eval.c (rb_f_raise): should not clear backtrace information if
  exception object already have one.

* parse.y (assoc_list): allow {sym: val} style Hash. [Ruby2]
  this change is done by Nobuyoshi Nakada <nobu@ruby-lang.org>.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 16:45:41 +00:00
eban 38fc76574a * ext/extmk.rb: rm -rf $extout, not extout.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 12:22:48 +00:00
dave a42fb7a811 Force RDoc html background to white
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 06:26:57 +00:00
eban a4e25c6b23 2004-03-20
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 03:29:48 +00:00
tadf f2d983cb8d synchronized with date2 3.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-20 00:48:19 +00:00
matz 610b5d7975 * variable.c (rb_cvar_set): class variables become private to the
particular class/module. [Ruby2]

* variable.c (rb_cvar_get): ditto.

* io.c (rb_io_sync): need not to check writable. [ruby-core:02674]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 07:13:01 +00:00
usa 91de9894fc 2004-03-19
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 03:29:26 +00:00
usa 5af30c19a4 * lib/mkmf.rb ($beos, $solaris): add OS flags.
* lib/mkmf.rb (RUBY): / is not recognized as path separator on
   nmake/bmake. [ruby-list:39388]

* lib/mkmf.rb (CLEANLIBS, CLEANOBJS): should remove *.exp with *.so.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-19 02:35:27 +00:00
eban 006e8d2e71 * instruby.rb, rubytest.rb: do not depend on srcdir.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:49:20 +00:00
matz c223709c3b * eval.c (proc_eq): avoid false positive by using scope and
dyna_vars.  no longer use frame.uniq.

* eval.c (proc_arity): arity is now defined as number of
  parameters that would not be ignored. i.e. Proc.new{}.arity
  returns zero.  update test suites too.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 10:09:43 +00:00
nobu 311fdfdfea * mkconfig.rb: no longer embed srcdir and compile_dir into
rbconfig.rb.

* ext/extmk.rb, lib/mkmf.rb: obtain top_srcdir and topdir from library
  paths.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 09:50:14 +00:00
seki 29696a1738 stop undef DRbObject#to_a
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 08:48:37 +00:00
eban 29f163f184 2004-03-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 07:47:39 +00:00
matz bfb47068b0 * eval.c: remove specialized version of rb_Array(). use simple
one defined in object.c.

* object.c (Init_Object): remove Kernel#to_a.

* enum.c (enum_zip): use "to_a" instead of "to_ary".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-18 06:59:04 +00:00
matz ab6963043d * error.c (exc_initialize): calling 'to_str' each time just for
type checking is too heavy.  [ruby-core:02661]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 23:03:17 +00:00
eban a4d687f1c7 2004-03-17
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 15:28:16 +00:00
ksaito dbfe25c939 * oniguruma.h, regparse.c: imported Oniguruma 2.2.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 15:25:28 +00:00
ksaito c2253d31cd This commit was generated by cvs2svn to compensate for changes in r5960,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 15:20:15 +00:00
ocean e1124ffa21 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 04:12:50 +00:00
usa eccaf15386 2004-03-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:46:06 +00:00
ocean 3210044a2b Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:32:32 +00:00
ocean bbe76ca313 Fix ChangeLog
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:29:49 +00:00
ocean 7307c01906 * dir.c (fnmatch_helper): File.fnmatch('\.', '.') should return true.
(Rev1.112 lost compatiblity)

* dir.c (fnmatch_helper): File.fnmatch('\/', '/', File::FNM_PATHNAME)
  should return true. (Rev1.112 lost compatiblity)

* dir.c (fnmatch): '**/' shouldn't match leading period unless
  File::FNM_DOTMATCH is set.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-16 02:24:47 +00:00
eban d641a10d27 2004-03-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 06:01:08 +00:00
matz 2fab242f66 * eval.c (rb_yield_0): should not re-submit TAG_BREAK if this
yield is not break destination. [ruby-dev:23197]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 02:27:29 +00:00
gotoyuzo 5bf9610130 * ext/openssl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder):
add do_not_reverse_lookup.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-15 01:14:51 +00:00
nobu f52a248eae 2004-03-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-14 13:09:59 +00:00
nobu 2baa02ec9b * eval.c (rb_thread_raise): err at unstarted thread. (PR#1302)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-14 13:07:42 +00:00
nahi 8226628c80 2004-03-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13 13:38:13 +00:00
seki c12e0136dc use druby://localhost:0, [ruby-dev:23078]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-13 05:58:00 +00:00