Commit graph

4079 commits

Author SHA1 Message Date
eban
fbfe706aee 2003-12-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5350 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 08:18:37 +00:00
dave
3ef4e98eb7 Fix problem when class name is also a method name
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5348 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-30 03:32:39 +00:00
dave
38043dde9d Fix parse problem with complex yields
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5346 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 23:38:09 +00:00
dave
d50547c22c Add RDoc for Kernel global functions, tidy array and error
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5343 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 03:56:22 +00:00
dave
685a063a15 Tidy array.c rdoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5342 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-29 02:02:25 +00:00
dave
6cd63a70f6 RDoc Struct and random
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5340 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 20:47:56 +00:00
dave
9f5554aa5c RDoc Proc, Method, UnboundMethod
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 17:23:45 +00:00
dave
f7fad2e325 Add RDoc comments to math.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5333 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 15:44:07 +00:00
akr
9d312f635b * ext/stringio/stringio.c (strio_sysread): StringIO.new.sysread didn't
raise EOFError.

* ext/zlib/zlib.c (gzreader_gets): don't increment lineno when
  gzfile_read_all returns "".


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 11:34:11 +00:00
dave
2d491003aa Add RDoc documentation for stuff in object.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 06:33:07 +00:00
eban
8f71229356 2003-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 05:10:22 +00:00
nahi
8571a1544b * ChangeLog: text format.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 03:53:28 +00:00
nahi
83fe8f3240 * test/csv/test_csv.rb: generate bom.csv and mac.csv files on the fly.
[ruby-talk:88852]

        * test/csv/{bom.csv,mac.csv}: removed.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 02:57:25 +00:00
dave
67f1d099d4 Thread/ThradGroup RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-28 00:02:59 +00:00
dave
f40b1b2a47 Fix quoting of method names in regexp
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 18:52:03 +00:00
dave
4cc67da551 Add support for rules in ri output
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 16:49:22 +00:00
dave
e12ab34fd2 Add "Document-method:" capability
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 16:39:44 +00:00
dave
9bd926ee88 RDoc comments added by Elliott Hughes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 16:07:43 +00:00
dave
879d623e8e Some Ruby source uses Init_xxx (lower case for the class name)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 15:50:03 +00:00
eban
7ebbcfa14b * configure.in: fix "test: too many arguments" error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 14:45:48 +00:00
dave
d37aa4ecb5 Add RDoc comments for Time
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 06:33:45 +00:00
dave
3d60b36170 RDoc comments for Symbol
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 06:09:08 +00:00
dave
e04b4a93dd Add RDoc comments to numeric.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 05:48:42 +00:00
dave
10bd27d7b2 Added RDoc for class IO
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-27 00:44:05 +00:00
eban
5fa6da05ea 2003-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5313 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 17:15:13 +00:00
matz
40465862bd * io.c (next_argv): warn always for stdin on inplace edit mode.
* io.c (read_all): need to check string value.

* io.c (argf_read): allow ARGF.read(nil).  [ruby-dev:22433]

* io.c (rb_f_backquote): need not to check nil result.
  [ruby-core:02078]

* io.c (rb_io_getline): should return nil when read_all gives
  empty string, even when nil rs is specified. [ruby-core:02077]

* pack.c (pack_pack): add sign check for 'i', and 'l'.
  [ruby-dev:22427]

