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

4777 Коммитов

Автор SHA1 Сообщение Дата
akr 15d2b80c8a enable document for Kernel.open.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 10:17:46 +00:00
nobu 795405fe3a * gc.c (rb_gc_copy_finalizer): typo. [ruby-core:02774]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 10:11:34 +00:00
gotoyuzo a70b33bac9 * ext/openssl/ossl_x509name.c (ossl_x509name_init_i): should return a value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 09:53:14 +00:00
eban 8ec111cae9 2004-04-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:48:57 +00:00
ocean 4c4d155e3d * dir.c (rb_glob2, rb_glob, push_globs, push_braces, rb_push_glob):
fix memory leak to occur when block is interrupted in Dir.glob.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-12 01:45:27 +00:00
nobu ac419876d5 ML reference
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 10:14:46 +00:00
nobu aa144505ac 2004-04-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 10:13:20 +00:00
nobu 42fa4e83cd * ruby.c (require_libraries): restore source file/line after
statically linked extensions initialized.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6136 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 10:10:18 +00:00
dave 7e9f3d2934 Forgot to check special case at top level
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-11 01:49:10 +00:00
eban da8a0fa474 2004-04-10
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:58:40 +00:00
dave 5d716f9303 Fix :enddoc"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-10 14:51:58 +00:00
dave 1f3819adc8 Fixed problem with \_cat_<b>dog</b>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 15:01:53 +00:00
eban bf02c31e86 2004-04-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 13:20:23 +00:00
ocean ae9512fcf6 * dir.c (has_magic, find_dirsep): incomplete '[' matches no character
in Dir.glob. (follows File.fnmatch's behavior)

* dir.c (fnmatch_helper): incomplete escape is ignored in File.fnmatch.
  (follows Dir.glob's behavior)

* dir.c (find_dirsep): '/' between '[' and ']' is ignored in Dir.glob.
  (follows File.fnmatch with File::FNM_PATHNAME 's behavior)

* dir.c (find_dirsep): escaped slash '\/' loses its meaning as
  directory separator in Dir.glob.

[ruby-dev:23291]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-09 08:06:01 +00:00
nobu d9420d0568 commit miss. _no
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:37:25 +00:00
nobu fb8c9a2c79 * test/soap/calc/test_calc_cgi.rb: not parent, parent directory of it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:31:17 +00:00
nobu eb1fa257b5 * test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: restore $:
after require.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 11:25:24 +00:00
nobu fa7a5d5477 * ext/extmk.rb (extmake): skip uncompiled extensions.
* lib/mkmf.rb (create_makefile): emit no rules for static library if
  $static is nil, e.g., outside of ext/.

* lib/test/unit/ui/console/testrunner.rb (test_started): show test
  name via $0.

* runruby.rb: set environments to use the compiled binary.

* test/runner.rb: do nothing while cross-compiling.

* test/drb/drbtest.rb, test/soap/calc/test_calc_cgi.rb: use envutil to
  know ruby binary.

* test/ruby/envutil.rb: give priority to RUBY environment variable to
  use just compiled binary and libraries.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:45:21 +00:00
nobu 4732bf25f5 * io.c (rb_io_binmode): inverted condition. [ruby-dev:23349]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 10:03:38 +00:00
eban 65e7842b09 2004-04-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 09:38:02 +00:00
nobu 51c8d62bff * ext/iconv/iconv.c (iconv_s_list): return encoding list if no block
is given.  [ruby-dev:23063]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-08 09:22:04 +00:00
ser 8586deca95 REXML CHANGES
The previous bug fixing the behavior of Element::text= introduced a bug that
occurred when calling (el.text = nil) to delete the first text node.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 14:14:46 +00:00
matz df84c64be9 * pack.c (pack_pack): use NUM2INT() instead of num2i32().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 06:30:15 +00:00
akr 66d0389895 add an assertion for [0x100000000].pack("U").
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 06:01:25 +00:00
akr ae8dfe8626 update the document for to_path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 05:33:19 +00:00
akr b2a4f270e8 add test for [ruby-dev:23344].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 05:06:34 +00:00
eban 23376aae53 2004-04-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 04:07:11 +00:00
kou 8dfa6fb0a8 * lib/rss/parser.rb, lib/rss/1.0.rb: accepted rdf:resource or
resource attribute in rdf:li.
* test/rss/test_parser.rb: added test for above change.
* lib/rss/dublincore.rb: reverted style.
* lib/rss/xmlparser.rb: normalized XMLParser class hierarchy.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 03:36:38 +00:00
matz 4ded52b623 * file.c (rb_get_path): get path string via "to_path" method if
path object is not a string. [Ruby2]

* gc.c (rb_gc_call_finalizer_at_exit): do not free threads in the
  exit finalizers.

* io.c (rb_io_reopen): should use rb_io_check_io().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 02:51:05 +00:00
nobu 43db576e61 * Makefile.in, common.mk, */Makefile.sub (ext/extinit.o): OUTFLAG
doesn't work for object files on VC.

* */Makefile.sub (config.h): need SIZEOF_TIME_T now.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-07 01:43:27 +00:00
seki 3d359cecd8 fix hash tuple bug
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 15:26:25 +00:00
akr 383964bc30 * configure.in: check the size of time_t.
* time.c (time_add): new function.
  (time_plus): use time_add.
  (time_minus): use time_add.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 07:48:38 +00:00
usa 3f56949401 * ext/socket/socket.c (raise_socket_error): never return.
* ext/socket/socket.c (make_hostent): must return value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 04:13:24 +00:00
eban e4d66f4d6e 2004-04-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 03:03:23 +00:00
eban 6daf30d0d7 * MANIFEST:
Added files:
    ruby/test/zlib:
      test_zlib.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 03:02:57 +00:00
akr dc252a75a2 check zlib existence.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-06 02:59:13 +00:00
matz ce44928d2b * error.c (Init_Exception): remove Exception#to_str. [Ruby2]
* eval.c (error_print): should no call "to_str" anymore use
  "message" method instead.

* io.c (rb_f_open): Kernel#open() calls "to_open" if the first
  argument responds to it. [Ruby2]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:55:09 +00:00
seki cded3d5c93 add require "drb/drb"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 15:14:20 +00:00
akr 22757fbaba update test_new_nil.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 14:59:33 +00:00
akr 2f8c9ce629 * test/zlib/test_zlib.rb: new file.
(TestZlibGzipWriter#test_new_nil): test for [ruby-dev:23228].


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:27:45 +00:00
aamine e5af80c697 * parse.y (assoc_list): {a: 1, b: 2} should be allowed. [ruby-dev:23328]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 13:16:40 +00:00
ksaito d0dec9337b * regexec.c: imported Oni Guruma 2.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:44:44 +00:00
ksaito 62a7fde33b * regparse.c, oniguruma.h: imported Oni Guruma 2.2.6.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:40:54 +00:00
ksaito 14b8903137 This commit was generated by cvs2svn to compensate for changes in r6093,
which included commits to RCS files with non-trunk default branches.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 10:38:01 +00:00
usa 5acb4437c7 * ext/socket/socket.c (raise_socket_error): some platforms don't have
EAI_SYSTEM.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 03:14:05 +00:00
akr 2ca96a332b fix reference to ML: [ruby-dev:39475] to [ruby-list:39475].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 01:33:45 +00:00
eban 496a2ac02c 2004-04-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-05 01:18:11 +00:00
dave f02159637a Remove leading ./ from filenames so that cross references work OK
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 23:19:58 +00:00
akr 5e59422f41 comments modified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 07:57:39 +00:00
eban 8b912a07d0 2004-04-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-04-04 05:08:18 +00:00