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

4652 Коммитов

Автор SHA1 Сообщение Дата
matz 189febdf24 * pack.c (pack_pack): raises RangeError if uv is out of UTF8 value
range.  [ruby-dev:23281]

* io.c (rb_io_binmode): stdio buffer should be empty when calling
  IO#binmode.  [ruby-talk:96155]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:59:57 +00:00
nobu d3bb9ea112 * lib/delegate.rb (DelegateClass): define internal methods of the
result class, but not metaclass of the caller.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:52:44 +00:00
akr dd889fac19 more tests for Time.utc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-31 02:35:34 +00:00
akr a66ee49d2c add test for minimum 32bit signed time_t for Time.utc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:53:00 +00:00
akr 85000ef0be * time.c (search_time_t): limit guess range by mktime if it is
available.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:41:39 +00:00
akr 7bb7e17675 * time.c (search_time_t): limit guess range by mktime if it is
availabe.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 11:31:44 +00:00
nobu 7c34ed846f 2004-03-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 09:20:04 +00:00
nobu 058fd11019 * eval.c (rb_eval): fix SEGV at retry in iterator's receiver.
[ruby-dev:23227]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-30 09:19:06 +00:00
nobu 846f087a07 * process.c (rb_exec): follow older behavior if close-on-exec is not
available.

* process.c (rb_fork): protect from exceptions while waiting failed
  process, if status is given.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 11:17:21 +00:00
eban 712de4408c 2004-03-29
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 08:26:33 +00:00
matz 919f456de8 * exception message clean-up by Ian Macdonald <ian@caliban.org>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-29 07:54:38 +00:00
ser 6a738f2265 Documentation fixes and a patch to fix whitespace handling.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 22:36:15 +00:00
akr adb4439f85 fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 14:10:39 +00:00
nobu 7307dd069f 2004-03-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 12:12:31 +00:00
nobu 47f86aae0a * cygwin/GNUmakefile.in (clean-local, distclean-local): remove
work files.

* win32/Makefile.sub (clean-local): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 07:25:42 +00:00
aamine b81df5d837 * lib/net/pop.rb: def m( arg ) -> def m(arg).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:23:13 +00:00
aamine 0cf429ce82 * lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:17:13 +00:00
aamine 277839dc81 * lib/net/pop.rb: revert to rev1.63. 1.64 wrongly contains POPS code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:13:12 +00:00
aamine 111b11703d * lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-28 05:09:26 +00:00
akr c451c56b10 * (lib/open-uri.rb): permit extra semicolon in content-type field.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 12:43:02 +00:00
akr 4d664a098d * (lib/pp.rb, lib/prettyprint.rb): define seplist in PP::PPMethods
instead of PrettyPrint.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-27 01:46:05 +00:00
nahi 3952564936 2004-03-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-26 16:48:13 +00:00
nahi 223d1cb77b * lib/logger.rb: trim tail space of each line. no user visible change.
* lib/rss/dublincore.rb: fixed class definition mismatch.

        * sample/openssl/gen_csr.rb: fixed wrong usage text.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-26 16:47:16 +00:00
dave d6dc168b22 Missing trailing "$"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:23 +00:00
dave 4cdf253e4d Add --version option to ri
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 14:19:22 +00:00
shigek aa9d57c873 Bug in + and - reported by Bret Jolly fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:50:21 +00:00
shigek c9d5d2554c Bug in + and - reported by Bret Jolly fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:45:07 +00:00
nobu ec37ab2efe * version.c (ruby_show_copyright): obtain copyright year from
RUBY_RELEASE_YEAR.

* win32/resource.rb: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 12:01:41 +00:00
nobu 384df36250 integrated to win32/*.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 10:40:11 +00:00
nobu b47d416046 * win32/resource.rb: default rubyw icon to ruby.ico, and let DLL also
include them.

* win32/resource.rb: include winver.h for older WindowsCE.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 10:37:39 +00:00
nobu 3b79d34d99 * common.mk, */Makefile.sub (lib, dll): phony targets.
* configure.in (ruby, miniruby): ditto.

* cygwin/GNUmakefile.in (rubyw): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 05:01:15 +00:00
eban d01fac5573 2004-03-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-25 02:01:38 +00:00
dave e147632bff Add the --list-names option
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 19:17:42 +00:00
dave 16040850af Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 18:59:27 +00:00
dave 154c29be3a Get --one-page working with C code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 17:01:11 +00:00
dave 9d84c89464 Move "y" documentation to correct place
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 16:52:49 +00:00
gsinclair 42ad5216ec * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).
* lib/uri/common.rb: Ditto.
 * lib/uri/ftp.rb: Ditto.
 * lib/uri/generic.rb: Ditto.
 * lib/uri/http.rb: Ditto.
 * lib/uri/https.rb: Ditto.
 * lib/uri/ldap.rb: Ditto.
 * lib/uri/mailto.rb: Ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 11:53:31 +00:00
nobu 5e23ff603f * lib/mkmf.rb ($ruby, $topdir, $hdrdir): should not be affected by
DESTDIR after installed.

* lib/mkmf.rb (dummy_makefile): default file lists to be cleaned.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:48:09 +00:00
matz d5158a0833 * lib/tempfile.rb: fixed a stupid bug. [ruby-talk:95680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-03-24 09:27:15 +00:00
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