* bignum.c (rb_quad_pack): add range check for 'quad int'.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 17:11:12 +00:00
dave
9e159579e0 MG added RDoc comments for re.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 15:58:28 +00:00
eban
feb4300573 2003-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 09:53:05 +00:00
nobu
7f0b17c6fc * configure.in: check if getcontext and setcontext are available.
* eval.c: use presence of getcontext/setcontext.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 09:51:04 +00:00
akr
b3e5bda89a lib/pathname.rb (PathnameTest#test_plus): add 2 assertions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 07:42:35 +00:00
dave
7d4e7e32cd Backport fix to add_rules to 1.8 (sorry, NaHi)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5303 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-26 05:48:24 +00:00
usa
892e443cc8 * string.c (rb_str_update): don't return any value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5295 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-25 13:41:06 +00:00
matz
36163224f4 * string.c (rb_str_update): call rb_str_modify().
* eval.c (search_required): search actual file name once when no
  extension specified.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-25 08:48:14 +00:00
(no author)
dba9fc9dc7 This commit was manufactured by cvs2svn to create branch 'ruby_1_8'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-25 08:48:14 +00:00
matz
cecdab3bf0 * configure.in: check for nanosleep, -lrt if required.
[ruby-core:02059]

* eval.c (thread_timer): use select(2) if nanosleep(2) is not
  available.

* eval.c: check __stub_getcontext for glibc on some platforms.
  [ruby-list:38984]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 19:38:15 +00:00
dave
060f19e92c Fix bug where two adjacent =begin/=end blocks causes the parser to get out of step.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5285 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 15:44:41 +00:00
matz
65d37c6cc5 * stable version 1.8.1 released.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 15:19:11 +00:00
nahi
dc7549c0b0 * test/soap/test_basetype.rb, test/soap/marshal/test_marshal.rb
test/xsd/test_xsd.rb: use "(-1.0 / (1.0 / 0.0))" instead of "-0.0"
          to express -0.0.  [ruby-talk:88786]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 14:53:17 +00:00
akr
8b279c0ddb * lib/tsort.rb (test_orphaned_break): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 14:31:41 +00:00
nagai
8855456929 * ext/tk/sample/tkmulticolumnlist.rb: new sample
* ext/tk/sample/tkmultilistframe.rb: bug fix


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 11:57:21 +00:00
eban
42da260543 * configure.in (LDSHARED): Fixed typographical error in assignment of
LDSHARED for Rhapsody which caused linking of extension modules to
  fail.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 11:54:12 +00:00
matz
e9e100aa48 * eval.c (catch_timer): do not call rb_thread_schedule() inside to
avoid pthread_mutex_lock() deadlock.  interrupts to system calls
  are detected by TRAP_END via EINTR error.

* eval.c (thread_timer): do not post signal unless it is
  absolutely necessary.

* rubysig.h (TRAP_END): add CHECK_INTS to switch thread.

* regex.c (re_compile_pattern): check if nextp is smaller than
  pend.  [ruby-dev:22372]

* eval.c (umethod_bind): remove method overridden check.
  [ruby-dev:22366]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 08:47:36 +00:00
gotoyuzo
932075e82e * ext/openssl/ossl_ssl.c (ossl_ssl_read): should check for error
status by SSL_get_error().

* ext/openssl/ossl_ssl.c (ossl_ssl_write): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 07:29:40 +00:00
nobu
6fe8d987ce * ext/stringio/stringio.c (strio_read): clear the buffer argument
when returning nil.  [ruby-dev:22363]

* test/ruby/ut_eof.rb (TestEOF::test_eof_0, TestEOF::test_eof_1):
  add buffer argument tests.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 05:23:32 +00:00
nobu
73d77c8f57 * lib/test/unit/assertions.rb: Modules are allowed to rescue.
* lib/test/unit/autorunner.rb: show output_level in order.

* lib/test/unit/collector/dir.rb: get rid of successive same
  directories in load path.

* test/testunit/test_assertions.rb (test_assert_nothing_raised,
  test_assert_raise): test for modules.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 05:08:04 +00:00
eban
d05b3b1e48 * MANIFEST:
Added file:
    ruby/lib/rdoc/generators/template/html/old_html.rb
  Removed file:
    ruby/lib/rdoc/generators/template/html/css2.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:49:58 +00:00
shugo
e34f7ef3cc * lib/net/imap.rb (authenticate): remove "\n" from base64 encoded
strings.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:44:25 +00:00
dave
bba2f6d405 Michael Granger added RDoc for range.c
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:29:32 +00:00
dave
f0346bd249 Forgot to save buffer.... sigh
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 04:24:29 +00:00
nobu
52975bb7a7 * test/fileutils/test_fileutils.rb: should not create any
files or directories in current directory.  [ruby-talk:88724]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-12-24 02:26:44 +00:00