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

7991 Коммитов

Автор SHA1 Сообщение Дата
tadf 7e10b0c4de "%\n" means "\n".
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-05 04:55:00 +00:00
matz 08c031f321 add ML entry
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-05 02:07:23 +00:00
drbrain 6ffe2a4dbf Remove tabs from Finalizer RDoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 21:47:55 +00:00
drbrain 8bd9d238b7 RDoc for #run= and #run?
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 21:00:31 +00:00
drbrain e2c017a8ce Move Example so RDoc picks it up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 20:39:28 +00:00
drbrain 47cc055023 Clean up files for RDoc.
Add files to lib/.document.
Small fixes to drb/ssl.rb and ri_formatter.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:21:20 +00:00
drbrain 54441753a4 Include more documentation.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:12:47 +00:00
drbrain 75a60a8174 Leave HTML escaped for HtmlFormatter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 19:07:41 +00:00
drbrain 2311929dd1 Don't document test or sample directories.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:12:07 +00:00
drbrain 050f637941 Close the socket on SSLError. [ruby-core:7198]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:10:34 +00:00
drbrain 52c034aecb Documentation cleanup.
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:05:50 +00:00
drbrain 4db2df633c 2006-08-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 18:05:42 +00:00
matz a97af1c6aa * sprintf.c (rb_str_format): a bug in %c type check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 11:46:44 +00:00
keiju 90ba0eac46 * forget to ci ChangeLog
lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
	  [ruby-core: 7122]. and support for ruby1.8.X.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 10:16:56 +00:00
keiju c5f550c069 * lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
[ruby-core: 7122]. and support for ruby1.8.X


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 10:06:17 +00:00
nobu d040c69a58 * lib/date/format.rb (__strptime, strftime): allow multi-line patterns
in Date#strftime the same as Time#strftime accepts.
  fixed: [ruby-core:08466]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 05:02:54 +00:00
nobu 9b4a611547 * pack.c (pack_pack): check argument overrun for 'P'. based on a
patch by rucila <rucila at yahoo.cojp>.  fixed: [ruby-dev:29182]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-04 04:58:25 +00:00
akr 140fad80c9 2006-08-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-03 16:30:50 +00:00
akr a5be27e2cf * io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should
not fclose stderr.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-03 16:30:46 +00:00
matz bba7dd4630 2006-08-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-03 06:21:07 +00:00
matz 0d15c66aaf * range.c (range_include): should always call Enumerable#include?
(not #===) for non numeric end points.  [ruby-core:08477]
  [ruby-core:08496]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-03 06:21:03 +00:00
usa 800c7ad39b * ChangeLog: typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 08:32:22 +00:00
usa 2982c52892 * win32/win32.c (exit_handler): new function; release winsock and
environment work area.

* win32/win32.c (NTInitialize): setup exit_handler.

* win32/win32.c (StartSockets): use exit_handler.
  exit handler.

* win32/win32.c (rb_w32_getenv): use GetEnvironmentStrings() instead
  of GetEnvironmentVariable(), because the latter cannot distinguish
  wheather a null environment variable exists or not.
  fixed: [ruby-talk:205123]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 07:58:34 +00:00
akr ed2c204a2f * test/ruby/test_process.rb (TestProcess#test_rlimit_nofile):
setrlimit may fail with EINVAL.
  reported by MIYAMUKO Katsuyuki.  [ruby-dev:29174]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 07:18:43 +00:00
matz ec85d62a07 * ruby.h: use ifdef (or defined) for macro constants that may or
may not be defined to shut up gcc's -Wundef warnings.
  [ruby-core:08447]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 06:34:10 +00:00
matz 4c86e4a580 * lib/logger.rb: improves the amount of documentation that Rdoc
picks up when processing logger.rb by moving the require
  statement back before the comment block.  a patch from Hugh
  Sasse <hgs at dmu.ac.uk>.  [ruby-core:08422]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 06:31:38 +00:00
gotoyuzo ddc38a6abb * lib/webrick/httprequest.rb (WEBrick::HTTPReuqest#parse_uri): improve
for the value of IPv6 address in the Host: header field.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 04:39:45 +00:00
gotoyuzo b3e961b32b 2006-07-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-31 04:39:39 +00:00
nobu 799a6bc67b * eval.c (rb_call0): trace call/return of method defined from block.
fixed: [ruby-core:08329]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30 14:27:01 +00:00
nobu d28d1a2e0a * lib/cgi/session.rb, lib/cgi/session/pstore.rb: suppress warnings.
fixed: [ruby-talk:204896]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30 14:06:50 +00:00
nobu eafe72d8cf 2006-07-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30 13:30:23 +00:00
nobu 782d8df4f5 * eval.c (rb_trap_eval): make the current thread runnable to deal with
exceptions which occurred within the trap.  fixed: [ruby-dev:27729]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-30 13:30:19 +00:00
nagai 567ded6073 * ext/tk/lib/multi-tk.rb: freeze ip_name for security reason.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 21:14:30 +00:00
nagai 2a0b4cc13c 2006-07-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 21:14:26 +00:00
nobu dab5f82b81 * ext/curses/curses.c (NUM2CH, CH2FIX): use single char strings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 08:18:22 +00:00
matz 35526b1b00 * eval.c (rb_call): fixed typo in cache look-up. [ruby-dev:29167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 05:10:03 +00:00
matz 94f9fc2b6e * eval.c (rb_call): a bug in method cache look-up.
http://www.rubyist.net/~matz/20060720.html#c04


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 01:43:10 +00:00
matz ae832cfa66 * sprintf.c (rb_f_sprintf): documentation update patch from Jacob
Fugal <lukfugl at gmail.com>.  [ruby-core:08418]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 01:23:55 +00:00
matz 9121d687c5 * time.c (time_to_s): fixed typo. [ruby-dev:29162]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-28 00:47:26 +00:00
matz f0dff3c677 * math.c (domain_check): ANSI style function arguments
* math.c (math_log): too few argument to domain_check().


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 15:29:30 +00:00
matz 793a952bc6 2006-07-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 15:26:17 +00:00
matz 21f5f47287 * math.c (domain_check): a new function to check domain error
explicitly for systems that return NaN like FreeBSD.
  [ruby-core:07019]

* math.c (math_acos, math_asin, math_acosh, math_atanh, math_log,
  math_log10, math_sqrt): use domain_check().

* math.c (math_sqrt): fix documentation flaw.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 15:26:14 +00:00
nobu 41005d43a8 * time.c (time_to_s): fixed format mismatch.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 13:23:18 +00:00
eban a78b09b110 * time.c: need to declare time_utc_offset.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 09:14:38 +00:00
matz 10496cefeb * io.c (io_close): always calls "close" method of the receiver.
[ruby-core:6911] [ruby-core:8112]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 08:25:18 +00:00
matz b0283eed43 * ext/openssl/ossl.h: move <ruby.h> inclusion point to shut up
Solaris compiler.  [ruby-core:08114]

* time.c (time_to_s): use +0900 style timezone string for local time.
  [ruby-dev:29143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 07:48:04 +00:00
matz b6151bcebe 2006-07-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 00:15:10 +00:00
matz e8ed635174 * time.c (time_to_s): generate RFC822 style date string.
[ruby-dev:29143]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-27 00:15:07 +00:00
matz d09827ad50 * configure.in: add support for as and ASFLAGS. [ruby-dev:29138]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:28:17 +00:00
aamine 1c499989ee small document fix
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-07-26 13:27:18 +00:00